帮助电线电缆抵御寒潮袭击

var Action=’id=892925247101&ChID=0&CommentType=GetCommentList&page=’+page; var options={
method:’get’,
parameters:Action,
onComplete:function(transport)
var returnvalue=transport.responseText;
if (returnvalue.indexOf(“??”)>-1)
document.getElementById(“Div_CommentList”).innerHTML=’加载评论列表失败’;
else
document.getElementById(“Div_CommentList”).innerHTML=returnvalue;
new Ajax.Request(‘/comment.aspx?no-cache=’+Math.random(),options);
GetCommentList(1);
评论表单加载中…
function GetAddCommentForm()
var Action=’id=892925247101&ChID=0&CommentType=GetAddCommentForm’; var options={
method:’get’,
parameters:Action,
onComplete:function(transport)
var returnvalue=transport.responseText;
var arrreturnvalue=returnvalue.split(‘$$$’);
if (arrreturnvalue[0]==”ERR”)
document.getElementById(“Div_CommentForm”).innerHTML=’加载评论表单失败!’;
else
document.getElementById(“Div_CommentForm”).innerHTML=arrreturnvalue[1];
new Ajax.Request(‘/comment.aspx?no-cache=’+Math.random(),options);
GetAddCommentForm();
function CommandSubmit(obj)
if(obj.UserNum.value==””)
obj.UserNum.value=”Guest”;
if(obj.Content.value==””)
alert(‘评论内容不能为空’);
return false;
var r = obj.commtype;
var commtypevalue = ‘2’;
for(var i=0;i