(function($){function loadScript(e,t,o){var n=!1,i=document.createElement("script");o&&(i.async=!0),i.type="text/javascript",i.src=document.location.protocol+e,t&&(i.onload=i.onreadystatechange=function(){n||this.readyState&&"complete"!=this.readyState||(n=!0,t())});var r=document.getElementsByTagName("script")[0];r.parentNode.insertBefore(i,r)}function setCookie(e,t,o,n){var i,r,a="";o&&(i=new Date,i.setTime(i.getTime()+24*o*60*60*1e3),r="; expires="+i.toGMTString(),n&&(a=";domain="+n)),document.cookie=e+"="+t+r+a+"; path=/"}function setCookieHours(e,t,o){var n,i="";o&&(n=new Date,n.setTime(n.getTime()+60*o*60*1e3),i="; expires="+n.toGMTString()),document.cookie=e+"="+t+i+"; path=/"}function getCookie(e){for(var t=e+"=",o=document.cookie.split(";"),n=0;n'+get_flash(this.w,this.h,this.p_id,this.src,this.flashvars)+"");else{if(a.livemode){$("#"+this.elem_id).html('
');return}this.html5=1;this.h5v.volume=a.volume?a.volume:.1;this.h5v._ad=a.ad||[];"js"==a.mediatype||"json"==a.mediatype?$.getJSON(a.mediafile,function(a){this.html5init(a[0])}):this.html5init(a)}$("#"+this.elem_id+"_container").append('
')};ibtPlayer.prototype.ibt_companion=function(a){if(void 0!=this.c_id&&null!=this.c_s&&a.size==this.c_s){var c=this.c_s.split("x"),b=document.getElementById(this.c_id);switch(a.type){case "iframe":b.appendChild(get_iframe(c[0],c[1],a.banners[0].data));break;case "html":b.innerHTML=a.banners[0].data;break;case "application/x-shockwave-flash":b.appendChild(get_flash(c[0],c[1],"ibt_companion"+this.c_id,a.banners[0].data));break;default:b.appendChild(get_picture(c[0],c[1],a.banners[0].data,a.banners[0].clickTag))}}};ibtPlayer.prototype.google_companion=function(a){void 0!=this.c_id&&null!=this.c_s&&a.size==this.c_s&&$("#"+this.c_id).html(unescape(a.banners[0].data.toString().replace(RegExp("%5Cn","g"),"")).replace(/\\\//g,"/"))};ibtPlayer.prototype.adaptv_companion=function(a){if(void 0!=this.c_id&&null!=this.c_s&&this.c_s==a.banners[0].size){var c=document.getElementById(this.c_id),b=this.c_s,b=b.split("x");c.innerHTML="";a.banners[0].src=unescape(a.banners[0].src).replace(/\\\//g,"/");switch(a.type){case "iframe":c.appendChild(get_iframe(b[0],b[1],a.banners[0].src));break;case "static":c.appendChild("application/x-shockwave-flash"==a.banners[0].mime?get_flash(b[0],b[1],"companion_adaptv",a.banners[0].src):get_picture(b[0],b[1],a.banners[0].src,a.banners[0].clickTag));break;case "HTML":case "script":case "other":c.innerHTML=a.banners[0].src}}};ibtPlayer.prototype.showCompanion=function(a){switch(a.src){case "google":this.google_companion(a);break;case "ibtimes":this.ibt_companion(a);break;case "adaptv":this.adaptv_companion(a)}};ibtPlayer.prototype.resize=function(a,c){void 0!=a&&(this.player.width=a,void 0!=c&&(this.player.height=c))};ibtPlayer.prototype.play=function(a){this.ptime&&(clearTimeout(this.ptime),this.ptime=null);var c=this.player;"undefined"!=typeof a&&(this.html5?c.src=this.playlist[a].mediafile:c.setContent(this.playlist[a]),this.pl_pointer=a+1,document.getElementById(this.elem_id+"-d-title")&&$("#"+this.elem_id+"-d-title").html(''+this.playlist[a].medianame+""),this.playlist.length==this.pl_pointer&&(this.pl_pointer=0));$("#"+this.elem_id+"_playlist").empty().hide();this.html5&&this.h5v.complete?(this.destroyAdsManager(),this.h5v.adsLoader_.contentComplete(),this.preloadContent(this.bind_(this,this.requestAds))):c.play()};ibtPlayer.prototype.pause=function(){this.player.pause()};ibtPlayer.prototype.mute=function(){this.html5?(this.player.muted=!0,$("#"+this.elem_id+"_controls .c-mute-animate").css("left","0px"),$("#"+this.elem_id+"_controls .c-volume-level").animate({width:"0%"},"fast"),$("#"+this.elem_id+"_controls .c-volume-handle").animate({left:"0%"},"fast")):this.player.mute()};ibtPlayer.prototype.unmute=function(){this.html5?(this.player.muted=!1,this.statusVolume()):this.player.unmute()};ibtPlayer.prototype.showPlaylist=function(){var a=this;this.html5&&($("#"+this.elem_id+"_btn_playbig").hide(),$("#"+this.elem_id+"_btn_pausebig").show());this.playlist.length?printIbtPlayerPlayList(a.elem_id):$.getJSON(this.playlist_url,function(c){$("head").append('");printIbtPlayerPlayList(a.elem_id,c.list)})};ibtPlayer.prototype.html5init=function(a){var c=this,b,e,d,f;e=isNaN(this.w)?"":'width="'+this.w+'" height="'+this.h+'"';$("#"+this.elem_id).html('
PlayPause
Mute
0%
00:00 / 00:00
FullscreenSmallscreen
');this.player=document.getElementById(this.p_id);this.player.volume=this.h5v.volume;a=document.getElementById(this.elem_id+"_btn_playbig");btn_pausebig=document.getElementById(this.elem_id+"_btn_pausebig");e=document.getElementById(this.elem_id+"_btn_play");b=e.getContext("2d");b.fillStyle="#ffffff";b.beginPath();b.moveTo(18,6);b.lineTo(18,20);b.lineTo(29,14);b.fill();d=document.getElementById(this.elem_id+"_btn_pause");b=d.getContext("2d");b.fillStyle="#ffffff";b.fillRect(18,6,3,14);b.fillRect(24,6,3,14);b=document.getElementById(this.elem_id+"_mute");b=b.getContext("2d");b.fillStyle="#ffffff";b.fillRect(16,9,5,7);b.beginPath();b.moveTo(16,13);b.lineTo(26,5);b.lineTo(26,20);b.fill();b=document.getElementById(this.elem_id+"_muted");b=b.getContext("2d");b.strokeStyle="#ff0000";b.beginPath();b.moveTo(14,5);b.lineTo(28,21);b.moveTo(14,21);b.lineTo(28,5);b.stroke();b=document.getElementById(this.elem_id+"_mute_v1");b=b.getContext("2d");b.strokeStyle="#ffffff";b.beginPath();b.arc(39,13,10,.9*Math.PI,1.1*Math.PI);b.stroke();b=document.getElementById(this.elem_id+"_mute_v2");b=b.getContext("2d");b.strokeStyle="#ffffff";b.beginPath();b.arc(39,13,10,.9*Math.PI,1.1*Math.PI);b.stroke();b.beginPath();b.arc(48,13,16,.9*Math.PI,1.1*Math.PI);b.stroke();b=document.getElementById(this.elem_id+"_mute_v3");b=b.getContext("2d");b.strokeStyle="#ffffff";b.beginPath();b.arc(39,13,10,.9*Math.PI,1.1*Math.PI);b.stroke();b.beginPath();b.arc(48,13,16,.9*Math.PI,1.1*Math.PI);b.stroke();b.beginPath();b.arc(57,13,22,.9*Math.PI,1.1*Math.PI);b.stroke();f=document.getElementById(this.elem_id+"_btn_mute");b=document.getElementById(this.elem_id+"_fullscreen");b=b.getContext("2d");b.fillStyle="#ffffff";b.beginPath();b.moveTo(13,5);b.lineTo(18,5);b.lineTo(13,10);b.fill();b.moveTo(13,20);b.lineTo(13,15);b.lineTo(18,20);b.fill();b.moveTo(33,5);b.lineTo(28,5);b.lineTo(33,10);b.fill();b.moveTo(33,20);b.lineTo(33,15);b.lineTo(28,20);b.fill();b=document.getElementById(this.elem_id+"_smallscreen");b=b.getContext("2d");b.fillStyle="#ffffff";b.beginPath();b.moveTo(18,10);b.lineTo(13,10);b.lineTo(18,5);b.fill();b.moveTo(18,15);b.lineTo(13,15);b.lineTo(18,20);b.fill();b.moveTo(28,10);b.lineTo(28,5);b.lineTo(33,10);b.fill();b.moveTo(28,15);b.lineTo(33,15);b.lineTo(28,20);b.fill();b=document.getElementById(this.elem_id+"_btn_fullscreen");this.h5v.adTagUrl_="";dfpSlots.loadedima?this.initHtml5AD():dfpSlots.hcmd.push(function(){c.initHtml5AD()});this.h5v.w=$("#"+this.elem_id).width();this.h5v.h=$("#"+this.elem_id).height();this.h5v.fullscreen=!1;this.h5v.mobile=/mobile|phone|android|ipad|ipod|blackberry/.test(navigator.userAgent.toLowerCase());this.h5v.controls={visible:!0,timer:(new Date).getTime(),htime:7,vh:!1,vp:$("#"+this.elem_id+"_volume").position().left+16,ph:!1,_x:0,_y:0,vm:!1,vol:!1,volume:100*this.h5v.volume,seek:!1,seekt:0};this.h5v.complete=!1;this.h5v.adcomplete=!1;a.addEventListener("click",this.bind_(this,this.controlButtons));btn_pausebig.addEventListener("click",this.bind_(this,this.controlButtons));e.addEventListener("click",this.bind_(this,this.controlButtons));d.addEventListener("click",this.bind_(this,this.controlButtons));f.addEventListener("click",this.bind_(this,this.controlButtons));b.addEventListener("click",this.bind_(this,this.controlButtons));document.getElementById(this.elem_id+"_volume").addEventListener("click",this.bind_(this,this.controlButtons));document.getElementById(this.elem_id+"_progress").addEventListener("click",this.bind_(this,this.controlButtons));$("#"+this.elem_id+"_volume .c-slider-handle").mousedown(function(){c.h5v.controls.vh=!0});$("#"+this.elem_id+"_progress .c-slider-handle").mousedown(function(){c.player.duration&&(c.h5v.controls.ph=!0)});this.player.addEventListener("pause",this.bind_(this,this.statusPaused));this.player.addEventListener("play",this.bind_(this,this.statusPlaying));this.player.addEventListener("playing",this.bind_(this,this.statusPlaying));this.player.addEventListener("durationchange",this.bind_(this,this.updateDuration));this.player.addEventListener("progress",this.bind_(this,this.updateLoadProgress));this.player.addEventListener("timeupdate",this.bind_(this,this.updateTime));this.player.addEventListener("volumechange",this.bind_(this,this.statusVolume));this.player.addEventListener("ended",this.bind_(this,this.statusComplete));document.addEventListener("fullscreenchange",this.bind_(this,this.onFullscreen_));document.addEventListener("mozfullscreenchange",this.bind_(this,this.onFullscreen_));document.addEventListener("webkitfullscreenchange",this.bind_(this,this.onFullscreen_));setInterval(function(){c.hideController()},5E3);$("#"+this.elem_id+"_container").mousemove(function(b){c.showController();c.mouseMove(b)}).mousedown(function(){c.showController();c.h5v.w=$("#"+c.elem_id+"_container").width()}).mouseenter(function(){c.h5v.controls.htime=14;c.h5v.w=$("#"+c.elem_id+"_container").width()}).mouseleave(function(b){c.h5v.controls.htime=7;c.mouseUp(b)}).mouseup(function(b){c.mouseUp(b)});this.h5v.mobile&&($(window).bind("orientationchange",function(b){c.h5v.fullscreen&&400>screen.width?$("#"+c.elem_id+"_controls .c-volume").hide():$("#"+c.elem_id+"_controls .c-volume").show()}),a=document.getElementById(this.elem_id+"_container"),a.addEventListener("touchstart",function(b){b=b.changedTouches[0];c.h5v.controls.vm=!0;c.h5v.controls._x=b.clientX;c.h5v.controls._y=b.clientY}),a.addEventListener("touchmove",function(b){var a=b.changedTouches[0];c.h5v.controls.vm&&(c.h5v.controls.vol?(a=c.h5v.controls.volume+(c.h5v.controls._y-a.clientY)/2,0>a?a=0:100a?a=0:a>b&&(a=b-5),$("#"+c.elem_id+"_notice").text(c.formatTime(a)),c.player.currentTime=a)):c.h5v.controls._x>c.h5v.w-80?20a?a=0:100a?a=0:100screen.width&&$("#"+this.elem_id+"_controls .c-volume").hide());this.h5v.w=$("#"+this.elem_id+"_container").width();this.h5v.h=$("#"+this.elem_id+"_container").height();this.adResize(this.h5v.w,this.h5v.h)};ibtPlayer.prototype.hideController=function(){this.h5v.controls.visible&&((new Date).getTime()-this.h5v.controls.timer)/1E3>=this.h5v.controls.htime&&(this.h5v.controls.visible=!1,$("#"+this.elem_id+"_controls").animate({bottom:"-40px"},"slow"))};ibtPlayer.prototype.showController=function(){this.h5v.controls.timer=(new Date).getTime();this.h5v.controls.visible||(this.h5v.controls.visible=!0,$("#"+this.elem_id+"_controls").animate({bottom:"0px"},"fast"))};ibtPlayer.prototype.statusPaused=function(a){this.h5v.adsActive_||($("#"+this.elem_id+"_btn_playbig").show(),$("#"+this.elem_id+"_btn_pausebig").hide());$("#"+this.elem_id+"_btn_pause").hide();$("#"+this.elem_id+"_btn_play").show()};ibtPlayer.prototype.statusPlaying=function(a){$("#"+this.elem_id+"_btn_playbig").hide();$("#"+this.elem_id+"_btn_pausebig").show();$("#"+this.elem_id+"_btn_play").hide();$("#"+this.elem_id+"_btn_pause").show()};ibtPlayer.prototype.statusVolume=function(a){if(!this.player.muted){a="-141px";var c=100*this.player.volume;33>=c?a="-47px":66>=c&&(a="-94px");$("#"+this.elem_id+"_controls .c-mute-animate").css("left",a);$("#"+this.elem_id+"_controls .c-volume-level").css("width",c+"%");$("#"+this.elem_id+"_controls .c-volume-handle").css("left",c+"%");$("#"+this.elem_id+"_volume_extra .volume-extra-bar").css("height",c+"%");this.h5v.controls.vol||(this.h5v.controls.volume=c)}};ibtPlayer.prototype.statusComplete=function(a){this.h5v.complete=!0;_ibtPlayerListener(this.elem_id,"onFinish");this.h5v.adsLoader_.contentComplete();if(this.h5v.adcomplete)this.onComplete()};ibtPlayer.prototype.updateDuration=function(a){$("#"+this.elem_id+"_controls .c-current-time").text("00:00");$("#"+this.elem_id+"_controls .c-duration").text(this.formatTime(a[0].target.duration));$("#"+this.elem_id+"_controls .c-play-progress").css("width","0%")};ibtPlayer.prototype.updateLoadProgress=function(a){$("#"+this.elem_id+"_controls .c-load-progress").css("width",Math.ceil(100*this.bufferedPercent())+"%")};ibtPlayer.prototype.updateTime=function(a){$("#"+this.elem_id+"_controls .c-current-time").text(this.formatTime(this.player.currentTime));this.h5v.controls.ph||(a=this.player.currentTime/this.player.duration*100,$("#"+this.elem_id+"_controls .c-play-progress").css("width",a+"%"),$("#"+this.elem_id+"_controls .c-seek-handle").css("left",a+"%"))};ibtPlayer.prototype.bufferedPercent=function(){var a=this.player.duration,c=this.player.buffered,b=0,e,d;if(!a)return 0;for(var f=0;fa&&(d=a),b+=d-e;return b/a};ibtPlayer.prototype.formatTime=function(a){var c=Math.floor(a%60),b=Math.floor(a/60%60);if(isNaN(a)||Infinity===a)b=c="-";return(10>b?"0"+b:b)+":"+(10>c?"0"+c:c)};ibtPlayer.prototype.preloadContent=function(a){this.h5v.complete=!1;this.isMobile()?(this.player.addEventListener("loadedmetadata",a,!1),this.player.load()):a()};ibtPlayer.prototype.isMobile=function(){return this.player.paused&&(navigator.userAgent.match(/(iPod|iPhone|iPad)/)||-1=k&&(d-=k),e=''+f.playlist[d].length+""+e+">"+f.playlist[d].medianame+"";b+='
  • Replay video
  • ";f.playlist_auto&&(b+='
  • Next video starts in '+f.countdown+" seconds
  • ");b+="
";$("#"+f.elem_id+"_playlist").show().html(b);f.playlist_auto&&(b=document.getElementById(f.elem_id+"_countdown"),b=b.getContext("2d"),b.fillStyle="#f05032",b.beginPath(),b.arc(12,12,12,0,2*Math.PI,!1),b.fill(),this.ptime=setTimeout('ibtNextVideoCountDown("'+f.elem_id+'")',1E3))}function ibtNextVideoCountDown(a){var c=parseInt($("#"+a+"_playlist .countdown_sec").text())-1,b=playerList[a];$("#"+a+"_playlist .countdown_sec").html(c);0==c?b.play(b.pl_pointer):b.ptime=setTimeout('ibtNextVideoCountDown("'+a+'")',1E3)}function ibtplayer_companion(a){a=JSON.parse(a);playerList[a.elemID].showCompanion(a)}function encodeURI(a){return encodeURIComponent(a).replace(/'/g,"%27").replace(/"/g,"%22")}function get_flash(a,c,b,e,d){return(+"\v1"?'':'')+('Get Adobe Flash player')}function get_iframe(a,c,b){var e;e=document.createElement("iframe");e.width=a;e.height=c;e.frameborder=0;e.scrolling="no";e.src=b;return e}function get_picture(a,c,b,e){var d;d=document.createElement("a");d.href=e;d.target="_blank";e=document.createElement("img");e.src=b;e.width=a;e.height=c;d.appendChild(e);return d}function yume_size(a){switch(a){case "cb_medrect1":return"300x250";case "cb_leaderboard1":return"728x90";case "cb_widesky1":return"160x600";case "cb_31rect1":return"300x100";case "cb_fullban1":return"468x60";case "roll_1":return"300x250"}}function ibt_player(a,c,b,e,d,f,k){var l=0,m="",h,n=1,g=new ibtPlayer;d.player_id=c;pt=g.isFlash&&!getCookie("html5video")?"f":"h";if(d.ad)for(h in d.ad[0].preroll[0].ad_data)d.ad[0].preroll[0].ad_data[h]=d.ad[0].preroll[0].ad_data[h].replace(/cust_params\=/gi,"cust_params="+encodeURIComponent("vp="+pt+"&"));for(var p in playerList)l++;for(h in d)"playlist"==h?g.playlist_url=d[h]:(m+=(1==n?"":"&")+h+"="+("ad"==h?0==d[h].indexOf("http")?encodeURI(d[h]):encodeURI(JSON.stringify(d[h])):d[h]),n++);g.w=b;g.h=e;g.elem_id=c;g.p_id=c;g.src=a;d.debug&&(g.debug=1);d.playlist_static&&(g.playlist_auto=0);g.flashvars=m;k&&(g.listener=k);void 0!=f&&(g.c_s=void 0==f.companion_size?null:f.companion_size,g.c_id=void 0==f.companion_id?null:f.companion_id);playerObject.initPlayer(g,d);return g.player=document.getElementById(g.p_id)}window._resetMF=function(){document.hasFocus=function(){return!0}};window._ibtPlayerListener=function(a,c,b){a=playerList[a];try{switch(c){case "onAdStart":dfpSlots.ad=1;break;case "onAdFinish":a.c_id&&$("#"+a.c_id).empty();break;case "onComplete":a.playlist&&a.showPlaylist()}if(a.listener[c])a.listener[c](b)}catch(e){}};function ivdow(){var d=new Date();return d.getDay();}function ivhow(){var d=new Date();return d.getHours();}var retv=getCookie('ivd')?getCookie('ivd'):0,rfrsh=getCookie('pageRefresh')?1:0,fqv=getCookie('fqv')?getCookie('fqv'):0,ref=document.referrer,yref=0,fromibt=1,refset=0,vad=0;if(ref.indexOf(location.protocol+"//"+location.host)===0)fromibt=1;else fromibt=0;if(!ref)refset=0;else refset=1;var idow=ivdow();var ihow=ivhow();var fqvp=1;if(/brightroll|btrll|tremor|liverail|tubemogul|springserve|aol\.com|adap\.tv/.test(ref)==false)vad=0;else vad=1;var adunit=0;if(fqv==2){switch(location.hostname){case "www.ibtimes.com":adunit="31";break;case "www.newsweek.com":adunit="32";break;case "www.idigitaltimes.com":adunit="33";break;case "www.medicaldaily.com":adunit="34";break;case "www.latintimes.com":adunit="35";break;default:adunit=30;}}else if(fqv>=1){switch(location.hostname){case "www.ibtimes.com":adunit="21";break;case "www.newsweek.com":adunit="22";break;case "www.idigitaltimes.com":adunit="23";break;case "www.medicaldaily.com":adunit="24";break;case "www.latintimes.com":adunit="25";break;default:adunit=20;}}else{switch(location.hostname){case "www.ibtimes.com":adunit="11";break;case "www.newsweek.com":adunit="12";break;case "www.idigitaltimes.com":adunit="13";break;case "www.medicaldaily.com":adunit="14";break;case "www.latintimes.com":adunit="15";break;default:adunit=10;}}if((!retv&&!fromibt&&refset&&!vad)||(rfrsh&&(retv>=1&&retv<=3))||((idow==0||idow==6||ihow>18||ihow<8)&&(retv>=0&&retv<=2))||fqv){if(fqv==2) fqvp="JW Player4";else fqvp="JW Player3";var vtag="http://pubads.g.doubleclick.net/gampad/ads?sz=640x360&iu=/133596308/ibtus.video/"+adunit+"&env=vp&gdfp_req=1&impl=s&unviewed_position_start=1&hl=en&output=xml_vast3&url=[referrer_url]&description_url=http%3A%2F%2F"+location.hostname+"&correlator=[timestamp]&cust_params=pid%3D1";var ad_vars=[{preroll:[{ad:"google",ad_data:{0:vtag}}]}];var ibt_player1=ibt_player('http://ps.ibt.com/player/player.swf','ibt_player1','100%','100%',{mediafile:'http://ps.ibt.com/player/playlist.json',mediatype:'json',volume:0.5,livemode:1,ad:ad_vars},{},{onAdStart:function(e){dataLayer.push({'event':'video2','eventCategory':fqvp,'eventAction':'adImpression1'});}});var vtag="http://pubads.g.doubleclick.net/gampad/ads?sz=640x360&iu=/133596308/ibtus.video/"+adunit+"&env=vp&gdfp_req=1&impl=s&unviewed_position_start=1&hl=en&output=xml_vast3&url=[referrer_url]&description_url=http%3A%2F%2F"+location.hostname+"&correlator=[timestamp]&cust_params=pid%3D2";var ad_vars=[{preroll:[{ad:"google",ad_data:{0:vtag}}]}];var ibt_player2=ibt_player('http://ps.ibt.com/player/player.swf','ibt_player2','100%','100%',{mediafile:'http://ps.ibt.com/player/playlist.json',mediatype:'json',volume:0.5,livemode:1,ad:ad_vars},{},{onAdStart:function(e){dataLayer.push({'event':'video2','eventCategory':fqvp,'eventAction':'adImpression2'});}});var vtag="http://pubads.g.doubleclick.net/gampad/ads?sz=640x360&iu=/133596308/ibtus.video/"+adunit+"&env=vp&gdfp_req=1&impl=s&unviewed_position_start=1&hl=en&output=xml_vast3&url=[referrer_url]&description_url=http%3A%2F%2F"+location.hostname+"&correlator=[timestamp]&cust_params=pid%3D3";var ad_vars=[{preroll:[{ad:"google",ad_data:{0:vtag}}]}];var ibt_player3=ibt_player('http://ps.ibt.com/player/player.swf','ibt_player3','100%','100%',{mediafile:'http://ps.ibt.com/player/playlist.json',mediatype:'json',volume:0.5,livemode:1,ad:ad_vars},{},{onAdStart:function(e){dataLayer.push({'event':'video2','eventCategory':fqvp,'eventAction':'adImpression3'});}});var vtag="http://pubads.g.doubleclick.net/gampad/ads?sz=640x360&iu=/133596308/ibtus.video/"+adunit+"&env=vp&gdfp_req=1&impl=s&unviewed_position_start=1&hl=en&output=xml_vast3&url=[referrer_url]&description_url=http%3A%2F%2F"+location.hostname+"&correlator=[timestamp]&cust_params=pid%3D4";var ad_vars=[{preroll:[{ad:"google",ad_data:{0:vtag}}]}];var ibt_player4=ibt_player('http://ps.ibt.com/player/player.swf','ibt_player4','100%','100%',{mediafile:'http://ps.ibt.com/player/playlist.json',mediatype:'json',volume:0.5,livemode:1,ad:ad_vars},{},{onAdStart:function(e){dataLayer.push({'event':'video2','eventCategory':fqvp,'eventAction':'adImpression4'});}});var retvc=parseInt(retv) + 1;setCookieHours('ivd',retvc,3);}})(jQuery);try{if((getCookie("pageRefresh")||.1=0;i--){var size=Math.pow(10,(i+1)*3);if(size<=number){number=Math.round(number*decPlaces/size)/decPlaces;if((number==1000)&&(i