var __rq_id;if(!__rq_id){__rq_id=Math.random().toString().substr(3)}_ebay={srcs:[],page_id:"",id:1};_adurl_="http://dfp.eachnet.com/display.php";send_url="http://xtrack.tomonline-inc.com?xtrackid=-.-EACHNET_OLD-.-";function _out_(A){var D="";try{D=unescape(_tomok.getc(_tomok.getc("loginname")+"PRD_CLS_LASTUSE"))}catch(B){}var C="";try{C=unescape(_tomok.getc(_tomok.getc("usgd")+"PRD_CLS_LASTUSE"))}catch(B){}document.write('<script src="'+_adurl_+"?request_id="+__rq_id+"&_user="+_tomok.getc("loginname")+"&"+A+"&_gender="+_tomok.getc("usgd")+"&_class="+D+'"><\/script>')}function _out2_(A){var D="";try{D=unescape(_tomok.getc(_tomok.getc("loginname")+"PRD_CLS_LASTUSE"))}catch(B){}var C="";try{C=unescape(_tomok.getc(_tomok.getc("usgd")+"PRD_CLS_LASTUSE"))}catch(B){}return'<script src="'+_adurl_+"?request_id="+__rq_id+"&_user="+_tomok.getc("loginname")+"&"+A+"&_gender="+_tomok.getc("usgd")+"&_class="+D+'"><\/script>'}var __t_ver="1822";_tomok.getc=function(D){var B=document.cookie.split("; ");for(var A=0;A<B.length;A++){var C=B[A].split("=");if(C[0]==D){return C[1]}}return""};function _tomok(V,B){var m=B;var J="!";var o=1156672103;var R=1800;var N=0;var u={};var g="";var L=0;var O=function(){if(N){return false}if(L==1){return }L=1;var c;try{c=G()}catch(i){c=send_url+"?&error="+escape(i)}document.write("<img style='display:none;' src='"+c+"'>")};M.VERSION=1;M.table=new Array(256);for(var b=0;b<256;b++){var r=b;for(var f=0;f<8;f++){if(r&1){r=-306674912^((r>>1)&2147483647)}else{r=(r>>1)&2147483647}}M.table[b]=r}function M(){}M.getCRC=function(w){var t=4294967295;var l,n,x;for(n=0;n<w.length;n++){x=w.charCodeAt(n);l=(t^x)&255;t=((t>>8)&16777215)^M.table[l]}return ~t};function G(){var c=url=Z=crc="";for(Z in u){if(u[Z]==""){continue}c+=(Z+"="+encodeURIComponent(u[Z])+"&")}if(send_url.indexOf("?")!=-1){url=send_url+"&"+c}else{url=send_url+"?"+c}url=url.replace("?","?crc="+M.getCRC(url.substr(url.indexOf("?")+1))+"&");return url}function P(x){var c="!";var AC=["client_key","all_pv","users","start_time","user_stay_time","last_time","current_pv","user_fouse_time","user_fouse_count","last_close_page","ad","adt","src","srct"];var w={};var y=[];for(h=0;h<AC.length;h++){w[AC[h]]=h;y[h]=""}function AD(AG){var AE=AG.lastIndexOf(c);var AF=AG.substr(AE+1);var k=AG.substr(0,AE);y=k.split(c);if(M.getCRC(k)!=AF){return 0}return 1}function l(){var k="";for(h=0;h<AC.length;h++){if(undefined==y[h]||"undefined"==y[h]){y[h]=""}k=k+y[h]+c}k=k+M.getCRC(k.substr(0,k.length-1));return k}function i(k,AE){if(isNaN(w[k])){return }y[w[k]]=AE;AB();return AE}function z(k){i(k,0)}function t(k){if(isNaN(w[k])){return""}return y[w[k]]}function AB(){document.cookie=x+"="+l()+";expires="+(new Date((new Date()).valueOf()+86400000000)).toGMTString()+";path=/;domain="+function(){var k=document.domain.split(".");if(k.length>=2){return k[k.length-2]+"."+k[k.length-1]}else{return document.domain}}()}if(x&&x.length>0){AD(_tomok.getc(x))}function AA(){return AC.length}function n(k){return AC[k]}this.len=AA;this.k=n;this.clear=z;this.getValue=t;this.setValue=i;this.getStr=l}function K(){return parseInt((new Date()).getTime()/1000)}function S(c){c=parseInt(c);if(isNaN(c)){return 0}return c}function I(){var c=h="",i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";for(;h<9;h++){c+=i.charAt(parseInt(Math.random()*62))}return c}function Y(w){var l=document.cookie;var k=l.split(";");var c=new Array();for(var t=0;t<k.length;t++){var n=k[t].split("=");c[n[0]]=n[1]}return(w!="")?c[" "+w]:c}if(V==""||!parseInt(V)){N=1;return false}else{u["id"]=V}var r=_tomok.c=new P("each_"+u["id"]);if(!r.getValue("client_key")){r.setValue("client_key",I())}var p="";u["v"]=__t_ver;u["url"]=M.getCRC(location.toString());u["z"]=0-(new Date()).getTimezoneOffset()/60;u["rf"]=document.referrer;var e="!";u["sc"]=(window.screenLeft!==undefined?window.screenLeft:window.screenX)+e+(window.screenTop!==undefined?window.screenTop:window.screenY)+e+screen.width+e+screen.height+e+screen.colorDepth+e+screen.availWidth+e+screen.availHeight;u["ct"]=K();all_pv=S(r.getValue("all_pv"));if(isNaN(all_pv)){all_pv=0}r.setValue("all_pv",1+all_pv);if(K()-S(r.getValue("last_time"))-S(r.getValue("start_time"))>R){r.setValue("users",S(r.getValue("users"))+1);m["exit_page"]=r.getValue("last_close_page");var f=["user_stay_time","last_time","current_pv","user_fouse_time","user_fouse_count","last_close_page"];for(var Z in f){r.setValue(f[Z],"")}}function v(i){var c=i;if(window.navigator.userAgent.indexOf("MSIE")>-1&&c.indexOf("%")==-1){c=encodeURIComponent(c)}return c}function d(c){m["isenter"]=1;if(r.getValue("ad")!=c){r.setValue("srct",K());r.setValue("ad",c)}}if(S(r.getValue("start_time"))==0){r.setValue("start_time",K())}if(location.toString().match(new RegExp("srcid=([^!:|&]+)","img"))){m["lastsrc"]=v(RegExp.$1);r.setValue("src",m["lastsrc"])}var s=location.toString(),q=document.referrer;if(s.match(new RegExp("adid=([^!:|&]+)","img"))){ad=v(RegExp.$1);m["lastad"]=ad;d(ad)}else{if(s.match(new RegExp("outid=([^!:|&]+)","img"))){ad=v(RegExp.$1);m["lastad"]=ad;d(ad)}else{if(q.match(new RegExp("http://www.google.cn/search"))||q.match(new RegExp("http://www.google.com/search"))||q.match(new RegExp("http://www.google.com.hk/search"))){if(q.match(new RegExp("ie=([^&]*)","img"))){var F=RegExp.$1}else{var F="utf-8"}q.match(new RegExp("&q=([^&]*)","img"));var E=RegExp.$1;ad="nsgoogle_ns_00_0_"+F+"_"+E;d(ad)}else{if(q.match(new RegExp("http://search.yahoo.com/search"))){q.match(new RegExp("p=([^&]*)","img"));var W=RegExp.$1;ad="nsyahoo_ns_00_0_0_"+W;d(ad)}else{if(q.match(new RegExp("http://www.baidu.com/s"))||q.match(new RegExp("http://www.baidu.com.cn/s"))||q.match(new RegExp("http://www.baidu.cn/s"))||q.match(new RegExp("http://www.baidu.cn/baidu"))||q.match(new RegExp("http://www.baidu.com.cn/baidu"))||q.match(new RegExp("http://www.baidu.com/baidu"))){if(q.match(new RegExp("ie=([^&]*)","img"))){var C=RegExp.$1}else{var C="gb2312"}var Q=new Array("wd","word","w");for(var U=0;U<Q.length;U++){var D=Q[U];if(q.match(new RegExp(D+"=([^&]*)","img"))){var T=RegExp.$1;ad="nsbaidu_ns_00_0_"+C+"_"+T;d(ad);break}}}}}}}if(location.toString().match(new RegExp("_gid=([^!:|&]+)","img"))){var X=v(RegExp.$1);if(X!=""){var A=Y("gmvpath");if(typeof A!="undefined"&&A!=""){var H=A.split(",");if(H[H.length-1]!=X){A+=","+X}}else{A=X}document.cookie="gmvpath="+A+";;path=/;domain="+function(){var c=document.domain.split(".");if(c.length>=2){return c[c.length-2]+"."+c[c.length-1]}else{return document.domain}}();m["gmvpath"]=A}}if(m.uid!=""&&typeof m.uid!="undefined"){document.cookie="gmvpath=;;path=/;domain="+function(){var c=document.domain.split(".");if(c.length>=2){return c[c.length-2]+"."+c[c.length-1]}else{return document.domain}}()}if(undefined!=m["srcs"]&&m["srcs"].join){m["srcs"]=m["srcs"].join(".")}r.setValue("last_time",K()-S(r.getValue("start_time")));r.setValue("current_pv",1+S(r.getValue("current_pv")));var j=K()-r.getValue("srct");r.setValue("adt",j);u["c"]=r.getStr();if(document.cookie==""){u["c"]=""}var Z=this.constructor.toString();m["u"]=_tomok.getc("GLOBAL_COOKIE_NAME_USRLOGINID");for(var h in m){if("id"!=h&&h!="send"){p=p+h+":"+m[h]+J}}u["ext"]=p;u["log"]=g;u["uid"]=m.uid?m.uid:"";u["counter"]=m.counter?m.counter:"";var a={lock:0,lock2:0,t:0,h:0,start:0,time:0};a.onblur=function(){if(a.lock2){return }a.lock2=1;a.t++;(window.clearInterval(a.h));a.h=0;a.lock2=0};a.ti=function(){a.time=a.time+K()-a.start;a.start=K()};a.focus=function(){if(a.h>0){return }if(a.lock==1){return }a.lock=1;a.start=K();a.h=window.setInterval(a.ti,1000);a.lock=0};a.unload=function(){_tomok.c.setValue("last_close_page",escape(location.toString()));_tomok.c.setValue("user_fouse_time",a.time);_tomok.c.setValue("user_fouse_count",a.t);_tomok.c.setValue("user_stay_time",K()-_tomok.c.getValue("start_time")-_tomok.c.getValue("last_time"))};if(window.addEventListener){window.addEventListener("focus",a.focus,false);window.addEventListener("blur",a.onblur,false);window.addEventListener("unload",a.unload,false)}else{window.attachEvent("onfocus",a.focus,false);window.attachEvent("onblur",a.onblur,false);window.attachEvent("onunload",a.unload,false)}this.newid=I;this.run=O}var __si;function _count(C){if(__si==1){return }try{var A=new _tomok(C.id,(C));A.run()}catch(B){}__si=1}

