function z(obj){return document.getElementById(obj);} var xmlHttp; function cxhr() { if (window.ActiveXObject) { xmlHttp=new ActiveXObject("Microsoft.XMLHTTP"); } else if (window.XMLHttpRequest) { xmlHttp=new XMLHttpRequest(); } } function pager(id,page) { z("commentlist").innerHTML="Loading..." cxhr(); var url="/plug/comment/commentList.asp?id="+id+"&page="+page xmlHttp.open("POST",url,true); xmlHttp.onreadystatechange=hsc; xmlHttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded;"); xmlHttp.send(null); } function hsc() { if(xmlHttp.readyState==4) { if (xmlHttp.status==200) { z("commentlist").innerHTML=xmlHttp.responseText; } } } pager(2966,1)