// Source: CODA/builds/atom.com/CODA.js // CODA 2.32 dated 25-Aug-2010 Wed 04:57 PM var mtvn=typeof mtvn==='object'?mtvn:{};mtvn.btg=typeof mtvn.btg==='object'?mtvn.btg:{};mtvn.btg.config=typeof mtvn.btg.config==='object'?mtvn.btg.config:{};mtvn.btg.ads=typeof mtvn.btg.ads==='object'?mtvn.btg.ads:{};mtvn.btg.ads.games=typeof mtvn.btg.ads.games==='object'?mtvn.btg.ads.games:{};mtvn.btg.ads.doubleclick=typeof mtvn.btg.ads.doubleclick==='object'?mtvn.btg.ads.doubleclick:{};mtvn.btg.ads.freewheel=typeof mtvn.btg.ads.freewheel==='object'?mtvn.btg.ads.freewheel:{};mtvn.btg.reporting=typeof mtvn.btg.reporting==='object'?mtvn.btg.reporting:{};mtvn.btg.reporting.omniture=typeof mtvn.btg.reporting.omniture==='object'?mtvn.btg.reporting.omniture:{};mtvn.btg.util=typeof mtvn.btg.util==='object'?mtvn.btg.util:{};mtvn.btg.globalvars=typeof mtvn.btg.globalvars==='object'?mtvn.btg.globalvars:{};mtvn.btg.reporting.player=typeof mtvn.btg.reporting.player==='object'?mtvn.btg.reporting.player:{};mtvn.btg.globalvars={VISITOR_NAMESPACE:"mtvn",IS_TOP_ACCESSIBLE:function(){try{return(typeof top.location.search!='unknown');}catch(e){return false;}}(),PAGE_URL:function(){try{var retVal='';retVal=self.location.pathname;if(retVal=='')retVal='/';return retVal;}catch(e){}}(),IS_UNIT_TEST:function(){try{return(location.href.toLowerCase().indexOf("/api/jsunittest/tests/")!=-1);}catch(e){return false}}(),FORCE_AD_WAIT_TIME:{PLAYER_LOADED:10000,PLAYER_FAILED:10000,PLAYER_LOAD_WAIT_TIME:10000}};mtvn.btg.Controller=new function(){var hasReporting=false;var hasAds=false;var reportingData;var adsData;var defaultPageName="";try{var aria_guid_script=window.document.createElement('script');aria_guid_script.setAttribute('src','http://btg.mtvnservices.com/aria/guid.html');var head=window.document.getElementsByTagName('head');head[0].appendChild(aria_guid_script);}catch(e){} this.init=function(){defaultPageName=(typeof mtvn.btg.globalvars.PAGE_URL=="string"&&mtvn.btg.globalvars.PAGE_URL!="")?mtvn.btg.globalvars.PAGE_URL:location.pathname;if(defaultPageName.charAt(defaultPageName.length-1)=="/"){defaultPageName+=typeof mtvn.btg.config.ReportSettings.indexFileName=="string"?mtvn.btg.config.ReportSettings.indexFileName:"index";} if(mtvn.btg.config.ReportSettings){mtvn.btg.config.ReportSettings._defaultPageName=defaultPageName;mtvn.btg.reporting.ReportingManager.init();hasReporting=true;} if(mtvn.btg.config.AdSettings){mtvn.btg.config.AdSettings.defaultPageName=defaultPageName;mtvn.btg.ads.AdManager.init();hasAds=true;} return true;};this.sendPageCall=function(data){if(hasReporting){if(typeof data=="undefined"||!data)data={};mtvn.btg.reporting.ReportingManager.sendPageCall(data);reportingData=mtvn.btg.reporting.ReportingManager.getData();}};this.sendLinkEvent=function(data){if(hasReporting){mtvn.btg.reporting.ReportingManager.sendLinkEvent(data);}};this.placeAd=function(data){if(hasAds){mtvn.btg.ads.AdManager.placeAd(data);adsData=mtvn.btg.ads.AdManager.getData();}};this.placeIFrameAd=function(adHtml,a_data){mtvn.btg.ads.AdManager.placeIFrameAd(adHtml,a_data);} this.getAdUrl=function(data){if(hasAds){return mtvn.btg.ads.AdManager.getAdUrl(data);}};};mtvn.btg.util.Beacon=function(url){this.url=url;this.data=null;};mtvn.btg.util.Beacon.prototype={setData:function(data){this.data=mtvn.btg.util.Object.toString(data,'&');},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 http=new Image(1,1);http.src=this.formatSrc();http.onload=function(){return;};http.onabort=function(){return;};http.onerror=function(){return;};}};mtvn.btg.util.Cookie={read:function(name){var name=name+"=";var ca=document.cookie.split(';');for(var i=0;i2?domain[domain.length-2]+"."+domain[domain.length-1]:document.domain;} cookie+=";domain="+domain;cookie+=";path="+(path?path:"/");document.cookie=cookie;},remove:function(name,path,domain){var cookie=name+"=";if(!domain){var domain=document.domain.split(".");domain=domain.length>2?domain[domain.length-2]+"."+domain[domain.length-1]:document.domain;} cookie+=";domain="+domain;cookie+=";path="+(path?path:"/");document.cookie=cookie;}};mtvn.btg.util.DOM={Events:{addListener:function(obj,type,fn){if(obj.attachEvent) obj.attachEvent('on'+type,fn);else if(obj.addEventListener) obj.addEventListener(type,fn,false);else obj['on'+type]=fn;},removeListener:function(obj,type,fn){if(obj.detachEvent) obj.detachEvent('on'+type,fn);else if(obj.removeEventListener) obj.removeEventListener(type,fn,false);else obj['on'+type]=null;}},loadScript:function(a_url){if(mtvn.btg.util.String.isDefined(a_url)){var scriptObj=document.createElement('script');scriptObj.setAttribute("type","text/javascript");scriptObj.setAttribute("src",a_url);document.body.appendChild(scriptObj);}}} mtvn.btg.util.Events=new function(){function _event(){this.callbacks=[];this.subscribe=function(callback){if(typeof callback=="function")this.callbacks[this.callbacks.length]=callback;};this.remove=function(callback){for(var s=0;s1){min=arguments[0];max=arguments[1];}else{min=0;max=arguments[0];} return Math.floor(Math.random()*(max-min+1)+min);}};mtvn.btg.util.Object={isDefined:function(object){return typeof object=="object"?true:false;},toString:function(object,delimiter){var delimiter=delimiter?delimiter:',';var array=[];for(var i in object){if(mtvn.btg.util.String.isDefined(object[i])){array.push(i+"="+object[i]);}} return array.join(delimiter);},copyProperties:function(a_sourceObj,a_destinationObj,a_forceOverwrite){if(this.isDefined(a_sourceObj)&&this.isDefined(a_destinationObj)){for(var i in a_sourceObj){if(this.isDefined(a_destinationObj[i])||mtvn.btg.util.String.isDefined(a_destinationObj[i])){if(a_forceOverwrite=="forceOverwrite")a_destinationObj[i]=a_sourceObj[i];} else{a_destinationObj[i]=a_sourceObj[i];}}}}};mtvn.btg.util.Sections={getAdSections:function(){var retVal=self.location.pathname;if(retVal=='')retVal='/';if(retVal.lastIndexOf("/")==(retVal.length-1)){retVal+=(mtvn.btg.util.Object.isDefined(mtvn.btg.config.AdSettings)&&mtvn.btg.util.String.isDefined(mtvn.btg.config.AdSettings.defaultIndexFileName))?mtvn.btg.config.AdSettings.defaultIndexFileName:"index";} if(retVal!='/'&&retVal.indexOf('/')==0)retVal=retVal.substring(1);return retVal;},getReportingSections:function(){return self.location.pathname;}};mtvn.btg.util.Session={Variables:{config:[],add:function(config){if(typeof config=="undefined")return false;for(var c1=0;c1-1)continue;if(cookie.length>0)cookie+=",";cookie+=current_value;} value=cookie;}} var year=new Date().getYear();var expy=neverDie?"Thu, 01-Jan-"+(year+10)+" 23:59:59 GMT":null;mtvn.btg.util.Cookie.set(cookieName,value,expy);} return mtvn.btg.util.String.isDefined(value)?value.replace(/\+/gim,";"):null;}}} mtvn.btg.util.String={isDefined:function(value){if(typeof value==='undefined'||value===null||value==''||value==='undefined'){return false;}else{return true;}},random:function(length){var chars='ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz';var string='';length=length?length:8;for(var x=0;x-1?string.split('?')[1]:string;return this.toObject(string,'&');},stripFileExtension:function(string){var lastIndex=string.lastIndexOf('.');if(lastIndex>0){return string.substring(0,lastIndex);}else{return string;}},charLtrim:function(string,character){var trimIndex=string.indexOf(character) if(trimIndex==0){string=string.substring(1);} return string;},charRtrim:function(string,character){var trimIndex=string.lastIndexOf(character);var stringLength=string.length;if(trimIndex==stringLength-1){string=string.substring(0,stringLength-1);} return string;},charTrim:function(string,character){string=this.charLtrim(string,character);string=this.charRtrim(string,character);return string;},mockItUp:function(string){string=string.replace(/[<]/g,"<");string=string.replace(/[>]/g,">");return string;},getFileName:function(a_pathString){var retVal=(mtvn.btg.util.String.isDefined(a_pathString))?a_pathString:'';retVal=retVal.substring(retVal.lastIndexOf('/')+1);return retVal;}};mtvn.btg.util.Window={getNodeLinkName:function(node){var linkName=null;for(var x=0;x";}};mtvn.btg.reporting.ComScore=function(config){var isDefined=mtvn.btg.util.String.isDefined;this.config=config;this.c1=(isDefined(this.config.c1))?this.config.c1:"2";this.c2=(isDefined(this.config.c2))?this.config.c2:"6036034";this.c3=(isDefined(this.config.c3))?this.config.c3:'';this.c4=(isDefined(this.config.c4))?this.config.c4:(mtvn.btg.util.Object.isDefined(mtvn.btg.util.Sections))?escape(mtvn.btg.util.Sections.getReportingSections()):(mtvn.btg.globalvars.IS_TOP_ACCESSIBLE)?escape(top.document.location.hostname+top.document.location.pathname):escape(document.location.hostname+document.location.pathname);this.c5=(isDefined(this.config.c5))?this.config.c5:'20000';this.c6=(isDefined(this.config.c6))?this.config.c6:'';this.c15=(isDefined(this.config.c15))?this.config.c15:'';};mtvn.btg.reporting.ComScore.prototype={sendPageCall:function(data){var isDefined=mtvn.btg.util.String.isDefined;if(typeof(data)==='object'){if(isDefined(data.comScore1))this.c1=data.comScore1;if(isDefined(data.comScore2))this.c2=data.comScore2;if(isDefined(data.comScore3))this.c3=data.comScore3;if(isDefined(data.comScore4))this.c4=data.comScore4;if(isDefined(data.comScore5))this.c5=data.comScore5;if(isDefined(data.comScore6))this.c6=data.comScore6;if(isDefined(data.comScore15))this.c15=data.comScore15;} var cs_params=["c1=",this.c1,"&c2=",this.c2,"&c3=",this.c3,"&c4=",this.c4,"&c5=",this.c5,"&c6=",this.c6,"&c15=",this.c15].join('');try{if(!mtvn.btg.globalvars.IS_UNIT_TEST&&!mtvn.btg.reporting.ReportingManager.isScriptIncluded.comscore){document.write(unescape('%3Cscript src="'+(document.location.protocol=='https:'?'https://sb':'http://b')+'.scorecardresearch.com/beacon.js?'+cs_params+'" %3E%3C/script%3E'));mtvn.btg.reporting.ReportingManager.isScriptIncluded.comscore=true;}}catch(e){}}};mtvn.btg.reporting.FluxHosted={sendCall:function(){var _chkContextObjectExists=function(){if(typeof Flux!="object"||typeof Flux.Context!="object")return false;return true;};var _chkCommunityObjectsExist=function(){if(typeof FluxReporting!="object"||typeof FluxReporting.Standard!="object")return false;return true;};var _getMemberState=function(){if(!_chkContextObjectExists())return null;return Flux.Context.isCommunityMember()?"member":"non-member";};var _getLoginState=function(){if(!_chkContextObjectExists())return null;return Flux.Context.isUserAuthenticated()?"logged-in":"not logged-in";};var _mapVars=function(){var _data={};if(!_chkContextObjectExists()&&!_chkCommunityObjectsExist())return false;var pageName=location.pathname.substring(1);pageName=pageName=="/"||pageName==""?"main.aspx":pageName;pageName=pageName.substring(0,2)=='-/'?pageName.substring(2):pageName;var pathsToTrim=["/profile","/Topic"];for(i=0;i-1){pageName=pageName.substring(0,pageName.indexOf(pathsToTrim[i])+pathsToTrim[i].length);}} _data["pageName"]=_data["hier1"]=pageName;if(_chkContextObjectExists()){_data["prop10"]=_data["eVar10"]=_getMemberState();_data["prop11"]=_data["eVar11"]=_getLoginState();};if(_chkCommunityObjectsExist()){_data["prop3"]=_data["eVar3"]=(mtvn.btg.util.String.isDefined(FluxReporting.Standard.Community_Name)?FluxReporting.Standard.Community_Name:null);_data["prop4"]=_data["eVar4"]=(mtvn.btg.util.String.isDefined(FluxReporting.Standard.Content_UCID)?FluxReporting.Standard.Content_UCID:null);_data["prop5"]=_data["eVar5"]=(mtvn.btg.util.String.isDefined(FluxReporting.Standard.Content_Title)?FluxReporting.Standard.Content_Title:null);_data["prop6"]=_data["eVar6"]=(mtvn.btg.util.String.isDefined(FluxReporting.Standard.Content_Section)?FluxReporting.Standard.Content_Section:null);_data["prop7"]=_data["eVar7"]=(mtvn.btg.util.String.isDefined(FluxReporting.Standard.Content_Page)?FluxReporting.Standard.Content_Page:null);_data["prop8"]=_data["eVar8"]=(mtvn.btg.util.String.isDefined(FluxReporting.Standard.Content_Details)?FluxReporting.Standard.Content_Details:null);_data["prop9"]=_data["eVar9"]=(mtvn.btg.util.String.isDefined(FluxReporting.Standard.Content_Subtype)?FluxReporting.Standard.Content_Subtype:null);};_data["prop12"]=_data["eVar12"]=location.host;if(typeof FluxReporting.Overrides!="undefined"){for(i in FluxReporting.Overrides){_data[i]=FluxReporting.Overrides[i];}} return _data;};var data=_mapVars();var oldConfig=mtvn.btg.config.ReportSettings;mtvn.btg.config.ReportSettings={Omniture:{enabled:true,account:'viafluxrollup',dynamicAccountSelection:'true',dynamicAccountList:'viafluxrollupdev=mtv-d,mtv-q,mtvi.com',linkInternalFilters:'javascript:,flux.com,mtvi.com,'+location.hostname,trackExternalLinks:true,trackDownloadLinks:true,isFluxHosted:true},GoogleAnalytics:{enabled:false},Comscore:{enabled:false},QuantCast:{enabled:false},Nielsen:{enabled:false}};mtvn.btg.Controller.init();mtvn.btg.Controller.sendPageCall(data);mtvn.btg.config.ReportSettings=oldConfig;return true;}};if(typeof FluxReporting!="undefined"){mtvn.btg.util.DOM.Events.addListener(window,"load",function(){mtvn.btg.reporting.FluxHosted.sendCall();})};mtvn.btg.reporting.FluxState=new function(){var _chkFluxVersion=function(){if(typeof Flux!="object"||Flux==null){return null;} else if(typeof Flux.context=="object"&&Flux.context!=null&&typeof Flux.context.user=="object"&&Flux.context.user!=null){return 3;} else if(typeof Flux.Context=="object"&&Flux.Context!=null){return 2;} return null;};var _getMemberState=function(){var fv=_chkFluxVersion();var memberState=null;switch(fv){case 3:memberState=Flux.context.user.communityMember;break;case 2:memberState=Flux.Context.isCommunityMember();break;} return memberState?"member":"non-member";};var _getLoginState=function(context){var fv=_chkFluxVersion();var loginState=null;switch(fv){case 3:if(Flux.context.user.facebookOnly){loginState="FB Only";mtvn.btg.reporting.UserSegment.add(context,"FB Connect Only User");} else if(Flux.context.user.facebookConnected){loginState="Flux + FB";mtvn.btg.reporting.UserSegment.add(context,"Flux & FB Connect User");} else if(typeof Flux.context.user.ucid=="string"&&Flux.context.user.ucid.length>0){loginState="Flux Only";mtvn.btg.reporting.UserSegment.add(context,"Flux Only User");} else loginState="not logged-in";break;case 2:loginState=Flux.Context.isUserAuthenticated()?"logged-in":"not logged-in";break;default:loginState="not logged-in";} if(loginState&&loginState!="not logged-in")mtvn.btg.reporting.UserSegment.add(context,"LoggedIn");return loginState;};this.setData=function(context,data){data[context.config.fluxVarMap.memberState]=_getMemberState();data[context.config.fluxVarMap.loginState]=_getLoginState(context);return data;};};mtvn.btg.reporting.GoogleAnalytics=function(config){this.config=config;if(config.iframeAccount!=''){document.write(unescape("%3Cdiv id='btg_ga_div'%3E%3C/div%3E"));} if(config.account!=''){if(!mtvn.btg.globalvars.IS_UNIT_TEST&&!mtvn.btg.reporting.ReportingManager.isScriptIncluded.googleAnalytics){var gaJsHost=(("https:"==document.location.protocol)?"https://ssl.":"http://www.");document.write(unescape("%3Cscript src='"+gaJsHost+"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));mtvn.btg.reporting.ReportingManager.isScriptIncluded.googleAnalytics=true;}} this.account=config.account;};mtvn.btg.reporting.GoogleAnalytics.prototype={sendPageCall:function(data){if(mtvn.btg.util.String.isDefined(this.config.iframeAccount)){var instances=[];if(this.config.iframeAccount.indexOf(",")>-1) {instances=this.config.iframeAccount.split(",");}else{instances[0]=this.config.iframeAccount;} for(i=0;i=0){if(typeof data["events"]=="string"&&data["events"]!="")data["events"]+=",";else data["events"]="";data["events"]+=this.config.percentPageViewedVarMap.percentage;if(typeof data["products"]=="string"&&data["products"]!="")data["products"]+=",";else data["products"]="";data["products"]+=";;;;"+this.config.percentPageViewedVarMap.percentage+"="+this.hcode.getPercentPageViewed();} else data[this.config.percentPageViewedVarMap.percentage]=this.hcode.getPercentPageViewed();}} if(!this.pageViewEventSet){var _events=typeof data["events"]==="string"?data["events"]:"";if(typeof this.config.pageViewEvent==="string"&&_events.indexOf(this.config.pageViewEvent)<0){if(_events!="")_events+=",";_events+=this.config.pageViewEvent;data["events"]=_events;this.pageViewEventSet=true;}} this.preprocessData(data);this.setValues(data);this.setNewRepeat();this.attachLoggedEvent();this.hcode.t();this.clearValues();return true;},sendLinkEvent:function(data){data=typeof data!="object"?{}:data;var sessionPageName=this.getPageName();data.lnk=data.lnk?this.hcode.co(data.lnk):true;data.linkType=data.linkType?data.linkType:"o";data.referrer=location.href;this.preprocessData(data);this.setValues(data);this.setAttribute("pageName","");this.attachLoggedEvent();this.hcode.t();this.clearValues();this.setAttribute("pageName",sessionPageName);return true;},setAccountVars:function(o){this.setAttribute("un",o.name);this.setAttribute("dynamicAccountSelection",o.dynamic);this.setAttribute("dynamicAccountList",o.list);this.setAttribute("linkInternalFilters",o.filters);this.setAttribute("charSet",o.chartset);for(var i in o){if(mtvn.btg.util.String.isDefined(i)) this.setAttribute(i,(mtvn.btg.util.String.isDefined(o[i])?o[i]:''));};},logEvent:function(data){if(mtvn.btg.util.String.isDefined(data)){if(mtvn.btg.util.String.isDefined(data['UIEvent'])){mtvn.btg.util.Cookie.set('UIEvent',data['UIEvent']);} if(mtvn.btg.util.String.isDefined(data['UIEventName'])){mtvn.btg.util.Cookie.set('UIEventName',data['UIEventName']);} if(mtvn.btg.util.String.isDefined(data['UITrackingCode'])){mtvn.btg.util.Cookie.set('UITrackingCode',data['UITrackingCode']);}}},attachLoggedEvent:function(){if(mtvn.btg.util.String.isDefined(mtvn.btg.util.Cookie.read('UIEvent'))){this.setAttribute('events',mtvn.btg.util.Cookie.read('UIEvent'));mtvn.btg.util.Cookie.remove('UIEvent');} if(mtvn.btg.util.String.isDefined(mtvn.btg.util.Cookie.read('UIEventName'))){this.setAttribute('eVar40',mtvn.btg.util.Cookie.read('UIEventName'));mtvn.btg.util.Cookie.remove('UIEventName');} if(mtvn.btg.util.String.isDefined(mtvn.btg.util.Cookie.read('UITrackingCode'))){this.setAttribute('campaign',mtvn.btg.util.Cookie.read('UITrackingCode'));mtvn.btg.util.Cookie.remove('UITrackingCode');} return true;},clearAllVars:function(){for(var i=1;i<=50;i++){this.setAttribute("eVar"+i,'');this.setAttribute("prop"+i,'');if(i<6){this.setAttribute("hier"+i,"");}} this.setAttribute("pageName","");this.setAttribute("channel","");return true;}};mtvn.btg.reporting.QuantCast=function(config){this.labels="";this.config=config;var _qacct="p-94wNw88f65Rhk";var qcHost=(("https:"==document.location.protocol)?"https://secure":"http://edge");var qcModuleExists=typeof mtvn.btg.config.AdSettings!="undefined"&&typeof mtvn.btg.config.AdSettings.QuantCast!="undefined";var demoTargetingFlag=qcModuleExists&&typeof mtvn.btg.config.AdSettings.QuantCast.enableDemoTargeting=="boolean"?mtvn.btg.config.AdSettings.QuantCast.enableDemoTargeting:true;if(demoTargetingFlag&&!mtvn.btg.globalvars.IS_UNIT_TEST&&!mtvn.btg.reporting.ReportingManager.isScriptIncluded.quantcast){mtvn.btg.util.DOM.Events.addListener(window,"load",function(){mtvn.btg.util.DOM.loadScript(qcHost+".quantserve.com/quant.js");});if(demoTargetingFlag&&!mtvn.btg.util.String.isDefined(mtvn.btg.util.Cookie.read('qcDemo'))){mtvn.btg.util.DOM.Events.addListener(window,"load",function(){mtvn.btg.util.DOM.loadScript("http://pixel.quantserve.com/api/segments.json?a="+_qacct+"&callback=mtvn.btg.reporting.QuantCast.Ads.setCookieDemoTargetVal");});} mtvn.btg.reporting.ReportingManager.isScriptIncluded.quantcast=true;} this.labels=this.config.labels;};mtvn.btg.reporting.QuantCast.prototype={sendPageCall:function(data){if(this.config.reportMode=='direct') {try {_qoptions={labels:this.labels};_qacct="p-94wNw88f65Rhk";quantserve();} catch(e){};}}};mtvn.btg.reporting.QuantCast.Ads=new function(){this.setLabels=function(data,adsections){try{var _labels="";var dartSite="";var sections="";dartSite=data.dartSite.replace(/\./g,'_');sections=adsections.replace(/^\//m,'');sections=sections.replace(/\//g,'.');_labels=mtvn.btg.config.ReportSettings.QuantCast.labels+",Viacom Global Digital Network.MTVN Digital Ad Sales.Content.Pages."+dartSite+"."+sections;_qoptions={labels:_labels};_qacct="p-94wNw88f65Rhk";quantserve();} catch(e){};};this.setCookieDemoTargetVal=function(result){var demoTokenStr=[];for(var i=0;i-1){if(typeof mtvn.btg.reporting.UserSegment!="undefined"){mtvn.btg.reporting.UserSegment.add(context,engines[e][1]);}}}}};mtvn.btg.reporting.UserSegment={COOKIE_NAME:"mtvn_btg_userSegments",init:function(context){var usCookie=mtvn.btg.util.Cookie.read(this.COOKIE_NAME);context.userSegments=usCookie?usCookie.split(","):[];return true;},add:function(context,segment){for(s=0;s0?pre+context.userSegments.join(post+","+pre)+post:null;return str;},setData:function(context,data){data[context.config.userSegmentVarMap.traffic]=data[context.config.userSegmentVarMap.traffic]?data[context.config.userSegmentVarMap.traffic]+","+this.getStr(context):this.getStr(context);data[context.config.userSegmentVarMap.commerce]=data[context.config.userSegmentVarMap.commerce]?data[context.config.userSegmentVarMap.commerce]+","+this.getStr(context,"User Segment;"):this.getStr(context,"User Segment;");return data;}} mtvn.btg.reporting.RecsABTesting={setData:function(context,data){var vendorCookie=mtvn.btg.util.Cookie.read("RecsVendor");if(mtvn.btg.util.String.isDefined(vendorCookie)){var segment=null;switch(vendorCookie){case"0":segment="RecsAB_ChoiceStream";break;case"1":segment="RecsAB_Control";break;} if(segment) mtvn.btg.reporting.UserSegment.add(context,segment);} if(mtvn.btg.util.String.isDefined(mtvn.btg.util.Cookie.read("RecsConversion"))){mtvn.btg.reporting.UserSegment.add(context,"RecsAB_ChoiceStream_Clickthrough");if(typeof data["events"]==="string"&&data["events"].length>0)data["events"]+=",event40";else data["events"]="event40";mtvn.btg.util.Cookie.remove("RecsConversion");} return data;},setConversion:function(){mtvn.btg.util.Cookie.set("RecsConversion",1);}};mtvn.btg.reporting.ESIVars=new function(){var _chkObjectExists=function(){if(typeof mtvn_btg_ESIVars!="object")return false;return true;};this.setData=function(context,data){if(!_chkObjectExists())return data;if(typeof context.config.ESIVarMap.network=="string")mtvn.btg.reporting.UserSegment.add(context,mtvn_btg_ESIVars.network);if(typeof context.config.ESIVarMap.asnum=="string")data[context.config.ESIVarMap.asnum]=mtvn_btg_ESIVars.asnum;if(typeof context.config.ESIVarMap.proxy=="string")data[context.config.ESIVarMap.proxy]=mtvn_btg_ESIVars.proxy;if(typeof context.config.ESIVarMap.countryCode=="string")data[context.config.ESIVarMap.countryCode]=mtvn_btg_ESIVars.countryCode;return data;};};mtvn.btg.reporting.Photos={TIMESPENT_COOKIE_NAME:"mtvn_btg_photos_timespent",FLIPBOOKVIEW_COOKIE_NAME:"mtvn_btg_photos_flipbook",TIMER_INTERVAL:5000,startTime:0,events:"",context:null,init:function(context){this.startTime=(new Date()).getTime();this.context=context;mtvn.btg.util.DOM.Events.addListener(window,"unload",function(){mtvn.btg.reporting.Photos.setTimespent()});return true;},setTimespent:function(){var endTime=(new Date()).getTime();var elapsedSeconds=Math.round((endTime-this.startTime)/100);if(elapsedSeconds<1)elapsedSeconds=1;mtvn.btg.util.Cookie.set(this.TIMESPENT_COOKIE_NAME,elapsedSeconds);},getTimespent:function(){var timerCookie=mtvn.btg.util.Cookie.read(this.TIMESPENT_COOKIE_NAME);mtvn.btg.util.Cookie.remove(this.TIMESPENT_COOKIE_NAME);this.startTime=(new Date()).getTime();return timerCookie?timerCookie:0;},setData:function(data){this.events=typeof data.events=="string"?data.events:"";if(typeof mtvn_btg_Photos=="object"&&mtvn_btg_Photos!=null&&typeof this.context.config.photosVarMap=="object"&&this.context.config.photosVarMap!=null){if((typeof mtvn_btg_Photos.isPhotoView=="boolean"&&mtvn_btg_Photos.isPhotoView)||(typeof mtvn_btg_Photos.photoId=="string"&&mtvn_btg_Photos.photoId!="")){mtvn.btg.reporting.UserSegment.add(this.context,"Photo Viewer");} else if(typeof mtvn_btg_Photos.isAd=="boolean"&&typeof mtvn_btg_Photos.isAd) this._setEvent(this.context.config.photosVarMap.adView);if(typeof mtvn_btg_Photos.application!="undefined"&&typeof mtvn_btg_Photos.gallery!="undefined"&&(typeof mtvn_btg_Photos.photoId!="undefined"||(typeof mtvn_btg_Photos.isAd=="boolean"&&typeof mtvn_btg_Photos.isAd))){var aVars=typeof this.context.config.photosVarMap.application=="string"?this.context.config.photosVarMap.application.split(","):this.context.config.photosVarMap.application;for(var a=0;a=~){s.~)?'Y':'N'~u=m[t+1](~i)clearTimeout(~e&" +"&l$bSESSION'~name~home#P~;try{~,$m)~s.ssl~s.oun~s.rl[u~Width~o.type~s.vl_t~=s.sp(~Lifetime~s.gg('objectID~sEnabled~'+n+'~.mrq(@wun+'\"~ExternalLinks~charSet~lnk~onerror~http~currencyCode~.src~disab" +"le~.get~MigrationKey~(''+~&&!~f',~){t=~r=s[f](~u=m[t](~Opera~Math.~s.ape~s.fsg~s.ns6~conne~InlineStats~&&l$bNONE'~Track~'0123456789~true~+\"_c\"]~s.epa(~t.m_nl~s.va_t~m._d~n=s.oid(o)~,'sqs',q);~Lea" +"veQuery~?'&~'=')~n){~\"'+~){n=~'_'+~'+n;~\",''),~,255)}~if(~vo)~s.sampled~=s.oh(o);~+(y<1900?~n]=~1);~&&o~:'';h=h?h~;'+(n?'o.~sess~campaign~lif~ in ~s.co(~ffset~s.pe~m._l~s.c_d~s.brl~s.nrs~s[mn]~,'" +"vo~s.pl~=(apn~space~\"s_gs(\")~vo._t~b.attach~2o7.net'~Listener~Year(~d.create~=s.n.app~)}}}~!='~'||t~)+'/~s()+'~){p=~():''~a['!'+t]~&&c){~://')i+=~){v=s.n.~channel~100~rs,~.target~o.value~s_si(t)~" +"')dc='1~\".tl(\")~etscape~s_')t=t~omePage~='+~&&t~[b](e);~\"){n[k]~';s.va_~a+1,b):~return~mobile~height~events~random~code~=s_~=un~,pev~'MSIE ~'fun~floor(~atch~transa~s.num(~m._e~s.c_gd~,'lt~tm.g~." +"inner~;s.gl(~,f1,f2~',s.bc~page~Group,~.fromC~sByTag~')<~++)~)){~||!~+';'~i);~y+=~l&&~''+x~[t]=~[i]=~[n];~' '+~'+v]~>=5)~:'')~+1))~il['+s~!a[t])~~s._c=^pc';`H=`y`5!`H`i@v`H`il`K;`H`in=0;}s^al=`H`il" +";s^an=`H`in;s^al[s^a$7s;`H`in++;s.an#8an;s.cls`0x,c){`Pi,y`g`5!c)c=^O.an;`n0;i=0)#Zn}`4y`Cfl`0x,l){`4x?@Ux)`10,l):x`Cco`0o`F!o)`4o;`Pn`B,x^Wx$Fo)$2x`3'select#T0&&x`3'filter" +"#T0)n[x]=o[x];`4n`Cnum`0x){x`g+x^W`Pp=0;p127){l=0;e`g;^0n||l<4){e=h`1n%16,n%16+1)+e;n=(n-n%16)/16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.u=s.n.userAgent;@e=s.u`3'N$t6/^V`Papn$Z`r,v$Z^t,ie=v`3#B'),o=s.u`3'@a '),i`5v`3'@a^y0||o>0)apn='@a';^h$Q`SMicrosoft Internet Explorer'`Iisns$Q`SN$t'`I^m$Q`S@a'`I^n=(s.u`" +"3'Mac^y0)`5o>0)`T`ws.u`1o+6));`6ie>0){`T=^Ji=v`1ie+5))`5`T>3)`T`wi)}`6@e>0)`T`ws.u`1@e+10));`b`T`wv`Iem=0`5^C#R^u){i=^o^C#R^u(256))`E(`Iem=(i`S%C4%80'?2:(i`S%U0$m'?1:0))}s.sa(un`Ivl_l='^U,`YID,vmk," +"`Y@T,`D,`D^j,ppu,@L,`Y`r$R,c`L,`z@F,#P`r,^P,`a,@P#0l@E^R,`G`Ivl_t=^R+',^v,$l,server,#P^2,#F`oID,purchaseID,$D,state,zip,#5,products,`Q`r,`Q^2'^W`Pn=1;n<51;n#U@D+=',prop@I,eVar@I,hier@I,list@z^R2='," +"tnt,pe#A1#A2#A3,^d,^B,`t^t,`p,`z@H,^8@B,^8^k,@f`o^2,@5,p^S';@D+=^R2;@o@E@D,`G`Ivl_g=@D+',`N,`N^j,`NBase,fpC`L,@R`U,#3,`Y^X,`Y^X#Q`OSele`o,`OList,`OM#E,^LDow^MLinks,^L@K,^L@g,`Q@s^C,`QDow^MFile^2s,`" +"QEx`s,`QIn`s,`Q@iVa$n`Q@i^Zs,`Q`rs,@M,eo,_1_`a#0g@E^1,`G`Ipg=pg#M^1)`5!ss)`Hs()",w=window,l=w.s_c_il,n=navigator,u=n.userAgent,v=n.appVersion,e=v.indexOf('MSIE '),m=u.indexOf('Netscape6/'),a,i,s;if(un){un=un.toLowerCase();if(l)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");w.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");w.s_fe=new Function("c","return s_rep(s_rep(s_rep(c,'\\\\','\\\\\\\\'),'\"','\\\\\"'),\"\\n\",\"\\\\n\")");w.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;");c=s_d(c);if(e>0){a=parseInt(i=v.substring(e+5));if(a>3)a=parseFloat(i)}else if(m>0)a=parseFloat(u.substring(m+10));else a=parseFloat(v);if(a>=5&&v.indexOf('Opera')<0&&u.indexOf('Opera')<0){w.s_c=new Function("un","pg","ss","var s=this;"+c);return new s_c(un,pg,ss)}else s=new Function("un","pg","ss","var s=new Object;"+s_ft(c)+";return s");return s(un,pg,ss);}catch(e){}} mtvn.btg.reporting.omniture.Hcode=s_gi("");if(typeof mtvn.btg.reporting.omniture.Hcode==="object") {mtvn.btg.reporting.omniture.Hcode.setAccount=function(account){this.un=account;};} if(typeof mtvn.btg.reporting.omniture.Hcode==="object"){mtvn.btg.reporting.omniture.Hcode.getNewRepeat=new Function("" +"var s=this,e=new Date(),cval,ct=e.getTime(),y=e.getYear();e.setTime" +"(ct+30*24*60*60*1000);cval=s.c_r('s_nr');if(cval.length==0){s.c_w(" +"'s_nr',ct,e);return 'New';}if(cval.length!=0&&ct-cval<30*60*1000){s" +".c_w('s_nr',ct,e);return 'New';}if(cval<1123916400001){e.setTime(cv" +"al+30*24*60*60*1000);s.c_w('s_nr',ct,e);return 'Repeat';}else retur" +"n 'Repeat';");} if(typeof mtvn.btg.reporting.omniture.Hcode==="object"){mtvn.btg.reporting.omniture.Hcode.getTimeParting=new Function("t","z","" +"var s=this,cy;dc=new Date('1/1/2000');" +"if(dc.getDay()!=6||dc.getMonth()!=0){return'Data Not Available'}" +"else{;z=parseFloat(z);var dsts=new Date(s.dstStart);" +"var dste=new Date(s.dstEnd);fl=dste;cd=new Date();if(cd>dsts&&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}}};");mtvn.btg.reporting.omniture.Hcode.dstStart="03/14/2010";mtvn.btg.reporting.omniture.Hcode.dstEnd="11/07/2010";mtvn.btg.reporting.omniture.Hcode.currentYear=(new Date()).getFullYear();} if(typeof mtvn.btg.reporting.omniture.Hcode==="object"){mtvn.btg.reporting.omniture.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 mtvn.btg.reporting.omniture.Hcode==="object"){mtvn.btg.reporting.omniture.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 mtvn.btg.reporting.omniture.Hcode==="object"){mtvn.btg.reporting.omniture.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;}");mtvn.btg.reporting.omniture.Hcode.getPPVCalc=new Function("","" +"var s=s_c_il["+mtvn.btg.reporting.omniture.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);}");mtvn.btg.reporting.omniture.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);}");mtvn.btg.reporting.omniture.Hcode.getPPVSetup();} if(typeof mtvn.btg.reporting.omniture.Hcode==="object"){mtvn.btg.reporting.omniture.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");mtvn.btg.reporting.omniture.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");mtvn.btg.reporting.omniture.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 mtvn.btg.reporting.omniture.Hcode==="object"){mtvn.btg.reporting.omniture.Hcode.trackTNT=function(v,p,b){var s=this,n="s_tnt",p=(p)?p:n,v=(v)?v:n,r="",pm=false,b=(b)?b:true;if(s.getQueryParam) pm=s.getQueryParam(p);if(pm) r+=(pm+",");if(s.wd[v]!=undefined) r+=s.wd[v];if(b) s.wd[v]="";return r;}} mtvn.btg.ads.AdManager=new function(){var hasDoubleClickAd=false;var hasFreeWheel=false;var hasInternationalAd=false;var hasQuantCast=false;var allReloadableAds=false;var reloadInterval=30000;var minReloadInterval=10000;var config;var ads=[];this.groupedReloadableAdsTotal=0;this.groupedReloadableAdsCounter=0;var data={};var counter=0;this.reloadableAds={};this.init=function(){config=mtvn.btg.config.AdSettings;if(config.reloadableAds&&config.reloadableAds===true)allReloadableAds=true;if(config.reloadInterval&&!isNaN(parseInt(config.reloadInterval))){config.reloadInterval=parseInt(config.reloadInterval);if(config.reloadInterval>=minReloadInterval){reloadInterval=config.reloadInterval;}} var qc_obj={};if(config.DoubleClick){if(config.DoubleClick.enabled){if(config.DoubleClick.type&&config.DoubleClick.type.toLowerCase()=="international"){config.International={};mtvn.btg.util.Object.copyProperties(config.DoubleClick,config.International);} else if(config.DoubleClick.type&&config.DoubleClick.type.toLowerCase()=="domestic"){config.International={};} hasDoubleClickAd=true;if(mtvn.btg.util.String.isDefined(config.DoubleClick.sections)){config.DoubleClick.sections=mtvn.btg.util.String.stripFileExtension(config.DoubleClick.sections);qc_obj.sections=config.DoubleClick.sections;} else{this.setDefaultSections();if(mtvn.btg.util.String.isDefined(data.sections)) qc_obj.sections=data.sections;} qc_obj.dartSite=config.DoubleClick.dartSite;data.tile=0;data.ord=mtvn.btg.util.Math.random(100000000000000000,999999999999999999);}} if(config.FreeWheel){if(config.FreeWheel.enabled){hasFreeWheel=true;}} if(config.International){if(config.International.enabled){hasInternationalAd=true;if(mtvn.btg.util.String.isDefined(config.International.sections)){config.International.sections=mtvn.btg.util.String.stripFileExtension(config.International.sections);qc_obj.sections=config.International.sections;} else{this.setDefaultSections();if(mtvn.btg.util.String.isDefined(data.sections)) qc_obj.sections=data.sections;} qc_obj.dartSite=config.International.dartSite;data.tile=0;data.ord=mtvn.btg.util.Math.random(100000000000000000,999999999999999999);}} if(config.QuantCast){if(config.QuantCast.enabled){hasQuantCast=true;}} if(hasQuantCast){PlatoAd=new mtvn.btg.ads.doubleclick.DomesticDc(config.DoubleClick);dmobj={size:'728x90',contentType:"adj"};dmobj.sections=qc_obj.sections;if(mtvn.btg.util.String.isDefined(config.QuantCast.vertical)){PlatoAd.setKeyValues("vertical="+config.QuantCast.vertical);};PlatoAd.init(dmobj);PlatoAd.getUrl();mtvn.btg.reporting.QuantCast.Ads.setLabels(qc_obj,PlatoAd.getSections());}};this.placeAd=function(a_data){if(typeof(mtvn.btg.config.AdSettings.isCodaAdsUsed)!='undefined') mtvn.btg.config.AdSettings.isCodaAdsUsed=true;var ad=this.getAd(a_data);if(allReloadableAds||a_data.isReloadable===true){if(ad.setContentType){ad.setContentType("adi");} ad.reloadInterval=reloadInterval;if(a_data.reloadInterval&&!isNaN(parseInt(a_data.reloadInterval))){ad.needUniqueOrd=true;a_data.reloadInterval=parseInt(a_data.reloadInterval);if(a_data.reloadInterval>=minReloadInterval){ad.reloadInterval=a_data.reloadInterval;}} else{this.groupedReloadableAdsTotal++;this.groupedReloadableAdsCounter++;} var tmpFunc=function(){mtvn.btg.ads.AdManager.reloadAd(ad);};if(ad.reloadTimer){clearInterval(ad.reloadTimer);ad.reloadTimer=null;} ad.reloadTimer=setInterval(tmpFunc,ad.reloadInterval);} if(ad!=null){return ad.placeAd(a_data);} else{document.write("[ERROR: Ad not created, please check your config to enable CODA ads]");return null;}};this.adLoadNotify=function(a_adId){if(typeof mtvn.btg.util.Events['adLoaded']!='undefined'){mtvn.btg.util.Events['adLoaded'].fire(a_adId);}};this.setAdReloadOrdByGroup=function(a_adObj){if(a_adObj.needUniqueOrd===true){a_adObj.setOrd(mtvn.btg.util.Math.random(100000000000000000,999999999999999999));} else{if((this.groupedReloadableAdsCounter>=this.groupedReloadableAdsTotal)&&(this.groupedReloadableAdsCounter%this.groupedReloadableAdsTotal==0)){data.ord=mtvn.btg.util.Math.random(100000000000000000,999999999999999999);} a_adObj.setOrd(data.ord);this.groupedReloadableAdsCounter++;}};this.reloadAd=function(a_adObj){if(mtvn.btg.util.Object.isDefined(a_adObj)&&mtvn.btg.util.String.isDefined(a_adObj.id)&&mtvn.btg.util.Object.isDefined(self.frames[a_adObj.id])){a_adObj.setContentType("adi");this.setAdReloadOrdByGroup(a_adObj);try{self.frames[a_adObj.id].location.replace(a_adObj.getUrl());}catch(e){}}};this.placeIFrameAd=function(adHtml,a_data){if(typeof(mtvn.btg.config.AdSettings.isCodaAdsUsed)!='undefined') mtvn.btg.config.AdSettings.isCodaAdsUsed=true;var containerId="container"+a_data.reloadableAdId;this.reloadableAds[a_data.reloadableAdId]={data:a_data};document.write('');} this.getData=function(){return data;};this.setDefaultSections=function(a_defaultSections){var sections=(mtvn.btg.util.String.isDefined(a_defaultSections)?a_defaultSections:mtvn.btg.util.Sections.getAdSections());if(mtvn.btg.util.String.isDefined(sections)){data.sections=mtvn.btg.util.String.stripFileExtension(sections);}};this.getAd=function(a_data){var ad;if(hasInternationalAd){ad=new mtvn.btg.ads.doubleclick.InternationalDc(config.International);data.tile++;a_data=this.setReloadableAdData(a_data);if(mtvn.btg.util.String.isDefined(a_data.sections)){a_data.sections=mtvn.btg.util.String.stripFileExtension(a_data.sections);} mtvn.btg.util.Object.copyProperties(data,a_data);ad.init(a_data);ads.push(ad);} else if(hasFreeWheel){ad=new mtvn.btg.ads.freewheel.FreeWheelAd(config);data.tile++;a_data=this.setReloadableAdData(a_data);if(mtvn.btg.util.String.isDefined(a_data.sections)){a_data.sections=mtvn.btg.util.String.stripFileExtension(a_data.sections);} mtvn.btg.util.Object.copyProperties(data,a_data);ad.init(a_data);ads.push(ad);} else if(hasDoubleClickAd){ad=new mtvn.btg.ads.doubleclick.DomesticDc(config.DoubleClick);data.tile++;a_data=this.setReloadableAdData(a_data);if(mtvn.btg.util.String.isDefined(a_data.sections)){a_data.sections=mtvn.btg.util.String.stripFileExtension(a_data.sections);} mtvn.btg.util.Object.copyProperties(data,a_data);ad.init(a_data);ads.push(ad);}else{document.write("");return null;} return ad;};this.getAdUrl=function(a_data){return this.getAd(a_data).getUrl();};this.setReloadableAdData=function(a_data) {if(mtvn.btg.util.String.isDefined(a_data.reloadableAdId)&&mtvn.btg.util.String.isDefined(this.reloadableAds[a_data.reloadableAdId])){++counter;a_data.ord=data.ord=(mtvn.btg.util.String.isDefined(this.reloadableAds[a_data.reloadableAdId].tile)&&this.hasReloadComplete()?mtvn.btg.util.Math.random(100000000000000000,999999999999999999):data.ord);a_data.tile=data.tile=this.reloadableAds[a_data.reloadableAdId].tile=(mtvn.btg.util.String.isDefined(this.reloadableAds[a_data.reloadableAdId].tile)?this.reloadableAds[a_data.reloadableAdId].tile:data.tile);} if(mtvn.btg.util.String.isDefined(a_data.loadOrder)) a_data.tile=a_data.loadOrder;return a_data;} this.hasReloadComplete=function(){var totAdCount=0;for(var i in this.reloadableAds) totAdCount++;if(counter>totAdCount){counter=1;return true;} return false;}};mtvn.btg.ads.doubleclick.AtomDc=function(config){this.config=config;this.type="AtomDc";};mtvn.btg.ads.doubleclick.AtomDc.prototype={placeAd:function(data){document.write("[mtvn.btg.ads.doubleclick.AtomDc.placeAd() Stub Method]");}};mtvn.btg.ads.doubleclick.DoubleClick=function(config){this.config=config;};mtvn.btg.ads.doubleclick.DoubleClick.prototype={formatUrl:function(values){var retVal="";var zoneToCheck=values.dartSite+"/"+values.zone+";";if(zoneToCheck.length>64){var cutPoint=values.zone.length-(zoneToCheck.length-64);values.zone=values.zone.substring(0,cutPoint);} var target=[values.protocol+values.server,values.contentType,values.dartSite,values.zone];var url=target.join("/");var vals=[url,values.sections];if(mtvn.btg.util.String.isDefined(values.keyValues)){vals.push(values.keyValues);} if(mtvn.btg.util.String.isDefined(values.uValues)){vals.push(values.uValues);} if(values.ord>0){vals.push('ord='+values.ord+"?");} retVal=vals.join(";");return retVal;},setKeyValues:function(str){str=str.replace(/[^\w=!;|-]/g,"_");this.keyValues=str.replace(/^;+|;+$/g,'');if(this.keyValues.indexOf("mtype=")>-1){this.setMediaType(this.getKeyValue("mtype="));} if(this.keyValues.indexOf("pos=")>-1){this.setPosition(this.getKeyValue("pos="));}else if(this.keyValues.indexOf("threshold=")>-1){this.setPositionThreshold(this.getKeyValue("threshold="));}}};mtvn.btg.ads.doubleclick.DomesticDc=function(config){this.sClass=new mtvn.btg.ads.doubleclick.DoubleClick(config);for(var i in this.sClass){if(typeof(this.sClass[i])==="function"){this[i]=this.sClass[i];}} this.config=config;this.type="DomesticDc";this.id;this.server="ad.doubleclick.net";this.ssl=false;this.dartSite;this.contentType="adj";this.mediaType="standard";this.sections;this.keyValues="";this.reloadTimer;this.size;this.realSize;this.zoneOverride=null;this.tile;this.positionThreshold;this.ord;this.additionalKeyValues=[];this.position;this.partner;this.exclusions=[];this.reservedKeyValues={};this.autoDcopt=(config.autoDcopt)?true:false;if(mtvn.btg.util.Object.isDefined(mtvn.btg.ads.AdManager)&&!mtvn.btg.ads.AdManager.dcoptOn){mtvn.btg.ads.AdManager.dcoptOn=false;} this.isDevEnv=false;if(mtvn.btg.globalvars.IS_TOP_ACCESSIBLE&&top.location.hostname.indexOf("mtvi.com")>-1){this.isDevEnv=true;} for(var i in config){if(mtvn.btg.util.String.isDefined(config[i])&&(typeof(config[i])=='string'||typeof(config[i])=='number')){if(i=="sections"){this.setSections(config[i]);} else if(i=="keyValues"){this.setKeyValues(config[i]);} else if(i=="positionThreshold"){this.setPositionThreshold(config[i]);} else{this[i]=config[i];}}}};mtvn.btg.ads.doubleclick.DomesticDc.prototype={setZoneOverride:function(str){this.zoneOverride=str;},setId:function(str){this.id=str;},setServer:function(str){this.server=str;},setSsl:function(){this.ssl=true;},setDartSite:function(str){this.dartSite=str;},setContentType:function(str){this.contentType=str;},setMediaType:function(str){this.mediaType=str;},setPosition:function(str){this.position=str;},setSections:function(str){str=(str=='/')?str:mtvn.btg.util.String.charTrim(str,'/');var difn=(mtvn.btg.util.Object.isDefined(mtvn.btg.config.AdSettings)&&mtvn.btg.util.String.isDefined(mtvn.btg.config.AdSettings.defaultIndexFileName))?mtvn.btg.config.AdSettings.defaultIndexFileName:"index";difn=mtvn.btg.util.String.stripFileExtension(difn);var hpCases=['/',difn,"home/"+difn];for(var i=0;i-1){this.sections=this.sections.split('.')[0];}},setSize:function(str){this.size=str;},setRealSize:function(str){this.realSize=str;},setTile:function(num){this.tile=num;},setPositionThreshold:function(num){if(isNaN(parseInt(num))){this.positionThreshold=null;}else{this.positionThreshold=parseInt(num);}},setOrd:function(num){this.ord=num;},setPartner:function(str){this.partner=str;},addExclusionCategory:function(str){str=str.replace(/^;+|;+$/g,'');this.exclusions.push('!category='+str);},addKeyValues:function(str){if(mtvn.btg.util.String.isDefined(str)&&str.indexOf('=')>-1){this.additionalKeyValues.push(str);}},appendKeyValue:function(str1,str2){if(!mtvn.btg.util.String.isDefined(str1))str1="";if(!mtvn.btg.util.String.isDefined(str2))str2="";str1=str1.replace(/^;+|;+$/g,'');str2=str2.replace(/^;+|;+$/g,'');if(str1.indexOf('=')>-1)str2+=";"+str1;str2=str2.replace(/^;+|;+$/g,'');return str2;},getProtocol:function(){return this.ssl?'https://':'http://';},getPosition:function(){var placement="unk";if(mtvn.btg.util.String.isDefined(this.position)){if(this.position.indexOf("atf")>-1){placement="atf";}else if(this.position.indexOf("btf")>-1){placement="btf";}}else{if(mtvn.btg.util.String.isDefined(this.positionThreshold)){placement=(this.tile<=this.positionThreshold)?"atf":"btf";}} return placement;},getKeyValue:function(key){var value;if(this.keyValues.indexOf(key)>-1){var temp=this.keyValues.split(key);if(temp.length>0){if(temp[1].indexOf(";")>-1){value=temp[1].substring(0,temp[1].indexOf(";"));}else{value=temp[1];}}} return value;},getSections:function(){return this.sections;},getContentTypeAbbreviation:function(){var abbr="";if(this.contentType=="pfadx")abbr="p";if(this.contentType=="adj")abbr="j";if(this.contentType=="adi")abbr="i";if(this.contentType=="adx")abbr="x";if(this.contentType=="ad")abbr="a";return abbr;},getExclusions:function(){return this.exclusions.join(';');},formatZone:function(){var posTypeTag=this.getPosition()+'_'+this.getContentTypeAbbreviation()+'_'+this.mediaType.substr(0,1);var zoneValues=posTypeTag+"/";var secValues=this.getSections();if(mtvn.btg.util.String.isDefined(this.keyValues)){if(this.keyValues.indexOf("partner=")>-1){var partner=this.getKeyValue("partner=");if(mtvn.btg.util.String.isDefined(partner)){zoneValues+=partner+"/";this.addExclusionCategory(partner);this.addExclusionCategory("partner");}else{this.addKeyValues("partner=null");}} if(this.keyValues.indexOf("vertical=")>-1){var vertical=this.getKeyValue("vertical=");if(mtvn.btg.util.String.isDefined(vertical)){secValues=vertical+"/"+secValues;this.setSections(secValues);}} if(this.keyValues.indexOf("synd=")>-1){var synd=this.getKeyValue("synd=");if(mtvn.btg.util.String.isDefined(synd))this.addExclusionCategory(synd);}} zoneValues=zoneValues.replace(/^\d/,"_"+zoneValues.match(/^\d/,"_"));return zoneValues+secValues;},formatSectionValues:function(){try{var parts=this.sections.split('/');}catch(e){parts=["[ERROR: Sections Not Defined!]"];} var count=0;var sections=[];for(x=0;x0){this.keyValues+=";"+this.getExclusions();} if(mtvn.btg.util.String.isDefined(this.reservedKeyValues.dcove)){this.keyValues+=";dcove="+this.reservedKeyValues.dcove;} if(mtvn.btg.globalvars.IS_TOP_ACCESSIBLE){var tModeValue=mtvn.btg.util.String.queryStringToObject(top.location.search.toLowerCase()).testmode;if(mtvn.btg.util.String.isDefined(tModeValue)){this.keyValues+=';testmode='+tModeValue;}} this.keyValues=this.keyValues.replace(/^;+|;+$/g,'');return this.keyValues;},formatReserved:function(){var keyvals=this.keyValues;var reserved=["dcmt","dcopt","dcove"];for(var i=0;i-1){var key=this.getKeyValue(reserved[i]+"=");var tempKeys=keyvals.split(reserved[i]+"="+key);for(var x=0;x'+'');}} return''+xml.join('')+'';},placeAd:function(a_data){if(!mtvn.btg.util.String.isDefined(this.id)){this.setId("ad"+this.tile);} if(this.contentType=="adi"){var htmlOut='<\/ifr'+'ame>';if(mtvn.btg.globalvars.IS_TOP_ACCESSIBLE&&mtvn.btg.util.String.queryStringToObject(top.location.search).mockupMode=='true'){htmlOut=mtvn.btg.util.String.mockItUp(htmlOut);} if(mtvn.btg.util.String.isDefined(a_data)&&mtvn.btg.util.String.isDefined(a_data.reloadableAdId)) return htmlOut;else if(typeof exposeTestFunctionNames=='undefined') document.write(htmlOut);}else{var htmlOut='<\/scr'+'ipt>';if(mtvn.btg.globalvars.IS_TOP_ACCESSIBLE&&mtvn.btg.util.String.queryStringToObject(top.location.search).mockupMode=='true'){htmlOut=mtvn.btg.util.String.mockItUp(htmlOut);} if(mtvn.btg.util.String.isDefined(a_data)&&mtvn.btg.util.String.isDefined(a_data.reloadableAdId)) return htmlOut;else if(typeof exposeTestFunctionNames=='undefined') document.write(htmlOut);}},init:function(data){if(typeof(data)==='object'){if(mtvn.btg.util.String.isDefined(data.zoneOverride))this.setZoneOverride(data.zoneOverride);if(mtvn.btg.util.String.isDefined(data.id))this.setId(data.id);if(mtvn.btg.util.String.isDefined(data.server))this.setServer(data.server);if(mtvn.btg.util.String.isDefined(data.ssl))this.setSsl(data.ssl);if(mtvn.btg.util.String.isDefined(data.dartSite))this.setDartSite(data.dartSite);if(mtvn.btg.util.String.isDefined(data.contentType))this.setContentType(data.contentType);if(mtvn.btg.util.String.isDefined(data.mediaType))this.setMediaType(data.mediaType);if(mtvn.btg.util.String.isDefined(data.position))this.setPosition(data.position);if(mtvn.btg.util.String.isDefined(data.sections))this.setSections(data.sections);if(mtvn.btg.util.String.isDefined(data.keyValues))this.setKeyValues(data.keyValues);if(mtvn.btg.util.String.isDefined(data.size)){this.setSize(data.size);} else{this.setSize("[ERROR: Size Not Defined!]");} if(mtvn.btg.util.String.isDefined(data.realSize)){this.setRealSize(data.realSize);} else{this.setRealSize(this.size);} if(mtvn.btg.util.String.isDefined(data.tile))this.setTile(data.tile);if(mtvn.btg.util.String.isDefined(data.positionThreshold))this.setPositionThreshold(data.positionThreshold);if(mtvn.btg.util.String.isDefined(data.ord))this.setOrd(data.ord);if(mtvn.btg.util.String.isDefined(data.partner))this.setPartner(data.partner);}}};mtvn.btg.ads.doubleclick.InternationalDc=function(config){this.config=config;this.type="InternationalDc";this.ad=new mtvn.btg.ads.doubleclick.DomesticDc(config);this.logvalue="0";this.demovalue="none";this.eventvalue="none";this.regionvalue="none";this.keywordvalue="none";this.vidvalue="none";this.vid_typevalue="none";this.ad.formatSectionValues=function(){var parts=this.sections.split('/');var sec0="none";var sec1="none";var secn="none";var temparr=[];if(mtvn.btg.util.String.isDefined(parts[0])){sec0=parts[0];}else{sec0="/";};if(mtvn.btg.util.String.isDefined(parts[1])){sec1=parts[1];};if(mtvn.btg.util.String.isDefined(parts[2])){for(x=2;x=0&&this.keyValues.indexOf("tile=")==-1){this.keyValues+=";tile="+this.tile;} if(mtvn.btg.util.String.isDefined(this.reservedKeyValues.dcmt)){this.keyValues+=";dcmt="+this.reservedKeyValues.dcmt;} if(this.autoDcopt&&this.tile=="1"){this.keyValues+=";dcopt=ist";mtvn.btg.ads.AdManager.dcoptOn=true;} if(mtvn.btg.util.String.isDefined(this.reservedKeyValues.dcopt)){if(mtvn.btg.ads.AdManager.dcoptOn){if(this.tile!="1"&&this.isDevEnv){this.keyValues+=";[ERROR: attempt to set dcopt value more than once per page!]";}} else{this.keyValues+=";dcopt="+this.reservedKeyValues.dcopt;mtvn.btg.ads.AdManager.dcoptOn=true;}} if(this.exclusions.length>0){this.keyValues+=";"+this.getExclusions();} if(mtvn.btg.util.String.isDefined(this.reservedKeyValues.dcove)){this.keyValues+=";dcove="+this.reservedKeyValues.dcove;} if(self.location.href.indexOf('testmode=on')>-1){this.keyValues+=';testmode=on';} this.keyValues=this.keyValues.replace(/^;+|;+$/g,'');return this.keyValues;};this.ad.formatUValues=function(){return"";};this.init=function(data){};};mtvn.btg.ads.doubleclick.InternationalDc.prototype={placeAd:function(data){this.ad.sections=data.sections;this.ad.setSize(data.size);this.ad.setTile(data.tile);this.ad.setPositionThreshold(data.tile);this.addInternationalValues(data);this.ad.setOrd(data.ord);if(data.getUrl) {if(mtvn.btg.util.String.isDefined(data)&&mtvn.btg.util.String.isDefined(data.reloadableAdId))return this.ad.getUrl();else if(typeof exposeTestFunctionNames=='undefined')document.write(this.ad.getUrl());} else {var htmlOut='<\/scr'+'ipt>';if(mtvn.btg.globalvars.IS_TOP_ACCESSIBLE&&mtvn.btg.util.String.queryStringToObject(top.location.search).mockupMode=='true'){htmlOut=mtvn.btg.util.String.mockItUp(htmlOut);} if(mtvn.btg.util.String.isDefined(data)&&mtvn.btg.util.String.isDefined(data.reloadableAdId))return htmlOut;else if(typeof exposeTestFunctionNames=='undefined')document.write(htmlOut);}},addInternationalValues:function(data){if(mtvn.btg.util.String.isDefined(data.log)){this.ad.addKeyValues("log="+data.log);}else{this.ad.addKeyValues("log=0");};if(mtvn.btg.util.String.isDefined(data.demo)){this.ad.addKeyValues("demo="+data.demo);}else{this.ad.addKeyValues("demo=none");};if(mtvn.btg.util.String.isDefined(data.event)){this.ad.addKeyValues("event="+data.event);}else{this.ad.addKeyValues("event=none");};if(mtvn.btg.util.String.isDefined(data.keyword)){this.ad.addKeyValues("search_kw="+data.keyword);}else{this.ad.addKeyValues("search_kw=none");};if(mtvn.btg.util.String.isDefined(data.vid)){this.ad.addKeyValues("vid="+data.vid);}else{this.ad.addKeyValues("vid=none");};if(mtvn.btg.util.String.isDefined(data.vid_type)){this.ad.addKeyValues("vid_type="+data.vid_type);}else{this.ad.addKeyValues("vid_type=none");};if(mtvn.btg.util.String.isDefined(data.region)){this.ad.addKeyValues("region="+data.region);}else{this.ad.addKeyValues("region=none");};this.ad.addKeyValues("dcove=d");this.ad.addKeyValues("url="+escape(location.pathname));if(mtvn.btg.util.String.isDefined(data.keyValues)){this.ad.addKeyValues(data.keyValues);};}};mtvn.btg.ads.freewheel.FreeWheelAd=function(config){this.config=config;this.type="FreeWheelAd";this.fwType="DART";this.slotId="fwph_";this.reloadTimer;this.dcAd;this.initData;this.realWidth;this.realHeight;this.reloadable=false;this.reloadTime=30000;this.isGroupedByOrd=false;this.needUniqueOrd=false;};mtvn.btg.ads.freewheel.FreeWheelAd.prototype={placeAd:function(data){if(this.fwType=="MRM"||this.fwType=="COV"){this.realWidth=this.realSize.substr(0,this.realSize.indexOf("x"));this.realHeight=this.realSize.substr(this.realSize.indexOf("x")+1,this.realSize.length);var slotParams="slid=";slotParams+=this.slotId;slotParams+="&ptgt=s&envp=g_iframe_js&w=";slotParams+=this.realWidth;slotParams+="&h=";slotParams+=this.realHeight;var fwph='';fwph+='';fwph+='';fwph+='';fwph+='';fwph+='';if(mtvn.btg.globalvars.IS_TOP_ACCESSIBLE&&mtvn.btg.util.String.queryStringToObject(top.location.search).mockupMode=='true'){fwph=mtvn.btg.util.String.mockItUp(fwph);} document.write(fwph);mtvn.btg.ads.freewheel.FreeWheelAdInterface.fwAds[this.slotId]=this;mtvn.btg.util.DOM.Events.addListener(window,"load",this.timerToPlayAd);} else if(this.fwType=="DART"){this.dcAd=new mtvn.btg.ads.doubleclick.DomesticDc(this.config.DoubleClick);this.dcAd.init(this.initData);this.dcAd.placeAd(data);} else{document.write("[ERROR: FreeWheel ad type not recognized. Please check your config!!!]");}},timerToPlayAd:function(){setTimeout(function(){var playerLoaded=false;for(var i in mtvn.btg.reporting.MediaPlayer.players){playerLoaded=true;break;} if(playerLoaded){setTimeout(mtvn.btg.ads.freewheel.FreeWheelAdInterface.forcedPlayAd,mtvn.btg.globalvars.FORCE_AD_WAIT_TIME.PLAYER_LOADED);} else setTimeout(mtvn.btg.ads.freewheel.FreeWheelAdInterface.forcedPlayAd,mtvn.btg.globalvars.FORCE_AD_WAIT_TIME.PLAYER_FAILED);},mtvn.btg.globalvars.FORCE_AD_WAIT_TIME.PLAYER_LOAD_WAIT_TIME);},setContentType:function(){},init:function(data){var minReloadInterval=10000;var defaultReloadInterval=30000;this.initData=data;if(mtvn.btg.util.String.isDefined(data.size)){this.size=data.size;} else{this.size="[ERROR: Size Not Defined!]";} if(mtvn.btg.util.String.isDefined(data.realSize)){this.realSize=data.realSize;} else{this.realSize=this.size;} this.slotId+=data.tile;if(mtvn.btg.util.String.isDefined(this.config.FreeWheel.type)){this.fwType=this.config.FreeWheel.type.toUpperCase();} if(this.config.FreeWheel.reloadable||data.isReloadable){this.reloadable=true;this.reloadTime=defaultReloadInterval;if(this.config.FreeWheel.reloadTime&&!isNaN(parseInt(this.config.FreeWheel.reloadTime))&&parseInt(this.config.FreeWheel.reloadTime)>=minReloadInterval){this.reloadTime=parseInt(this.config.FreeWheel.reloadTime);this.isGroupedByOrd=true;} if(data.reloadInterval&&!isNaN(parseInt(data.reloadInterval))&&parseInt(data.reloadInterval)>=minReloadInterval){this.reloadTime=parseInt(data.reloadInterval);if(this.isGroupedByOrd===true){this.isGroupedByOrd=false;} this.needUniqueOrd=true;} if(this.isGroupedByOrd===true){mtvn.btg.ads.AdManager.groupedReloadableAdsTotal++;mtvn.btg.ads.AdManager.groupedReloadableAdsCounter++;}}},reload:function(){var targetFrameId="_fw_frame_"+this.slotId;var targetFrame=document.getElementById(targetFrameId);var targetFrameContainer=document.getElementById("fwCustom_"+this.slotId);if(!mtvn.btg.util.Object.isDefined(this.dcAd)){this.dcAd=new mtvn.btg.ads.doubleclick.DomesticDc(this.config.DoubleClick);this.dcAd.init(this.initData);} if(!mtvn.btg.util.String.isDefined(this.dcAd.id)){this.dcAd.setId("ad"+this.dcAd.tile);} this.dcAd.needUniqueOrd=this.needUniqueOrd;if(targetFrame!=null){mtvn.btg.ads.AdManager.setAdReloadOrdByGroup(this.dcAd);} this.dcAd.setContentType("adi");var htmlOut='<\/ifr'+'ame>';if(targetFrame==null&&targetFrameContainer!=null){targetFrameContainer.style.border='0px';targetFrameContainer.style.backgroundColor='transparent';try{targetFrameContainer.innerHTML=htmlOut;}catch(e){}} else if(targetFrame!=null){if(targetFrame.parentElement){try{targetFrame.parentElement.innerHTML=htmlOut;}catch(e){}} else if(targetFrame.parentNode){try{targetFrame.parentNode.innerHTML=htmlOut;}catch(e){}}}}};mtvn.btg.ads.freewheel.FreeWheelAdInterface=new function(){this.fwAds=[];this.getFallbackDisplayHTML=function(a_slotId,a_commaSeparatedCompetitiveIndustries){var retVal="";var fwAd=this.fwAds[a_slotId];var exCatVals=a_commaSeparatedCompetitiveIndustries.split(",");var dcExCat="";for(var i=0;i<\/scr'+'ipt>';return retVal;};this.forcedPlayAd=function(){for(i in mtvn.btg.ads.freewheel.FreeWheelAdInterface.fwAds){if(document.getElementById("_fw_frame_"+i)==null){mtvn.btg.ads.freewheel.FreeWheelAdInterface.fwAds[i].reload();}}};};mtvn.btg.ads.FreeWheelAdInterface=mtvn.btg.ads.freewheel.FreeWheelAdInterface;var com=typeof com==='object'?com:{};com.mtvi=typeof com.mtvi==='object'?com.mtvi:{};com.mtvi.reporting=typeof com.mtvi.reporting==='object'?com.mtvi.reporting:{};com.mtvi.ads=typeof com.mtvi.ads==='object'?com.mtvi.ads:{};com.mtvi.config=typeof com.mtvi.config==='object'?com.mtvi.config:{};com.mtvi.util=typeof com.mtvi.util==='object'?com.mtvi.util:{};com.mtvi.util.IFrameReloader=typeof com.mtvi.util.IFrameReloader==='object'?com.mtvi.util.IFrameReloader:{};com.mtvi.metadata=typeof com.mtvi.metadata==='object'?com.mtvi.metadata:{};com.mtvi.reporting.Controller=new function(){this.initalized=false;this.initialize=function(){mtvn.btg.Controller.init();this.initalized=true;};this.sendCall=function(data){mtvn.btg.Controller.sendPageCall(data);};this.sendLinkEvent=function(data){mtvn.btg.Controller.sendLinkEvent(data);};this.registerLinks=function(){return true;};this.setConfig=function(data){for(var i in data){mtvn.btg.config.ReportSettings.Omniture[i]=data[i];} return true};this.addRegisterLinks=function(){return true;};this.setDefaultData=function(k,v){if(mtvn.btg.util.String.isDefined(k)){mtvn.btg.config.ReportSettings.Omniture[k]=mtvn.btg.util.String.isDefined(v)?v:'';return true} else{return false;}}};com.mtvi.reporting.Dispatcher=function(){this.setAccountVars=function(o){try{this.setAttribute("un",o.name);this.setAttribute("dynamicAccountSelection",o.dynamic);this.setAttribute("dynamicAccountList",o.list);this.setAttribute("linkInternalFilters",o.filters);this.setAttribute("charSet",o.chartset);for(var i in o){this.setAttribute(i,o[i]);};}catch(e){}};this.getValOnce=function(v,c,e){return true};this.sendCall=function(data){data=(mtvn.btg.util.Object.isDefined(data)?data:(mtvn.btg.util.Object.isDefined(com.mtvi.config.SectionSetup)?com.mtvi.config.SectionSetup:{}));if(!com.mtvi.reporting.Controller.initalized){mtvn.btg.Controller.init();com.mtvi.reporting.Controller.initalized=true;} mtvn.btg.Controller.sendPageCall(data);};this.send=function(data){this.sendCall(data);};this.sendLinkEvent=function(data){var objOmniture=(com.mtvi.reporting.Controller.initalized?mtvn.btg.reporting.omniture.Hcode:mtvn.btg.config.ReportSettings.Omniture);for(var i=1;i<=50;i++){objOmniture["eVars"+i]='';objOmniture["prop"+i]='';if(i<6){objOmniture["hier"+i]='';}} objOmniture["pageName"]='';objOmniture["channel"]='';if(!com.mtvi.reporting.Controller.initalized){mtvn.btg.Controller.init();com.mtvi.reporting.Controller.initalized=true;} mtvn.btg.Controller.sendLinkEvent(data);};this.registerLinks=function(){return true;} this.setAttribute=function(k,v){if(mtvn.btg.util.String.isDefined(k)){var objOmniture=(com.mtvi.reporting.Controller.initalized?mtvn.btg.reporting.omniture.Hcode:mtvn.btg.config.ReportSettings.Omniture);objOmniture[k]=mtvn.btg.util.String.isDefined(v)?v:'';return true} else{return false;}};this.getAttribute=function(k){var objOmniture=(com.mtvi.reporting.Controller.initalized?mtvn.btg.reporting.omniture.Hcode:mtvn.btg.config.ReportSettings.Omniture);return objOmniture[k];};this.setValues=function(data){for(var i in data){this.setAttribute(i,data[i]);} return true};this.setDefaultData=function(){};this.clearProps=function(){try{for(var p=1;p<=50;p++){this.setAttribute("prop"+p,"");}}catch(e){}};this.clearAllVars=function(){var objOmniture=(com.mtvi.reporting.Controller.initalized?mtvn.btg.reporting.omniture.Hcode:mtvn.btg.config.ReportSettings.Omniture);try{for(var p=1;p<=50;p++){objOmniture["prop"+p]="";} for(var e=1;e<=50;e++){objOmniture["eVars"+e]="";} for(var h=1;h<=5;h++){objOmniture["hier"+h]="";} objOmniture["pageName"]="";objOmniture["channel"]="";}catch(e){}}} com.mtvi.reporting.MediaPlayer={addPlayer:function(id){var player=mtvn.btg.reporting.MediaPlayer.addPlayer(id);return player['id'];}} com.mtvi.ads.AdManager=new function(){var adType="";var reloadInterval=300000;this.setDartSite=function(a_dartSite){try{if(mtvn.btg.config.AdSettings.DoubleClick.enabled&&!mtvn.btg.util.String.isDefined(mtvn.btg.config.AdSettings.DoubleClick.dartSite)){mtvn.btg.config.AdSettings.DoubleClick.dartSite=a_dartSite;} else if(mtvn.btg.config.AdSettings.International.enabled){mtvn.btg.config.AdSettings.International.dartSite=a_dartSite;}} catch(e){}};this.setPositionThreshold=function(a_positionThreshold){try{if(mtvn.btg.config.AdSettings.DoubleClick.enabled&&!mtvn.btg.util.String.isDefined(mtvn.btg.config.AdSettings.DoubleClick.positionThreshold)){mtvn.btg.config.AdSettings.DoubleClick.positionThreshold=a_positionThreshold;} else if(mtvn.btg.config.AdSettings.International.enabled){mtvn.btg.config.AdSettings.International.positionThreshold=a_positionThreshold;}} catch(e){}};this.setSiteName=function(a_siteName){try{if(mtvn.btg.config.AdSettings.DoubleClick.enabled&&!mtvn.btg.util.String.isDefined(mtvn.btg.config.AdSettings.DoubleClick.siteName)){mtvn.btg.config.AdSettings.DoubleClick.siteName=a_siteName;} else if(mtvn.btg.config.AdSettings.International.enabled){mtvn.btg.config.AdSettings.International.siteName=a_siteName;}} catch(e){}};this.setDefaultSections=function(a_defaultSections){if(mtvn.btg.util.String.isDefined(a_defaultSections)) mtvn.btg.config.AdSettings.DoubleClick.sections=a_defaultSections;};this.setKeyValues=function(a_keyValues){try{if(mtvn.btg.config.AdSettings.DoubleClick.enabled&&!mtvn.btg.util.String.isDefined(mtvn.btg.config.AdSettings.DoubleClick.keyValues)){mtvn.btg.config.AdSettings.DoubleClick.keyValues=a_keyValues;} else if(mtvn.btg.config.AdSettings.International.enabled){mtvn.btg.config.AdSettings.International.keyValues=a_keyValues;}} catch(e){}};this.getFormattedSections=function(a_sections){var retVal=a_sections;try{retVal=(a_sections=='/')?a_sections:mtvn.btg.util.String.charTrim(a_sections,'/');var sectionsLength=a_sections.length;var difn="index";if(mtvn.btg.util.Object.isDefined(com.mtvi.reporting.Account)&&mtvn.btg.util.String.isDefined(com.mtvi.reporting.Account.defaultIndexFileName)){difn=com.mtvi.reporting.Account.defaultIndexFileName;} if(mtvn.btg.util.Object.isDefined(mtvn.btg.config.AdSettings)&&mtvn.btg.util.String.isDefined(mtvn.btg.config.AdSettings.defaultIndexFileName)){difn=mtvn.btg.config.AdSettings.defaultIndexFileName;} difn=mtvn.btg.util.String.stripFileExtension(difn);var hpCases=['/',difn,"home/"+difn];for(var i=0;i-1){src=src.split("ord=")[0]+"ord="+ord+"?";} this.IFrameAds[index].src=src;this.IFrameAds[index].reload();};this.setZone=function(zone){};this.getNewAd=function(adObject){};this.populateNamesValuesObj=function(nameValues){};} com.mtvi.ads.DoubleClickAd=function(params){};com.mtvi.ads.DoubleClickAd.prototype={setZoneOverride:function(str){},setDartSite:function(str){},setOrd:function(num){},placeAd:function(){},getXml:function(){return null;},getJson:function(){return null;},getUrl:function(){return null;},getSections:function(){return null;},setSize:function(str){},setSections:function(str){},setContentType:function(str){},setKeyValues:function(str){},setTile:function(num){},setPositionThreshold:function(num){},setServer:function(str){},setSsl:function(){},setMediaType:function(str){},setPosition:function(str){},setPartner:function(str){},setId:function(str){}};com.mtvi.reporting.FluxWidgeted={setVars:function(){return true;}};com.mtvi.reporting.GoogleAnalytics={makeCall:function(id,uri){return true;}};com.mtvi.reporting.QuantCast=new function(){this.sendQuantCastCall=function(a_labels){return true;};};com.mtvi.reporting.Search={setVars:function(obj){return true;},sendLinkEvent:function(obj){return true;},setConversion:function(){return true;},setSynConversion:function(){return true;}};com.mtvi.util={toObject:function(string,delimiter){var delimiter=delimiter?delimiter:',';var array=string.split(delimiter);var object={};for(var x=0;x5000){var n=document.getElementById(this.containerId);var i=document.createElement("iframe");i.id=this.id;i.width=this.width;i.height=this.height;i.style.width=this.width;i.style.height=this.height;i.src=this.src;i.frameBorder="0";i.scrolling="no";i.marginheight="0";i.marginwidth="0";i.style.margin="0";i.style.zIndex="99";i.style.border="0";i.style.borderWidth="0px";n.removeChild(document.getElementById(this.id));n.appendChild(i);} this.lastLoaded=now;}catch(e){}},write:function(){try{var html='