日期:2013-05-30  浏览次数:20938 次

#############续send.asp#################

var oRDom=new ActiveXObject("Microsoft.XMLDOM");
    oRDom.async=false;
var Path="reload.asp";
var tCok;
function Clock()
{cRld++;
if (cRld>10){cRld=1;GetXmlData();}
clearTimeout(tCok);
tCok=setTimeout("Clock()",1000);
}   
function GetXmlData() //这就是刷新用户XML数据的函数
{cRld=1;
   oRDom.load(Path)
    if(oRDom.parseError.errorCode != 0)
      {alert("Sorry.出现了错误");
       return }
    else
     {
  var aryF=oRDom.documentElement.selectNodes("F");
  var aryT=oRDom.documentElement.selectNodes("T");
  var arysC=oRDom.documentElement.selectNodes("sC");
  var arycL=oRDom.documentElement.selectNodes("cL");
  var arysJ=oRDom.documentElement.selectNodes("sJ");
  var aryE=oRDom.documentElement.selectNodes("E");
  var tmpHtml="";
  lengt=aryF.length;
  for(var i=0;i<lengt;i++){
            img="<img src=http://www.163design.net/a/y/girl.gif width=12 height=12 border=0>";
            tmpHtml="<font style=\'cursor:hand;color:"+arycL(i).text+"\'>"+eV[aryE(i).text*2]+rp2(arysC(i).text,"{^amp]","&")+"</font>  <span class=t>["+arysJ(i).text+"]</span><br>";
            tmpHtml=rp2(tmpHtml,"$F","<a href=\"javascript:parent.sd.towho('"+aryF(i).text+"');\">"+img+aryF(i).text+"</a>");
            tmpHtml=rp2(tmpHtml,"$T","<a href=\"javascript:parent.sd.towho('"+aryT(i).text+"');\">"+aryT(i).text+"</a>");
            if (aryF(i).text==Me || aryT(i).text==Me)
           { parent.my.Ly.innerHTML+=tmpHtml;
            } else
             parent.pub.Ly.innerHTML+=tmpHtml;
            }
}
delete(aryF);delete(aryT);delete(arysC);delete(arycL);delete(arysJ);
}
function towho(un){
document.say.T.options[0].value=un;
document.say.T.options[0].text=un;
document.say.says.focus();return;}
</script>
<base onmouseover="parent.window.status='欢迎光临 蓝蝶精品网 www.ChinaOk.net 站长:NetNice  QICQ:6097356 ';return true;">
</head>
<body bgcolor="#76b4d9" topmargin="4" leftmargin="1"  >
<table BORDER="0"  width="767"  cellspacing="0" cellpadding="0" >
<tr><td  width="735" height="16" align="left" nowrap>
<form  method="post" action="save.asp" name="say" target="b" ; document.say.says.focus();" >                
<option value="大家" selected>大家</option>           &n