(function(K){var M="",c="unde"+M+"fined",E=navigator,A=E.userAgent,C=false,Q="",n="",z=0;if(typeof K._HAP===c){K._HAP={};}var H=function(Y){var r=Y,X,W;while(r){try{W=r.parent;if(W!==null&&W!==r){try{X=W.title;X=W.document.location;X=W.document.location.href;}catch(aa){C=true;Q=(r.innerWidth||(r.document.documentElement.clientWidth||r.document.body.clientWidth))+"x"+(r.innerHeight||(r.document.documentElement.clientHeight||r.document.body.clientHeight));return r;}r=W;}else{break;}}catch(Z){break;}}return r;};var D=H(K);if(!D){return;}K._HAP.wyn=D;if(typeof D._HAP===c){D._HAP={RQID:""};}else{z++;}var G=function(W){var Y=W.match(/^(https?)(:\/\/)(.*?)(\/)(.*)$/); if(Y===null||Y.length<4){return false;}var Z=Y[3].split(".");if(Z.length<2){return false;}var X=Z[Z.length-2],r=Z[Z.length-1];if((X==="tob"+M+"oads"||X==="http"+M+"ool")){return true;}return false;};var O="http://tas-ua.toboads.com",h="5bd847fd-4ec6-4e5c-af4b-d52944909a5c",v=1,j=2,e=3,B=4,a=5;if(typeof K.__vtcpcb!==c&&K.__vtcpcb instanceof Function&&G(K.document.referrer)){var J=K.document.referrer;var m=J.search("[a-z]/");if(m<10){m=J.length-1;}K.__vtcpcb(h,J.substr(0,m+1));return;}var u;if(typeof D._HAP.kgb===c){u=(function(){var X=0,r="scr"+M+"ipt",W="tex"+M+"t/ja"+M+"va"+r;return{t27:function(){return X++;},i2:function(aa,Y){var Z=aa.document,ab=Z.createElement(r); ab.type=W;if(V.msie){ab.text=Y;}else{ab.appendChild(Z.createTextNode(Y));}return ab;},pig:function(Z,Y){var aa=Z.document.createElement(r);aa.type=W;aa.src=Y;return aa;}};}());D._HAP.kgb=u;}else{u=D._HAP.kgb;}var U;if(typeof D._HAP.s75===c){U={toe:new Date().getTime(),rnd:function(){this.toe=(this.toe*9301+49297)%233280;return this.toe/233280;},get:function(r){if(typeof r===c){r=1;}return Math.floor(this.rnd()*r);},dye:function(X){var Z="",r="0123456789abcdef",W,Y;if(typeof X===c){X=32;}for(W=0;W127)&&(aB<2048)){az+=String.fromCharCode((aB>>6)|192);az+=String.fromCharCode((aB&63)|128);}else{az+=String.fromCharCode((aB>>12)|224);az+=String.fromCharCode(((aB>>6)&63)|128);az+=String.fromCharCode((aB&63)|128);}}}return az;}};var ak=function(aC){var aD=aC.length,aB="",aE,aA,az;for(aA=0;aA127){aE=ad.encode(aC.substr(aA,1)); for(az=0;az0){aB+=aC+"="+X(az[aC])+"&";}}}return aB; };var W=function(az,aA){if(typeof aA!==c){return az+"?"+ai(aA);}else{return az;}};var aq=function(az){return az.split("?",1)[0];};var aa=function(aD,az,aB){var aC=ay.createElement("form"),aA=ay.createElement("input");aC.setAttribute("method","POST");aC.setAttribute("action",aq(aB));aC.setAttribute("target",aD.getAttribute("name"));aA.setAttribute("type","hidden");aA.setAttribute("value",aB);aA.setAttribute("name","async_data");aC.appendChild(aA);ay.body.appendChild(aC);aD.setAttribute("data-url",aB);aC.submit();aC.parentNode.removeChild(aC);};var am=function(aJ){var aG="",aH="",aA,aE,aF,az,aB=["4","5","b",".","c","2","d","e","f","6","h","j","k","m","9","t","w","_"],aC=aJ.length,aD=aB.length,aI; for(aE=0;aE255){aH=aA+"";while(aH.length<5){aH="0"+aH;}aG+="X"+aH;}else{aF=Math.floor(aA/aD);aI=aA%aD;aG+=aB[aF]+aB[aI];}}return aG;};var Y=function(aG,aF){var aA=aG,aC,aE,aB;aA.j3=e;if(aA.fbi==="ha"){aB=ax(aA.sharedParams);aE=aB.build({L:aA.hat.link,alt_url:aA.y2.s10,afs:aA.y2.adFormats});aA.url=W(O+"/ads.php",aE);}else{if(aA.fbi==="srcless"){delete aA.url;var az=ay.getElementById(aA.pic+"_ph");az.style.visibility="visible";var aD=":'"+Z[aA.pic+"_var"]+"'";az.src="javascript"+aD;az.c35=aA;aA.frame=az;aj.apply(az);return;}else{if(aA.fbi==="backfill"){aA.custom_tag_renderer=aA.hat.custom_tag_renderer; if(aA.hat.custom_tag||aA.hat.custom_external_script){aA.use_custom=true;aA.custom_tag=aA.hat.custom_tag;aA.custom_external_script=aA.hat.custom_external_script;}else{aA.url=W(O+aA.hat.backfillProxy,aA.hat);}}else{if(aA.fbi==="alt"){if(typeof aA.hat!==c&&typeof aA.hat.url!==c&&aA.hat.url.length>0){aA.url=aA.hat.url;}else{if(aA.y2.s10.length>0){aA.url=aA.y2.s10;}}}else{if(aA.fbi==="blank"){aC=aA.y2;aE={rq:L,vt:h,brand:aA.hat.brand,af:aC.V17,clr_border:aC.style.A4,clr_bg:aC.style.t56,clr_title:aC.style.S6,clr_link:aC.style.x03,clr_text:aC.style.J72,nw:aC.g9}; if(typeof(aA.hat.clr_bg)!==c){aE.clr_bg=aA.hat.clr_bg;aE.clr_border=aA.hat.clr_border;aE.clr_title=aA.hat.clr_title;aE.clr_link=aA.hat.clr_link;aE.clr_text=aA.hat.clr_text;}aA.url=W(O+"/alt.php",aE);}}}}}setTimeout((function(aH,aK){var aJ=aH,aI=aK;return function(){var aN=aI,aL=aJ,aM=aL.doc.createElement("iframe");aL.frame=aM;aM.c35=aL;aM.id="hA_blk_"+U.dye(8);aM.name=aM.id;aM.style.width="100%";aM.style.height="100%";aM.style.border="0px solid white";aM.scrolling="no";aM.frameBorder=0;aM.hspace=0;aM.vspace=0;aM.marginWidth=0;aM.marginHeight=0;aM.allowTransparency="false";if(aL.fbi==="ha"){al(aM); }setTimeout((function(aQ,aO,aR){var aP=aQ,aT=aO,aS=aR;return function(){if(aT.url&&aT.url.length<2000){aP.src=aT.url;}try{aS.parentNode.replaceChild(aP,aS);}catch(aV){aT.u_.replaceChild(aP,aS);}if(aT.url&&aT.url.length>=2000){aa(aP,ay,aT.url);}else{if(aT.use_custom){var aU;ct=aT.custom_tag;aU=aP.parentNode;aU.innerHTML=ct;R.renderTag(aT.custom_tag_renderer,aT,aU,ay,Z);if(aT.custom_external_script){R.addExternalScript(aU,aT.custom_external_script,ay);}aU.c35=aT;r.apply(aU);}else{}}};}(aM,aL,aN)),100+aL.index*50);};}(aA,aF)),50*aA.index);};var al=function(az){if(V.konq){setTimeout(function(){aj.apply(az);},3000);}else{x.fry(az,"load",aj);}}; var aw=function(){var aA,aD,aC;var aB=f.newHub(window,[/\.tas\.vrt/]);aB.listenForMessages(window);aB.cap("ERROR",function(aE,aG){for(var aF=0,aH=at.length;aFaz){z++;}else{setTimeout(aw,100*aw.i01);}continue;}aC=ay.getElementById(aD.pic+"_ph");if(!aC){continue;}Y(aD,aC);}};var ao=function(aD,aC){var aB=ay.getElementById(aD+"_ph"),aA;if(typeof aB!==c&&aB&&aB.parentNode){aB.parentNode.removeChild(aB);aA=ae(aD);if(aA){aA.parentNode.removeChild(aA); }}if(aC){var az=ay.getElementById(aD);if(typeof az!==c&&az){az.style.display="none";}}};var aj=function(){var az=this.c35,aA;if(az.j3===e){az.j3=B;az.g3=new d(az,700,C);az.g3.reset(1000);az.K9=new I(az);if(az.hat.pushdown){aA=az.u_.getElementsByTagName("div")[0];t.hideContainer(aA,az);t.registerScroll(aA,az.u_,aA,az);}}else{z++;}};var r=function(){var aA,az=this.c35;if(az.j3===e){az.j3=B;az.g3=new d(az,700,C);az.g3.reset(1000);az.K9=new I(az,true);az.adHandler=new p();try{aA=Z._HAP.buy;aA.setAllowFramelessMessages(true); }catch(aB){}}else{z++;}};x.l3(function(){setTimeout(function(){ap();},1);});var ac=function(az){var aA=function(aC){if(typeof Z[aC]){Z[aC]=null;try{delete Z[aC];}catch(aB){Z[aC]=undefined;}}};aA("tob"+M+"oa"+M+"ds_"+az);aA("htt"+M+"po"+M+"ol_"+az);};var au=function(aB,az){var aA;if(typeof aB.T9===c){aB.T9=false;}if(az===null&&aB.T9){return null;}if(aB.type==="set"){for(aA=0;aA');aI=ay.createElement("span");aI.style.cssText="margin:0px;padding:0px;border-width:0px;display:inline"; aI.id=aQ;_iDiv=ay.createElement("div");_iDiv.style.cssText="display:inline-bl"+M+"ock;zoom:1;*display:inline;margin:0px;padding:0px;border-width:0px;position:relative;overflow:hidden;width:"+aH.width+"px;height:"+aH.height+"px";aA=ay.createElement("iframe");aA.scrolling="no";aA.width="100%";aA.height="100%";aA.id=aJ.pic+"_ph";aA.frameBorder=0;aA.marginWidth=0;aA.marginHeight=0;aA.style.cssText=aL;aB=ay.createElement("script");aB.src=W(O+"/js/adl-27074.js",aP);aB.type="text/javascript";_iDiv.appendChild(aA);aI.appendChild(_iDiv);az.appendChild(aI);az.appendChild(aB);setTimeout(function(){var aS=ay.getElementById(aO),aR=aS.parentNode;aR.insertBefore(az,aS); aR.removeChild(aS);setTimeout(ar,0);},50);}else{af(ay,"');af(ay,"');af(ay,'');af(ay,"");var aK=W(O+"/js/adl-27074.js",aP);af(ay,""); af(ay,"");}var aN,aM=ah.length;for(aN=0;aN=ao){an=ao;goalReached=true;}au.style.height=an+"px";if(ap){au.style.marginBottom=au["data-orig-margin"]+au["data-orig-height"]-an+"px";}else{au.style.marginBottom=au["data-orig-margin"]+"px";}return goalReached;};q7=function(an){var am;if(aj.j3!==B){al.stop();return;}am=ag(ak,ai,an,ak["data-orig-height"],X);if(am){al.stop();}};W(ak);al=new ad(q7);al.start();};var ac=function(ag){var ah=y.v0(ag),af=ag.offsetWidth,ae=ag.offsetHeight;return new s(ah.x,ah.y,ah.x+af,ah.y+ae);};var aa=function(ae,af,ah,ag){ah.scrollTriggered=false; var ai=function(){var ak,am,aj,al=300;if(ah.scrollTriggered){return;}triggerRect=ac(af).by(new q(30,0));am=k.dam(window);aj=!am.U8(triggerRect).isNull;if(aj){ah.scrollTriggered=true;setTimeout(function(){ag.K9.send("VIDEO_PUSHDOWN",{});setTimeout(function(){Y(ah,ag,al);},300);},150);}};r(ae,ag.pic,ag);x.fry(K,"scroll",ai);x.fry(K,"resize",ai);x.fry(K,"touchmove",ai);x.fry(K,"gesturechange",ai);};var r=function(af,ae,ai){var ah=K.document.createElement("div"),ag;ag=function(aj){aj.returnValue=false;aj.cancelBubble=true;if(aj.preventDefault){aj.preventDefault();}if(aj.stopPropagation){aj.stopPropagation(); }return aj;};ah.style.position="absolute";ah.style.width="40px";ah.style.height="40px";ah.style.top="0";ah.style.right="0";ah.style.background='transparent url("http://cdn.toboads.com/static/video/flowplayer/httpool/img/close.png") top right no-repeat';ah.style.cursor="pointer";x.fry(ah,"click",function(ak){var aj=ak||window.event;ai.K9.send("VIDEO_PUSHDOWN_CLOSE",{});K._HAP._collc(ae,true);aj=ag(aj);return false;});af.appendChild(ah);};return{hideContainer:Z,registerScroll:aa};}());K._HAP.VideoPushdown=t;}else{t=K._HAP.VideoPushdown;}K._HAP._bindc=function(X,r,W){K._HAP.bee.rofl(X,r,W);};K._HAP._collc=function(W,r){K._HAP.bee.brb(W,r); };var s;if(typeof D._HAP.tea===c){s=function(Y,X,W,r){if(Y===undefined||Y===null){this.isNull=true;this.left=null;this.top=null;this.right=null;this.bottom=null;}else{this.isNull=false;this.left=Y;this.top=X;this.right=W;this.bottom=r;}};s.prototype.toString=function(){return"[isNull: "+this.isNull+", left: "+this.left+", top: "+this.top+", right: "+this.right+", bottom: "+this.bottom+"]";};s.prototype.U8=function(X){if(this.isNull||!s.b1(X)||X.isNull){return new s(null);}var W=new s(X.left>this.left?X.left:this.left,X.top>this.top?X.top:this.top,X.rightW.right||W.top>W.bottom){return new s(null); }return W;};s.b1=function(W){return(W.isNull!==undefined&&W.left!==undefined&&W.top!==undefined&&W.right!==undefined&&W.bottom!==undefined);};s.prototype.by=function(r){if(this.isNull){return new s(null);}return new s(this.left+r.x,this.top+r.y,this.right+r.x,this.bottom+r.y);};s.prototype.copy=function(){return new s(this.left,this.top,this.right,this.bottom);};s.prototype.area=function(){if(this.isNull){return 0;}return Math.abs(this.right-this.left)*Math.abs(this.bottom-this.top);};s.prototype.covers=function(W,X){return Math.ceil(100*this.U8(W).area()/this.area())>=X;};D._HAP.tea=s;}else{s=D._HAP.tea;}var q;if(typeof D._HAP.J_6===c){q=function(r,W){this.x=r; this.y=W;this.tin=function(){return new q(-this.x,-this.y);};this.add=function(X){return new q(this.x+X.x,this.y+X.y);};this.subtract=function(X){return this.add(X.tin());};};D._HAP.J_6=q;}else{q=D._HAP.J_6;}var k;if(typeof D._HAP.rat===c){k={a2_:function(r){if(r.innerWidth){return Number(r.innerWidth);}if(r.document.documentElement.clientWidth){return Number(r.document.documentElement.clientWidth);}if(r.document.body===null){return Number(0);}return Number(r.document.body.clientWidth);},F5_:function(r){if(r.innerHeight){return Number(r.innerHeight);}if(r.document.documentElement.clientHeight){return Number(r.document.documentElement.clientHeight); }if(r.document.body===null){return Number(0);}return Number(r.document.body.clientHeight);},R22:function(r){return{width:this.a2_(r),height:this.F5_(r)};},X14:function(r){var W=this.R22(r);return new s(0,0,W.width,W.height);},dam:function(r){var W=this.X14(r);var X=this.v0(r);return W.by(X);},tie:function(Y){var r=0,W;if(Y.frames&&Y.frames.length>0){for(W=0;W0){for(r=0;rX.pin){X=r[W];}}if(!X){return"";}return X.document.location.href;}catch(Y){return"";}}};D._HAP.bat=V;}else{V=D._HAP.bat;}var y;if(typeof D._HAP.fed===c){y={bye:function(r){return !/^\d+(px)?$/i.test(r)&&/^\d/.test(r);},v0:function(r){var W=new q(0,0);while(r!==null){W.x+=r.offsetLeft;W.y+=r.offsetTop;r=r.offsetParent;}return W;},R22:function(W){var r={width:W.offsetWidth,height:W.offsetHeight};if(V.kia()){r.width+=parseInt(this.ext(W,"borderLeftWidth"),10);r.width+=parseInt(this.ext(W,"paddingLeft"),10); r.width+=parseInt(this.ext(W,"paddingRight"),10);r.width+=parseInt(this.ext(W,"borderRightWidth"),10);r.height+=parseInt(this.ext(W,"borderTopWidth"),10);r.height+=parseInt(this.ext(W,"paddingTop"),10);r.height+=parseInt(this.ext(W,"paddingBottom"),10);r.height+=parseInt(this.ext(W,"borderBottomWidth"),10);}return r;},ext:function(ab,W,X){var ae,ad,ah,Y,aa=[],ag=[],Z,af,r;function ac(ai){if(!V.saf){return false;}ae=document.defaultView.getComputedStyle(ai,null);return !ae||ae.getPropertyValue("color")==="";}if(W==="opacity"&&V.msie){ae=this.attr(ab.style,"opacity");return ae===""?"1":ae;}if(V.opera&&W==="display"){af=ab.style.display;ab.style.display="c35"; ab.style.display=af;}if(W.match(/float/i)){W=styleFloat;}if(!X&&ab.style&&ab.style[W]){ae=ab.style[W];}else{if(document.defaultView&&document.defaultView.getComputedStyle){if(W.match(/float/i)){W="float";}W=W.replace(/([A-Z])/g,"-$1").toLowerCase();Y=document.defaultView.getComputedStyle(ab,null);if(Y&&!ac(ab)){ae=Y.getPropertyValue(W);}else{for(ah=ab;ah&&ac(ah);ah=ah.parentNode){ag.unshift(ah);}for(ad=0;ad=X){Y.y=Y.y-X; }if(ac==="0"&&Y.x>=ac){Y.x=Y.x-ac;}if(Z.frame.style.visibility==="hidden"){Z.frame.style.visibility="visible";Z.frame.style.zIndex="-1000";}}aa=new s(Y.x,Y.y,Y.x+parseInt(ac,10),Y.y+parseInt(X,10));r=ad.U8(aa);if(!r.isNull){W=r.by(Y.tin());}}return W;};d.prototype.exec=function(){var r=this.J_();if(r&&typeof r.isNull!==c&&r.isNull===false){if(!this.what&&this.tip<3){this.what=y.tac(this.c35.win,this.c35.frame);this.tip++;}if(this.what){this.c35.K9.send("VIEWPORT",{rect:r,viewport:k.R22(D)});}}this.stop();};d.prototype.reset=function(r){this.stop(); if(typeof r===c){r=this.delay;}if(this.framed){r=4000;}this.timer=setTimeout((function(W){return function(){W.exec();};}(this)),r);};d.prototype.stop=function(){if(this.timer!==null){clearTimeout(this.timer);}};D._HAP.cry=d;}else{d=D._HAP.cry;}var I;if(typeof D._HAP.d3===c){I=function(Z,W){this.c35=Z;if(W){this.bmx=function(aa){pubSubHub.publish(aa);};return;}this.bmx=function(aa){};var Y=false;try{Y=this.c35.frame.contentWindow.postMessage;}catch(r){}var X=this;if(Y){this.bmx=function(aa){X.c35.frame.contentWindow.postMessage(aa,"*");};}else{if(V.saf||V.msie){this.bmx=function(aa){X.vic(aa); };}else{this.bmx=function(aa){X.lay(aa);};}}};I.prototype.send=function(r,Y){try{var X={name:r,data:Y};this.bmx(g.hi(X));}catch(W){}};I.prototype.vic=function(r){try{var Y=this.c35;var W=Y.win.document.createElement("iframe");W.style.position="absolute";W.style.visibility="hidden";W.style.display="none";W.style.top=W.style.left="0";W.style.width=W.style.height="0";W.id="ta_ms"+M+"gpr"+M+"xy_frm_"+U.dye(16);W.name=W.id;W.src=O+"/cdmp.html#r="+Math.random()+",t="+Y.frame.name+",m="+escape(r);Y.win.document.body.appendChild(W);setTimeout(function(){Y.win.document.body.removeChild(W);},3000);}catch(X){}}; I.prototype.lay=function(W){try{var r=this.c35.url+"#"+escape(W);if(V.konq){this.c35.frame.src=r;}else{this.c35.frame.contentWindow.location.replace(r);}}catch(X){}};D._HAP.d3=I;}else{I=D._HAP.d3;}var w;if(typeof D._HAP.buy===c){w=(function(){var aa=false;var W=[];var Y=function(ad,ac){var ab;for(ab=0;ab0){var Z="application/x-shockwave-flash";var ag=E.mimeTypes;if(ag&&ag[Z]&&ag[Z].enabledPlugin&&ag[Z].enabledPlugin.description){var al=ag[Z].enabledPlugin.description,X=al.split(" "),an=X[2].split("."); ai=parseInt(an[0],10);W=parseInt(an[1],10);ah=X[3];ad=ab(ah);Y=true;}}else{if(E.appVersion.indexOf("Mac")===-1&&window.execScript){for(aj=0;aj="0"&&W<="9")||W==="."||W==="_"||W===","){r+=W;}}return r;},stripIllegalChars:function(X){var W="";X=X.toLowerCase();for(var r=0;r0){if(r.indexOf("opera")>=0){var ad="";var X="Plugins";for(Z=0;Z0){for(Z=0;Z=0){var aa=new Array("7790769C-0471-11D2-AF11-00C04FA35D02","89820200-ECBD-11CF-8B85-00AA005B4340","283807B5-2C60-11D0-A31D-00AA00B92C03","4F216970-C90C-11D1-B5C7-0000F8051515","44BBA848-CC51-11CF-AAFA-00AA00B6015C","9381D8F2-0288-11D0-9501-00AA00B911A5","4F216970-C90C-11D1-B5C7-0000F8051515","5A8D6EE0-3E18-11D0-821E-444553540000","89820200-ECBD-11CF-8B85-00AA005B4383","08B0E5C0-4FCB-11CF-AAA5-00401C608555","45EA75A0-A269-11D1-B5BF-0000F8051515","DE5AED00-A4BF-11D1-9948-00C04F98BBC9","22D6F312-B0F6-11D0-94AB-0080C74C7E95","44BBA842-CC51-11CF-AAFA-00AA00B6015B","3AF36230-A269-11D1-B5BF-0000F8051515","44BBA840-CC51-11CF-AAFA-00AA00B6015C","CC2A9BA0-3BDD-11D0-821E-444553540000","08B0E5C0-4FCB-11CF-AAA5-00401C608500","D27CDB6E-AE6D-11CF-96B8-444553540000","2A202491-F00D-11CF-87CC-0020AFEECF20"); document.body.addBehavior("#default#clientCaps");for(Z=0;Z