function SetWinHeight(obj)
{
var iComment=obj;
if (document.getElementById)
{
if (iComment && !window.opera)
{
if (iComment.contentDocument && iComment.contentDocument.body.offsetHeight)
iComment.height = iComment.contentDocument.body.offsetHeight;
else if(iComment.Document && iComment.Document.body.scrollHeight)
iComment.height = iComment.Document.body.scrollHeight;
}
}
}
function ShowComment() {
var pars;
var ModuleName = "Article";
var InfoID = "2440";
var Titlelen = "50"; //内容摘要长度,默认是20
var Tablelen = "630"; //调用表格宽度,如100%或760
var MaxPerPage = 5; //每页调用数量
pars="ModuleName="+ModuleName+"&InfoID="+InfoID+"&Titlelen="+Titlelen+"&Tablelen="+Tablelen+"&MaxPerPage="+MaxPerPage;
new Ajax.Updater(
"leaveMsgList",
"http://www.xiwenquan.com/Include/PowerEasy.Comment_Ajax.asp?rnd="+Math.random(),
{
method:"get",
parameters :pars,
evalScripts :true,
asynchronous:true
});
}
function ajaxPager(pars)
{
new Ajax.Updater(
"leaveMsgList",
"http://www.xiwenquan.com/Include/PowerEasy.Comment_Ajax.asp",
{
method:"get",
parameters: pars
});
}
数据载入中,请稍后……
ShowComment();
if (23==-1)
{}
else
{
document.write ("")
}