//Device detection (function(){ var _h = location.hostname; var _d = /^www./.test(_h) ? _h.substring(4) : _h; if(document.cookie.indexOf("btg_device=") == -1){ document.cookie = "btg_device=" + "m:" + (+false) + ",t:" + (+false) + ";path=/; expires=" + (new Date("December 31, 2038")).toUTCString() + ";domain=" + _d; } })(); //Including Coda 3 config from CODA/sites/nickatnite.com/config.js if(typeof btg=='undefined')var btg = {}; btg.config={ version: '3', defferedAdLoading: false, enablePOE: true, backwardCompatibility: true, hasReporting: true, hasAds: false, hasAdsDFP: true, requireCOPPACompliance: false, balaPrivacyPolicy: "http://www.nickatnite.com/info/privacy-policy.html", balaTermsOfService: "http://www.nickatnite.com/info/terms-of-use.html", balaChanges: "http://legal.viacom.com/Changes/K+F", Omniture:{ enabled: true, account: 'vianickatnite', charSet: 'ISO-8859-1', dynamicAccountSelection: 'false', dynamicAccountList: '', linkInternalFilters: 'javascript:,nickatnite.com', videoViewEventDisable: true, enableTimeParting: false, trackInlineStats: true, defaultHier: 'hier2', enableVisitorNamespace: false, enableMtvnVisitorGuid: false, enableMeteorPlugin: false, enableGuidPlugin: false, enableGuidAuxiliaryCall: false, enableFirstPartyCookie: false, tabletAccount: '', timezone: '-5', trackExternalLinks: 'true', fluxCommunityId:'' }, Nielsen:{ enabled: true, cid: '', videoCensusId: 'c07', idSynchFreq: 'always' }, QuantCast:{ enabled: true, adsEnabled: false, labels: 'MTVN Global Digital Network,MTVN Global Digital Proper,Nickelodeon Kids and Family Global Network,Nickelodeon Kids and Family Proper,Nickelodeon Kids and Family Domestic,Nickelodeon Kids and Family Tribes,ParentsConnect plus Parenting,Nickelodeon Parents Digital,NickatNite Site', reportMode: 'direct', enableDemoTargeting: false }, ComScore:{ enabled: false, c2: '6036034' }, Meteor:{ enabled: false, applicationId: '', multiDomain: false }, ChoiceStream:{ enabled: false, apiKey: '', profileId: '' }, DoubleClick:{ enabled: true, dartSite: 'nan.nol', isInternational: false, isUnobtrusive: false, allowMobile: true, enabledMobileAdDomain: false, reloadableAds: false, reloadAdInterval: 10000, adUnit: '', enableMobileNid: true, networkID: '8675', enableNavigatorGeolocation: false, disableDeviceManagement: false, amazonAdsEnabled: false, amazonAdsID: '3221' }, Freewheel:{ enabled:false, adBlockerDetection: false }, International:{ enabled: false, dartSite: '', region: '' }, ABTest:{ enabled: false }, Flux:{ enabled: true, communityId: '' }, FluxHosted:{ enabled: false }, Facebook:{ enabled: false }, Photos:{ enabled: false }, TestAndTarget:{ enabled: false, videoAdBlockerTargetingEnabled: false, globalMboxID: '' }, Criteo:{ enabled: false }, Rubicon:{ enabled: false, siteId: '17949', zoneId: '' }, Demdex:{ enabled: true }, Recommendations:{ enabled: false }, LocalAdvisory:{ enabled: false, phase: 0, useStaticCreative: false, staticCreativeDomID: '' }, Yieldex:{ enabled: true }, OmnitureIntegrate:{ enabled: false, account: '' }, iOSAdSDK:{ useExternalBrowser: false }, SourcePoint:{ enabled: true } }; //Including Coda version 3. var btg=typeof btg==="object"?btg:{};btg.config=typeof btg.config==="object"?btg.config:{};btg.isCoreLoaded=false;btg.isDOMLoaded=false; (function(c,d){var e=false,f=true,g=c.document,h=g.documentElement,i=g.addEventListener?"addEventListener":"attachEvent",n=g.addEventListener?"removeEventListener":"detachEvent",j=g.addEventListener?"":"on",l=function(f){if(f.type=="readystatechange"&&g.readyState!="complete")return;(f.type=="load"?c:g)[n](j+f.type,l,false);if(!e&&(e=true))d.call()},k=function(){try{h.doScroll("left")}catch(c){setTimeout(k,50);return}l("poll")};if(g.readyState=="complete")d.call();else{if(g.createEventObject&&h.doScroll){try{f= !c.frameElement}catch(o){}if(f)k()}g[i](j+"DOMContentLoaded",l,false);g[i](j+"readystatechange",l,false);c[i](j+"load",l,false)}})(window,function(){btg.isDOMLoaded=true}); btg.DOM={Events:{addListener:function(c,d,e){if(d=="DOMContentLoaded"&&!c.addEventListener)document.onreadystatechange=function(){if(document.readyState=="complete")e()};else if(c.addEventListener)c.addEventListener(d,e,false);else if(c.attachEvent)c.attachEvent("on"+d,e);else c["on"+d]=e},removeListener:function(c,d,e){if(c.removeEventListener)c.removeEventListener(d,e,false);else if(c.detachEvent)c.detachEvent("on"+d,e);else c["on"+d]=null},onDomLoaded:function(c){var d=window.document;if(d.addEventListener){d.addEventListener("DOMContentLoaded", c,false);d.addEventListener("readystatechange",c,false);window.addEventListener("load",c,false)}else{d.attachEvent("onDOMContentLoaded",c,false);d.attachEvent("onreadystatechange",c,false);window.attachEvent("onload",c,false)}}},Storage:{set:function(c,d,e){var f=btg.String.isDefined,g=btg.Object.isDefined;if(f(c)&&f(d))try{if(e!==true&&g(localStorage))localStorage[c]=d;else if(g(sessionStorage))sessionStorage[c]=d}catch(h){btg.Error.log("CODA Error: DOM storage not available!")}},get:function(c, d){var e;isStrDef=btg.String.isDefined,isObjDef=btg.Object.isDefined;if(isStrDef(c))try{if(d!==true&&isObjDef(localStorage)&&isStrDef(localStorage[c]))e=localStorage[c];else if(isObjDef(sessionStorage)&&isStrDef(sessionStorage[c]))e=sessionStorage[c]}catch(f){btg.Error.log("CODA Error: DOM storage not available!")}return e},clear:function(c){var d=btg.Object.isDefined;try{if(c!==true&&d(localStorage))localStorage.clear();else if(d(sessionStorage))sessionStorage.clear()}catch(e){btg.Error.log("CODA Error: DOM storage not available!")}}, isStorageAvailable:function(){try{if(window.localStorage)return true}catch(c){return false}}},createIframe:function(c){for(var d=document.createElement("iframe"),e=["id","name","width","height","scrolling","frameBorder","marginHeight","marginWidth","noResize"],f=e.length,g=0;g0&&f>0)try{d=c.bottom>= 0&&c.top<=e-1&&c.right>=0&&c.left<=f-1}catch(g){btg.Error.log("CODA: btg.DOM.isElementVisible Error: "+g);return d}return d}}; btg.Cookie={read:function(c){for(var c=c+"=",d=document.cookie.split(";"),e=0,f=d.length;e2?c[d-2]+"."+c[d-1]:document.domain;if(d>=3&&btg.globalvars.TWOPART_TLDS.match(e)!=null)e=c[d-3]+"."+c[d-2]+"."+c[d-1];return e}}; btg.Object={isDefined:function(c){if(typeof c=="object"&&c!==null)return true;else return false},isArray:function(c){return btg.Object.isDefined(c)&&btg.Number.isInt(c.length)},toString:function(c,d,e,f){if(!d)d=",";if(!e)e="=";var g=[],h;for(h in c){if(!c.hasOwnProperty(h)||f&&!btg.String.isDefined(c[h]))continue;g.push(h+e+c[h])}return g.join(d)},copyProperties:function(c,d,e){if(btg.Object.isDefined(c)&&btg.Object.isDefined(d))for(var f in c)if(typeof d[f]!="undefined"){if(e)d[f]=c[f]}else d[f]= c[f]},isConfigDefined:function(c){if(typeof c=="object"&&c!==null&&c.enabled==true)return true;else return false},isFunction:function(c){return typeof c==="function"},isEmptyObject:function(c){var d=true;if(typeof c==="object"&&c){for(var e in c)if(c.hasOwnProperty(e)){d=false;break}return d}}}; btg.String={isDefined:function(c){if(typeof c!=="string"||typeof c==="undefined"||c===null||c=="")return false;else return true},random:function(c){for(var d="",c=c?c:8,e=0;e-1?c.split("?")[1]:c;return btg.String.toObject(c,"&")},stripFileExtension:function(c){var d=c.lastIndexOf(".");if(d>0)return c.substring(0,d);else return c},charLtrim:function(c,d){if(c.indexOf(d)==0)c=c.substring(1);return c},charRtrim:function(c,d){var e=c.lastIndexOf(d), f=c.length;if(e==f-1)c=c.substring(0,f-1);return c},charTrim:function(c,d){c=btg.String.charLtrim(c,d);return c=btg.String.charRtrim(c,d)},isMockupMode:function(){var c=false,d=this.queryStringToObject((btg.globalvars.IS_TOP_ACCESSIBLE?top:self).location.search);if(d.mockupMode&&d.mockupMode=="true")c=true;return c},mockItUp:function(c){c=c.replace(/[<]/g,"<");return c=c.replace(/[>]/g,">")},getFileName:function(c){c=btg.String.isDefined(c)?c:"";return c=c.substring(c.lastIndexOf("/")+1)},getBetween:function(c, d,e){var f="";if(btg.String.isDefined(c)){if(btg.String.isDefined(d)){var g=c.indexOf(d);if(g>=0)f=c.substring(g+d.length)}if(btg.String.isDefined(e)){c=f.indexOf(e);if(c>=0)f=f.substring(0,c)}}return f},encode:function(c,d){if(btg.String.isDefined(c))c=d?escape(c):encodeURIComponent(c);return c},decode:function(c,d){if(btg.String.isDefined(c))try{c=d?unescape(c):decodeURIComponent(c)}catch(e){c=unescape(c)}return c},append:function(c,d,e){if(!e)e=",";d=d.split(e);d.push(c);return d.join(e)}}; btg.Number={isInt:function(c,d){if(!d)d=10;return parseInt(c,d)==c}};btg.Error={log:function(c){try{if(typeof console==="object"&&console.log&&btg.String.isDefined(c))console.log(c)}catch(d){}}}; (function(c){var d;try{d=typeof top.location.search!="undefined"&&typeof top.location.search!="unknown"}catch(e){d=false}var f=function(){try{var c="",c=self.location.pathname;if(c=="")c="/";return c}catch(d){}}();var g;try{g=location.href.toLowerCase().indexOf("/api/jsunittest/tests/")!=-1}catch(h){g=false}c.globalvars={VISITOR_NAMESPACE:"mtvn",IS_CODA_ADS_USED:false,MODULES_URL:"//btg.mtvnservices.com/aria/mods.html",INFINITE_COOKIE_EXPY:"Thu, 31-Dec-2038 11:59:59 GMT",FW_BLOCKED:false,IS_TOP_ACCESSIBLE:d, PAGE_URL:f,IS_UNIT_TEST:g,FORCE_AD_WAIT_TIME:{PLAYER_LOADED:1E4,PLAYER_FAILED:1E4,PLAYER_LOAD_WAIT_TIME:1E4},VALID_DCOPT:["ist"],is_Chrome:false,is_Firefox:false,is_IE:false,is_Safari:false,is_iOS:false,NETWORKIDS:{DCLK_DOMESTIC_NID:"N1303",DCLK_DOMESTIC_NID_TEST:"N400129",DCLK_INTL_EMEA_NID:"N4570",DCLK_INTL_APAC_NID:"N4687",DCLK_INTL_EMEA_NID_TEST:"N308350",DCLK_INTL_APAC_NID_TEST:"N378645",DCLK_INTL_NID_MOBILE:"N7869",DCLK_INTL_NID_MOBILE_TEST:"N7869"},REGION_EMEA:"EMEA",REGION_APAC:"APAC",TWOPART_TLDS:"com.br,co.uk,co.hu,co.il,com.tr,com.pl,com.ru,co.kr,com.au,co.nz,com.tw"}})(btg); (function(c){c.loadLocalConfig=function(){if(typeof c.config!="undefined"&&typeof c.config!="undefined")c.Object.copyProperties(c.config,this.config,true);if(typeof MTVN!="undefined"&&typeof MTVN.config!="undefined"&&typeof MTVN.config.btg!="undefined")for(b in MTVN.config.btg){if(!MTVN.config.btg.hasOwnProperty(b))continue;if(typeof MTVN.config.btg[b]==="object")c.Object.copyProperties(MTVN.config.btg[b],this.config[b],true);else this.config[b]=MTVN.config.btg[b]}if(typeof mtvn!="undefined"&&typeof mtvn.btg!= "undefined"&&typeof mtvn.btg.config!="undefined"){if(typeof mtvn.btg.config.ReportSettings!="undefined")for(r in mtvn.btg.config.ReportSettings){if(!mtvn.btg.config.ReportSettings.hasOwnProperty(r))continue;if(typeof mtvn.btg.config.ReportSettings[r]==="object")c.Object.copyProperties(mtvn.btg.config.ReportSettings[r],this.config[r],true);else this.config[r]=mtvn.btg.config.ReportSettings[r]}if(typeof mtvn.btg.config.AdSettings!="undefined"){for(a in mtvn.btg.config.AdSettings){if(!mtvn.btg.config.AdSettings.hasOwnProperty(a))continue; if(typeof mtvn.btg.config.AdSettings[a]==="object")c.Object.copyProperties(mtvn.btg.config.AdSettings[a],this.config[a],true);else this.config[a]=mtvn.btg.config.AdSettings[a]}if(typeof mtvn.btg.config.AdSettings.reloadableAds=="boolean")this.config.DoubleClick.reloadableAds=mtvn.btg.config.AdSettings.reloadableAds;if(typeof mtvn.btg.config.AdSettings.reloadInterval=="number")this.config.DoubleClick.reloadInterval=mtvn.btg.config.AdSettings.reloadInterval}}if(typeof com!="undefined"&&typeof com.mtvi!= "undefined"&&typeof com.mtvi.reporting!="undefined"&&typeof com.mtvi.reporting.Account!="undefined"){if(typeof this.config.Omniture=="undefined")this.config.Omniture={enabled:true};this.config.Omniture.account=com.mtvi.reporting.Account.name;this.config.Omniture.dynamicAccountSelection=com.mtvi.reporting.Account.dynamic;this.config.Omniture.dynamicAccountList=com.mtvi.reporting.Account.list;this.config.Omniture.indexFileName=com.mtvi.reporting.Account.defaultIndexFileName;this.config.Omniture.linkInternalFilters= com.mtvi.reporting.Account.filters;if(typeof com.mtvi.reporting.Account.dartSite!="undefined"){this.config.DoubleClick.enabled=true;this.config.DoubleClick.dartSite=com.mtvi.reporting.Account.dartSite}}}})(btg); btg.Environment=new function(){var c=btg.String.isDefined;this.userAgent=function(d){var e=window.navigator.userAgent.replace(/\;|\(|\)|\,/gi,""),f={browser:"",device:"Desktop",os:""};if(/Chrome/.test(e)){f.browser="Chrome";d.globalvars.is_Chrome=true}else if(/Firefox/.test(e)){f.browser="Firefox";d.globalvars.is_Firefox=true}else if(/MSIE/.test(e)){f.browser="MSIE";d.globalvars.is_IE=true}else if(/Safari/.test(e)){f.browser="Safari";d.globalvars.is_Safari=true}else if(/Opera/.test(e))f.browser="Opera"; if(/Windows/.test(e))f.os="Windows";else if(/Macintosh/.test(e))f.os="Macintosh";else if(/Linux/.test(e))f.os="Linux";else if(/Unix/.test(e))f.os="Unix";if(/iPad/.test(e)){f.device="iPad";d.globalvars.is_iOS=true}else if(/iPod/.test(e)){f.device="iPod";d.globalvars.is_iOS=true}else if(/iPhone/.test(e)&&!/iPod/.test(e)){f.device="iPhone";d.globalvars.is_iOS=true}e=d.Cookie.read("btg_device");f.isMobile=false;f.isTablet=false;if(c(e)){device=d.String.toObject(e,",",":");if(c(device.m)&&device.m=="1"|| /^m\./.test(location.hostname))f.isMobile=true;else if(c(device.t)&&device.t=="1")f.isTablet=true}return f}(btg);this.getPlatform=function(){return this.userAgent.device};this.getCnamedDomain=function(){var c=location.hostname,e="",e=new RegExp(/[A-z0-9\-]*\.\bco\...\b|[A-z0-9\-]*\.uol\.\bcom\...\b|[A-z0-9\-]*\.\bcom\...\b|[A-z0-9\-]*\.\bcom\b|[A-z0-9\-]*\.\borg\b|[A-z0-9\-]*\...$/);if(c.match(e)){m=e.exec(c);e="sc."+c.substr(m.index)}else e="sc."+c;return e};this.getRootDomain=function(){var c=location.hostname, e=new RegExp(/[A-z0-9\-]*\.\bco\...\b|[A-z0-9\-]*\.uol\.\bcom\...\b|[A-z0-9\-]*\.\bcom\...\b|[A-z0-9\-]*\.\bcom\b|[A-z0-9\-]*\.\borg\b|[A-z0-9\-]*\...$/);if(e.test(c)){m=e.exec(c);return c.substr(m.index)}else return c};this.isMobile=function(){var c=false;if(btg.Cookie.read("ak-mobile-detected")==="yes")c=true;return c};this.getDeviceType=function(){var c=btg.Cookie.read("ak-device-type");if(c)return c;else return false}}; btg.Controller=new function(){var c=btg.globalvars,d=false,e=false,f=false,g="";this.hasReporting=function(){return btg.config.hasReporting&&typeof btg.ReportingManager!="undefined"};this.hasAds=function(){if(btg.config.hasAds||btg.config.hasAdsDFP)return typeof btg.AdManager!="undefined";else return false};this.hasTnT=function(){return btg.Object.isDefined(btg.TestAndTarget)&&btg.config.TestAndTarget.enabled};this.init=function(){btg.loadLocalConfig();if(btg.config.requireCOPPACompliance==true){btg.config.Demdex.enabled= false;btg.config.Criteo.enabled=false;btg.config.QuantCast.enabled=false;btg.config.Meteor.enabled=false;btg.config.Omniture.enableMeteorPlugin=false;btg.config.Omniture.enableGuidPlugin=false;btg.config.Omniture.enableGuidAuxiliaryCall=false}if(btg.config.Omniture.enableGuidPlugin==false){btg.Cookie.remove("vmn_uuid","/","",true);btg.Cookie.remove("mtvn_guid","/","",true)}d=this.hasReporting();e=this.hasAds();hasTnT=this.hasTnT();if(btg.Object.isConfigDefined(btg.config.Freewheel)&&btg.config.Freewheel.adBlockerDetection)new btg.Ajax({xDomain:true, autoSend:true,onerror:function(){btg.globalvars.FW_BLOCKED=true},onload:function(){btg.globalvars.FW_BLOCKED=false},url:location.protocol+"//adm.fwmrm.net/crossdomain.xml"});c.IS_LIVE_ENV=function(){var d=true;try{if(btg.String.isDefined(btg.config.Omniture.dynamicAccountList)){var e=btg.config.Omniture.dynamicAccountList,f=e.indexOf("=");if(f>-1){var e=e.substring(f+1),e=e.split(","),g=self.location.hostname;if(c.IS_TOP_ACCESSIBLE)g=top.location.hostname;for(var f=0,l=e.length;f -1){d=false;break}}}}catch(k){}return d}();g=typeof c.PAGE_URL=="string"&&c.PAGE_URL!=""?c.PAGE_URL:location.pathname;if(g.charAt(g.length-1)=="/")g+=typeof btg.config.indexFileName=="string"?btg.config.indexFileName:"index";btg.config._defaultPageName=g;if(d)btg.ReportingManager.init();if(e)btg.AdManager.init();if(hasTnT)btg.TestAndTarget.init();this.init=function(){btg.loadLocalConfig();return this};return this};this.gameInit=function(){if(btg.config)btg.ReportingManager.init();if(btg.config)btg.AdManager.init(); if(!f&&com.mtvnet.games.GameSettings){btg.GameReportingManager.init();btg.GameAdManager.init();f=true}return true};this.loadGame=function(c){if(f){btg.GameAdManager.loadGame(c);btg.GameReportingManager.gameLoad(c)}};this.sendPageCall=function(c){this.init();if(d){if(typeof c==="undefined"||!c)c={};if(typeof c.contextData==="object"){this.setContextData(c.contextData);delete c.contextData}btg.ReportingManager.sendPageCall(c);btg.ReportingManager.getData()}};this.sendLinkEvent=function(c){this.init(); if(d){if(typeof c==="undefined"||!c)c={};if(typeof c.contextData==="object"){this.setContextData(c.contextData);delete c.contextData}btg.ReportingManager.sendLinkEvent(c)}};this.placeAd=function(c){this.init();if(e)return btg.AdManager.placeAd(c)};this.reloadAds=function(){if(e){btg.AdManager.reloadAll();return this}};this.placeIFrameAd=function(c,d){this.init();btg.AdManager.placeIFrameAd(c,d)};this.getAdUrl=function(c){this.init();if(e)return btg.AdManager.getAdUrl(c)};this.getVersion=function(){return btg.config.version}; this.getFullVersion=function(){return btg.config.fullVersion?btg.config.fullVersion:btg.config.version};this.createMboxes=function(){};this.setChoiceStreamRequest=function(c,e){if(d)btg.ReportingManager.setChoiceStreamRequest(c,e)};this.setContextData=function(c,d){var e,f;this.init();f=btg.ReportingManager.getOmniture();if(f!=null){if(typeof f.hcode.contextData==="undefined"||d)f.hcode.contextData={};if(c==null)return true;e=this.fixContextDataNamespace(c);for(var g in e)if(e.hasOwnProperty(g))f.hcode.contextData[g]= e[g];return true}else return false};this.clearContextData=function(){this.setContextData(null,true)};this.fixContextDataNamespace=function(c){var d={},e,f;for(e in c)if(c.hasOwnProperty(e))if(e.indexOf(".")<0){f="v."+e;d[f]=c[e]}else d[e]=c[e];return d}};btg.Beacon=function(c){this.url=c;this.data=null}; btg.Beacon.prototype={setData:function(c){this.data=btg.Object.toString(c,"&")},formatSrc:function(){if(this.data)if(this.url.indexOf("?")>-1)this.url+="&"+this.data;else this.url+="?"+this.data;return this.url},send:function(){var c=new Image(1,1);c.src=this.formatSrc();c.onload=function(){};c.onabort=function(){};c.onerror=function(){}}};btg.Alert=function(){}; btg.Events=new function(){var c=function(){this.callbacks=[];this.subscribe=function(c){if(typeof c=="function")this.callbacks[this.callbacks.length]=c};this.remove=function(c){for(var e=0,f=this.callbacks.length;e1){c=arguments[0];d=arguments[1]}else{c=0;d=arguments[0]}return Math.floor(Math.random()*(d-c+1)+c)}}; btg.Sections={getAdSections:function(){var c=btg.config,d=self.location.pathname;if(d=="")d="/";if(d.lastIndexOf("/")==d.length-1)d+=btg.Object.isDefined(c)&&btg.String.isDefined(c.defaultIndexFileName)?c.defaultIndexFileName:"index";if(d!="/"&&d.indexOf("/")==0)d=d.substring(1);return d},getReportingSections:function(){return self.location.pathname}}; btg.Window={getNodeLinkName:function(c){for(var d=null,e=0,f=c.childNodes.length;e"}}; btg.Class={inheritFrom:function(c,d){function e(){if(arguments.length>0&&typeof c==="function")c.apply(this,arguments)}if(typeof c==="function"||typeof c==="object")if(typeof d==="function"||typeof d==="object"){var f=d.prototype;d.prototype=typeof c==="function"?new c:c;for(var g in f)d.prototype[g]=f[g];d.prototype.constructor=d;e.prototype=typeof d==="function"?new d:d;e.prototype.constructor=e}else{e.prototype=typeof c==="function"?new c:c;e.prototype.constructor=e}else btg.Error.log("Coda ERROR: btg.Class.inheritFrom(a_superClass,a_subClass) requires at least a_superClass argument!");return e}}; btg.Timer=function(c,d){this.id=c;this.isRunning=false;this.currentCount=0;this.milliseconds=d?d:100;this.intervalId=null;this.listeners=[]}; btg.Timer.prototype={on:function(c,d){if(typeof d=="function")this.listeners[c]=d},execListener:function(c){if(typeof this.listeners[c]=="function")this.listeners[c]()},start:function(){if(!this.isRunning){this.isRunning=true;this.intervalId=setInterval(this.id+".count()",this.milliseconds)}},count:function(){this.currentCount=this.currentCount+this.milliseconds;this.execListener("count")},stop:function(){clearInterval(this.intervalId);this.isRunning=false},reset:function(){this.stop();this.currentCount= 0;this.start()}}; btg.TimeTracker=function(c){var d=btg.String.isDefined,e=btg.Cookie,f="",g=null,h=d(c)?c:"";this.init=function(){g=(new Date).getTime();btg.DOM.Events.addListener(window,"unload",this.saveTimeSpent);return true};this.setData=function(c){if(d(c))f=c};this.getTimeSpentOnPage=function(){var c="",c=(new Date).getTime(),c=Math.round((c-g)/100);if(c<1)c="";g=(new Date).getTime();return c};this.saveTimeSpent=function(){if(d(h)){var c=(new Date).getTime(),c=Math.round((c-g)/100);if(c<1)c=1;c=c;c+=d(f)?","+ f:"";e.set(h,c)}};this.getTimespent=function(){if(d(h)){var c=e.read(h);e.remove(h);g=(new Date).getTime();return d(c)?c:""}}}; btg.Ajax=function(c){var d=btg.Object.isDefined(c)?c:{};d.method=btg.String.isDefined(d.method)?d.method:"GET";var e;if(d.xDomain===true){var f,g=document.head||document.getElementsByTagName("head")[0]||document.documentElement;this.sendRequest=function(){if(!btg.String.isDefined(d.url)){btg.Error.log("Coda ERROR: Ajax request URL not specified!");return"[ERROR: Ajax request URL not specified!]"}f=document.createElement("script");f.async=true;if(btg.String.isDefined(d.scriptCharset))f.charset=d.scriptCharset; f.src=d.url;f.onload=function(){if(typeof d.onload=="function")d.onload(d);if(f.parentNode)f.parentNode.removeChild(f);f=null};f.onerror=function(){if(typeof d.onerror=="function")d.onerror(d);if(f.parentNode)f.parentNode.removeChild(f);f=null};try{g.insertBefore(f,g.firstChild)}catch(c){if(typeof d.onFail=="function"){d.error=c;d.fail=true;d.onFail(d)}return false}}}else{if(window.XMLHttpRequest)e=new XMLHttpRequest;else e=new ActiveXObject("Microsoft.XMLHTTP");this.sendRequest=function(){if(!btg.String.isDefined(d.url)){btg.Error.log("Coda ERROR: Ajax request URL not specified!"); return"[ERROR: Ajax request URL not specified!]"}e.onreadystatechange=function(){if(e.readyState==4){d.responseText=e.responseText;d.responseXML=e.responseXML;if(e.status==404){if(typeof d.on404=="function")d.on404(d)}else if(typeof d.onSuccess=="function"){d.success=true;d.onSuccess(d)}}};try{e.open(d.method,d.url,true);e.send();return true}catch(c){if(typeof d.onFail=="function"){d.error=c;d.fail=true;d.onFail(d)}return false}}}if(d.autoSend===true)this.sendRequest()}; (function(c){var d=["demdexcall","demdexfwsegment","uuid","usersegment","ad","trackingserver"],e=function(e){var g=e.data,h,i;if(g){if(typeof g!="object"||g==null)try{g=btg.JSON.parse(g)}catch(n){return}h=g.type;i=g.value}if(h&&d.join().indexOf(h)!=-1)switch(h){case d[0]:e={};g=0;for(h=i.length;g=1};this.addToCallQueue=function(c,e){if(!e)return false;for(var f=new Array,h=2,k=arguments.length;h0){var c=this.queue.shift();this.elapsed=this.elapsed+this.timeToWait;this.totalItems++;if(!this.hasLimit()){this.handler(c);this.processedQueue.push(c)}else{this.notificationHandler(this); this.clearQueue();this.stop()}}else this.stop()},stop:function(){clearInterval(this.intervalId);this.isProcessing=false;this.itemsAdded=this.totalItems=this.elapsed=0},hasLimit:function(){return this.elapsed==this.maxElapsed||this.totalItems>this.maxNumItems},clearQueue:function(){this.queue=[];this.processedQueue=[]}}; btg.GUID=new function(){var c=null,d=null,e=function(){var c=btg.Cookie.read("vmn_uuid");if(typeof c=="string")d=c;return typeof d=="string"&&d!=""},f=function(){var c=btg.Cookie.read("vmn_3pc");return typeof c=="string"&&c!=""},g=function(){return typeof btg.config.Omniture.enableGuidPlugin=="boolean"&&btg.config.Omniture.enableGuidPlugin};this.isGUIDReported=false;this.hasGUIDCookie=function(){return e()};this.get3pcCookie=function(){var c=btg.Cookie.read("vmn_3pc");return!btg.String.isDefined(c)? null:c};this.init=function(d){if(!g())return false;c=d;if(typeof c.guidIdVarMap=="undefined")c.guidIdVarMap=["eVar57"];if(typeof c.guidIdVarMap=="string")c.guidIdVarMap=c.guidIdVarMap.split(",");return true};this.run=function(f){if(!g())return f;if(!e()){new btg.Alert("Failed to find the UUID value.");return f}for(var h=0,i=c.guidIdVarMap.length;h120){c=c.substr(0,120);c=c.substr(0,c.lastIndexOf(","))}btg.Cookie.set("vmn_aam",c)}else btg.DOM.Storage.set("vmn_aam",c);break}}}};this.getDpid= function(){var a="";if(btg.Environment.getPlatform()=="Desktop")a=332;else if(btg.globalvars.is_iOS=="true")a=dpidIos;else if(btg.Environment.userAgent.isMobile=="true")a=dpidAndroid;return a};var l=btg.Cookie.read("vmn_uuid");if(btg.Cookie.read("vmn_3pc")==0&&l)btg.DOM.loadScript(i+"/event?d_stuff=1&d_dst=1&d_rtbd=json&d_cts=1&d_cb=aam_tnt_cb&d_dpid="+this.getDpid()+"&d_dpuuid="+l,false);else btg.DOM.loadScript(i+"/event?d_stuff=1&d_dst=1&d_rtbd=json&d_cts=1&d_cb=aam_tnt_cb",false);var i="//mtvn.demdex.net", f=btg.Cookie,m=new btg.Beacon,n=false,j=btg.String,g=btg.String.isDefined,h=btg.Object.isDefined;this.canSendRequest=true;this.dependencies=new btg.DependencyManager;this.data=null;this.sendIdSyncCall=function(){if(f.read("vmn_3pc")=="0"||!f.read("vmn_uuid"))return;var a=f.read("vmn_uuid");if(!f.read("mtvn_dmp_init")&&a){var b=new Date;m.url="//dpm.demdex.net/ibs:dpid=332&dpuuid="+a;m.send();b.setHours(23);b.setMinutes(59);f.set("mtvn_dmp_init",1,b)}};this.init=function(){this.setData();this.dependencies.add("demdex_response", function(){return(btg.Demdex?btg.Demdex:{}).canSendRequest},500,false)};this.sendPageCall=function(a,b){this.dependencies.checkDependency("demdex_response");if(this.dependencies.hasDependency()){this.dependencies.addToCallQueue(this,this.sendPageCall,a,b);return}this.canSendRequest=false;var c=i+"/event?",d={d_rtbd:"json",d_dst:1,d_cts:1,d_cb:"btg.Demdex.response"};if(b&&typeof b==="object")for(var e in b)if(b.hasOwnProperty(e))d["d_"+e]=j.encode(j.decode(b[e]));if(f.read("vmn_3pc")=="0"){d.d_dpid= this.getDpid();d.d_dpuuid=f.read("vmn_uuid")}a.host=location.hostname;if(f.read("vmn_host")==null){this.sendSiteVisitCall();a.ref=k.referrer;f.set("vmn_host",1)}if(a&&typeof a==="object")for(e in a)if(a.hasOwnProperty(e)&&a[e]){var g=e;if(e.match(/^(prop\d{1,2})$/ig))g=e.replace("prop","c");else if(e.match(/^(evar\d{1,2})$/ig))g=e.replace("eVar","v");else if(e.match(/^(hier\d{1,2})$/ig))g=e.replace("hier","h");else if(e.match(/^(channel)$/ig))g=e.replace("channel","ch");d["c_"+g]=j.encode(j.decode(a[e]))}btg.DOM.loadScript(c+ btg.Object.toString(d,"&"))};this.sendSiteVisitCall=function(){this.dependencies.checkDependency("demdex_response");if(this.dependencies.hasDependency()){this.dependencies.addToCallQueue(this,this.sendSiteVisitCall);return}this.canSendRequest=false;var a=f.read("vmn_uuid"),b=i+"/event?",a={d_rtbd:"json",d_dst:1,d_cts:1,d_cb:"btg.Demdex.response",c_uuid:a,c_visit:location.hostname+"_visit"};if(f.read("vmn_3pc")=="0"){a.d_dpid=this.getDpid();a.d_dpuuid=f.read("vmn_uuid")}btg.DOM.loadScript(b+btg.Object.toString(a, "&"))};this.sendSocialCall=function(a){this.dependencies.checkDependency("demdex_response");if(this.dependencies.hasDependency()){this.dependencies.addToCallQueue(this,this.sendSocialCall,a);return}this.canSendRequest=false;var b=f.read("vmn_uuid"),c=i+"/event?",b={d_rtbd:"json",d_dst:1,d_cts:1,d_cb:"btg.Demdex.response",c_uuid:b};if(f.read("vmn_3pc")=="0"){a.d_dpid=this.getDpid();a.d_dpuuid=f.read("vmn_uuid")}if(a&&typeof a==="object")for(var d in a)if(a.hasOwnProperty(d)&&a[d])b["c_"+d]=j.encode(j.decode(a[d])); btg.DOM.loadScript(c+btg.Object.toString(b,"&"))};this.getFWSegment=function(){return this.getSegment("fw")};this.getSegment=function(a){var b=this.data,c;if(h(b)&&h(b.stuff)&&g(a))for(var b=b.stuff,d=0,e=b.length;d= 0){if(typeof a.events=="string"&&a.events!="")a.events+=",";else a.events="";a.events+=this.config.percentPageViewedVarMap.percentage;if(typeof a.products=="string"&&a.products!="")a.products+=",";else a.products="";a.products+=";;;;"+this.config.percentPageViewedVarMap.percentage+"="+this.hcode.getPercentPageViewed()}else a[this.config.percentPageViewedVarMap.percentage]=this.hcode.getPercentPageViewed()}if(!this.pageViewEventSet){b=typeof a.events==="string"?a.events:"";if(typeof this.config.pageViewEvent=== "string"&&b.indexOf(this.config.pageViewEvent)<0){if(b!="")b+=",";b+=this.config.pageViewEvent;a.events=b;this.pageViewEventSet=true}}if(typeof btg.GameReporter!="undefined"){btg.GameReporter.gtsEvent="event74";a=btg.GameReporter.setData(a)}a=this.preprocessData(a);b=null;if(btg.DOM.Storage.isStorageAvailable())b=btg.DOM.Storage.get("vmn_aam");else b=btg.Cookie.read("vmn_aam");if(b&&btg.config.requireCOPPACompliance!=true)a.list3=b;btg.Cookie.read("vmn_uuid");this.setValues(this.config);this.setValues(a); this.setNewRepeat();this.attachLoggedEvent();if(btg.Object.isConfigDefined(btg.config.Demdex)&&btg.Demdex){a[this.newRepeatProp]=this.getAttribute(this.newRepeatProp);btg.Demdex.sendPageCall(a)}btg.Megabeacon.post(a);this.hcode.t();this.clearValues();this.hcode.contextData={};if(btg.SourcePoint)btg.SourcePoint.onPageChange();if(this.config.trackExternalLinks.toString()=="true")this.hcode.trackExternalLinks=true;return true},sendLinkEvent:function(a){this.hcode.trackExternalLinks=false;if(this.dependencies.hasDependency()){this.dependencies.addToCallQueue(this, this.sendPageCall,a);return}a=typeof a!="object"?{}:a;a.lnk=a.lnk?this.hcode.co(a.lnk):true;a.linkType=a.linkType?a.linkType:"o";a.referrer=location.href;a=this.preprocessData(a);this.setValues(this.config);this.setValues(a);this.attachLoggedEvent();if(btg.Object.isConfigDefined(btg.config.Demdex)&&btg.Demdex)btg.Demdex.sendPageCall(a);this.hcode.tl(a.lnk,a.linkType,a.linkName);this.clearValues();this.hcode.contextData={};if(btg.config.Omniture.trackExternalLinks===true){var b=this;setTimeout(function(){b.hcode.trackExternalLinks= true},1)}return true},setAccountVars:function(a){this.setAttribute("un",a.name);this.setAttribute("dynamicAccountSelection",a.dynamic);this.setAttribute("dynamicAccountList",a.list);this.setAttribute("linkInternalFilters",a.filters);this.setAttribute("charSet",a.chartset);for(var b in a)if(this.btgIsStr(b))this.setAttribute(b,this.btgIsStr(a[b])?a[b]:"")},logEvent:function(a){var b=btg.Cookie.set;if(this.btgIsStr(a)){if(this.btgIsStr(a.UIEvent))b("UIEvent",a.UIEvent);if(this.btgIsStr(a.UIEventName))b("UIEventName", a.UIEventName);if(this.btgIsStr(a.UITrackingCode))b("UITrackingCode",a.UITrackingCode)}},attachLoggedEvent:function(){var a=btg.Cookie.read,b=btg.Cookie.remove;if(this.btgIsStr(a("UIEvent"))){this.setAttribute("events",a("UIEvent"));b("UIEvent")}if(this.btgIsStr(a("UIEventName"))){this.setAttribute("eVar40",a("UIEventName"));b("UIEventName")}if(this.btgIsStr(a("UITrackingCode"))){this.setAttribute("campaign",a("UITrackingCode"));b("UITrackingCode")}return true},clearAllVars:function(){for(var a=1;a<= 50;a++){this.setAttribute("eVar"+a,"");this.setAttribute("prop"+a,"");if(a<6)this.setAttribute("hier"+a,"")}this.setAttribute("pageName","");this.setAttribute("channel","");return true},initializeBalaReporting:function(){this.hcode.contextData["v.balaNotifier"]="view"},explicitBalaClose:function(){this.hcode.contextData["v.balaNotifier"]="explicit";this.sendLinkEvent({linkName:"Bala",linkType:"o"});this.hcode.contextData={}},implicitBalaClose:function(){this.hcode.contextData["v.balaNotifier"]="implicit"; this.sendLinkEvent({linkName:"Bala",linkType:"o"});this.hcode.contextData={}}};btg.Nielsen=function(b){if(!btg.Controller.hasReporting())return;this.config=b;this.dependencies=new btg.DependencyManager;this.dependencies.add("nielsen_uuid_present",function(){return btg.String.isDefined(btg.Cookie.read("vmn_uuid"))?true:false},100,true);if(this.dependencies.hasDependency())this.dependencies.addToCallQueue(this,this.sendPageCall);else this.sendPageCall()}; btg.Nielsen.prototype={sendPageCall:function(){if(!btg.Controller.hasReporting())return;var b=btg.Cookie.read("vmn_uuid"),c=btg.String.isDefined(btg.config.Nielsen.cid)?btg.config.Nielsen.cid:"us-mtvn",a=new Image(1,1);a.onerror=a.onload=function(){a.onerror=a.onload=null};var d=escape(window.location.href);a.src=["//secure-us.imrworldwide.com/cgi-bin/m?ci="+c+"&cg="+b+"&cc=1&si=",d,"&rp=",escape(document.referrer),"&ts=compact&rnd=",(new Date).getTime()].join("");this.sendPageCall=function(){}}};btg.UserSegment=new function(){var d=btg.Cookie;this.init=function(a){var b=d.read("mtvn_btg_userSegments");a.userSegments=b?b.split(","):[];return true};this.set=function(a,b){if(!b)b=btg.ReportingManager.getOmniture();for(var c=0,e=b.userSegments.length;c0?b+a.userSegments.join(c+","+b)+c:""};this.setData=function(a,b){b[a.config.userSegmentVarMap.traffic]=b[a.config.userSegmentVarMap.traffic]?b[a.config.userSegmentVarMap.traffic]+(this.getStr(a)!=""?",":"")+this.getStr(a):this.getStr(a);b[a.config.userSegmentVarMap.commerce]=b[a.config.userSegmentVarMap.commerce]?b[a.config.userSegmentVarMap.commerce]+(this.getStr(a,"User Segment;")!=""? ",":"")+this.getStr(a,"User Segment;"):this.getStr(a,"User Segment;");return b}};btg.Search=new function(){var i=btg.Cookie,b=i.set,j=btg.String.isDefined,g=false,d="",e=function(a){if(d.indexOf(a)<0){if(d!="")d+=",";d+=a}return d};this.init=function(){};var h=function(){if(typeof com_mtvi_SSDC==="object")g=true;if(typeof btg_SSDC==="object")g=false};this.setData=function(a){h();if(g)return this.legacy_setData(a);if(typeof btg_SSDC!="object")return a;if(j(a.events))d=a.events;var c="events,prop31";if(j(btg_SSDC.srchterm)){a.eVar2=btg_SSDC.srchterm;c+=",eVar2";b("btg_SSDC_searchTerm", btg_SSDC.srchterm)}if(j(a.prevPage)){a.eVar44=a.prevPage;delete a.prevPage;c+=",eVar44"}if(btg_SSDC.srchfail===true)e("event37");else e("event38");if(btg_SSDC.srchsyn===true)e("event33");btg.UserSegment.set("SiteSearcher");a.linkTrackVars=c;a.linkTrackEvents=d;a.events=d;return a};this.legacy_setData=function(a){if(typeof com_mtvi_SSDC!="object")return a;if(typeof a.events=="string")d=a.events;var c="events,prop31";e("event36");a.eVar3=typeof com_mtvi_SSDC.srchtype=="string"?com_mtvi_SSDC.srchtype: "GENERAL";if(typeof com_mtvi_SSDC.srchsyn!="undefined"){e("event33");if(typeof com_mtvi_SSDC.srchsyn=="object"){for(var f=0,b=com_mtvi_SSDC.srchsyn.length;f-1)if(typeof btg.UserSegment!="undefined")btg.UserSegment.set(b[a][1]);return c}};btg.SourcePoint=function(){var a=true;return{onPageChange:function(){if(btg.Object.isConfigDefined(btg.config.SourcePoint)){if(a){a=false;return}if(window._sp_&&typeof window._sp_.pageChange==="function")try{window._sp_.pageChange()}catch(b){(new btg.Beacon("//btg.mtvnservices.com/aria/monitor/pixel.gif?err=CALLING_SP_PAGECHANGE_METHOD")).send()}}}}}();btg.AdStatus=function(){function m(){setTimeout(function(){h();e()},v)}function n(){i=10;f=false;j="
Resuming in:
We rely on messages from our sponsors to bring you this content for free, please disable your ad blocker for this site and refresh your browser.
";k="top:0;left:0;bottom:0;right:0;width:100%;height:100%;position:fixed;text-align:center;padding:25%;box-sizing:border-box;display:inline-block;background:rgba(0,0,0,0.6);z-index:9999;"; l="line-height:30px;opacity:1;color:rgb(255, 255, 255);padding:1em;font-family:monospace;font-size:22px;user-select:none;display:inline-block;text-align:center;vertical-align:middle;border-radius:2%;border:3px solid #fff;";if(typeof btg.config.SourcePoint==="object"){if(typeof btg.config.SourcePoint.messagesEnabled==="boolean")f=btg.config.SourcePoint.messagesEnabled;if(typeof btg.config.SourcePoint.detectionMessageDuration==="number"&&btg.config.SourcePoint.detectionMessageDuration>9)i=btg.config.SourcePoint.detectionMessageDuration; if(btg.config.SourcePoint.detectionMessage)j=btg.config.SourcePoint.detectionMessage;if(btg.config.SourcePoint.messageStyle)l=btg.config.SourcePoint.messageStyle;if(btg.config.SourcePoint.messageBackgroundStyle)k=btg.config.SourcePoint.messageBackgroundStyle}}function p(a){var b=document.getElementById(o);if(b)b.innerHTML=a}function w(){var a=document.createElement("div");a.setAttribute("id",q);a.setAttribute("style",k);var b=document.createElement("div");b.setAttribute("style",l);b.innerHTML=j;a.appendChild(b); document.body.insertBefore(a,document.body.childNodes[0])}function e(){n();if(d===false||!f){m();return}if(d===null){h();setTimeout(function(){e()},g);return}var a=typeof MTVNPlayer==="object"&&typeof MTVNPlayer.getPlayers==="function"&&MTVNPlayer.getPlayers(),b=a?a.length:-1;if(b<1){setTimeout(function(){e()},g);return}else for(;b--;)r(a[b]);return m()}function r(a){var b=i,c=function(){};if(s.indexOf(a.id)!==-1||!f)return;if(typeof a==="object"&&a.ready&&a.state==="playing"){s.push(a.id);clearTimeout(c); var d=window.setInterval(function(){if(a.state==="playing"&&b)a.pause();b--;p(b);if(!b){window.clearInterval(d);var c=document.getElementById(q);if(c.parentNode)c.parentNode.removeChild(c);a.play()}},g);a.pause();w();p(b);t()}else c=setTimeout(function(){r(a)},g)}function h(){n();if(typeof window._sp_==="object"&&typeof window._sp_.isAdBlocking==="function")window._sp_.isAdBlocking(function(a){d=a;t()});else;}function t(){var a=btg.Cookie.read(u),b="cookie"in document&&(document.cookie.length>0|| (document.cookie="test").indexOf.call(document.cookie,"test")>-1);if(b&&!a||b&&a.indexOf(d)===-1){c.modalActive=d;c.timestamp=(new Date).toDateString()+" "+(new Date).toTimeString();c.uuid=btg.Cookie.read("vmn_uuid")||"NO_UUID_SET";c.pageName=window.location.pathname;c.domainName=window.location.host;btg.Cookie.set(u+"="+JSON.stringify(c)+";expires="+btg.globalvars.INFINITE_COOKIE_EXPY);if(btg.Object.isConfigDefined(btg.config.Megabeacon))btg.Megabeacon.post(c,x)}}var f=false,i=10,q=(+new Date*Math.random()).toString(36).substring(0, 5),o="AB_DURATION",j="",k="",l="",u="vnm_carrot",c={timestamp:"NO_TIMESTAMP_SET",uuid:"NO_UUID_SET",modalActive:"NO_SOURCEPOINT_DATA"},x="rabbit_hole",s=[],d=null,v=7E3,g=1E3;if(btg.Object.isConfigDefined(btg.config.SourcePoint))e();return{update:function(){h()}}}();var s_code="",s_objectID; function s_gi(c,i,g){var d="s.version='H.25.5';s.an=s_an;s.logDebug=function(m){var s=this,tcf=new Function('var e;try{console.log(\"'+s.rep(s.rep(s.rep(m,\"\\\\\",\"\\\\"+'\\\\"),"\\n","\\\\n"),"\\"","\\\\\\"")+\'");}catch(e){}\');tcf()};s.cls=function(x,c){var i,y=\'\';if(!c)c=this.an;for(i=0;i=0)y+=n}retur'+"n y};s.fl=function(x,l){return x?(''+x).substring(0,l):x};s.co=function(o){return o};s.num=function(x){x=''+x;for(var p=0;p=0)x=s.rep(x,n,\"%\"+n.charCodeAt(0).toString(16).toUpperCase())}}else if(c=='AUTO'&&('').charCodeAt){for(i=0;i127){l=0;e='';while(n||l<4){e=h.substring(n%16,n%16+1)+e;n=(n-n%16)/16;l++}y+='%u'+e}else if(c=='+')y+='%2B';else y+=escape(c)}x=y}else x=s.rep(escape(''+x),'+"+"','%2B');if(c&&c!='AUTO'&&s.em==1&&x.indexOf('%u')<0&&x.indexOf('%U')<0){i=x.indexOf('%');while(i>=0){i++;if(h.substring(8).indexOf(x.substring(i,i+1).toUpperCase())>=0)return x.substring(0,i)+'u00"+ "'+x.substring(i);i=x.indexOf('%',i)}}}return x};s.epa=function(x){var s=this,y,tcf;if(x){x=s.rep(''+x,'+',' ');if(s.em==3){tcf=new Function('x','var y,e;try{y=decodeURIComponent(x)}catch(e){y=unesc"+"ape(x)}return y');return tcf(x)}else return unescape(x)}return y};s.pt=function(x,d,f,a){var s=this,t=x,z=0,y,r;while(t){y=t.indexOf(d);y=y<0?t.length:y;t=t.substring(0,y);r=s[f](t,a);if(r)return r"+";z+=y+d.length;t=x.substring(z,x.length);t=z=0)a=a.substring(0,c);c=a.indexOf('=');if(c>=0)a=a.substring(0,c);if(t.substring("+ "0,2)=='s_')t=t.substring(2);return (t!=''&&t==a)};s.fsf=function(t,a){var s=this;if(s.pt(a,',','isf',t))s.fsg+=(s.fsg!=''?',':'')+t;return 0};s.fs=function(x,f){var s=this;s.fsg='';s.pt(x,',','fsf'"+",f);return s.fsg};s.mpc=function(m,a){var s=this,c,l,n,v;v=s.d.visibilityState;if(!v)v=s.d.webkitVisibilityState;if(v&&v=='prerender'){if(!s.mpq){s.mpq=new Array;l=s.sp('webkitvisibilitychange,visi"+"bilitychange',',');for(n=0;n0){c=s.mpq.shift();s[c.m].apply(s,c.a)}s.mpq=0}'),false)}}c=new Object;c.m=m;c.a=a;s.mpq.push(c);return 1}return 0};s.si=function(){var s=this,i,k,v,c=s_gi+'var s=s_gi(\"'+s.oun+'\")"+";s.sa(\"'+s.un+'\");';for(i=0;i2?n:2;p=d.lastIndexOf('.');if(p>=0){while(p>=0&&n>1){p=d.lastIndexOf('.',p-1);n--}s.c_d=p>0&&s.pt(d,'"+".','c_gdf',0)?d.substring(p):d}}return s.c_d};s.c_r=function(k){var s=this;k=s.ape(k);var c=' '+s.d.cookie,i=c.indexOf(' '+k+'='),e=i<0?i:c.indexOf(';',i),v=i<0?'':s.epa(c.substring(i+2+k.length,e<"+"0?c.length:e));return v!='[[B]]'?v:''};s.c_w=function(k,v,e){var s=this,d=s.c_gd(),l=s.cookieLifetime,t;v=''+v;l=l?(''+l).toUpperCase():'';if(e&&l!='SESSION'&&l!='NONE'){t=(v!=''?parseInt(l?l:0):-6"+ "0);if(t){e=new Date;e.setTime(e.getTime()+(t*1000))}}if(k&&l!='NONE'){s.d.cookie=k+'='+s.ape(v!=''?v:'[[B]]')+'; path=/;'+(e&&l!='SESSION'?' expires='+e.toGMTString()+';':'')+(d?' domain='+d+';':''"+");return s.c_r(k)==v}return 0};s.eh=function(o,e,r,f){var s=this,b='s_'+e+'_'+s._in,n=-1,l,i,x;if(!s.ehl)s.ehl=new Array;l=s.ehl;for(i=0;i=5&&(!s.isopera||s.apv>=7)){tc"+ "f=new Function('s','f','a','t','var e,r;try{r=s[f](a)}catch(e){r=s[t](e)}return r');r=tcf(s,f,a,t)}else{if(s.ismac&&s.u.indexOf('MSIE 4')>=0)r=s[b](a);else{s.eh(s.wd,'onerror',0,o);r=s[f](a);s.eh(s"+".wd,'onerror',1)}}return r};s.gtfset=function(e){var s=this;return s.tfs};s.gtfsoe=new Function('e','var s=s_c_il['+s._in+'],c;s.eh(window,\"onerror\",1);s.etfs=1;c=s.t();if(c)s.d.write(c);s.etfs=0"+";return true');s.gtfsfb=function(a){return window};s.gtfsf=function(w){var s=this,p=w.parent,l=w.location;s.tfs=w;if(p&&p.location!=l&&p.location.host==l.host){s.tfs=p;return s.gtfsf(s.tfs)}return "+ "s.tfs};s.gtfs=function(){var s=this;if(!s.tfs){s.tfs=s.wd;if(!s.etfs)s.tfs=s.cet('gtfsf',s.tfs,'gtfset',s.gtfsoe,'gtfsfb')}return s.tfs};s.mrq=function(u){var s=this,l=s.rl[u],n,r;s.rl[u]=0;if(l)fo"+"r(n=0;n=3&&(!s.isopera||s.apv>=7)&&(s.ns6<0||s.apv>=6.1)){if(!s.rc)s.rc=new Object;if(!s.rc[u"+"n]){s.rc[un]=1;if(!s.rl)s.rl=new Object;s.rl[un]=new Array;setTimeout('if(window.s_c_il)window.s_c_il['+s._in+'].mrq(\"'+un+'\")',750)}else{l=s.rl[un];if(l){r.t=ta;r.u=un;r.r=rs;l[l.length]=r;retur"+ "n ''}imn+='_'+s.rc[un];s.rc[un]++}if(s.debugTracking){var d='AppMeasurement Debug: '+rs,dl=s.sp(rs,'&'),dln;for(dln=0;dln'};s.gg=function(v){var s=this;if(!s.wd['s_'+v])s.wd['s_'+v]='';return s.wd['s_'+v]};s.glf=function(t,a){if(t.s"+"ubstring(0,2)=='s_')t=t.substring(2);var s=this,v=s.gg(t);if(v)s[t]=v};s.gl=function(v){var s=this;if(s.pg)s.pt(v,',','glf',0)};s.rf=function(x){var s=this,y,i,j,h,p,l=0,q,a,b='',c='',t;if(x&&x.len"+ "gth>255){y=''+x;i=y.indexOf('?');if(i>0){q=y.substring(i+1);y=y.substring(0,i);h=y.toLowerCase();j=0;if(h.substring(0,7)=='http://')j+=7;else if(h.substring(0,8)=='https://')j+=8;i=h.indexOf(\"/\","+"j);if(i>0){h=h.substring(j,i);p=y.substring(i);y=y.substring(0,i);if(h.indexOf('google')>=0)l=',q,ie,start,search_key,word,kw,cd,';else if(h.indexOf('yahoo.co')>=0)l=',p,ei,';if(l&&q){a=s.sp(q,'&')"+";if(a&&a.length>1){for(j=0;j0&&l.indexOf(','+t.substring(0,i)+',')>=0)b+=(b?'&':'')+t;else c+=(c?'&':'')+t}if(b&&c)q=b+'&'+c;else c=''}i=253-(q.length-c."+ "length)-y.length;x=y+(i>0?p.substring(0,i):'')+'?'+q}}}}return x};s.s2q=function(k,v,vf,vfp,f){var s=this,qs='',sk,sv,sp,ss,nke,nk,nf,nfl=0,nfn,nfm;if(k==\"contextData\")k=\"c\";if(v){for(sk in v)i"+"f((!f||sk.substring(0,f.length)==f)&&v[sk]&&(!vf||vf.indexOf(','+(vfp?vfp+'.':'')+sk+',')>=0)&&(!Object||!Object.prototype||!Object.prototype[sk])){nfm=0;if(nfl)for(nfn=0;nfn0){nke=sk.indexOf('.');if(nke>0){nk=sk.substring(0,nke);nf=(f?f:'"+ "')+nk+'.';if(!nfl)nfl=new Array;nfl[nfl.length]=nf;qs+=s.s2q(nk,v,vf,vfp,nf)}else{if(typeof(sv)=='boolean'){if(sv)sv='true';else sv='false'}if(sv){if(vfp=='retrieveLightData'&&f.indexOf('.contextDa"+"ta.')<0){sp=sk.substring(0,4);ss=sk.substring(4);if(sk=='transactionID')sk='xact';else if(sk=='channel')sk='ch';else if(sk=='campaign')sk='v0';else if(s.num(ss)){if(sp=='prop')sk='c'+ss;else if(sp="+"='eVar')sk='v'+ss;else if(sp=='list')sk='l'+ss;else if(sp=='hier'){sk='h'+ss;sv=sv.substring(0,255)}}}qs+='&'+s.ape(sk)+'='+s.ape(sv)}}}}}if(qs!='')qs+='&.'+k}return qs};s.hav=function(){var s=this"+ ",qs='',l,fv='',fe='',mn,i,e;if(s.lightProfileID){l=s.va_m;fv=s.lightTrackVars;if(fv)fv=','+fv+','+s.vl_mr+','}else{l=s.va_t;if(s.pe||s.linkType){fv=s.linkTrackVars;fe=s.linkTrackEvents;if(s.pe){mn="+"s.pe.substring(0,1).toUpperCase()+s.pe.substring(1);if(s[mn]){fv=s[mn].trackVars;fe=s[mn].trackEvents}}}if(fv)fv=','+fv+','+s.vl_l+','+s.vl_l2;if(fe){fe=','+fe+',';if(fv)fv+=',events,'}if (s.events"+"2)e=(e?',':'')+s.events2}for(i=0;i=0)&&k!="+ "'linkName'&&k!='linkType'){if(k=='timestamp')q='ts';else if(k=='dynamicVariablePrefix')q='D';else if(k=='visitorID')q='vid';else if(k=='pageURL'){q='g';if(v.length>255){s.pageURLRest=v.substring(25"+"5);v=v.substring(0,255);}}else if(k=='pageURLRest')q='-g';else if(k=='referrer'){q='r';v=s.fl(s.rf(v),255)}else if(k=='vmk'||k=='visitorMigrationKey')q='vmt';else if(k=='visitorMigrationServer'){q="+"'vmf';if(s.ssl&&s.visitorMigrationServerSecure)v=''}else if(k=='visitorMigrationServerSecure'){q='vmf';if(!s.ssl&&s.visitorMigrationServer)v=''}else if(k=='charSet'){q='ce';if(v.toUpperCase()=='AUT"+ "O')v='ISO8859-1';else if(s.em==2||s.em==3)v='UTF-8'}else if(k=='visitorNamespace')q='ns';else if(k=='cookieDomainPeriods')q='cdp';else if(k=='cookieLifetime')q='cl';else if(k=='variableProvider')q="+"'vvp';else if(k=='currencyCode')q='cc';else if(k=='channel')q='ch';else if(k=='transactionID')q='xact';else if(k=='campaign')q='v0';else if(k=='resolution')q='s';else if(k=='colorDepth')q='c';else "+"if(k=='javascriptVersion')q='j';else if(k=='javaEnabled')q='v';else if(k=='cookiesEnabled')q='k';else if(k=='browserWidth')q='bw';else if(k=='browserHeight')q='bh';else if(k=='connectionType')q='ct"+ "';else if(k=='homepage')q='hp';else if(k=='plugins')q='p';else if(k=='events'){if(e)v+=(v?',':'')+e;if(fe)v=s.fs(v,fe)}else if(k=='events2')v='';else if(k=='contextData'){qs+=s.s2q('c',s[k],fv,k,0)"+";v=''}else if(k=='lightProfileID')q='mtp';else if(k=='lightStoreForSeconds'){q='mtss';if(!s.lightProfileID)v=''}else if(k=='lightIncrementBy'){q='mti';if(!s.lightProfileID)v=''}else if(k=='retrieve"+"LightProfiles')q='mtsr';else if(k=='deleteLightProfiles')q='mtsd';else if(k=='retrieveLightData'){if(s.retrieveLightProfiles)qs+=s.s2q('mts',s[k],fv,k,0);v=''}else if(s.num(x)){if(b=='prop')q='c'+n"+ ";else if(b=='eVar')q='v'+n;else if(b=='list')q='l'+n;else if(b=='hier'){q='h'+n;v=s.fl(v,255)}}if(v)qs+='&'+s.ape(q)+'='+(k.substring(0,3)!='pev'?s.ape(v):v)}}return qs};s.ltdf=function(t,h){t=t?t."+"toLowerCase():'';h=h?h.toLowerCase():'';var qi=h.indexOf('?');h=qi>=0?h.substring(0,qi):h;if(t&&h.substring(h.length-(t.length+1))=='.'+t)return 1;return 0};s.ltef=function(t,h){t=t?t.toLowerCase()"+":'';h=h?h.toLowerCase():'';if(t&&h.indexOf(t)>=0)return 1;return 0};s.lt=function(h){var s=this,lft=s.linkDownloadFileTypes,lef=s.linkExternalFilters,lif=s.linkInternalFilters;lif=lif?lif:s.wd.loca"+ "tion.hostname;h=h.toLowerCase();if(s.trackDownloadLinks&&lft&&s.pt(lft,',','ltdf',h))return 'd';if(s.trackExternalLinks&&h.indexOf('#')!=0&&h.indexOf('about:')!=0&&h.indexOf('javascript:')!=0&&(lef"+"||lif)&&(!lef||s.pt(lef,',','ltef',h))&&(!lif||!s.pt(lif,',','ltef',h)))return 'e';return ''};s.lc=new Function('e','var s=s_c_il['+s._in+'],b=s.eh(this,\"onclick\");s.lnk=this;s.t();s.lnk=0;if(b)r"+"eturn this[b](e);return true');s.bcr=function(){var s=this;if(s.bct&&s.bce)s.bct.dispatchEvent(s.bce);if(s.bcf){if(typeof(s.bcf)=='function')s.bcf();else if(s.bct&&s.bct.href)s.d.location=s.bct.hre"+ "f}s.bct=s.bce=s.bcf=0};s.bc=new Function('e','if(e&&e.s_fe)return;var s=s_c_il['+s._in+'],f,tcf,t,n,nrs,a,h;if(s.d&&s.d.all&&s.d.all.cppXYctnr)return;if(!s.bbc)s.useForcedLinkTracking=0;else if(!s."+'useForcedLinkTracking){s.b.removeEventListener("click",s.bc,true);s.bbc=s.useForcedLinkTracking=0;return}else s.b.removeEventListener("click",s.bc,false);s.eo=e.srcElement?e.srcElement:e.target'+';nrs=s.nrs;s.t();s.eo=0;if(s.nrs>nrs&&s.useForcedLinkTracking&&e.target){a=e.target;while(a&&a!=s.b&&a.tagName.toUpperCase()!="A"&&a.tagName.toUpperCase()!="AREA")a=a.parentNode;if(a){h=a.href;'+ 'if(h.indexOf("#")==0||h.indexOf("about:")==0||h.indexOf("javascript:")==0)h=0;t=a.target;if(e.target.dispatchEvent&&h&&(!t||t=="_self"||t=="_top"||t=="_parent"||(s.wd.name&&t==s.wd.name'+'))){e.stopPropagation();if (e.stopImmediatePropagation) {e.stopImmediatePropagation();}e.preventDefault();n=s.d.createEvent("MouseEvents");n.initMouseEvent("click",e.bubbles,e.cancelable,e.view'+",e.detail,e.screenX,e.screenY,e.clientX,e.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,e.button,e.relatedTarget);n.s_fe=1;s.bct=e.target;s.bce=n}}}');s.oh=function(o){var s=this,l=s.wd.location,"+ "h=o.href?o.href:'',i,j,k,p;i=h.indexOf(':');j=h.indexOf('?');k=h.indexOf('/');if(h&&(i<0||(j>=0&&i>j)||(k>=0&&i>k))){p=o.protocol&&o.protocol.length>1?o.protocol:(l.protocol?l.protocol:'');i=l.path"+"name.lastIndexOf('/');h=(p?p+'//':'')+(o.host?o.host:(l.host?l.host:''))+(h.substring(0,1)!='/'?l.pathname.substring(0,i<0?0:i)+'/':'')+h}return h};s.ot=function(o){var t=o.tagName;if(o.tagUrn||(o."+"scopeName&&o.scopeName.toUpperCase()!='HTML'))return '';t=t&&t.toUpperCase?t.toUpperCase():'';if(t=='SHAPE')t='';if(t){if((t=='INPUT'||t=='BUTTON')&&o.type&&o.type.toUpperCase)t=o.type.toUpperCase("+ ");else if(!t&&o.href)t='A';}return t};s.oid=function(o){var s=this,t=s.ot(o),p,c,n='',x=0;if(t&&!o.s_oid){p=o.protocol;c=o.onclick;if(o.href&&(t=='A'||t=='AREA')&&(!c||!p||p.toLowerCase().indexOf('"+"javascript')<0))n=s.oh(o);else if(c){n=s.rep(s.rep(s.rep(s.rep(''+c,\"\\r\",''),\"\\n\",''),\"\\t\",''),' ','');x=2}else if(t=='INPUT'||t=='SUBMIT'){if(o.value)n=o.value;else if(o.innerText)n=o.inn"+"erText;else if(o.textContent)n=o.textContent;x=3}else if(o.src&&t=='IMAGE')n=o.src;if(n){o.s_oid=s.fl(n,100);o.s_oidt=x}}return o.s_oid};s.rqf=function(t,un){var s=this,e=t.indexOf('='),u=e>=0?t.su"+ "bstring(0,e):'',q=e>=0?s.epa(t.substring(e+1)):'';if(u&&q&&(','+u+',').indexOf(','+un+',')>=0){if(u!=s.un&&s.un.indexOf(',')>=0)q='&u='+u+q+'&u=0';return q}return ''};s.rq=function(un){if(!un)un=th"+"is.un;var s=this,c=un.indexOf(','),v=s.c_r('s_sq'),q='';if(c<0)return s.pt(v,'&','rqf',un);return s.pt(un,',','rq',0)};s.sqp=function(t,a){var s=this,e=t.indexOf('='),q=e<0?'':s.epa(t.substring(e+1"+"));s.sqq[q]='';if(e>=0)s.pt(t.substring(0,e),',','sqs',q);return 0};s.sqs=function(un,q){var s=this;s.squ[un]=q;return 0};s.sq=function(q){var s=this,k='s_sq',v=s.c_r(k),x,c=0;s.sqq=new Object;s.sq"+ "u=new Object;s.sqq[q]='';s.pt(v,'&','sqp',0);s.pt(s.un,',','sqs',q);v='';for(x in s.squ)if(x&&(!Object||!Object.prototype||!Object.prototype[x]))s.sqq[s.squ[x]]+=(s.sqq[s.squ[x]]?',':'')+x;for(x in"+" s.sqq)if(x&&(!Object||!Object.prototype||!Object.prototype[x])&&s.sqq[x]&&(x==q||c<2)){v+=(v?'&':'')+s.sqq[x]+'='+s.ape(x);c++}return s.c_w(k,v,0)};s.wdl=new Function('e','var s=s_c_il['+s._in+'],"+'r=true,b=s.eh(s.wd,"onload"),i,o,oc;if(b)r=this[b](e);for(i=0;i=0)&&oc.i'+ 'ndexOf(".tl(")<0)s.eh(o,"onclick",0,s.lc);}return r\');s.wds=function(){var s=this;if(s.apv>3&&(!s.isie||!s.ismac||s.apv>=5)){if(s.b&&s.b.attachEvent)s.b.attachEvent(\'onclick\',s.bc);else if(s.b&'+"&s.b.addEventListener){if(s.n&&s.n.userAgent.indexOf('WebKit')>=0&&s.d.createEvent){s.bbc=1;s.useForcedLinkTracking=1;s.b.addEventListener('click',s.bc,true)}s.b.addEventListener('click',s.bc,false"+")}else s.eh(s.wd,'onload',0,s.wdl)}};s.vs=function(x){var s=this,v=s.visitorSampling,g=s.visitorSamplingGroup,k='s_vsn_'+s.un+(g?'_'+g:''),n=s.c_r(k),e=new Date,y=e.getYear();e.setYear(y+10+(y<1900"+ "?1900:0));if(v){v*=100;if(!n){if(!s.c_w(k,x,e))return 0;n=x}if(n%10000>v)return 0}return 1};s.dyasmf=function(t,m){if(t&&m&&m.indexOf(t)>=0)return 1;return 0};s.dyasf=function(t,m){var s=this,i=t?t"+".indexOf('='):-1,n,x;if(i>=0&&m){var n=t.substring(0,i),x=t.substring(i+1);if(s.pt(x,',','dyasmf',m))return n}return 0};s.uns=function(){var s=this,x=s.dynamicAccountSelection,l=s.dynamicAccountLis"+"t,m=s.dynamicAccountMatch,n,i;s.un=s.un.toLowerCase();if(x&&l){if(!m)m=s.wd.location.host;if(!m.toLowerCase)m=''+m;l=l.toLowerCase();m=m.toLowerCase();n=s.pt(l,';','dyasf',m);if(n)s.un=n}i=s.un.ind"+ "exOf(',');s.fun=i<0?s.un:s.un.substring(0,i)};s.sa=function(un){var s=this;if(s.un&&s.mpc('sa',arguments))return;s.un=un;if(!s.oun)s.oun=un;else if((','+s.oun+',').indexOf(','+un+',')<0)s.oun+=','+"+"un;s.uns()};s.m_i=function(n,a){var s=this,m,f=n.substring(0,1),r,l,i;if(!s.m_l)s.m_l=new Object;if(!s.m_nl)s.m_nl=new Array;m=s.m_l[n];if(!a&&m&&m._e&&!m._i)s.m_a(n);if(!m){m=new Object,m._c='s_m'"+";m._in=s.wd.s_c_in;m._il=s._il;m._il[m._in]=m;s.wd.s_c_in++;m.s=s;m._n=n;m._l=new Array('_c','_in','_il','_i','_e','_d','_dl','s','n','_r','_g','_g1','_t','_t1','_x','_x1','_rs','_rr','_l');s.m_l[n"+ "]=m;s.m_nl[s.m_nl.length]=n}else if(m._r&&!m._m){r=m._r;r._m=m;l=m._l;for(i=0;i=0)x(s);else s.m_m("x",n,x,e)}m=s.m_i(n,1);if(m._dl)m._dl=m._d'+ "=0;s.dlt();return f');s.m_m=function(t,n,d,e){t='_'+t;var s=this,i,x,m,f='_'+t,r=0,u;if(s.m_l&&s.m_nl)for(i=0;i=0){if(d&&e)u=m[t](d,e);else if(d)u=m[t](d);else u=m[t]()}}if(u)r=1;u=m[t+1];if(u&&!m[f]){if((''+u).indexOf('function')>=0){if(d&&e)u=m[t+1](d,e);else if(d)u=m[t+1](d);else u=m[t+1]()}"+"}m[f]=1;if(u)r=1}}return r};s.m_ll=function(){var s=this,g=s.m_dl,i,o;if(g)for(i=0;i=0){g=n.substring(i+1);n=n.substring(0,i)}else g=\"m_\"+n;m=s.m_i(n)}if((l||(n&&!s.m_a(n,g)))&&u&&s.d&&c&&s.d.createElement){"+"if(d){m._d=1;m._dl=1}if(ln){if(s.ssl)u=s.rep(u,'http:','https:');i='s_s:'+s._in+':'+n+':'+g;b='var s=s_c_il['+s._in+'],o=s.d.getElementById(\"'+i+'\");if(s&&o){if(!o.l&&s.wd.'+g+'){o.l=1;if(o.i)cle"+"arTimeout(o.i);o.i=0;s.m_a(\"'+n+'\",\"'+g+'\"'+(e?',\"'+e+'\"':'')+')}';f2=b+'o.c++;if(!s.maxDelay)s.maxDelay=250;if(!o.l&&o.c<(s.maxDelay*2)/100)o.i=setTimeout(o.f2,100)}';f1=new Function('e',b+'"+ "}');tcf=new Function('s','c','i','u','f1','f2','var e,o=0;try{o=s.d.createElement(\"script\");if(o){o.type=\"text/javascript\";'+(n?'o.id=i;o.defer=true;o.onload=o.onreadystatechange=f1;o.f2=f2;o.l"+"=0;':'')+'o.src=u;c.appendChild(o);'+(n?'o.c=0;o.i=setTimeout(f2,100)':'')+'}}catch(e){o=0}return o');o=tcf(s,c,i,u,f1,f2)}else{o=new Object;o.n=n+':'+g;o.u=u;o.d=d;o.l=l;o.e=e;g=s.m_dl;if(!g)g=s.m"+"_dl=new Array;i=0;while(i=s.maxDelay){s.dll[i]=0"+";s.t(vo)}else f=1}}if(s.dli)clearTimeout(s.dli);s.dli=0;if(f){if(!s.dli)s.dli=setTimeout(s.dlt,s.maxDelay)}else s.dll=0');s.dl=function(vo){var s=this,d=new Date;if(!vo)vo=new Object;s.vob(vo);vo._"+ "t=d.getTime();if(!s.dll)s.dll=new Array;s.dll[s.dll.length]=vo;if(!s.maxDelay)s.maxDelay=250;s.dlt()};s.gfid=function(){var s=this,d='0123456789ABCDEF',k='s_fid',fid=s.c_r(k),h='',l='',i,j,m=8,n=4,"+"e=new Date,y;if(!fid||fid.indexOf('-')<0){for(i=0;i<16;i++){j=Math.floor(Math.random()*m);h+=d.substring(j,j+1);j=Math.floor(Math.random()*n);l+=d.substring(j,j+1);m=n=16}fid=h+'-'+l;}y=e.getYear()"+";e.setYear(y+2+(y<1900?1900:0));if(!s.c_w(k,fid,e))fid=0;return fid};s.applyADMS=function(){var s=this,vb=new Object;if(s.wd.ADMS&&!s.visitorID&&!s.admsc){if(!s.adms)s.adms=ADMS.getDefault();if(!s."+ "admsq){s.visitorID=s.adms.getVisitorID(new Function('v','var s=s_c_il['+s._in+'],l=s.admsq,i;if(v==-1)v=0;if(v)s.visitorID=v;s.admsq=0;if(l){s.admsc=1;for(i=0;i=5)j='1.4';if(pn.toPrecision){j='1.5';a=new Array;if(a.forEach){j='1.6';i=0;o=new Object;tcf=new Function('o','var e,i=0;try{i"+ "=new Iterator(o)}catch(e){}return i');i=tcf(o);if(i&&i.next){j='1.7';if(a.reduce){j='1.8';if(j.trim){j='1.8.1';if(Date.parse){j='1.8.2';if(Object.create)j='1.8.5'}}}}}}}}}if(s.apv>=4)x=screen.width"+"+'x'+screen.height;if(s.isns||s.isopera){if(s.apv>=3){v=s.n.javaEnabled()?'Y':'N';if(s.apv>=4){c=screen.pixelDepth;bw=s.wd.innerWidth;bh=s.wd.innerHeight}}s.pl=s.n.plugins}else if(s.isie){if(s.apv>"+"=4){v=s.n.javaEnabled()?'Y':'N';c=screen.colorDepth;if(s.apv>=5){bw=s.d.documentElement.offsetWidth;bh=s.d.documentElement.offsetHeight;if(!s.ismac&&s.b){tcf=new Function('s','tl','var e,hp=0;try{s"+ '.b.addBehavior("#default#homePage");hp=s.b.isHomePage(tl)?"Y":"N"}catch(e){}return hp\');hp=tcf(s,tl);tcf=new Function(\'s\',\'var e,ct=0;try{s.b.addBehavior("#default#clientCaps");ct=s.b.conne'+"ctionType}catch(e){}return ct');ct=tcf(s)}}}else r=''}if(s.pl)while(pn=0&&oc.indexOf('.s_oc(')<0)||oc.indexOf('.tl(')>=0)o="+ "0}}if(o){if(n)ta=o.target;h=s.oh(o);i=h.indexOf('?');h=s.linkLeaveQueryString||i<0?h:h.substring(0,i);l=s.linkName;t=s.linkType?s.linkType.toLowerCase():s.lt(h);if(t&&(h||l)){s.pe='lnk_'+(t=='d'||t"+"=='e'?t:'o');s.pev1=(h?s.ape(h):'');s.pev2=(l?s.ape(l):'')}else trk=0;if(s.trackInlineStats){if(!p){p=s.pageURL;w=0}t=s.ot(o);i=o.sourceIndex;if(o.dataset&&o.dataset.sObjectId){s.wd.s_objectID=o.da"+"taset.sObjectId;}else if(o.getAttribute&&o.getAttribute('data-s-object-id')){s.wd.s_objectID=o.getAttribute('data-s-object-id');}else if(s.useForcedLinkTracking){s.wd.s_objectID='';oc=o.onclick?''+"+ "o.onclick:'';if(oc){var ocb=oc.indexOf('s_objectID'),oce,ocq,ocx;if(ocb>=0){ocb+=10;while(ocb=0)ocb++;if(ocb=0);s.d=docum"+"ent;s.b=s.d.body;if(s.d.getElementsByTagName){s.h=s.d.getElementsByTagName('HEAD');if(s.h)s.h=s.h[0]}s.n=navigator;s.u=s.n.userAgent;s.ns6=s.u.indexOf('Netscape6/');var apn=s.n.appName,v=s.n.appVer"+ "sion,ie=v.indexOf('MSIE '),o=s.u.indexOf('Opera '),i;if(v.indexOf('Opera')>=0||o>0)apn='Opera';s.isie=(apn=='Microsoft Internet Explorer');s.isns=(apn=='Netscape');s.isopera=(apn=='Opera');s.ismac="+"(s.u.indexOf('Mac')>=0);if(o>0)s.apv=parseFloat(s.u.substring(o+6));else if(ie>0){s.apv=parseInt(i=v.substring(ie+5));if(s.apv>3)s.apv=parseFloat(i)}else if(s.ns6>0)s.apv=parseFloat(s.u.substring(s"+".ns6+10));else s.apv=parseFloat(v);s.em=0;if(s.em.toPrecision)s.em=3;else if(String.fromCharCode){i=escape(String.fromCharCode(256)).toUpperCase();s.em=(i=='%C4%80'?2:(i=='%U0100'?1:0))}if(s.oun)s."+ "sa(s.oun);s.sa(un);s.vl_l='timestamp,dynamicVariablePrefix,visitorID,fid,vmk,visitorMigrationKey,visitorMigrationServer,visitorMigrationServerSecure,ppu,charSet,visitorNamespace,cookieDomainPeriods"+",cookieLifetime,pageName,pageURL,referrer,contextData,currencyCode,lightProfileID,lightStoreForSeconds,lightIncrementBy,retrieveLightProfiles,deleteLightProfiles,retrieveLightData';s.va_l=s.sp(s.vl"+"_l,',');s.vl_mr=s.vl_m='timestamp,charSet,visitorNamespace,cookieDomainPeriods,cookieLifetime,contextData,lightProfileID,lightStoreForSeconds,lightIncrementBy';s.vl_t=s.vl_l+',variableProvider,chan"+ "nel,server,pageType,transactionID,purchaseID,campaign,state,zip,events,events2,products,linkName,linkType';var n;for(n=1;n<=75;n++){s.vl_t+=',prop'+n+',eVar'+n;s.vl_m+=',prop'+n+',eVar'+n}for(n=1;n"+"<=5;n++)s.vl_t+=',hier'+n;for(n=1;n<=3;n++)s.vl_t+=',list'+n;s.va_m=s.sp(s.vl_m,',');s.vl_l2=',tnt,pe,pev1,pev2,pev3,resolution,colorDepth,javascriptVersion,javaEnabled,cookiesEnabled,browserWidth,"+"browserHeight,connectionType,homepage,pageURLRest,plugins';s.vl_t+=s.vl_l2;s.va_t=s.sp(s.vl_t,',');s.vl_g=s.vl_t+',trackingServer,trackingServerSecure,trackingServerBase,fpCookieDomainPeriods,disab"+ "leBufferedRequests,mobile,visitorSampling,visitorSamplingGroup,dynamicAccountSelection,dynamicAccountList,dynamicAccountMatch,trackDownloadLinks,trackExternalLinks,trackInlineStats,linkLeaveQuerySt"+"ring,linkDownloadFileTypes,linkExternalFilters,linkInternalFilters,linkTrackVars,linkTrackEvents,linkNames,lnk,eo,lightTrackVars,_1_referrer,un';s.va_g=s.sp(s.vl_g,',');s.pg=pg;s.gl(s.vl_g);s.conte"+"xtData=new Object;s.retrieveLightData=new Object;if(!ss)s.wds();if(pg){s.wd.s_co=function(o){return o};s.wd.s_gs=function(un){s_gi(un,1,1).t()};s.wd.s_dc=function(un){s_gi(un,1).t()}}", b=window,e=b.s_c_il,f=navigator,l=f.userAgent,f=f.appVersion,m=f.indexOf("MSIE "),n=l.indexOf("Netscape6/"),h,k,j,a;if(c){c=c.toLowerCase();if(e)for(k=0;k<2;k++)for(h=0;h0&&j=="s_l")&&(a.oun==c||a.fs&&a.sa&&a.fs(a.oun,c))){if(a.sa)a.sa(c);if(j=="s_c")return a}else a=0}}b.s_an="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";b.s_sp=new Function("x","d","var a=new Array,i=0,j;if(x){if(x.split)a=x.split(d);else if(!d)for(i=0;i=0){j=x.indexOf(d,i);a[a.length]=x.subst"+ "ring(i,j<0?x.length:j);i=j;if(i>=0)i+=d.length}}return a");b.s_jn=new Function("a","d","var x='',i,j=a.length;if(a&&j>0){x=a[0];if(j>1){if(a.join)x=a.join(d);else for(i=1;i0){d=x.substring(0,i);x=x.substring(i+2);l=s_sp(l,'');for(i=0;i<62;i++)l2[l[i]]=i;t=s_sp(t,'');d"+"=s_sp(d,'~');i=0;while(i<5){v=0;if(x.indexOf(t[i])>=0) {x2=s_sp(x,t[i]);for(j=1;j=0)x=s_rep(x,w,t[i]);i++;b+=62}}}return x");b.s_fe=new Function("c","return s_rep(s_rep(s_rep(c,'\\\\','\\\\\\\\'),'\"','\\\\\"'),\"\\n\",\"\\\\n\")");b.s_fa=new Function("f","var s=f.indexOf('(')+1,e=f.indexOf(')'),a='',c;while(s>=0&&s=0){s++;d=1;q='';x=0;f=c.substring(s);a=s_fa(f);e=o=c.indexOf('{',s);e++;while(d>0){h=c.substring(e,e+1);if(q){i"+ "f(h==q&&!x)q='';if(h=='\\\\')x=x?0:1;else x=0}else{if(h=='\"'||h==\"'\")q=h;if(h=='{')d++;if(h=='}')d--}if(d>0)e++}c=c.substring(0,s)+'new Function('+(a?a+',':'')+'\"'+s_fe(c.substring(o+1,e))+'\")"+"'+c.substring(e+1);s=c.indexOf('=function(')}return c;");d=s_d(d);if(m>0){e=parseInt(h=f.substring(m+5));if(e>3)e=parseFloat(h)}else if(n>0)e=parseFloat(l.substring(n+10));else e=parseFloat(f);if(e<5||f.indexOf("Opera")>=0||l.indexOf("Opera")>=0)d=s_ft(d);if(!a){a=new Object;if(!b.s_c_in){b.s_c_il=new Array; b.s_c_in=0}a._il=b.s_c_il;a._in=b.s_c_in;a._il[a._in]=a;b.s_c_in++}a._c="s_c";(new Function("s","un","pg","ss",d))(a,c,i,g);return a}function s_giqf(){var c=window,i=c.s_giq,g,d,b;if(i)for(g=0;gdsts&&cd30){mint='30'}if(thish>=12){ap='PM';thish=thish-12};"+"if (thish==0){thish=12};if(thisd==6||thisd==0){dt='Weekend'};"+"var timestring=thish+':'+mint+ap;if(t=='h'){return timestring}"+"if(t=='d'){return dow};if(t=='w'){return dt}}};");a.Hcode.currentYear=(new Date).getFullYear();var b= 7-(new Date("03/01/"+a.Hcode.currentYear)).getDay()+7+1,c=(7-(new Date("11/01/"+a.Hcode.currentYear)).getDay())%7+1;a.Hcode.dstStart="03/"+b+"/"+a.Hcode.currentYear;a.Hcode.dstEnd="11/"+c+"/"+a.Hcode.currentYear})(btg);if(typeof btg.Hcode==="object")btg.Hcode.getValOnce=new Function("v","c","e",""+"var s=this,k=s.c_r(c),a=new Date;e=e?e:0;if(v){a.setTime(a.getTime("+")+e*86400000);s.c_w(c,v,e?a:0);}return v==k?'':v");if(typeof btg.Hcode==="object"){btg.Hcode.getPreviousValue=new Function("v","c","el",""+"var s=this,t=new Date,i,j,r='';t.setTime(t.getTime()+1800000);if(el"+"){if(s.events){i=split(el,',');j=split(s.events,',');for(x in i"+"){for(y in j){if(i[x]==j[y]){if(s.c_r(c)) r=s.c_r(c);v?s.c_w(c,v,t)"+":s.c_w(c,'no value',t);return r}}}}}else{if(s.c_r(c)) r=s.c_r(c);v?"+"s.c_w(c,v,t):s.c_w(c,'no value',t);return r}");var split=new Function("l","d",""+"var i,x=0,a=new Array;while(l){i=l.indexOf(d);i=i>-1?i:l.length;a[x"+ "++]=l.substring(0,i);l=l.substring(i+d.length);}return a")};if(typeof btg.Hcode==="object"){btg.Hcode.getPercentPageViewed=new Function("",""+"var s=this;if(typeof(s.linkType)=='undefined'||s.linkType=='e'){var"+" v=s.c_r('s_ppv');s.c_w('s_ppv',0);return v;}");btg.Hcode.getPPVCalc=new Function("",""+"var s=s_c_il["+btg.Hcode._in+"],dh=Math.max(Math.max(s.d.body.scrollHeight,"+"s.d.documentElement.scrollHeight),Math.max(s.d.body.offsetHeight,s."+"d.documentElement.offsetHeight),Math.max(s.d.body.clientHeight,s.d."+"documentElement.clientHeight)),vph=s.wd.innerHeight||(s.d.documentE"+ "lement.clientHeight||s.d.body.clientHeight),st=s.wd.pageYOffset||(s"+".wd.document.documentElement.scrollTop||s.wd.document.body.scrollTo"+"p),vh=st+vph,pv=Math.round(vh/dh*100),cp=s.c_r('s_ppv');if(pv>100){"+"s.c_w('s_ppv','');}else if(pv>cp){s.c_w('s_ppv',pv);}");btg.Hcode.getPPVSetup=new Function("",""+"var s=this;if(s.wd.addEventListener){s.wd.addEventListener('load',s"+".getPPVCalc,false);s.wd.addEventListener('scroll',s.getPPVCalc,fals"+"e);s.wd.addEventListener('resize',s.getPPVCalc,false);}else if(s.wd"+ ".attachEvent){s.wd.attachEvent('onload',s.getPPVCalc);s.wd.attachEv"+"ent('onscroll',s.getPPVCalc);s.wd.attachEvent('onresize',s.getPPVCa"+"lc);}");btg.Hcode.getPPVSetup()};if(typeof btg.Hcode==="object"){btg.Hcode.getQueryParam=new Function("p","d","u",""+"var s=this,v='',i,t;d=d?d:'';u=u?u:(s.pageURL?s.pageURL:s.wd.locati"+"on);if(u=='f')u=s.gtfs().location;while(p){i=p.indexOf(',');i=i<0?p"+".length:i;t=s.p_gpv(p.substring(0,i),u+'');if(t){t=t.indexOf('#')>-"+"1?t.substring(0,t.indexOf('#')):t;}if(t)v+=v?d+t:t;p=p.substring(i="+"=p.length?i:i+1)}return v");btg.Hcode.p_gpv=new Function("k","u",""+"var s=this,v='',i=u.indexOf('?'),q;if(k&&i>-1){q=u.substring(i+1);v"+ "=s.pt(q,'&','p_gvf',k)}return v");btg.Hcode.p_gvf=new Function("t","k",""+"if(t){var s=this,i=t.indexOf('='),p=i<0?t:t.substring(0,i),v=i<0?'T"+"rue':t.substring(i+1);if(p.toLowerCase()==k.toLowerCase())return s."+"epa(v)}return ''")};if(typeof btg.Hcode==="object")if(btg.Hcode.getQueryParam("appvi")){btg.Hcode.new_vi_date=new Date;btg.Hcode.new_vi_date.setFullYear(btg.Hcode.new_vi_date.getFullYear()+5);btg.Hcode.c_w("app_vi",btg.Hcode.getQueryParam("appvi"),btg.Hcode.new_vi_date);btg.Hcode.visitorID=btg.Hcode.c_r("app_vi")}else if(btg.Hcode.c_r("app_vi"))btg.Hcode.visitorID=btg.Hcode.c_r("app_vi");if(typeof btg.Hcode==="object"&&btg.config.OmnitureIntegrate&&btg.config.OmnitureIntegrate.enabled){btg.Hcode.loadModule("Integrate");btg.Hcode.Integrate.onLoad=function(){var b=btg.config.OmnitureIntegrate.account,e=btg.config.Omniture.account;if(!btg.config.Omniture.enableFirstPartyCookie&&btg.config.Omniture.enableVisitorNamespace&&b&&e.indexOf(b)==-1){btg.Hcode.Integrate.add("CopyHit");var c=0;btg.Hcode.Integrate.CopyHit.useVars=function(d,f){var a="",g=btg.Environment.getCnamedDomain();if(c== 0)a=window["s_i_"+d.visitorNamespace].src;else a=window["s_i_"+d.visitorNamespace+"_"+c].src;a=a.replace(d.visitorNamespace+".112.2o7.net",g);a=a.replace(e,b);f.beacon(a);c++}}};btg.Hcode.m_Integrate_c="var m=s.m_i('Integrate');m.add=function(n,o){var m=this,p;if(!o)o='s_Integrate_'+n;if(!m.s.wd[o])m.s.wd[o]=new Object;m[n]=new Object;p=m[n];p._n=n;p._m=m;p._c=0;p._d=0;p.disable=0;p"+".get=m.get;p.delay=m.delay;p.ready=m.ready;p.beacon=m.beacon;p.script=m.script;m.l[m.l.length]=n};m._g=function(t){var m=this,s=m.s,i,p,f=(t?'use':'set')+'Vars',tcf;for(i=0;i=5&&(!s.isopera||s.apv>=7)){tcf=new Function('s','p','f','var e;try{p[f](s,p)}catch(e){}');tcf(s,p,f)}else p[f](s,p)}}};m._t=function(){this._g(1)};m._fu=func"+"tion(p,u){var m=this,s=m.s,v,x,y,z,tm=new Date;if(u.toLowerCase().substring(0,4) != 'http')u='http://'+u;if(s.ssl)u=s.rep(u,'http:','https:');p.RAND=Math&&Math.random?Math.floor(Math.random()*10000"+"000000000):tm.getTime();p.RAND+=Math.floor(tm.getTime()/10800000)%10;x=0;while(x>=0){x=u.indexOf('[',x);if(x>=0){y=u.indexOf(']',x);if(y>x){z=u.substring(x+1,y);if(z.length>2&&z.substring(0,2)=='s."+ "'){v=s[z.substring(2)];if(!v)v=''}else{v=''+p[z];if(!(v==p[z]||parseFloat(v)==p[z]))z=0}if(z) {u=u.substring(0,x)+s.rep(escape(v),'+','%2B')+u.substring(y+1);x=y-(z.length-v.length+1)} else {x=y}}}"+"}return u};m.get=function(u,v){var p=this,m=p._m;if(!p.disable){if(!v)v='s_'+m._in+'_Integrate_'+p._n+'_get_'+p._c;p._c++;p.VAR=v;p._d++;m.s.loadModule('Integrate:'+v,m._fu(p,u),0,1,p._n)}};m.delay"+"=function(){var p=this;if(p._d<=0)p._d=1};m.ready=function(){var p=this,m=p._m;p._d=0;if(!p.disable)m.s.dlt()};m._d=function(){var m=this,i,p;for(i=0;i0)return 1}return 0};m._x=function(d,n){var p=this[n],x;if(!p.disable){for(x in d)if(x&&(!Object||!Object.prototype||!Object.prototype[x]))p[x]=d[x];p._d--}};m.beacon=function(u){var p=this,m"+"=p._m,s=m.s,imn='s_i_'+m._in+'_Integrate_'+p._n+'_'+p._c,im;if(!p.disable&&s.d.images&&s.apv>=3&&(!s.isopera||s.apv>=7)&&(s.ns6<0||s.apv>=6.1)){p._c++;im=s.wd[imn]=new Image;im.src=m._fu(p,u)}};m.s"+"cript=function(u){var p=this,m=p._m;if(!p.disable)m.s.loadModule(0,m._fu(p,u),0,1)};m.l=new Array;if(m.onLoad)m.onLoad(s,m)"; btg.Hcode.m_i("Integrate")};btg.Loadtime={initTime:Number(new Date),initFlag:0,timeRangeArr:[0,0.9,2.9,4.9,6.9,9.9,12.9,15.9,19.9,24.9,30],reportURL:"http://{suiteName}.112.2o7.net/b/ss/{suiteName}/1/H.1-pdv-2/{ord}?pageName={siteName}&c11=PLAYER-LOAD-TEST&c12={delta}&events=event1&products=;;;;event1={playerLoadTime}",suiteName:"viarnd",siteNameVal:"media.mtvnservices.com",timerStateCheck:function(a){if(typeof siteName!="undefined")this.siteNameVal=siteName;if(a=="connected"&&this.initFlag==0){this.initFlag++;var d=a=(Number(new Date)- this.initTime)/1E3,a=a>30?30:a,c=0;switch(a){case 0:c="0-1";break;case 30:c="30";break;default:for(var b=1,e=this.timeRangeArr.length;b=a){c=Math.ceil(this.timeRangeArr[b-1])+"-"+Math.ceil(this.timeRangeArr[b]);break}}this.reportURL=this.reportURL.replace(/http:/,"https:"==document.location.protocol?"https:":"http:").replace(/\{suiteName\}/g,this.suiteName).replace(/\{ord\}/,Math.floor(Math.random()*1E12)).replace(/\{siteName\}/g,this.siteNameVal).replace(/\{delta\}/, c).replace(/\{playerLoadTime\}/,d);(new Image).src=this.reportURL}}};btg.MediaPlayer={context:null,playerCommandQueue:null,isBrightcove:false,isPlayerAvailable:false,isHtml5:false,html5MetaData:{},init:function(a){this.context=a;this.playerCommandQueue=new btg.QueueManager({id:"btg.MediaPlayer.playerCommandQueue",timeToWait:100,maxNumItems:10,maxElapsed:1E3,handler:this.execute})},playStarted:false,players:[],addPlayer:function(a,b){var c=this.isHtml5?a.id:a;this.players[c]=new this.Player(a,b);return this.players[c]},setEndSlateClick:function(a){var b=btg.Cookie.set; b("mtvn_btg_esclicked",a)},getEndSlateClick:function(){return btg.Cookie.read("mtvn_btg_esclicked")},PlayerController:function(a,b){return this.addPlayer(a,b)},pause:function(){var a=btg.MediaPlayer,b;for(b in a.players)if(a.players.hasOwnProperty(b))a.players[b].player.pause()},unpause:function(){var a=btg.MediaPlayer,b;for(b in a.players)if(a.players.hasOwnProperty(b))if(a.players[b].player.unpause)a.players[b].player.unpause();else if(a.players[b].player.play)a.players[b].player.play()},execute:function(a){var b= btg.MediaPlayer;if(b.playStarted||b.isPlayerAvailable)switch(a){case "unpause":b.unpause();break;case "pause":b.pause()}else b.playerCommandQueue.queue.push(a)},reportingInit:function(){try{btg.config.Omniture.videoViewEventDisable=true;btg.Demdex.sendIdSyncCall()}catch(a){}},getFirstPartyServer:function(){var a=null;if(btg.config.Omniture.enableFirstPartyCookie)a=btg.Environment.getCnamedDomain();return a},getVmnUUID:function(){return btg.Cookie.read("vmn_uuid")},setDemdexFWSegment:function(){var a= btg.Demdex.getFWSegment(),b=btg.MediaPlayer;if(a)for(var c in b.players)if(b.players.hasOwnProperty(c)&&b.players[c].player&&b.players[c].player.setDemdexFWSegment)b.players[c].player.setDemdexFWSegment(a)},Player:function(a,b){var c=btg.Controller,g=btg.Cookie,f=btg.MediaPlayer,i=btg.config;this.playerId=this.isHtml5?a.id:a;this.player=this.lastGuid=null;this.playerLoaded=false;this.onLoaded=function(){this.player=f.getPlayerObject(a);this.playerLoaded=true;if(!btg.MediaPlayer.isBrightcove){f.addListeners(this.player); if(typeof window[b]=="function")b(this)}btg.MediaPlayer.isPlayerAvailable=true};this.onDump=function(){};this.dump=function(){var a="";if(this.playerLoaded)a=this.player.getLogDump();else a="player not loaded";this.onDump(a)};this.onPlayHeadUpdate=function(a){a=f.isHtml5?a.data:a;if((a=a==-1||a==null||typeof a=="undefined"?1.5:a)&&a>1)if(!f.playStarted){f.playStarted=true;f.playerCommandQueue.init()}};this.onMetaData=function(a){if(btg.MediaPlayer.isHtml5)try{html5MetaData=a={guid:a.data.rss.guid, contentType:a.data.rss.group.categories.contentType}}catch(b){}if(location.search.match(/showMetaData\=true/)){str="";for(m in a)str+=m+": "+a[m]+"\n";alert(this.lastGuid+"\n\n\n"+str)}var d="",e=document.location.search,h=e.toLowerCase().indexOf("xrs=mpes_")!=-1?true:false,j=a.contentType==="c3_adpod";if(h)for(var e=e.replace(/^\?/g,"").split("&"),h=0,k=e.length;h 0)b=this.getElementsByTagName("q")[0].innerHTML;if(this.getAttribute("flashVars"))b=this.getAttribute("flashVars");if(d==0){var f=this.getElementsByTagName("img")[0];d=f.height;e=f.width}pOver=document.getElementById(this.m.overIdName);this.removeChild(pOver);pUp=document.getElementById(this.m.upIdName);this.removeChild(pUp);for(var f=this.getElementsByTagName("img"),h=0,g=f.length;h0)c="timeout:"+c.data.timeout;else return;else c=g.isDefined(c.data)?c.data:"";if(d[b].isPiggybacking)e.set("btg_embed_api_"+b,c);else{a[d[b].reporting]=c;a.linkName=b;h.sendLinkEvent(a)}})};window._mtvnPlayerReady=window._mtvnPlayerReady||[];window._mtvnPlayerReady.push(function(b){btg.EmbedAPI.setupListeners(b)}); return{setupListeners:function(b){for(var a in d)if(d.hasOwnProperty(a))i(a,b)},init:function(){},run:function(b){var a,c,f;for(a in d)if(d.hasOwnProperty(a)&&d[a].isPiggybacking){c="btg_embed_api_"+a;f=e.read(c);if(f!=null){b[d[a].reporting]=f;e.remove(c)}}return b}}}();btg.Facebook=new function(){var b=null;this.init=function(){if(!btg.Object.isConfigDefined(btg.config.Facebook))return false;d()};this.onCommented=function(){var a={linkName:"Community - Comment",events:"event88",eVar65:"Using non-flux solution -- no Content ID"};if(typeof window.Widgets4Context!="undefined")a.eVar51="facebook";var c;if(!b)b=btg.ReportingManager.getOmniture().getAttribute("pageName");c=b;a.linkType="o";a.eVar60=c;a.pageName=c;btg.Controller.sendLinkEvent(a)};var d=function(){if(typeof FB!= "undefined")FB.Event.subscribe("comment.create",function(){btg.Facebook.onCommented()})}}; //Attempting to include CODA/builds/3/Ads_DFP.js btg.AdManager=function(){return{init:function(){btg.DoubleClick.init();return this},getAdUrl:function(){btg.Error.log("CODA: DFP ads implementation does not support getAdUrl() method - for On Demand ads implementation use createAd() method instead");return null},placeAd:function(a){var b=a.containerDOMID?a.containerDOMID:document.body;if(btg.isDOMLoaded){btg.config.DoubleClick.onDemand=true;return btg.DoubleClick.createAd(a,b)}else return btg.DoubleClick.writeAdSlot(a)}}}();btg.SurrogateAd=new function(){var b={poe:{size:"6x6",cookieName:"vmn_poe",contentType:"adj",position:"atf",isAllowed:function(){if(typeof btg.config.enablePOE=="undefined"||!btg.config.enablePOE)return false;if(typeof btg.config.DoubleClick.keyValues!="undefined"&&/\!category\=poe/.test(btg.config.DoubleClick.keyValues))return false;return true},setKeyValues:function(){if(typeof btg.config.LocalAdvisory=="undefined"||!btg.config.LocalAdvisory.enabled)return;if(!btg.Number.isInt(btg.config.LocalAdvisory.phase)|| btg.config.LocalAdvisory.phase==0)return;if(/vmn_la_freq=1/.test(document.cookie))return;var a=new Date,b=a.getTime()+7200*1E3;a.setTime(b);document.cookie="vmn_la_freq=1"+"; expires="+a.toGMTString()+"; path=/";if(btg.config.LocalAdvisory.useStaticCreative){if(a=document.getElementById(btg.config.LocalAdvisory.staticCreativeDomID)){a.style.display="block";a.style.visibility="visible"}return}a=location.hostname;if(/^www./i.test(a))a=a.substring(4);btg.AdManager.addKeyValues("host="+a);btg.AdManager.addKeyValues("phase="+ btg.config.LocalAdvisory.phase);if(typeof vmn_btg_ESIVars!="undefined")btg.AdManager.addKeyValues("provider="+vmn_btg_ESIVars.asnum)}}};this.load=function(a){if(!btg.Object.isConfigDefined(btg.config.DoubleClick))return;btg.Controller.init();if(btg.String.isDefined(a)&&btg.Object.isDefined(b[a])&&btg.Object.isConfigDefined(btg.config.DoubleClick)){a=b[a];if(typeof a.isAllowed!="undefined"&&!a.isAllowed())return;if(typeof a.setKeyValues=="function")a.setKeyValues();a.isSurrogate=true;if(btg.String.isDefined(a.cookieName)){if(!btg.String.isDefined(btg.Cookie.read(a.cookieName))){if(btg.config.hasAdsDFP)btg.DoubleClick.setSurrogateAd(a); else btg.AdManager.placeAd(a);btg.Cookie.set(a.cookieName,a.size)}}else btg.AdManager.placeAd(a)}}};var googletag=googletag||{};googletag.cmd=googletag.cmd||[]; btg.DoubleClick=function(r,k){var t=btg.DOM,e=btg.String.isDefined,v=btg.Number.isInt,m=btg.Object.isDefined,w=btg.Object.isArray,x=btg.Object.isConfigDefined,u=btg.config,c=u.DoubleClick,y=false,z=true,q={trigger:false},A=false,o=btg.Error.log,L=function(){if(c.enableCountryNetworkID&&c.countryNetworkIDMap){var a=c.countryNetworkIDMap[u.detectedCountryCode];if(a)return a}return e(c.networkID)?c.networkID:"5592226"},M=btg.Environment.userAgent.isMobile||btg.Environment.userAgent.isTablet,B=3E4,C= false,D=null,n={},E=false,N={"1x1":null,"1x2":null,"3x3":null,"5x5":null,"6x6":{cookie:"vmn_poe"}},F=1,G=0,O=function(a){var b=k.createElement("script");b.async=true;b.type="text/javascript";b.src=("https:"==k.location.protocol?"https:":"http:")+"//"+a;a=k.getElementsByTagName("script")[0];a.parentNode.insertBefore(b,a)},H=function(){O("www.googletagservices.com/tag/js/gpt.js");H=function(){}},s=null,P=function(a){var b="unk";if(e(a)){a=t.getOffsetTop(k.getElementById(a));b=t.getContentVisibleHeight(); b=a<=b?"atf":"btf"}return b},Q=function(a){if(e(a))googletag.cmd.push(function(){googletag.display(a);btg.DoubleClick.createdAdsRefreshQueue.push(a);if(!btg.DoubleClick.createdAdsQueueActive){btg.DoubleClick.createdAdsQueueActive=true;r.setTimeout("btg.DoubleClick.createdAdsRefresh()",200)}})},R=function(){for(var a=btg.DoubleClick.slots,b=0,f=a.length;b64){new btg.Alert("Criteo targeting params over max length limit: "+a,2);a=a.substring(0,64);a=a.substring(0,a.lastIndexOf(";"))}return a}return null}();if(e(b))a=h(b,a)}if(btg.config.requireCOPPACompliance!=true){b=btg.Cookie.read("vmn_uuid");if(e(b))a=h("u="+b,a)}if(btg.globalvars.IS_TOP_ACCESSIBLE){b=btg.String.queryStringToObject(top.location.search.toLowerCase()).testmode;if(e(b))a=h("testmode="+b)}for(var f in a){if(!a.hasOwnProperty(f))continue; (function(a,b){googletag.cmd.push(function(){googletag.pubads().setTargeting(a,b)})})(f,a[f])}if(e(c.exclusionCategories)){googletag.cmd.push(function(){googletag.pubads().clearCategoryExclusions()});var a=c.exclusionCategories.split(","),d;for(d in a){if(!a.hasOwnProperty(d))continue;(function(a){googletag.cmd.push(function(){googletag.pubads().setCategoryExclusion(a)})})(a[d])}}},U=function(){if(typeof vmn_page_data=="undefined")return;var a="",b=false,f;for(f in vmn_page_data.mappings["ad-unit"]){if(!vmn_page_data.mappings["ad-unit"].hasOwnProperty(f))continue; if(b)a+="/";var b=true,d=vmn_page_data.mappings["ad-unit"][f];if(!e(d)){a="";o("CODA: Empty ad unit mapping at '"+f+"'.");break}if(d.charAt(0)==="@"){d=vmn_page_data.metadata[d.substring(1)];if(!e(d)){a="";o("CODA: Bad ad unit mapping at '"+f+"'.");break}d=d}a+=d}if(vmn_page_data.metadata.is_main)a+="/"+"home";if(e(a))c.adUnit=a;a="";b=e(c.keyValues);for(f in vmn_page_data.mappings["key-values"]){if(!vmn_page_data.mappings["key-values"].hasOwnProperty(f))continue;if(b)a+=";";b=true;d=vmn_page_data.mappings["key-values"][f]; if(d.charAt(0)=="@"){d=vmn_page_data.metadata[d.substring(1)];if(!e(d)&&!v(d))continue;d=d}a+=f+"="+d}if(e(a))if(e(c.keyValues))c.keyValues+=a;else c.keyValues=a;if(e(vmn_page_data.mappings["exclusion-categories"]))c.exclusionCategories=vmn_page_data.mappings["exclusion-categories"];a:{if(typeof vmn_page_data=="undefined")break a;if(m(vmn_page_data.settings)&&vmn_page_data.settings.reload){if(v(vmn_page_data.settings.reload_interval)&&vmn_page_data.settings.reload_interval>=1E4)B=vmn_page_data.settings.reload_interval; if(w(vmn_page_data.settings.slots))s=vmn_page_data.settings.slots;else s="all";if(vmn_page_data.settings.autoRefreshByVisibility===true)E=true;if(!C){C=true;D=setInterval("btg.DoubleClick.refresh();",B)}}}if(m(vmn_page_data.settings)&&vmn_page_data.settings.disableAutoSlots)y=true},h=function(a,b){if(e(a))a=a.split(";");else if(!w(a))return;if(!m(b))b={};for(var f=0,d=a.length;f0?p.split(";"):p.split(","),g=0,r=p.length;g=1E4){if(!n.hasOwnProperty(g)){n[g]=new Array;n[g].push(d)}else n[g].push(d);a.reloader=g}else if(g<0)a.reloader="off";if(x(btg.config.Rubicon)&&btg.Rubicon)l=T(size.join("x"));googletag.cmd.push(function(){var e=false,c=googletag.defineSlot(j,p, d).addService(googletag.pubads());c.el=a;if(!isNaN(D)&&isNaN(a.reloader)&&a.reloader!="off")if(s==="all")btg.DoubleClick.reloadableGroupSlots.push(c);else if(w(s))for(var g=0,h=s.length;g";k.write(a);a=k.getElementById(b);this.defineAdSlot(a);googletag.cmd.push(function(){googletag.pubads().collapseEmptyDivs();googletag.pubads().enableAsyncRendering();googletag.enableServices();googletag.display(b)});return a},appendAdSlot:function(a,b){var f=m(b)?b:e(b)?k.getElementById(b):null;if(m(f))if(m(a)){var d=a.size.replace(/,/g,"_"),d="coda_ad_"+d+"_"+F++,c=k.createElement("div");c.id=d;if(e(a.size))c.setAttribute("data-ad-sizes",a.size);else{o("CODA: Ad not placed! Missing required ad size property!"); return}if(e(a.adUnit))c.setAttribute("data-ad-unit",a.adUnit);if(e(a.keyValues))c.setAttribute("data-ad-keyValues",a.keyValues);if(e(a.reloadInterval))c.setAttribute("data-ad-reload-interval",a.reloadInterval);try{f.appendChild(c)}catch(h){o("CODA: Error creating Ad Div: "+h)}this.defineAdSlot(c);return c.id}else o("CODA: Ad not placed! Missing or invalid ad property object!");else o("CODA: Ad not placed! Invalid DOM ad container!")},resetSlotCounter:function(){G=0},refresh:function(a){var b=[];if(e(a)){var a= a.split(","),c=new Array;for(i=0;i0)b=K(btg.DoubleClick.reloadableGroupSlots);else b=K(btg.DoubleClick.slots);googletag.cmd.push(function(){googletag.pubads().refresh(b)})}else if(btg.DoubleClick.reloadableGroupSlots.length>0)googletag.cmd.push(function(){googletag.pubads().refresh(btg.DoubleClick.reloadableGroupSlots)});else googletag.cmd.push(function(){googletag.pubads().refresh()}); return this},rubiconRequestQueue:new btg.QueueManager({id:"btg.DoubleClick.rubiconRequestQueue",timeToWait:500,maxNumItems:10,maxElapsed:5E3,handler:btg.Rubicon?btg.Rubicon.makeRequest:function(){}})}}(window,document);btg.ResizeHandler=function(){var r=btg.Error.log,f,l=null,g=null,j=[],d={},h=false,k=0,m=btg.Events.AD_EXPANDED,n=btg.Events.AD_SHRUNK,o=function(a){var c=[],b=a.split(/[\;:]+/);if(b.indexOf("height")!==-1&&b.indexOf("width")!==-1){a=b[b.indexOf("height")+1];b=b[b.indexOf("width")+1];c.push(a,b);return c}else return false},s=function(a){if(!a)return;f=new MutationObserver(function(c){var b;b=g.length;var d=j.length;if(b>k&&!h){p(g);k=b}mutation=c[0];b=o(mutation.oldValue.replace(/\s/g,""))||o(c[c.length- 1].oldValue.replace(/\s/g,""));if(!b)c=mutation.target.clientHeight+"px",b=mutation.target.clientWidth+"px";else c=b[0],b=b[1];var q=parseInt(c),i=parseInt(b);if(mutation.target.clientHeight+mutation.target.clientWidth>q+i){h=true;c={type:"html5",action:"expand",width:mutation.target.clientWidth+"px",height:mutation.target.clientHeight+"px",originalWidth:b,originalHeight:c,allowOrientationChange:false,forceOrientation:false};c=JSON.stringify(c);m.fire(c)}else if(mutation.target.clientHeight+mutation.target.clientWidth< q+i){h=true;c={type:"html5",action:"close",toState:"default",width:mutation.target.clientWidth+"px",height:mutation.target.clientHeight+"px",originalWidth:b,originalHeight:c};c=JSON.stringify(c);n.fire(c)}if(h&&d>1){for(c=0;ce){h=true;e={type:"html5",action:"expand",width:b.clientWidth+"px",height:b.clientHeight+"px",originalWidth:d[a].previousWidth,originalHeight:d[a].previousHeight,allowOrientationChange:false,forceOrientation:false};e=JSON.stringify(e);m.fire(e);d[a].previousHeight=b.clientHeight+"px";d[a].previousWidth=b.clientWidth+"px"}else if(f1)r("More than one ad slot detected, functionality may not perform as desired.");p(g)}}}();btg.NativeAds=function(){var c=btg.Error.log,f=function(a){if(!a.hasOwnProperty("placeholderid")){c("##### Error: Native ad must have a placeholder id!");return}var b=document.getElementById(a.placeholderid);if(b===null){c("#### Error: placeholder element ("+a.placeholderid+") was not found, native ad can not be rendered.");return}if(a.hasOwnProperty("template")){ad=(new btg.NativeAdTemplate(a)).getHTML();b.innerHTML=ad;b.style.display="block"}else{for(var e=b.querySelectorAll("[data-ad-propid]"), d=0,f=e.length;d');var h;try{h=document.getElementById(f); var b=h.contentWindow||h.contentDocument;if(b.document)b=b.document;aax_write(b,a.html)}catch(c){if(h)h.style.display="none"}}var amzn_console=function(){var a={};a.log=function(){};return a}();if(window.console)amzn_console=window.console; var amznads=function(a,g,f,j){function h(b,c,d,e,i,l,k){this.element=b;this.impId=i;this.win=l;this.doc=k;this.area=this.end=this.start=null;this.cutoff=c;this.cutoffTime=d*1E3;this.focused=null;this.timerStarted=this.timer=false;this.getDuration=e;this.reported=false;this.above=null;this.totalTime=0;this.topPos=this.leftPos=null;h.prototype.calcArea=function(){try{var b=g.getElementsByTagName("body")[0],c=f.top.innerWidth||g.documentElement.clientWidth||b.clientWidth,d=f.top.innerHeight||g.documentElement.clientHeight|| b.clientHeight,e=a.$jQ(f).scrollTop(),i=a.$jQ(this.element).offset().top,h=a.$jQ(this.element).height(),l=a.$jQ(f).scrollLeft(),k=a.$jQ(this.element).offset().left,j=a.$jQ(this.element).width(),m=Math.min(i+h,e+d)-Math.max(i,e),m=Math.max(0,m),n=Math.min(k+j,l+c)-Math.max(k,l),n=Math.max(0,n),b=m*n,h=j*h;this.leftPos=k/a.$jQ(g).width();this.topPos=i/a.$jQ(g).height();return b/h}catch(o){a.log("calcArea failed for ad id="+this.element+"; error="+o)}return 0};h.prototype.displayTime=function(){if(this.getDuration){var b= this.end-this.start;a.log(this.element+" viewed for: "+b);this.totalTime+=b}};h.prototype.adInView=function(){a.log(this.element+" IN VIEW")};h.prototype.adNotInView=function(){a.log(this.element+" NOT IN VIEW")};h.prototype.seenForTime=function(){a.log(this.element+" displayed for "+this.cutoffTime/1E3+" seconds");a.log(" ");this.reported=true;try{encodeURIComponent(location.protocol+location.host+location.pathname)}catch(b){this.firePixel('/{"adViewability":[{"error": '+JSON.stringify(encodeURIComponent("Error encoding url - "+ b))+"}]}")}try{this.firePixel('/{"adViewability":[{"viewable": true }]}')}catch(c){a.log(c);this.firePixel('/{"adViewability":[{"error": '+JSON.stringify(encodeURIComponent("Error sending pixel - "+c))+"}]}")}};h.prototype.firePixel=function(b){(new Image).src=a.protocol+a.host+a.px_svc+this.impId+b+"&cb="+Math.round(Math.random()*1E7)};h.prototype.getAreaTime=function(){function b(){if(!e.reported)e.timer=setTimeout(function(){e.seenForTime()},e.cutoffTime)}function c(){e.adInView();e.start=new Date; b();e.timerStarted=true}function d(){clearTimeout(e.timer);e.timerStarted=false;e.end=new Date;e.adNotInView();e.displayTime()}var e=this;if(this.area==null){this.area=this.calcArea();if(this.area>this.cutoff)this.above=true;else this.above=false;try{this.firePixel('/{"adViewability":[{"above_the_fold": '+this.above+', "topPos": '+this.topPos+', "leftPos": '+this.leftPos+"}]}")}catch(i){a.log(i);this.firePixel('/{"adViewability":[{"error": '+JSON.stringify(encodeURIComponent("Error sending pixel - "+ i))+"}]}")}}var f=this.calcArea();if(g.hasFocus()&&(this.focused==false||this.focused==null)&&f>this.cutoff&&this.timerStarted==false)c();if(g.hasFocus())this.focused=true;else if(this.area>this.cutoff&&this.focused==true){d();this.focused=false}if(this.area>=this.cutoff&&f=this.cutoff)if(f>=this.cutoff&&this.timerStarted==false)c();else if(f<\/script>")};a.getAdsCallback=function(b,c,d,e,f){var g=null,f=f||{};try{if(c&&typeof c==="function")g=a.handleCallBack(c,d)}catch(h){a.log("amznads.getAdsAsyncWithCallback(): Error occured in setting up callback functionality."+h)}if(!f.to)f.to=d;a.doGetAdsAsync(b,e,f,g)};a.getAdsAsync=function(b,c,d){a.doGetAdsAsync(b,c,d)};a.handleCallBack=function(b,c){var d=false,e=null,g=function(a){if(!d){try{b(a);if(e)clearTimeout(e)}catch(c){}d= true}},h=a.getValidMilliseconds(c);if(h)e=f.setTimeout(g,h);else e=f.setTimeout(g,a.DEFAULT_TIMEOUT);return g};a.getValidMilliseconds=function(b){if(!b)return false;try{var c=~~Number(b);if(c>a.MIN_TIMEOUT)return c}catch(d){a.log("amznads.isValidMilliseconds(): Invalid timeout specified."+d);return false}return false};a.getAds=function(b,c,d,e){if(e)a.doGetAdsAsync(b,c,d);else{b=a.getScriptSource(b,c,d);a.log("amznads.getAds: Call to: "+b);aax_write(g,"