invitetype="B";Interval=15;var EnableVoice=1;var b11999=0;b11999=Interval*1000;a2003='q275615337'; var a2128=0; var b1199=0; var haveinvi=true; var plok=false; document.write('
'); function a2127(){ plok=true; try{document.getElementById("vo").stop()}catch(e){}; a2128=4; document.getElementById("OP0").style.display="none"; }; function aa99(){ if (EnableVoice==1){ if (plok==false){ setTimeout("aa99();",3000) try{document.getElementById("vo").play();return;}catch(e){}; }; }}; function a2075(){ var cw,ch; cw=document.getElementById("OP0").clientHeight/2; ch=document.getElementById("OP0").clientWidth/2; if (document.getElementById("OP0").style.display!="none"){ document.getElementById("OP0").style.top=document.body.scrollTop+document.body.clientHeight/2-cw; document.getElementById("OP0").style.left=document.body.scrollLeft +document.body.clientWidth/2 -ch; }; if ((invitetype=="A")||(invitetype=="C")){}else{ if (haveinvi==false){ b1199=b1199+100; if (b1199>b11999){ a2128=2; haveinvi=true; a2077(); }};} setTimeout("a2075();",100); }; a2075(); function a2076(){ plok=true; try{document.getElementById("vo").stop()}catch(e){}; document.getElementById("OP0").style.display="none"; if (a2129==0) return; a2128=3; a2118=window.open('/mychatserver/a1151.asp?&sid='+a2129+'&where='+escape(where),'new', 'menubar=no,toolbar=no,status=no,width=580,height=450,left=180,top=120,scrollbars=no, resizable=no'); }; function a2077(){ aa99(); document.getElementById("OP0").style.display=""; } function getJsData(url){ if(!GetObj("ScriptBox")){ var DivObj = document.createElement("div"); DivObj.id = "ScriptBox"; DivObj.style.display = "none"; document.body.appendChild(DivObj); } var Snode = document.createElement("script"); Snode.setAttribute("type", "text/javascript"); Snode.setAttribute("language", "javascript"); Snode.setAttribute("src", url); GetObj("ScriptBox").innerHTML = ""; GetObj("ScriptBox").appendChild(Snode); } function GetObj(objName){ if(document.getElementById){ return eval('document.getElementById("' + objName + '")'); }else{ return eval('document.all.' + objName); } } document.write(''); function callback(){ getJsData("/mychatserver/service/a1189.asp?a2003=q275615337&a2128="+a2128+"&where="+where ); }; var xin=5000; if ((invitetype=='C')||(invitetype=='D')){xin=5000}else{xin=20000}; callback(); window.setInterval("callback()",xin); var a2129=0; if (invitetype!='A'){ var agt=navigator.userAgent.toLowerCase(); if ((agt.indexOf('msie')!=-1)&&(EnableVoice==1)) {document.write('