om_code.js
11.4 KB
(function(){var _oz_updatetail="0";var _ozjcnt_type="__COUNT__";var F=undefined;F={df:function(){this.cl="2313.oadz.com";this.bW="s.oadz.com";this.bb="cnt;C1;2313;m.yohobuy.com;uiP6FOiDuLHqEH2rHTtzrRMrXkQ=;";this.de="jcnt;C1;2313;m.yohobuy.com;WbG6ri3X/7WJzJWGvGyHwjImStw=;";this.dz="0F50E";this.cs="";this.cq=50;if(_ozjcnt_type==1){this.cq=5;}this.t=window;this.aX=this.t.top;this.bq=this.t.screen;this.bD=this.t.document;this.dc=new Image();this.dg=new Image();this.bi=this.bb.split(";")[2];this.bE=undefined;this.bc=undefined;this.G=undefined;this.bN=undefined;this.aL=undefined;this.aZ=undefined;this.aG=undefined;this.aC=undefined;this.l=0;this.aQ=0;this.cS=1024;this.dB=512;this.dJ=2048;this.cv=3;this.bZ="\x49\x4e\x50\x55\x54";this.di="\x62\x75\x74\x74\x6f\x6e";this.cN="\x69\x6d\x61\x67\x65";this.dw="\x73\x75\x62\x6d\x69\x74";this.cY="\x62\x6f\x64\x79";this.cj="\x68\x74\x6d\x6c";this.bk="\x4f\x5a\x5f\x30\x61\x5f"+this.bi;this.aB="\x4f\x5a\x5f\x31\x55\x5f"+this.bi;this.bL="\x4f\x5a\x5f\x31\x59\x5f"+this.bi;this.ci="\x4f\x5a\x5f\x31\x4b\x5f"+this.bi;this.db="\x4f\x5a\x5f\x31\x53\x5f"+this.bi;},cT:function(){if(!this.bE){if(this.as().indexOf("https")==0){this.bE="https://"+this.bW+"/"+this.bb;}else{this.bE="http://"+this.cl+"/"+this.bb;}}return this.bE;},av:function(){if(!this.bc){if(this.as().indexOf("https")==0){this.bc="https://"+this.bW+"/"+this.de;}else{this.bc="http://"+this.cl+"/"+this.de;}}return this.bc;},an:function(bj,V,aN,aC){var L="";if(aN&&aN>0)L=bj+"="+V+";expires="+aN.toGMTString()+";path=/;domain="+aC;else L=bj+"="+V+";path=/;domain="+aC;this.bD.cookie=L;},aR:function(bj){var L=this.bD.cookie;var by=L.indexOf(bj+"=");if(by!= -1){var bn=by+bj.length+1;var aa=L.indexOf(";",bn);if(aa== -1){aa=L.length;}return L.substring(bn,aa);}return null;},am:function(){if(!this.aC){this.aC=this.bD.domain;if(this.aC.indexOf(".")> -1){var C=this.aC.split(".");this.aC=C[C.length-2]+"."+C[C.length-1];if(C.length>2&&C[C.length-3]!="www"){var ao=C[C.length-2];if(ao.length<=2||(ao=="com"||ao=="edu"||ao=="gov"||ao=="net"||ao=="org"||ao=="mil")){this.aC=C[C.length-3]+"."+ao+"."+C[C.length-1];}}}}return this.aC;},as:function(){var O="";try{try{O=this.aX.location.href;}catch(ex){O=this.t.location.href;}}catch(ex){}if(!O){O="-";}if(O.length>this.dB){O=O.substring(0,this.dB);}O=escape(O);return O;},ba:function(){if(!this.G){try{try{this.G=this.aX.document.referrer;}catch(ex){this.G=this.bD.referrer;}if(!this.G){this.G=this.aX.opener.location.href;}}catch(ex){}if(!this.G){this.G="-";}if(this.G.length>this.dJ){this.G=this.G.substring(0,this.dJ);}this.G=escape(this.G);}return this.G;},bg:function(k,aS){try{if(k&&aS&&k.getAttribute(aS)){return k.getAttribute(aS).toString();}}catch(ex){}return null;},be:function(k){if(k&&k.name){return k.name.toString();}else if(this.bg(k,"name")){return this.bg(k,"name");}else if(k&&k.id){return k.id.toString();}else{return "-";}},dr:function(k){var H=1;var aY=0;while(k&&H<=10){k=k.parentNode;H++;if(k&&k.tagName=="DIV"){var ay=this.be(k);if(ay&&ay.indexOf("__")==0&&ay.length>2){aY=1;break;}}}if(aY==1){return k;}else{return null;}},aM:function(k,cG){if(!k.onclick){k.onclick=cG;}else{k.addEventListener("click",cG,false);}},cr:function(){if(typeof(F.t.frames)!="undefined"&&F.t.frames){for(var H=0;H<F.t.frames.length;H++){try{F.aM(F.t.frames[H].document,F.bd);}catch(ex){}}}if(F.t["__99_909_pageonload"]){F.t["__99_909_pageonload"]();}},cC:function(k){var H=1;while(k&&k.tagName!="A"&&k.tagName!="AREA"&&H<=10){k=k.parentNode;H++;}if(k&&(k.tagName=="A"||k.tagName=="AREA")){return k;}else{return null;}},cA:function(k){var H=1;var bU=undefined;if(k&&k.tagName){bU=k.tagName.toLowerCase();}while(k&& !k.onclick&&H<=5&&bU!=this.cY&&bU!=this.cj){if(k.parentNode&&k.parentNode.tagName){k=k.parentNode;bU=k.tagName.toLowerCase();H++;}else{return null;}}if(k&&k.onclick&&bU!=this.cY&&bU!=this.cj){return k;}return null;},bd:function(R){if(F.l<F.cq){var az=null;var aA="-";var af=null;var T="-";if(R){if(R.target){az=R.target;}else if(R.srcElement){az=R.srcElement;}}if(R&&az){var h=null;var bI=F.cC(az);if(bI&&bI.href){h=bI;af="A";T=escape(F.be(h));aA=escape(h.href);if(!aA)aA="-";}else if(az.tagName==F.bZ&&(az.type==F.di||az.type==F.cN||az.type==F.dw)){h=az;af=F.bZ;T=escape(F.be(h));}else{h=F.cA(az);if(h){af=h.tagName;T=escape(F.be(h));}}if(h){var bz=undefined;if(af&&af!="-"){var aw=F.dr(h);var bw=0;var bA=0;if(typeof(R.pageX)!='undefined'){bw=R.pageX;bA=R.pageY;}else if(typeof(R.x)!='undefined'){bw=R.x;bA=R.y;}if(aw){var dm=escape(F.be(aw));bz=af+"*"+T+"*"+bw+"*"+bA+"*"+dm;}else{bz=af+"*"+T+"*"+bw+"*"+bA;}var al=Math.floor((new Date()).getTime()/1000);if(T.toLowerCase().indexOf("__ad_")==0||T.toLowerCase().indexOf("__zntg_")==0){F.dF(T,al,aA);}else if(aw){T=escape(F.be(aw));if(T.toLowerCase().indexOf("__ad_")==0||T.toLowerCase().indexOf("__zntg_")==0){F.dF(T,al,aA);}}}if(af&&F.av()!=''){try{if(F.l==0&&F.aQ==1){F.l=1;F.aQ=F.l+1;}else{if(F.aQ==1){F.l=2;}else{F.l=F.aQ;}F.aQ=F.l+1;}}catch(ex){F.l=99;}F.cc(bz,F.l,aA);F.cB(100);}}}}},cB:function(ar){var dk=(new Date()).getTime();while(((new Date()).getTime()-dk)<ar);},cL:function(type){var ar=(new Date()).getTime();if(type==1){ar=Math.floor(ar/1000);}return "ozrand="+ar;},cc:function(bz,l,aA){if(this.av()!=''&&this.as()&&this.bN&&this.aG&&bz&&l>0&&aA){this.dg.src=this.av()+"?"+l+"&"+this.as()+"&"+this.bN+"&"+this.aG+"&"+bz+"&"+aA+"&"+this.dN()+"&"+this.cL(1);}},cW:function(bF,bm){var bP;try{if(typeof(bF)!="undefined"&&bF.indexOf("#")==0&&bF.length>1){bP=escape(bF);}}catch(ex){}if(typeof(bP)=="undefined"){bP="-";}if(bm){this.aG=bP;}return bP;},dA:function(aU,bm){var bs;try{if(typeof(aU)!="undefined"){if(aU.length>this.cS){aU=aU.substring(0,this.cS);}bs=escape("&"+aU);}}catch(ex){}if(typeof(bs)=="undefined"){bs="-";}if(bm){this.aZ=bs;}return bs;},bp:function(dq){try{var J=/^\d+$/;return J.test(dq);}catch(ex){}return false;},bS:function(){if(this.bq){var bh=this.bq.width;var bf=this.bq.height;if(bh&&bf&&this.bp(bh)&&this.bp(bf)){return bh+"*"+bf;}}return "0*0";},cQ:function(){var bO="-";try{bO=escape(this.bD.title.substring(0,30));}catch(ex){}if(!bO){bO="-";}var aq=undefined;try{if(_ozuid){aq=escape(_ozuid);}}catch(ex){}if(!aq){aq="-";}var bG=this.cZ();if(!bG){bG="-";}var dj=0;try{var aN=new Date().getTime();if(_oztime&&aN>_oztime){dj=aN-_oztime;}}catch(ex){}var bQ=undefined;try{if(_oznvs){bQ=escape(_oznvs);}}catch(ex){}if(!bQ){bQ="-";}var K=Math.floor(new Date().getTime()/1000);var v=this.bo(K);var cR="0";if(v.indexOf("<ime=")!= -1){cR=v.substr(v.indexOf("<ime=")+7);}var bJ=this.bB(true,K);var j=this.aP();var bK=this.aI();return "ozlvd="+cR+"&ozept="+bO+"&ozsru="+aq+"&ozsat="+escape("-")+"&ozver="+escape("-")+"&ozscr="+this.bS()+"&ozplt="+dj+"&ozos="+escape("-")+"&ozalx="+0+"&oznvs="+bQ+"&ozsac="+bG+"&ozccu="+escape(v)+"&ozccy="+escape(bJ)+"&ozcck="+escape(j)+"&ozccs="+escape(bK);},dN:function(){var aq=undefined;try{if(_ozuid){aq=escape(_ozuid);}}catch(ex){}if(!aq){aq="-";}if(!this.aZ)this.aZ="-";var bQ=undefined;try{if(_oznvs){bQ=escape(_oznvs);}}catch(ex){}if(!bQ){bQ="-";}var K=Math.floor(new Date().getTime()/1000);var v=this.bo(K);var bJ=this.bB(false,K);var j=this.aP();var bK=this.aI();return "ozsru="+aq+"&ozscr="+this.bS()+"&ozpoc="+escape("-")+"&ozprm="+this.aZ+"&oznvs="+bQ+"&ozrec="+escape("-")+"&ozccu="+escape(v)+"&ozccy="+escape(bJ)+"&ozcck="+escape(j)+"&ozccs="+escape(bK);},cd:function(aG,aZ,ad){var O=this.as();if(this.aL&&this.aL!="-"){this.bN=this.aL;}else{this.bN=this.ba();}var aO=O;var aJ=this.bN;if(typeof(ad)!="undefined"&&ad==1){aO=this.cz(aO,"ozs");aJ=this.cz(aJ,"ozs");}this.dc.src=this.cT()+"?1&"+aO+"&"+aJ+"&"+aG+"&"+aZ+"&"+this.cQ();if(aG=="-"){this.aL=O;}else{this.aL=O+aG;}},cz:function(ag,ac){var J;var da=0;while(da<this.cv){J=new RegExp("%26"+ac+"%3D(.+?)%26","g");if(ag.match(J)){ag=ag.replace(J,"%26");da++;}else break;}J=new RegExp("%26"+ac+"%3D(.+?)$","i");ag=ag.replace(J,"");J=new RegExp("%3F"+ac+"%3D(.+?)%26");ag=ag.replace(J,"%3F");J=new RegExp("%3F"+ac+"%3D(.+?)$");ag=ag.replace(J,"");return ag;},dH:function(ab,ai,ad){var bm=0;if(typeof(_oz_updatetail)!="undefined"&&_oz_updatetail==1){bm=1;}var bs=this.dA(ab,bm);var bP=this.cW(ai,bm);this.cd(bP,bs,ad);},dF:function(T,al,ax){T=escape(T);var O=this.as();var L=this.aR(this.bk);if(L){var H=0,aH=0,aT=0;for(H=0;H<L.length;H++){if(L.charAt(H)=='&'){aH++;if(aH==1){aT=H+1;}}}if(aH<4){L=L+"&"+T+"*"+al+"*"+O+"*"+ax;}else if(aH==4&&aT>0){L=L.substr(aT)+"&"+T+"*"+al+"*"+O+"*"+ax;}}else{L=T+"*"+al+"*"+O+"*"+ax;}this.an(this.bk,L,0,this.am());},cZ:function(){var V=undefined;var K=Math.floor((new Date()).getTime()/1000);try{var L="";var bV=this.aR(this.bk).split("&");for(var H=0;H<bV.length;H++){var au=bV[H].split("*");if((K-au[1])<900&&au[2]==escape(this.ba())&&au[3]==this.as()){V=au[0];}else{L+=(L==""?"":"&")+bV[H];}}this.an(this.bk,L,0,this.am());}catch(ex){}return V;},bo:function(K){var L="-";try{L=this.aR(this.aB);var dK=new Date();var aV=0;if(!L){var bY=Math.round(dK.getTime()/1000);var aD=bY.toString(16);var bH=aD.length;aD=aD.substring(bH-7,bH);var bM="";for(var H=0;H<3;H++){var cE=Math.floor(Math.random()*255);var cb=cE.toString(16);bM+=(cb.length==1?"0":"")+cb;}var cu="v"+aD+bM+".0";L="vid="+cu+"&ctime="+K+"<ime="+aV;}else{if(L&&L.indexOf("ctime=")!= -1){var aK=L.substr(L.indexOf("ctime=")+6);var cF=aK.indexOf("&");if(cF!= -1){aK=aK.substring(0,cF);}if(aK.match(/^\d*$/)){aV=new Number(aK);}}L=L.substring(0,L.lastIndexOf("&ctime"))+"&ctime="+K+"<ime="+aV;}this.an(this.aB,L,new Date(dK.getTime()+252288000000),this.am());}catch(ex){}return L;},bB:function(cw,K){var L="-";try{var bJ=this.aR(this.bL);var v=this.aR(this.aB);if(bJ){L=bJ;L=L.substring(0,L.lastIndexOf("&ctime"))+v.substring(v.lastIndexOf("&ctime"))+"&compid="+this.bi;this.an(this.bL,L,0,this.am());}if(cw){var ap=0;var aj="-";var ak="-";var O=this.as();var bx=this.ba();var cD=1;var aY=0;if(bx!="-"){var cI=this.cT().split(";")[3].split(":");for(var H=0;H<cI.length;H++){if(bx.indexOf(cI[H])!= -1){cD=0;}}if(cD==1){ap=1;}}var ah=O.lastIndexOf("%3Fozu_sid%3D");if(ah== -1){ah=O.lastIndexOf("%26ozu_sid%3D");}var ae=O.lastIndexOf("%3Fozs%3D");if(ae== -1){ae=O.lastIndexOf("%26ozs%3D");}if(ah!= -1&&ah>ae){ap=1;var aF=O.split(/%3Fozu_sid%3D|%26ozu_sid%3D/);if(aF.length>1){var bu=aF[1];var aa=bu.indexOf("%26");if(aa!= -1){bu=bu.substr(0,aa);}aj=bu;aY=1;}}if(ae!= -1&&ae>ah){ap=1;var bC=O.split(/%3Fozs%3D|%26ozs%3D/);for(var H=1;H<bC.length&&H<4;H++){var bv=bC[H];var aa=bv.indexOf("%26");if(aa!= -1){bv=bv.substr(0,aa);}if(bv.indexOf("-")== -1){ak=bv;aY=2;break;}else{var aE=bv.split("-");if(aE.length==2&&aE[1]==this.bi){ak=aE[0];aY=2;break;}}}}if(!bJ&&bx=="-"){ap=1;}if(ap){L="erefer="+bx+"&eurl="+O+"&etime="+K+v.substring(v.lastIndexOf("&ctime"))+"&compid="+this.bi;this.an(this.bL,L,0,this.am());if(aj!="-"||ak!="-"){var j="";var dp=L.indexOf("&etime=");if(dp!= -1){j="etime="+K+"&ozu_sid="+aj+"&ozs="+ak+"&flag="+aY+"&compid="+this.bi;this.an(this.ci,j,new Date(new Date().getTime()+30*86400*1000),this.am());this.an(this.db,j,0,this.am());}}}}}catch(ex){}return L;},aP:function(){var j="-";try{var V=this.aR(this.ci);if(V){j=V;}}catch(ex){}return j;},aI:function(){var bK="-";try{var V=this.aR(this.db);if(V){bK=V;}}catch(ex){}return bK;},ct:function(){try{if(typeof(this.cV)=="undefined"){this.df();this.cV=1;this.aQ=1;this.aW=1;}else{this.cV=2;this.aW=2;}if(this.aW==1){this.cW(this.t._ozurltail,1);this.dA(this.t._ozprm,1);if(this.t.onload){this.t["__99_909_pageonload"]=this.t.onload;}this.t.onload=this.cr;this.aM(this.bD,this.bd);this.cd(this.aG,this.aZ);}}catch(ex){}return this;}};if(typeof(_99_909)=="undefined"){_99_909=F.ct();__ozfac2=function(ab,ai,ad){_99_909.dH(ab,ai,ad);};}})();