// JavaScript Document //document.write("中恒统计") var request_VisitorID=0; var request_Company=0; var code_company='9824384431342718444f5918ae0aa400f4$f591*ae0aa$00f$'; var Timer_Ajax_getMsg; var FlashhasSend=false; var FlashObject=null; var visitor; loadSWF('44'); function loadSWF(num) { if(IsFlash()>=1) { document.write("
") document.write("") document.write("") document.write("") document.write("") document.write("") document.write("") document.write("") document.write(""); document.write("
") FlashObject=thisMovie("flashSO") //alert(FlashObject); } else { flashCallAjax(0) } } function jsCallFlashWriteSO(num) { //alert(num) try { FlashObject=thisMovie("flashSO"); if(FlashObject!=null) FlashObject.JSchangeFlashSO(num); } catch(e) { } } function jsCallFlashGetSO() { var isError=false; if(IsFlash()>=8) { try { return FlashObject.JSgetFlashSO() } catch(e) { isError=true; } } if(isError) { var start=new Date().getTime(); while(true) { if(new Date().getTime()-start>1000) break; } return FlashObject.JSgetFlashSO(); } return 0; } function getClientInfor(svisitorID) { request_VisitorID=svisitorID; window.onerror=null; var cHeight = window.screen.height; var cWidth = window.screen.width; var cBitDepth = screen.colorDepth; var cScreen=escape(screen.width + "*" + screen.height); var cUTC=meizz(); var cInfor=getHTTPinfor(document.referrer) if (cBitDepth == null) { cBitDepth = winodow.screen.pixelDepth; } var cRef=escape(document.referrer); var date=new Date() var query="ref=" + cRef + "&screen="+ cScreen + "&bit=" + cBitDepth + "&alexa=" + doTryAlexa()+ "&utc=" +cUTC+"&key="+escape(cInfor.key) + "&charset=" + cInfor.charset + "&searcher="+ cInfor.searcher + "&soid=" + svisitorID + "&flash=" + IsFlash() + "&other=" + date.getSeconds(); //document.write(query); // alert(query) return query; } function doTryAlexa() { try { aborted(); return 1; } catch(e) { return 0; } } function meizz() { var dateTimeString = "Thursday, 9 December 2004 12:39:00 GMT"; var dateTimeObject = new Date(dateTimeString); var timezoneOffset = new Date().getTimezoneOffset()/60*-1; return timezoneOffset; } function recvInviteMsg() { if(request_VisitorID!=0) { var date=new Date() var src="http://hi.uio.cc/Service/serviceForSeeInvite.asp?inviteid="+ request_VisitorID + "&randomtime=" + date.getSeconds(); includeJsFile("AJax_Script_Request",src); //alert("http://hi.uio.cc/Service/serviceForSeeInvite.asp?inviteid="+ request_VisitorID + "&randomtime=" + date.getSeconds()); } } function getHTTPinfor(url) { var searcher= { google:{ query:"q", charset:"utf8" ,domain:["www.google.com","www.google.cn"]}, baidu:{ query:"wd", charset:"gb2312",domain:["www.baidu.com"]}, soso:{ query:"w", charset:"gb2312",domain:["www.soso.com"]}, yahoo:{ query:"p", charset:"utf8",domain:["search.yahoo.com","one.cn.yahoo.com"] }, youdao:{ query:"q", charset:"utf8",domain:["www.youdao.com"] }, lycos:{ query:"query", charset:"utf8",domain:["www.lycos.com"] }, alltheweb:{ query:"q", charset:"utf8" ,domain:["www.alltheweb.com"] }, zhongsou:{ query:"word", charset:"gb2312" ,domain:["www.zhongsou.com"]}, onseek:{ query:"query", charset:"utf8",domain:["www.onseek.com"] }, bing:{ query:"q", charset:"utf8" ,domain:["www.bing.com","cn.bing.com"]}, iask:{ query:"_searchkey", charset:"gb2312" ,domain:["www.iask.com","iask.com"]}, openfind:{ query:"q", charset:"utf8" ,domain:["oes.openfind.com"]}, yesky:{ query:"wd", charset:"gb2312",domain:["www.alltheweb.com"] }, beijixing:{ query:"query", charset:"gb2312",domain:["www.alltheweb.com"] }, gougou:{ query:"search", charset:"utf8",domain:["www.gougou.com","gougou.com"] } } var p={key:"",searcher:"",charset:""}; var paras="" var arrstr=url.split("?"); if(arrstr.length>=2) { var sitedomain=url.substring(7,url.indexOf('/',7)); var peir=arrstr[1].split("&"); for(se in searcher) { var isFound=false; for(var indexII=0;indexII=2) p.key=tmp[1]; } //特殊情况 if(tmp[0]=="ie" && tmp[1]=="gb") { p.charset="gb2312" } if(tmp[0]=="ei" && tmp[1]=="gbk") p.charset="gb2312" } } } } return p; } function hiCheckIsMobile(Inform,Inputname,Mobile){ if (!hiCheckIsNull(Inform,Inputname,Mobile))return false; else{ var Form=Inform+"." Temp = $$(Inputname).value ; //eval("Temp="+Form+Inputname+".value;"); if(Temp.search(/^1[3|5]\d{9}$/)==-1) { alert("提醒您:"+Mobile+"不为合法手机号码!"); //eval(Form+Inputname+".focus();"); return false; } else{ // eval(Form+Inputname+".className="+Form+Inputname+".className.replace('RedInput','');"); return true; } } } function hiCheckLength(Inform,Inputname,Inputvalue,InputMinSize,InputMaxSize){ //验证是否为空! if (!hiCheckIsNull(Inform,Inputname,Inputvalue)) return false; else { var Form=Inform+"." Temp = $$(Inputname).value ; //eval("Temp="+Form+Inputname+".value;"); if (Temp.lengthparseInt(InputMaxSize)) { alert(Inputvalue+"的长度必须在"+InputMinSize+"-"+InputMaxSize+"之间!"); //eval(Form+Inputname+".focus();"); return false;} else{ return true; } } } function hiCheckIsNull(Inform,Inputname,Inputvalue){ var Form=Inform+"." Temp = $$(Inputname).value ; //eval("Temp="+Form+Inputname+".value;"); if(Temp=="") { alert("提醒您:"+Inputvalue+"不能为空!"); //eval(Form+Inputname+".focus();"); return false; } else { //eval(Form+Inputname+".className="+Form+Inputname+".className.replace('RedInput','');"); return true; } } function $$(id) { return document.getElementById(id); } function $$(id) { return document.getElementById(id); } var chatPreDiv=0; function showChatDiv(userID) { if(chatPreDiv==0) chatPreDiv=userID; var chatDiv=$$('chatDivonline'); if(chatDiv!=null) { AjaxSayHello(request_VisitorID,userID); chatDiv.style.display='block'; } else makeChatDiv(userID); } function makeChatDiv(userID) { var chatDiv=document.createElement("div"); var chatHTML="
"; chatHTML+="
在线通(uio.cc)
"; chatHTML+="
"; chatHTML+=""; chatHTML+="
"; chatDiv.innerHTML=chatHTML; document.body.appendChild(chatDiv); var bodyH=0,bodyW=0,bodySL=0,bodyST=0; if (document.documentElement && document.documentElement.scrollTop) { bodyST = document.documentElement.scrollTop; bodySL = document.documentElement.scrollLeft; bodyH =document.documentElement.clientHeight; bodyW = document.documentElement.clientWidth; } else if (document.body) { bodyST = document.body.scrollTop; bodySL = document.body.scrollLeft; bodyH = document.body.clientHeight bodyW = document.body.clientWidth; } if(chatDivonline.style.display!='block') chatDivonline.style.display='block' chatDivonline.style.top = bodyST + bodyH/2-chatDivonline.offsetHeight/2 + 'px'; chatDivonline.style.left = bodyW/2 - chatDivonline.offsetWidth/2 + 'px'; } function closeOnlineDiv(num) { blnOnline=0; document.getElementById('chatDivonline').style.display='none'; if(num==1) { var chatDiv=$$('chatDivonline'); $$('ifOnline').src="#" chatDiv.parentNode.removeChild(chatDiv); } return true; } var move=false; var leftpos=0,toppos=0; var dragapproved=false var zcor,xcor,ycor; var tempvar1,tempvar2; function movescontentmain(){ if (event.button==1 && dragapproved){ var bodyST,bodySL; if (document.documentElement && document.documentElement.scrollTop) { bodyST = document.documentElement.scrollTop; bodySL = document.documentElement.scrollLeft; } else if (document.body) { bodyST = document.body.scrollTop; bodySL = document.body.scrollLeft; } zcor.style.pixelLeft=tempvar1+event.clientX-xcor zcor.style.pixelTop=tempvar2+event.clientY-ycor leftpos=zcor.style.pixelLeft-bodySL; toppos=zcor.style.pixelTop-bodyST; return false } } function dragscontentmain(){ if (!document.all) return zcor=document.getElementById('chatDivonline') if (event.srcElement.id=="chatDivonlineTitle"){ blnOnline=0; dragapproved=true tempvar1=zcor.style.pixelLeft tempvar2=zcor.style.pixelTop xcor=event.clientX ycor=event.clientY document.onmousemove=movescontentmain } } document.onmousedown=dragscontentmain document.onmouseup=new Function("dragapproved=false;") function AjaxSayHello(a,b) { var date=new Date() var serverSRC="http://hi.uio.cc/Service/serviceForSayHello_dll?id="+ a + "&toid=" + b + "&randomtime=" + date.getSeconds() includeJsFile("Ajax_Script_sayHello",serverSRC); } function flashCallAjax(visitorID) { if(!FlashhasSend) { //alert(visitorID); FlashhasSend=true; //$("Ajax_Script_SendData").src="http://hi.uio.cc/User/NetEye/NetEye_id88793fd0d88f021bKF_44_dll?" + getClientInfor(visitorID); var serverSRC="http://hi.uio.cc/User/NetEye/NetEye_id88793fd0d88f021bKF_44_dll?" + getClientInfor(visitorID); includeJsFile("Ajax_Script_SaveData",serverSRC) //document.write("http://hi.uio.cc/User/NetEye/NetEye_idc0785c9554f8b86aKF_7.asp?" + getClientInfor(visitorID)); //http://hi.uio.cc/User/NetEye/NetEye_idc0785c9554f8b86aKF_7.asp?ref=&screen=1440*900&bit=32&alexa=0&utc=8&key=&charset=&searcher=&soid=0&flash=10 } } setTimeout("flashCallAjax(0)",3000); function IsFlash() { var flash_version=0; var f="-",n=navigator; if (n.plugins && n.plugins.length) { var p = navigator.plugins['Shockwave Flash']; if (typeof p == 'object') { for (var i = 10; i >= 3; i--) { if (p.description && p.description.indexOf(' ' + i + '.') != -1) { flash_version = i; break; } } } } else if (window.ActiveXObject) { for (var ii=10;ii>=2;ii--) { try { var fl=eval("new ActiveXObject('ShockwaveFlash.ShockwaveFlash." + ii + "');"); if(fl) { flash_version=ii; break; } } catch(e) {} } } return flash_version; } function thisMovie(movieName) { if (navigator.appName.indexOf("Microsoft") != -1) { return window[movieName] } else { return document[movieName] } } function includeJsFile(id,src) { var scriptTag = document.getElementById( id ); var oHead = document.getElementsByTagName('HEAD')[0]; while (tempScript = document.getElementById(id)) { tempScript.parentNode.removeChild(tempScript); for (var prop in tempScript) { try { delete tempScript[prop]; } catch(e) { } } } var oScript= document.createElement("script"); oScript.id = id; oScript.charset='utf-8'; oScript.type = "text/javascript"; oScript.src=src; oHead.appendChild( oScript); } function minWindow(obj) { if($$('minTD').style.display=='none') { $$('minTD').style.display='block'; obj.innerText="_" } else { $$('minTD').style.height=0; $$('minTD').style.display='none'; obj.innerText="+" } }