(function(){/* Perfect Market Widget Platform Library Copyright (C) 2011 Perfect Market, Inc. All Rights Reserved NO PERMISSION IS GRANTED TO COPY OR USE CODE EXCEPT AS IS NECESSARY TO DISPLAY ADS IN THE NORMAL COURSE OF BROWSING A WEB SITE CONFIDENTIAL COPYRIGHTED AND PATENTED MATERIAL US PATENTS 7,610,279 7,644,072 7,617,200 and 7,627,565 OTHER PATENTS PENDING DO NOT DECOMPILE OR REVERSE ENGINEER */ function o(){return function(){}}function s(a){return function(b){this[a]=b}}function u(a){return function(){return this[a]}}TBVideoElem=function(a,b,c){this.cf="none";this.ve=this.lh="video";this.we="player-div";if(null!==a)this.mc=a;if(null!==c)this.cf=c;if(null!==b)this.we=b;this.Aj=u("cf");this.zj=u("mc");this.Gc=u("lh");this.sj=u("ve");this.Oa=u("we");this.Bj=function(){return{}}}; TBVideoEvents=function(a){this.Ya=a;this.cj=function(b){(function(b,a,e,f,g,j,h,k){pmglb.e.Jb({J:g,name:f,type:h,z:a,md:j});a.addEventListener("mousedown",function(){pmglb.e.R({name:f,type:h,url:e,z:a});null!==k&&k&&b.Ef()},!1)})(this,this.Ya.mc,window.location.href,this.Ya.ve,this.Ya.Gc(),{},this.Ya.Oa(),b)};this.Ef=function(){this.Qd(this);this.Pd(this)};this.tj=function(){return{}};this.Qd=function(b){var a=b.Ya.mc;0.5<=pmglb.e.Na(a)?setTimeout(function(){if(0.75<=pmglb.e.Na(a)){var b={name:"video", type:"vr",url:window.location.href,z:a},e={};null!==e&&(b=pmglb.e.Ba(b,e));pmglb.e.R(b)}},3E4):setTimeout(function(){b.Qd(b)},250)};this.Fd=function(b,a,d){0.3>=pmglb.e.Na(a)?pmglb.e.R({name:"video",type:"vl",url:window.location.href,z:a,md:{sd:(new Date).getTime()-d}}):setTimeout(function(){b.Fd(b,a,d)},250)};this.Pd=function(b){var a=b.Ya.mc;0.5<=pmglb.e.Na(a)?this.Fd(b,a,(new Date).getTime()):setTimeout(function(){b.Pd(b)},250)}}; TBOptimizationAutoPlayInfoFromXPathAndURL=function(){TBOptimizationAutoPlayInfoFromXPathAndURL.prototype.w=function(a){if(typeof window._tb_api_xu!=pmglb.b)for(var b=pmglb.e.Ig(),c=0;c=100*e.intersectionRatio&&(a.unobserve(e.target),pmglb.e.R({name:"video",type:"vl",url:window.location.href,z:e.target}),d.Za[e.id]=!0)}},{ed:"0px",rd:[0,0.1,0.2,0.3]})).observe(c.target)}catch(j){pmglb.e.S("error encountered in video leaver check")}}},{ed:"0px",rd:0.5})).observe(b);d.wb[b.id]=!0}},o())}}; TBGenericVideoModule=function(a,b){this.J="video";this.name=a;this.caller=null;this.Ie=this.zc=this.yc=!1;this.Q=0;this.ka=10;this.Kb=this.Nd=0;this.G=b;this.H=[];this.qb=[];this.Y={};this.Xc=0;this.Ob=!1;this.X={iframe:0,object:0,div:0,sb:0};this.Ka={};TBGenericVideoModule.prototype.rj=function(b){for(var a in this.H){var e=this.H[a];if(null!=e&&null!=e.re&&e.re==b)return e}};TBGenericVideoModule.prototype.ab=function(b){if("undefined"!=typeof b&&0a.Xc&&a.Kb>=a.Nd)a.Rb=!0,window._tb_vd_pg=!0}if((typeof a.Rb===pmglb.b||!a.Rb)&&a.Q<=a.ka){if("undefined"==typeof a.Ob||!this.Ob)a.Y=[];a.Q++;setTimeout(function(){a.Pb(b)},100);return}}catch(g){}this.X={iframe:0,object:0,div:0,sb:0};for(e=0;epmglb.e.Na(a.U)||-1e.Bd&&e.Ge()):(pmglb.e.T[c]=!0,typeof pmglb.e.u[c]==pmglb.b&&(pmglb.e.u[c]={}),pmglb.e.u[c].apa=!0,d.playVideo())},300)},e.Ge(),b=!0}return b};TBVideoDetectionYoutubeAPI.prototype.dh= function(){if((typeof pmglb.e.nc==pmglb.b||!1==pmglb.e.nc)&&typeof window.YT==pmglb.b){pmglb.e.nc=!0;var a=document.createElement("script");a.src=("https:"==location.protocol?"https":"http")+"://www.youtube.com/player_api";var b=document.getElementsByTagName("script")[0];b.parentNode.insertBefore(a,b)}};TBVideoDetectionYoutubeAPI.prototype.Ea=function(a,b,c,d){function e(){if(typeof pmglb.e.Mb==pmglb.b)pmglb.e.Mb={};pmglb.e.Mb[d]=new window.YT.Player(d,{events:{onStateChange:function(b){typeof pmglb.e.u[d]== pmglb.b&&(pmglb.e.u[d]={});var a=!1;if(b.data==window.YT.PlayerState.PLAYING){if(typeof pmglb.e.u[d].ps==pmglb.b||"BUFFERING"!=pmglb.e.u[d].ps)a=!0;pmglb.e.u[d].ps="PLAYING"}else if(b.data==window.YT.PlayerState.BUFFERING){if(typeof pmglb.e.u[d].ps==pmglb.b||"BUFFERING"!=pmglb.e.u[d].ps)a=!0,pmglb.e.u[d].ps="BUFFERING"}else if(b.data==window.YT.PlayerState.PAUSED)pmglb.e.u[d].ps="PAUSED",a=!0;else if(b.data==window.YT.PlayerState.CUED)pmglb.e.u[d].ps="CUED";else if(b.data==window.YT.PlayerState.ENDED)pmglb.e.u[d].ps= "ENDED";else if(typeof pmglb.e.u[d].ps==pmglb.b||"BUFFERING"!=pmglb.e.u[d].ps)pmglb.e.u[d].ps="UNSTARTED";a&&(typeof pmglb.e.u[d]!=pmglb.b&&typeof pmglb.e.u[d].apa!=pmglb.b&&pmglb.e.u[d].apa?pmglb.e.u[d].apa=!1:pmglb.e.R({name:"video",type:c,url:g,z:f}));pmglb.e.T[d]=!0;b=document.createEvent("Event");b.initEvent("_tb_watchEvent",!0,!0);document.body.dispatchEvent(b)},onReady:j}})}pmglb.e.nc=!1;this.dh();var b=this,f=a.U,g=a.url,a=a.xb;if(typeof pmglb.e.u==pmglb.b)pmglb.e.u={};typeof f.src!=pmglb.b&& -1==f.src.indexOf("?")?f.src+="?enablejsapi=1":typeof f.src!=pmglb.b&&-1c.ended.Z-c.Fa.Z&&5>Math.abs(c.ended.y-c.Fa.y)&&5>Math.abs(c.ended.x-c.Fa.x)?(c.Td(b),c.Ye=!0):this.reset(a)};TBOptimizationTouchAndClickEventTracker.prototype.Ra=function(a){return this.ud[a]};TBOptimizationTouchAndClickEventTracker.prototype.reset= function(a){a=this.Ra(a);if(typeof a!=pmglb.b)a.Fa={status:!1,Z:null},a.ended={status:!1,Z:null}};TBOptimizationTouchAndClickEventTracker.prototype.Gd=function(a,b){var c=this.Ra(a);(!1==c.Ye||null==c.ended.Z||null!=c.ended.Z&&385<(new Date).getTime()-c.ended.Z)&&c.Td(b)}};window.TBOptimizationTouchAndClickEventTracker=TBOptimizationTouchAndClickEventTracker;_pmk=_pmk||{};window._pmk=_pmk; TBWidgetStorage=function(){this.Oj=!0;this.od=window.localStorage;TBWidgetStorage.prototype.Ed=function(){return!1};TBWidgetStorage.prototype.Jc=function(a){try{return this.od.getItem(a)}catch(b){return null}}};window.TBWidgetStorage=TBWidgetStorage; PMFileLoader={yd:null,rc:null,w:function(){if(pmglb.je()){pmglb.ba.rc="doc write";if("undefined"!=typeof _pmasync&&_pmasync)pmglb.ba.rc="dom head";pmglb.ba.yd=!0}},load:function(a){pmglb.je()&&pmglb.ba.w();var b=pmglb.k();switch(pmglb.ba.rc){case "doc write":b.writeln("