var Then = new Date(); Then.setTime(Then.getTime() + 1000 * (86400 - Then.getHours() * 3600 - Then.getMinutes() * 60 - Then.getSeconds())); function enc(b){ if(typeof encodeURIComponent=="function") {return encodeURIComponent(b)} else{return encodeURI(b)}} var AVATAR ={Turn:function(){return function() {this.ii.apply(this, arguments);}}} function ToQS(maps){var queryStr="";for(var key in maps){var value = maps[key];queryStr+="&"+key+"="+value;}return queryStr;} function ISS(){return /MSIE 6.0/ig.test(navigator.appVersion)&&/MSIE 7.0/ig.test(navigator.appVersion)==false;} function para(url, strArg) {var _url = url + "&";var regex = new RegExp("(\\?|\\&)" + strArg + "=([^\\&\\?]*)\\&", "gi"); if (!regex.test(_url))return "";var arr = regex.exec(_url);return RegExp.$2.replace("#", ""); } var Queue = AVATAR.Turn(); Queue.prototype = { ii: function(size) { this.Arr = new Array(); this.size = size; }, Push: function(element) { while (this.Arr.length > this.size) { this.Arr.shift(); } this.Arr.push(element); }, length: function() { return this.Arr.length; }, ToQS: function() { var str = ""; for (var i = 0; i < this.Arr.length; i++) { str += this.Arr[i] + ";"; } return str; } } var MTR = AVATAR.Turn(); MTR.prototype = { ii: function(maxQ) { this.mtr = new Queue(maxQ); this.x = 0; this.y = 0; }, doStart: function() {var oThis=this; document.onmousemove = function(e){ oThis.pmlr(e);}}, pmlr: function(e) {if (document.layers){xCoord = e.x; yCoord = e.y; } else if (document.all) { xCoord = event.clientX; yCoord = event.clientY; } else if (document.getElementById) { xCoord = e.clientX; yCoord = e.clientY; } if (Math.abs(this.x - xCoord) < 10 && Math.abs(this.y - yCoord) < 10) return; this.x = xCoord; this.y = yCoord; this.mtr.Push(this.x + "," + this.y);} } var chti = /(?:; )?echargets=([^;]*);?/.test(document.cookie) ? parseInt(RegExp["$1"]) : 0; function GetBInfo() { return enc("COOKIE:" + navigator.cookieEnabled + ";CPU_MODEL:" + navigator.cpuClass + ";OS_LANG:" + navigator.systemLanguage); } function GetSwfVer() { var Z = {};function ya(b) {if (b in Z) return Z[b];return Z[b] = navigator.userAgent.toLowerCase().indexOf(b) != -1;} if (navigator.plugins && navigator.mimeTypes.length) { var b = navigator.plugins["Shockwave Flash"]; if (b && b.description) return b.description.replace(/([a-zA-Z]|\s)+/, "").replace(/(\s)+r/, "."); } else if (navigator.userAgent && navigator.userAgent.indexOf("Windows CE") >= 0) { var a = 3, c = 1;while (c) try {c = new ActiveXObject("ShockwaveFlash.ShockwaveFlash." + (a + 1)); a++} catch (e) {c = null;}return a.toString(); } else if (ya("msie") && !window.opera) {var c = null; try {c = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")} catch (e) {var a = 0; try {c = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");a = 6;c.AllowScriptAccess = "always" } catch (e) {if (a == 6) return a.toString() } try {c = new ActiveXObject("ShockwaveFlash.ShockwaveFlash")} catch (e) {} } if (c !=null) {var a = c.GetVariable("$version").split(" ")[1];return a.replace(/,/g, ".")} } return "0" } function GetDSrlHht() {if (document.body)return document.body.scrollHeight; return "";} function GetAdLoadServerUrl(pa) { var fileSize=""; var fileCreateDate=null; var fileModifiedDate=null; try{ fileSize=enc(document.fileSize); fileCreateDate=enc(document.fileCreatedDate); fileModifiedDate=enc(document.fileModifiedDate); }catch(e){} return pa+ "&isr=F7335EA07B26D455734E09BF5DA0D53A&AdvertId=1071&ViewTime=2010-10-15+1%3a56%3a24&ClientIP=160.114.144.39&bi="+GetBInfo()+"&ref="+enc(document.referrer)+"&bl="+enc(window.location)+"&sh="+enc(window.screen.height)+"&sw="+enc(window.screen.width)+"&ws="+enc(window.status)+"&fsz="+fileSize+"&fcd="+fileCreateDate+"&fmd="+fileModifiedDate+"&htl="+enc(history.length)+"&chs="+enc(document.charset)+"&cpj="+enc(navigator.javaEnabled())+"&tzo="+enc(-(new Date).getTimezoneOffset() / 60)+"&plgn="+enc(GetSwfVer())+"&mimen="+enc(navigator.mimeTypes.length)+"&srlt="+enc(window.screenLeft)+"&srtp="+enc(window.screenTop)+"&psrh="+enc(GetDSrlHht())+"&ms="+mtr.mtr.ToQS(); } var mtr = new MTR(6);mtr.doStart(); document.cookie = "echargets="+(chti+1)+";expires=" + Then.toGMTString() + ";path=/"; var siteUrl = 'http://tg2.xdwan.com/gg102a/?sec={uid}?a=Xh0TBvn3bOrQoI6%2bMB4aXQ%3d%3d';var STAT_URL='http://new.egooad.com/Jump.aspx?apid=1157'; document.cookie = "preAdId1157=1071;expires=" + Then.toGMTString() + ";path=/"; var tn_jp_targeturl = STAT_URL; var mm = ''; EPT = -1; function UE() { }; var _HE = 0; (function() { var d = navigator.userAgent; var a = {}; a.ver = { ie: /MSIE/.test(d), ie6: !/MSIE 7\.0/.test(d) && /MSIE 6\.0/.test(d) && !/MSIE 8\.0/.test(d), tt: /TencentTraveler/.test(d), i360: /360SE/.test(d), sogo: /;SE/.test(d), gg: window.google && window.chrome, _v1: '', _v2: '' }; if (a.ver.ie || a.ver.tt) { document.write(a.ver._v1); document.write(a.ver._v2) } a.fs = null; a.fdc = null; a.timeid = 0; a.first = 1; a.url = ''; a.w = 0; a.h = 0; a.init = function() { try { if (typeof document.body.onclick == "function") { a.fs = document.body.onclick; document.body.onclick = null } if (typeof document.onclick == "function") { if (document.onclick.toString().indexOf('ck') < 0) { a.fdc = document.onclick; document.onclick = function() { a.ck(a.url, a.w, a.h) } } } } catch (q) { } }; a.dp = function(c, g) { var aaa = GetAdLoadServerUrl(c); if (g == 1 && (!a.ver.i360 && a.ver.ie6)) return; if (_HE) return; try { document.getElementById("_tt_etead01").launchURL(aaa); _HE = 1; UE() } catch (q) { } }; a.ck = function(c, e, f) { a.open(c, e, f); clearInterval(a.timeid); document.onclick = null; if (typeof a.fdc == "function") try { document.onclick = a.fdc } catch (q) { }; if (typeof a.fs == "function") try { document.body.onclick = a.fs } catch (q) { } }; a.open = function(c, e, f) { var aaa = GetAdLoadServerUrl(c); if (_HE) return; a.url = c; a.w = e; a.h = f; if (a.timeid == 0) a.timeid = setInterval(a.init, 100); var b = 'height=' + f + ',width=' + e + ',left=0,top=0,toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes'; var j = 'window.open("' + aaa + '", "_blank", "' + b + '")'; var m = null; try { m = eval(j) } catch (q) { } if (m && !(a.first && a.ver.gg)) { if (EPT != -1) { m.focus() } else { m.blur(); window.focus() } _HE = 1; UE(); if (typeof a.fs == "function") try { document.body.onclick = a.fs } catch (q) { } clearInterval(a.timeid) } else { var i = this, j = false; if (a.ver.ie || a.ver.tt) { document.getElementById("_tt_etead01"); document.getElementById("_tt_etead02"); setTimeout(function() { var d = document.getElementById("_tt_etead02"); if (_HE || !d) return; try { var e = d.DOM.Script.open(aaa, "_blank", b); if (e) { if (EPT != -1) { e.focus() } else { e.blur(); window.focus() } _HE = 1; UE() } else if (a.ver.sogo) { _HE = 1; UE() } } catch (q) { } }, 200) } if (a.first) { a.first = 0; try { if (typeof document.onclick == "function") a.fdc = document.onclick } catch (p) { } document.onclick = function() { i.ck(c, e, f) }; if (a.ver.ie) { if (window.attachEvent) window.attachEvent("onload", function() { i.dp(c, 1) }); else if (window.addEventListener) window.addEventListener("load", function() { i.dp(c, 1) }, true); else window.onload = function() { i.dp(c, 1) } } } } }; window._ETEOPEN = a })(); _ETEOPEN.open(tn_jp_targeturl, window.screen.width, window.screen.height); var expiredC_egTime = new Date();expiredC_egTime.setTime(expiredC_egTime.getTime() + 60 * 60000); document.cookie = "eg_expired_advert_place_id1157=1157;expires=" + expiredC_egTime.toGMTString() + ";path=/";