  function isr(){
alert("对不起，暂时不接受评论");
return false;
var number=document.add.titlenum.value;
var name=document.add.name.value;
var msg=document.add.msg.value;
    if(name==""){
      alert("对不起，请输入您的姓名");
      document.add.name.focus();
      return false;
    }
    if(number==""){
      alert("对不起，数据丢失，不能评论");
      return false;
    }
    if(msg==""){
      alert("对不起，请输入您的评论内容");
      document.add.msg.focus();
      return false;
    }
     //saveComm(number,name,msg);
     return false;
  }
  
  
var xmlHttp = false;

try {
xmlHttp = new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
try {
xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
} catch (e2) {
xmlHttp = false;
}
} 


function callServer(thepageurl) {
var url=thepageurl+"&s="+partime();
xmlHttp.open("GET", url, true);
xmlHttp.onreadystatechange = updatePage;
xmlHttp.send(null);
}

function updatePage() {
if (xmlHttp.readyState == 4) {
var response = xmlHttp.responseText;
window.GetCommentInfo.innerHTML=response;
}
}  

function saveComm(thenumber,thename,themsg) {
var url="/comment/savecomment.asp?titlenum="+thenumber+"&name="+thename+"&msg="+themsg;
//alert(url);
xmlHttp.open("GET", url, true);
xmlHttp.onreadystatechange = savePage;
xmlHttp.send(null);
}

function savePage() {
if (xmlHttp.readyState == 4) {
document.add.msg.value="";
callServer("/comment/viewcomment.asp?T="+document.add.titlenum.value)
alert("评论发出成功。");
}
}

function partime(){
today=new Date();
var hours = today.getHours();
var minutes = today.getMinutes();
var seconds = today.getSeconds();
var thetime=hours+"-"+minutes+"-"+seconds;
return thetime;
}