﻿// JScript 文件
//Request = {
//QueryString : function(item){
//  var svalue = location.search.match(new RegExp("[\?\&]" + item + "=([^\&]*)(\&?)","i"));
//  return svalue ? svalue[1] : svalue;
//}
//}
//var id=Request.QueryString("ID");
//alert(id);
 var param ="";
    var options = {
    method: 'post',
    parameters: param,
    onComplete:
        function(transport) {
            var retv = transport.responseText;

             var myarray=new Array();
             myarray=retv.split("$");
             //$("newcomment").innerHTML=retv;
             $("newcomment").innerHTML=myarray[0];
             CountRows=myarray[1];
             CountPage=myarray[2];
             if(myarray[0]=="暂无评论")
             {
                $("orderpage").style.display="none";
             }
             else
             {
                 $("CountRows").innerHTML=CountRows;
                 $("CountPages").innerHTML=CountPage;
             }
             
        }
}
//new Ajax.Request("/filehandle/NewComment.aspx?ArticleId="+id, options);


