var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); var xmlHttp; var addNew; function GetXmlHttpObject(handler) { var objXmlHttp=null if (navigator.userAgent.indexOf("MSIE")>=0) { var strName="Msxml2.XMLHTTP" if (navigator.appVersion.indexOf("MSIE 5.5")>=0) { strName="Microsoft.XMLHTTP" } try { objXmlHttp=new ActiveXObject(strName) objXmlHttp.onreadystatechange=handler return objXmlHttp } catch(e) { alert("Error. Scripting for ActiveX might be disabled") return } } else { objXmlHttp=new XMLHttpRequest() objXmlHttp.onload=handler objXmlHttp.onerror=handler return objXmlHttp } } /* 显示留言 */ function showre(id,no) { document.getElementById("list").innerHTML = ""; var url = "/Ping.asp?id="+id+"&page="+no; xmlHttp=GetXmlHttpObject(showlist) xmlHttp.open("GET", url , true) xmlHttp.send(null) } function showlist() { if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete") { document.getElementById("list").innerHTML = "" xmlAuthor = xmlHttp.responseXML.getElementsByTagName("Author") xmlContent = xmlHttp.responseXML.getElementsByTagName("Content") xmlNoI = xmlHttp.responseXML.getElementsByTagName("NoI") xmlIP = xmlHttp.responseXML.getElementsByTagName("IP") xmlreContent = xmlHttp.responseXML.getElementsByTagName("reContent") //输出评论 for (i=0;i< xmlContent.length;i++) { var Content = xmlContent[i].firstChild.data; var div = document.createElement("DIV"); div.id = i; if (Content == "没有评论") { //alert(1) div.innerHTML = "