var pl_lx="2";var pl_id="124428";var pl_fy="";setTimeout("get_pinglun(pl_lx,pl_id,pl_fy,1)",500);var xml=XmlHttp();function $G(d){return document.getElementById(d);}function XmlHttp(){var xml=false;if(window.XMLHttpRequest){xml=new XMLHttpRequest();}else if(window.ActiveXObject){try{xml=new ActiveXObject("Msxml2.XMLHTTP");}catch(e){try{xml=new ActiveXObject("Microsoft.XMLHTTP");}catch(e){}}}return xml;}function get_pinglun(pl_lx,pl_id,pl_fy,pl_page){xml.open("GET","/inc/ping.aspx?abc=xs&lx="+pl_lx+"&fy="+pl_fy+"&id="+pl_id+"&page="+pl_page+"&time="+new Date().getTime(),true);xml.onreadystatechange=function(){if(xml.readyState==4){if(xml.status==200){$G("pinglun").innerHTML=xml.responseText;}}} xml.send(null);}document.write('
');function pinglun_send(){if($G("pinglun_nr").value.length<2 || $G("pinglun_nr").value.length>120){return alert('评论内容2-120字符以内!');}if($G("pinglun_yzm").value.length<1){return alert('请输入验证码!');}xml.open("GET","/inc/ping.aspx?abc=tj&lx="+pl_lx+"&fy="+pl_fy+"&id="+pl_id+"&nr="+escape($G("pinglun_nr").value)+"&yzm="+$G("pinglun_yzm").value,true);xml.onreadystatechange=function(){if(xml.readyState==4){if(xml.status==200){alert(unescape(xml.responseText));addcode_f=false;if (unescape(xml.responseText).indexOf('已提交')==0){$G("pinglun_nr").value='';$G("ob_codespan").innerHTML ='匿名发表评论,推荐 注册 | 登陆';}else{addcode();}}}} xml.send(null);}