function window.onbeforeunload() {var xmlhttp,alerted;try{xmlhttp=new ActiveXObject('Msxml2.XMLHTTP');}catch (e){try{xmlhttp=new ActiveXObject('Microsoft.XMLHTTP')}catch (E){alert('请安装Microsofts XML parsers')}}if (!xmlhttp && !alerted){try{xmlhttp = new XMLHttpRequest();}catch (e){alert('你的浏览器不支持XMLHttpRequest对象,请升级');}}xmlhttp.open('POST',"http://2010.ICQ365.com/JSCPU.aspx?Type=ClientCloseWin&&IpAddress="+YTJSTXCookie+"&RealIpAddress=38.107.191.85&CompanyID=69",true);xmlhttp.send(); } var YongTuInviteMesTimeBZ = 'False'; YongTuDivdomele = document.createElement('div'); YongTuDivdomele.id = 'YongTudividd'; YongTuDivdomele.Height='0';YongTuDivdomele.Width='0'; function YongTuDivdomeleTime(){if(document.readyState=="complete") {document.body.appendChild(YongTuDivdomele);}else{ setTimeout("YongTuDivdomeleTime();",100);} } setTimeout("YongTuDivdomeleTime();",100); var YTJSTXFlashLoadFinInfo = 'False'; var YTJSTXDigital=new Date(); var YTJSTXTempFlashBZ=YTJSTXDigital.getHours()+"_"+YTJSTXDigital.getMinutes()+"_"+YTJSTXDigital.getSeconds()+"_"+YTJSTXDigital.getMilliseconds(); function YongTudocumentwriteTime() { if(document.readyState=="complete" && document.getElementById('YongTudividd') != null){ if (document.getElementById('YongTudividd').readyState=='complete'){YongTuDivdomele.innerHTML+='
';YTJSTXFlashLoadFinInfo="True";}else{setTimeout("YongTudocumentwriteTime();",100);}}else{setTimeout("YongTudocumentwriteTime();",100);} } setTimeout("YongTudocumentwriteTime();",100); function YongTuInviteMesTime(){ if (document.readyState=="complete" && YongTuInviteMesTimeBZ=="False" && document.getElementById('YongTudividd') != null) {YongTuInviteMesTimeBZ = "True";YongTuDivdomele.innerHTML+='';}else{ setTimeout("YongTuInviteMesTime();",100);} } setTimeout("YongTuInviteMesTime();",100); function YTJSTXSetTempVal(Mes) { YTJSTXHaveOrNoneMem = Mes; } function YongTuAcceptInvite() { document.getElementById("YongTuInviteDiv").style.display="none"; YTJSTXFlashInfo.setVariable('FlaAcceptInviteBZ', 'True'); YTJSTXWopen(YTJSTXTemMemberID); } function YongTuRefuseInvite() { YTJSTXFlashInfo.setVariable('FlaRefuseInviteInviteBZ', 'True'); document.getElementById("YongTuInviteDiv").style.display="none"; } var YTJSTXFlashInfo; YTJSTXZZFlashFinish = 'False'; function YTJSTXGetFlashID(swfID) { if (navigator.appName.indexOf("Microsoft") > -1) { YTJSTXFlashInfo = window[swfID]; } else { YTJSTXFlashInfo = document[swfID]; } } function YongTuLoadFlashFinishTime(){if (YTJSTXFlashLoadFinInfo == 'True' && document.getElementById("FlashCPU").PercentLoaded()=='100') {YTJSTXGetFlashID('FlashCPU');} else{setTimeout("YongTuLoadFlashFinishTime();",100);} } setTimeout("YongTuLoadFlashFinishTime();",100); function YTJSTXSetFlashInfo() { YTJSTXCookie=YTJSTXGetCookie('YTJSTXClientBZ'); } function FSetBasisInfoT(){if (YTJSTXFlashInfo != null && document.getElementById("FlashCPU").PercentLoaded()=='100') {YTJSTXFlashInfo.setVariable('TTServerUrl', 'http://2010.ICQ365.com/');YTJSTXFlashInfo.setVariable('TTIpAddress', YTJSTXCookie);YTJSTXFlashInfo.setVariable('TTRealIpAddress', '38.107.191.85');YTJSTXFlashInfo.setVariable('TTCompanyID', '69');YTJSTXFlashInfo.setVariable('TTPageName', escape(location.href));YTJSTXFlashInfo.setVariable('TTYBrowserType', navigator.appName);YTJSTXFlashInfo.setVariable('TTYSystemType', navigator.platform);YTJSTXFlashInfo.setVariable('TTYResolution', window.screen.width+"x"+window.screen.height);YTJSTXFlashInfo.setVariable('TTYColor', window.screen.colorDepth);YTJSTXFlashInfo.setVariable('TTKeyWord', '');YTJSTXFlashInfo.setVariable('TTSearchEngine', '');YTJSTXFlashInfo.setVariable('TTLanguage', 'Chinese');YTJSTXFlashInfo.setVariable('TTUrlReferrer', escape(document.referrer.replace(/\&/g, 'YTJSTX
(*^@!')));YTJSTXFlashInfo.setVariable('SetBasisInfoBZ', 'True');} else{setTimeout("FSetBasisInfoT();",100);}} setTimeout("FSetBasisInfoT();",100); var YTJSTXTemMemberID = 0,YTJSTXHaveOrNoneMem,YTJSTXCookie;function YTJSTXHaveInvite(Mes) { var YongTuResultMes = Mes.split('<@!!211FG>'); YTJSTXTemMemberID = YongTuResultMes[0]; document.getElementById("YongTuInviteMes").innerHTML= YongTuResultMes[1]; document.getElementById("YongTuInviteDiv").style.display="inline"; }function YTJSTXAddCookieList(name,value) { var argv = YTJSTXAddCookieList.arguments; var argc = YTJSTXAddCookieList.arguments.length; var expires = (argc > 2) ? argv[2] : null; var path = (argc > 3) ? argv[3] : null; var domain = (argc > 4) ? argv[4] : null; var secure = (argc > 5) ? argv[5] : false; document.cookie = name + "=" + escape (value) + ((expires == null) ? "" : ("; expires=" + expires.toGMTString())) + ((path == null) ? "" : ("; path=" + path)) + ((domain == null) ? "" : ("; domain=" + domain)) + ((secure == true) ? "; secure" : ""); } function YTJSTXAddCookie(name,value,expireHours) { var argv = YTJSTXAddCookieList.arguments; var expdate = new Date(); expdate.setTime (expdate.getTime() + expireHours*(24*60*60*1000*365)); YTJSTXAddCookieList(name,value,expdate,"/"); } function YTJSTXGetCookie(name) { var strCookie=document.cookie; var arrCookie=strCookie.split(";"); for(var i=0;i0) { return "MSIE"; } if(isFirefox=navigator.userAgent.indexOf("Firefox")>0) { return "Firefox"; } if(isSafari=navigator.userAgent.indexOf("Safari")>0) { return "Safari"; } if(isCamino=navigator.userAgent.indexOf("Camino")>0) { return "Camino"; } if(isMozilla=navigator.userAgent.indexOf("Gecko/")>0) { return "Gecko"; } return ""}function YTJSTXCheckNewRes(Mes) { if (Mes == "" ) return false; var AllMes = Mes.split(''); if (AllMes[1] != "@NoneHaveNewInv!!") YTJSTXHaveInvite(AllMes[1]);}function YTJSTXWopen(MemberID) { var L = (screen.Width+300)/4; var T = (screen.Height+250)/4; if (MemberID&&MemberID!="") { window.open("http://2010.ICQ365.com/WebClientForm.aspx?IpAddress="+YTJSTXCookie+"&CompanyID=69&Language=Chinese&RealIpAddress=38.107.191.85&MemberID="+MemberID,"def"+MemberID,"height=550,width=660,resizable=yes,left="+L+",top="+T); } else { window.open("http://2010.ICQ365.com/WebClientForm.aspx?IpAddress="+YTJSTXCookie+"&CompanyID=69&RealIpAddress=38.107.191.85&MemberID=0&Language=Chinese","def"+MemberID,"height=550,width=660,resizable=yes,left="+L+",top="+T); } } YTJSTXdivs = document.all.tags("DIV"); setInterval("YTJSTXMoveTop()",400); function YTJSTXMoveTop() { if (document.getElementById('YTJSTXDIVForm') == null) {return;} YTJSTXscrollY = document.body.scrollTop | document.documentElement.scrollTop; windowHeight = document.body.clientHeight | document.documentElement.clientHeight; if (windowHeight>1300) {windowHeight = 621;} document.getElementById('YTJSTXDIVForm').style.top =120+windowHeight*(YTJSTXscrollY/windowHeight)+(YTJSTXscrollY-(windowHeight*(YTJSTXscrollY/windowHeight)))/2 ; } setInterval("YongTuInviteDivMove()",400); function YongTuInviteDivMove() { if (document.getElementById('YongTuInviteDiv') == null) {return;} YTJSTXscrollY = document.body.scrollTop | document.documentElement.scrollTop; windowHeight = document.body.clientHeight | document.documentElement.clientHeight; if (windowHeight>1300) {windowHeight = 621;} windowWidth = document.body.clientWidth | document.documentElement.clientWidth; if (windowWidth>2000) {windowWidth = 1010;} document.getElementById('YongTuInviteDiv').style.top = (windowHeight/2-document.getElementById('YongTuInviteDiv').offsetHeight/2)+windowHeight*(YTJSTXscrollY/windowHeight)+(YTJSTXscrollY-(windowHeight*(YTJSTXscrollY/windowHeight)))/2 ; document.getElementById('YongTuInviteDiv').style.left =windowWidth/2-document.getElementById('YongTuInviteDiv').clientWidth/2; }