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) { document.getElementById("commentlist").innerHTML="Loading..." cxhr(); var url="/plug/comment/CommentList.aspx?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) { document.getElementById("commentlist").innerHTML=""; document.getElementById("commentlist").innerHTML=xmlHttp.responseText; } } } pager(187,1)