//Patched build for ticket http://jira.mtvi.com/browse/BTGBIZTECH-424
// CODA 2.0.295 dated 18-Dec-2009 Fri 04:45 AM
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.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.globalvars={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}}()};mtvn.btg.Controller=new function(){var hasReporting=false;var hasAds=false;var reportingData;var adsData;var defaultPageName="";this.init=function(){defaultPageName=(mtvn.btg.globalvars.PAGE_URL!="/"?mtvn.btg.util.String.charTrim(mtvn.btg.globalvars.PAGE_URL,'/'):mtvn.btg.globalvars.PAGE_URL);if(defaultPageName.charAt(defaultPageName.length-1)=="/"||!mtvn.btg.util.String.isDefined(defaultPageName)){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){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.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;i<ca.length;i++){var c=ca[i];while(c.charAt(0)==' '){c=c.substring(1,c.length)};if(c.indexOf(name)==0){return c.substring(name.length,c.length)};}
return null;},set:function(name,value,expy){var cookie=name+"="+value+"; path=/";if(expy)cookie+=";expires="+expy;document.cookie=cookie;},remove:function(name){document.cookie=name+'=;expires=Thu, 01-Jan-1970 00:00:01 GMT;path=/';}};mtvn.btg.util.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;}}
if(!this.mtvn.btg.util.JSON){mtvn.btg.util.JSON=function(){function f(n){return n<10?'0'+n:n;}
Date.prototype.toJSON=function(){return this.getUTCFullYear()+'-'+
f(this.getUTCMonth()+1)+'-'+
f(this.getUTCDate())+'T'+
f(this.getUTCHours())+':'+
f(this.getUTCMinutes())+':'+
f(this.getUTCSeconds())+'Z';};var m={'\b':'\\b','\t':'\\t','\n':'\\n','\f':'\\f','\r':'\\r','"':'\\"','\\':'\\\\'};function stringify(value,whitelist){var a,i,k,l,r=/["\\\x00-\x1f\x7f-\x9f]/g,v;switch(typeof value){case'string':return r.test(value)?'"'+value.replace(r,function(a){var c=m[a];if(c){return c;}
c=a.charCodeAt();return'\\u00'+Math.floor(c/16).toString(16)+
(c%16).toString(16);})+'"':'"'+value+'"';case'number':return isFinite(value)?String(value):'null';case'boolean':case'null':return String(value);case'object':if(!value){return'null';}
if(typeof value.toJSON==='function'){return stringify(value.toJSON());}
a=[];if(typeof value.length==='number'&&!(value.propertyIsEnumerable('length'))){l=value.length;for(i=0;i<l;i+=1){a.push(stringify(value[i],whitelist)||'null');}
return'['+a.join(',')+']';}
if(whitelist){l=whitelist.length;for(i=0;i<l;i+=1){k=whitelist[i];if(typeof k==='string'){v=stringify(value[k],whitelist);if(v){a.push(stringify(k)+':'+v);}}}}else{for(k in value){if(typeof k==='string'){v=stringify(value[k],whitelist);if(v){a.push(stringify(k)+':'+v);}}}}
return'{'+a.join(',')+'}';}}
return{stringify:stringify,parse:function(text,filter){var j;function walk(k,v){var i,n;if(v&&typeof v==='object'){for(i in v){if(Object.prototype.hasOwnProperty.apply(v,[i])){n=walk(i,v[i]);if(n!==undefined){v[i]=n;}}}}
return filter(k,v);}
if(/^[\],:{}\s]*$/.test(text.replace(/\\./g,'@').replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(:?[eE][+\-]?\d+)?/g,']').replace(/(?:^|:|,)(?:\s*\[)+/g,''))){j=eval('('+text+')');return typeof filter==='function'?walk('',j):j;}
throw new SyntaxError('parseJSON');}};}();}
mtvn.btg.util.Math={random:function(){var min;var max;if(arguments.length>1){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<this.config.length;c1++){if(typeof this.config[c1].varName!="string")continue;for(var c2=0;c2<config.length;c2++){if(typeof config[c2].varName!="string")continue;if(config[c2].varName==this.config[c1].varName)this.config.splice(c1,1);}}
this.config=this.config.concat(config);return true;},setData:function(data){if(!mtvn.btg.util.String.isDefined(data))return null;for(c=0;c<this.config.length;c++){var _config=this.config[c];if(typeof data[_config.varName]!="undefined"){data[_config.varName]=this.saveToCookie(_config,data[_config.varName]);}
else{var cookieName=mtvn.btg.util.String.isDefined(_config.cookieName)?_config.cookieName:"mtvn_btg_"+_config.varName;var cookie=mtvn.btg.util.Cookie.read(cookieName);if(mtvn.btg.util.String.isDefined(cookie)){cookie=cookie.replace(/\+/gim,";");data[_config.varName]=cookie;}}}
return data;},saveToCookie:function(config,value){if(typeof value=="string"&&typeof config.varName=="string"){value=value.replace(/\;/gim,"+");var varName=config.varName;var cookieName=typeof config.cookieName=="string"?config.cookieName:"mtvn_btg_"+varName;var neverDie=typeof config.neverDie=="boolean"?config.neverDie:0;var appendOnly=typeof config.appendOnly=="boolean"||typeof config.appendOnly=="number"?config.appendOnly:0;if(appendOnly){var cookie=mtvn.btg.util.Cookie.read(cookieName);if(mtvn.btg.util.String.isDefined(cookie)){values=value.split(",");for(v=0;v<values.length;v++){var current_value=values[v];if(!mtvn.btg.util.String.isDefined(current_value))continue;if(cookie.indexOf(current_value)>-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<length;x++){var num=Math.floor(Math.random()*chars.length);string+=chars.substring(num,num+1);}
return string;},toObject:function(string,delimiter){var delimiter=delimiter?delimiter:',';var array=string.split(delimiter);var object={};for(var x=0;x<array.length;x++){var pairs=array[x].split('=');object[pairs[0]]=pairs[1];}
return object;},queryStringToObject:function(string){var string=string.indexOf('?')>-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,"&lt;");string=string.replace(/[>]/g,"&gt;");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<node.childNodes.length;x++){var childnode=node.childNodes[x];switch(childnode.nodeType){case 3:linkName=childnode.nodeValue;break;case 1:if(node.attributes['title']&&node.attributes['title'].nodeValue!=''){linkName=node.attributes['title'].nodeValue;}else if(node.attributes['alt']&&node.attributes['alt'].nodeValue!=''){linkName=node.attributes['alt'].nodeValue;}
break;};}
return linkName;},debug:function(message){var debugElement=document.getElementById("debug");if(!debugElement){debugElement=document.createElement("div");debugElement.setAttribute("id","debug");document.getElementsByTagName("body")[0].appendChild(debugElement);}
debugElement.innerHTML=debugElement.innerHTML+message+"<br>";}};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))?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(typeof exposeTestFunctionNames=='undefined')document.write(unescape("%3Cscript src='"+(document.location.protocol=="https:"?"https://sb":"http://b")+".scorecardresearch.com/beacon.js?"+cs_params+"' %3E%3C/script%3E"));}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<pathsToTrim.length;i++){if(pageName.indexOf(pathsToTrim[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}};mtvn.btg.Controller.init();mtvn.btg.Controller.sendPageCall(data);mtvn.btg.config.ReportSettings=oldConfig;return true;}};if(typeof FluxReporting!="undefined"){mtvn.btg.util.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(){var fv=_chkFluxVersion();var loginState=null;switch(fv){case 3:if(Flux.context.user.facebookOnly)loginState="FB Only";else if(Flux.context.user.facebookConnected)loginState="Flux + FB";else if(typeof Flux.context.user.ucid=="string"&&Flux.context.user.ucid.length>0)loginState="Flux Only";else loginState="not logged-in";break;case 2:loginState=Flux.Context.isUserAuthenticated()?"logged-in":"not logged-in";break;default:loginState="not logged-in";}
return loginState;};this.setData=function(context,data){data[context.config.fluxVarMap.memberState]=_getMemberState();data[context.config.fluxVarMap.loginState]=_getLoginState();if(_getLoginState()=="logged-in")mtvn.btg.reporting.UserSegment.add(context,"LoggedIn");return data;};};mtvn.btg.reporting.GoogleAnalytics=function(config){this.config=config;if(config.reportMode=='iframe'){document.write(unescape("%3Cdiv id='btg_ga_div'%3E%3C/div%3E"));}else{var gaJsHost=(("https:"==document.location.protocol)?"https://ssl.":"http://www.");if(typeof exposeTestFunctionNames=='undefined')document.write(unescape("%3Cscript src='"+gaJsHost+"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));}
this.account=config.account;};mtvn.btg.reporting.GoogleAnalytics.prototype={sendPageCall:function(data){if(this.config.reportMode=='iframe'){var _div=document.getElementById("btg_ga_div");var _wl=window.location;var uri=data.pageName;var _uri=uri.substring(0,1)!="/"?"/"+uri:uri;var _refer=document.referrer;var _ga="//media.mtvnservices.com/metrics/ga.html?uri=";_refer="&ref="+escape(_refer);if(_div){var newChild=document.createElement("iframe");newChild.src=_wl.protocol+_ga+_wl.hostname+_uri+_refer;newChild.style.width=1+'px';newChild.style.height=1+'px';newChild.style.visibility='hidden';newChild.style.left=-50+'px';newChild.style.top=-50+'px';newChild.style.position='absolute';_div.appendChild(newChild);}}else{try
{if(typeof exposeTestFunctionNames=='undefined')document.write(unescape("%3Cscript type='text/javascript'%3E")+'var pageTracker = _gat._getTracker("'+this.account+'");pageTracker._trackPageview("'+data.pageName+'");'+unescape("%3C/script%3E"));}
catch(e){}}}};mtvn.btg.reporting.MediaPlayer={context:null,init:function(context){this.context=context;},players:[],addPlayer:function(id){this.players[id]=new this.Player(id);return this.players[id];},Player:function(id){var config=mtvn.btg.config.ReportSettings;this.id=id;this.lastGuid=null;this.swf=null;this.onLoaded=function(){this.swf=document.getElementById(this.id);this.swf.addEventListener('METADATA','mtvn.btg.reporting.MediaPlayer.players[\"'+this.id+'\"].onMetaData');this.swf.addEventListener('ENDSLATE_CLICK','mtvn.btg.reporting.MediaPlayer.players[\"'+this.id+'\"].onEndslateLoad');};this.onMetaData=function(metadata){if(location.search.match(/showMetaData\=true/)){str="";for(m in metadata)str+=m+": "+metadata[m]+"\n";alert(this.lastGuid+"\n\n\n"+str);};var esCampaign="";var url=document.location.search;var isEndSlate=(url.toLowerCase().indexOf("xrs=mpes_")!=-1?true:false);if(isEndSlate){var paramArr=url.replace(/^\?/g,'').split("&");for(var i=0;i<paramArr.length;i++){if(paramArr[i].split('=')[0]=='xrs'){esCampaign=(mtvn.btg.util.String.isDefined(paramArr[i].split('=')[1])?paramArr[i].split('=')[1]:"");}}}
if(metadata["guid"]&&this.lastGuid!==metadata["guid"]){var _data={linkName:"Video View",linkType:"o",eVar28:metadata["contentType"],events:"event15",campaign:esCampaign};if(typeof mtvn.btg.reporting.UserSegment!="undefined"){mtvn.btg.reporting.UserSegment.add(mtvn.btg.reporting.MediaPlayer.context,"VideoViewer");}
if(typeof mtvn.btg.config.ReportSettings.Omniture.videoViewEventDisable!="undefined"&&mtvn.btg.config.ReportSettings.Omniture.videoViewEventDisable){_data.events="";}
mtvn.btg.Controller.sendLinkEvent(_data);};this.lastGuid=metadata["guid"];};this.onEndslateLoad=function(){var _data={linkName:"Endslate View",linkType:"o"};if(typeof mtvn.btg.reporting.UserSegment!="undefined"){mtvn.btg.reporting.UserSegment.add(mtvn.btg.reporting.MediaPlayer.context,"EndslateViewer");}
mtvn.btg.Controller.sendLinkEvent(_data);};},onWindowLoaded:function(e){var oldMtvnPlayerLoaded=window["mtvnPlayerLoaded"];var mtvnPlayerLoaded=function(id){if(typeof oldMtvnPlayerLoaded!="undefined")oldMtvnPlayerLoaded(id);if(typeof document.getElementById(id)=="undefined")return;mtvn.btg.reporting.MediaPlayer.addPlayer(id);mtvn.btg.reporting.MediaPlayer.players[id].onLoaded();};window["mtvnPlayerLoaded"]=mtvnPlayerLoaded;}};try{mtvn.btg.util.Events.addListener(window,"load",mtvn.btg.reporting.MediaPlayer.onWindowLoaded);}catch(e){}
mtvn.btg.reporting.Nielsen=function(config){var isDefined=mtvn.btg.util.String.isDefined;this.config=config;this.url="http://secure-us.imrworldwide.com/cgi-bin/m";};mtvn.btg.reporting.Nielsen.prototype={formatData:function(data){var retVal={};var isDefined=mtvn.btg.util.String.isDefined;var data=(isDefined(data)?data:{});this.ci=(isDefined(data.nielsen_cid))?data.nielsen_cid:(isDefined(this.config.cid))?this.config.cid:"";if(isDefined(this.ci)){retVal.ci=this.ci;retVal.cg=(isDefined(data.nielsen_content))?data.nielsen_content:(isDefined(this.config.content))?this.config.content:"0";retVal.ca=(isDefined(data.nielsen_campaign))?data.nielsen_campaign:(isDefined(this.config.campaign))?this.config.campaign:"";retVal.cr=(isDefined(data.nielsen_creative))?data.nielsen_creative:(isDefined(this.config.creative))?this.config.creative:"";retVal.ce=(isDefined(data.nielsen_execution))?data.nielsen_execution:(isDefined(this.config.execution))?this.config.execution:"";retVal.pc=(isDefined(data.nielsen_placement))?data.nielsen_placement:(isDefined(this.config.placement))?this.config.placement:"";retVal.rt=(isDefined(data.nielsen_result))?data.nielsen_result:(isDefined(this.config.result))?this.config.result:"";retVal.rf=(isDefined(data.nielsen_resultFlag))?data.nielsen_resultFlag:(isDefined(this.config.resultFlag))?this.config.resultFlag:"";retVal.rv=(isDefined(data.nielsen_revenue))?data.nielsen_revenue:(isDefined(this.config.revenue))?this.config.revenue:"";retVal.ou=(isDefined(data.nielsen_ownership))?data.nielsen_ownership:(isDefined(this.config.ownership))?this.config.ownership:"";retVal.sd=(isDefined(data.nielsen_streamDuration))?data.nielsen_streamDuration:(isDefined(this.config.streamDuration))?this.config.streamDuration:"";retVal.pg=(isDefined(data.nielsen_primaryGroup))?data.nielsen_primaryGroup:(isDefined(this.config.primaryGroup))?this.config.primaryGroup:"";retVal.si=(isDefined(data.nielsen_pageName))?data.nielsen_pageName:(isDefined(this.config.pageName))?this.config.pageName:document.location.href;retVal.rp=(isDefined(data.nielsen_referrer))?data.nielsen_referrer:(isDefined(this.config.referrer))?this.config.referrer:document.referrer;retVal.ss=(isDefined(data.nielsen_sampleSize))?data.nielsen_sampleSize:(isDefined(this.config.sampleSize))?this.config.sampleSize:"";retVal.sv=(isDefined(data.nielsen_survey))?data.nielsen_survey:(isDefined(this.config.survey))?this.config.survey:"";retVal.rnd=new Date().getTime();}
return retVal;},sendPageCall:function(data){var isDefined=mtvn.btg.util.String.isDefined;var beacon=new mtvn.btg.util.Beacon(this.url);beacon.setData(this.formatData(data));if(isDefined(this.ci))beacon.send();}};mtvn.btg.reporting.Omniture=function(config){this.pageViewEventSet=false;this.name="Omniture";this.values=[];this.newRepeatProp=mtvn.btg.util.String.isDefined(config.newRepeatProp)?config.newRepeatProp:"prop41";this.config=config;this.hcode=mtvn.btg.reporting.omniture.Hcode;this.hcode.setAccount(this.config.account);for(var i in this.config)this.hcode[i]=this.config[i];this.url="http"+(this.hcode.ssl?"s":"")+"://"+this.hcode.un+".112.2o7.net/b/ss/"+this.hcode.un+"/1/";if(typeof this.config.userSegmentVarMap=="undefined"){this.config.userSegmentVarMap={traffic:"prop31",commerce:"products"}
mtvn.btg.config.ReportSettings.Omniture.userSegmentVarMap=this.config.userSegmentVarMap;}
if(typeof mtvn.btg.reporting.UserSegment=="object")
mtvn.btg.reporting.UserSegment.init(this);if(typeof this.config.fluxVarMap=="undefined"){this.config.fluxVarMap={memberState:"prop5",loginState:"prop6"}
mtvn.btg.config.ReportSettings.Omniture.fluxVarMap=this.config.fluxVarMap;}
if(typeof this.config.timePartingVarMap=="undefined"){this.config.timePartingVarMap={trafficDay:"prop33",trafficHour:"prop34",commerceDay:"eVar45",commerceHour:"eVar46"}}
if(typeof this.config.ESIVarMap=="undefined"){this.config.ESIVarMap={asnum:"eVar47",network:"eVar48"}}
if(typeof this.config.pageViewEvent!="string"){this.config.pageViewEvent="event16";};if(typeof mtvn.btg.reporting.Search=="object")
mtvn.btg.reporting.Search.init(this);if(typeof mtvn.btg.reporting.MediaPlayer=="object")
mtvn.btg.reporting.MediaPlayer.init(this);if(typeof this.config.sessionVars!="undefined")mtvn.btg.util.Session.Variables.add(this.config.sessionVars);};mtvn.btg.reporting.Omniture.prototype={setAttribute:function(k,v){if(mtvn.btg.util.String.isDefined(k)){this.hcode[k]=(mtvn.btg.util.String.isDefined(v)?v:'');return true;}
else{return false;}},getAttribute:function(k){return this.hcode[k];},setValues:function(data){for(var i in data){this.setAttribute(i,data[i]);this.values.push(i);}
return true;},clearValues:function(){for(x=0;x<this.values.length;x++){if(this.values[x]!="pageName"){this.setAttribute(this.values[x],"");}}
this.clearNewRepeat();this.values=this.getPageName()?["pageName"]:[];return true;},setNewRepeat:function(){this.setAttribute(this.newRepeatProp,this.hcode.getNewRepeat());return true;},clearNewRepeat:function(){this.setAttribute(this.newRepeatProp,"");return true;},getValOnce:function(v,c,e){return this.hcode.getValOnce(v,c,e);},getNewRepeat:function(){return this.hcode.getNewRepeat();},getPageName:function(){return this.getAttribute("pageName");},preprocessData:function(data){if(typeof mtvn.btg.reporting.UserSegment!="undefined"){data=mtvn.btg.reporting.UserSegment.setData(this,data);}
data=mtvn.btg.util.Session.Variables.setData(data);return data;},sendPageCall:function(data){data=typeof data!="object"?{}:data;if(typeof data.pageName!="string"||data.pageName==""){data.pageName=(mtvn.btg.util.String.isDefined(this.hcode.pageName)?this.hcode.pageName:mtvn.btg.config.ReportSettings.defaultPageName);}
if(typeof this.config.noPagenameSlash!="undefined"&&this.config.noPagenameSlash&&data.pageName.charAt(0)=="/"){data.pageName=data.pageName.substring(0);}
if(typeof this.config.defaultHier=="string"&&this.config.defaultHier!=""){if(typeof data[this.config.defaultHier]!="string"||data[this.config.defaultHier]==""){data[this.config.defaultHier]=(mtvn.btg.util.String.isDefined(this.hcode[this.config.defaultHier])?this.hcode[this.config.defaultHier]:data.pageName);while(data[this.config.defaultHier].charAt(0)=="/"){data[this.config.defaultHier]=data[this.config.defaultHier].substring(1);}}}
if(typeof data.channel!="string"||data.channel==""){if(typeof this.hcode.channel=="string"){data.channel=this.hcode.channel;}
else if(data.pageName=="/"){data.channel=data.pageName;}else{var parts=data.pageName.split("/");for(var p=0;p<parts.length;p++){if(parts[p]!=""){data.channel=parts[p];break;}}}}
if(typeof mtvn.btg.reporting.SEO!="undefined")data=mtvn.btg.reporting.SEO.setData(this,data);if((typeof this.config.isFluxHosted=="undefined"||(typeof this.config.isFluxHosted!="undefined"&&this.config.isFluxHosted!=true))&&typeof mtvn.btg.reporting.FluxState!="undefined")data=mtvn.btg.reporting.FluxState.setData(this,data);if(typeof mtvn.btg.reporting.Search!="undefined")data=mtvn.btg.reporting.Search.setData(data);if(typeof mtvn.btg.reporting.Search!="undefined")data=mtvn.btg.reporting.Search.chkConversions(data);if(typeof mtvn.btg.reporting.RecsABTesting!="undefined")data=mtvn.btg.reporting.RecsABTesting.setData(this,data);if(typeof mtvn.btg.reporting.ESIVars!="undefined")data=mtvn.btg.reporting.ESIVars.setData(this,data);if(typeof this.config.enableTimeParting!="undefined"&&this.config.enableTimeParting==true&&typeof this.config.timePartingVarMap!="undefined"){var now=new Date();var year=now.getYear();year=year<2000?year+=1900:year;var tz=(now.getTimezoneOffset()/-60);data[this.config.timePartingVarMap.commerceHour]=data[this.config.timePartingVarMap.trafficHour]=this.hcode.getTimeParting('h',tz,year);data[this.config.timePartingVarMap.commerceDay]=data[this.config.timePartingVarMap.trafficDay]=this.hcode.getTimeParting('d',tz,year);}
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");if(!mtvn.btg.globalvars.IS_UNIT_TEST)
{document.write(unescape("%3Cscript src='"+qcHost+".quantserve.com/quant.js' type='text/javascript'%3E%3C/script%3E"));if(!mtvn.btg.util.String.isDefined(mtvn.btg.util.Cookie.read('qcDemo'))){document.write(unescape("%3Cscript src='"+"http://pixel.quantserve.com/api/segments.json?a="+_qacct+"&callback=mtvn.btg.reporting.QuantCast.Ads.setCookieDemoTargetVal' type='text/javascript'%3E%3C/script%3E"));}}
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){try{var _labels="";var dartSite="";var sections="";dartSite=data.dartSite.replace(/\./g,'_');sections=data.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<result.segments.length;i++)
demoTokenStr[i]="demo="+result.segments[i].id;mtvn.btg.util.Cookie.set('qcDemo',escape(demoTokenStr.join(";")));};};mtvn.btg.reporting.ReportingManager=new function(){var hasOmniture=false;var hasNielsen=false;var hasComScoreCalled=false;var hasQuantCast=false;var hasComScore=false;var hasGoogleAnalytics=false;var pageName;var config;var omniture;var nielsen;var quantcast;var comscore;var googleAnalytics;this.init=function(){config=mtvn.btg.config.ReportSettings;if(config.Omniture){if(config.Omniture.enabled){omniture=new mtvn.btg.reporting.Omniture(config.Omniture);hasOmniture=true;}}
if(config.Nielsen){if(config.Nielsen.enabled){nielsen=new mtvn.btg.reporting.Nielsen(config.Nielsen);hasNielsen=true;}}
if(config.GoogleAnalytics){if(config.GoogleAnalytics.enabled){googleAnalytics=new mtvn.btg.reporting.GoogleAnalytics(config.GoogleAnalytics);hasGoogleAnalytics=true;}}
if(config.QuantCast && !hasQuantCast){if(config.QuantCast.enabled){quantcast=new mtvn.btg.reporting.QuantCast(config.QuantCast);hasQuantCast=true;}}
if(config.ComScore){if(config.ComScore.enabled){comscore=new mtvn.btg.reporting.ComScore(config.ComScore);hasComScore=true;}}};this.sendPageCall=function(data){if(hasOmniture){omniture.sendPageCall(data);pageName=omniture.getPageName();}
if(hasNielsen){nielsen.sendPageCall(data);}
if(hasQuantCast){quantcast.sendPageCall(data);}
if(hasGoogleAnalytics){googleAnalytics.sendPageCall(data);}
if(hasComScore && !hasComScoreCalled){comscore.sendPageCall(data);hasComScoreCalled = true;}};this.sendLinkEvent=function(data){if(hasOmniture){omniture.sendLinkEvent(data);}};this.getData=function(){return{pageName:pageName};};};mtvn.btg.reporting.Search={events:"",init:function(context){this.context=context;},setData:function(_data){if(typeof com_mtvi_SSDC!="object")return _data;var linkTrackVars="events,prop31";this._setEvent("event36");_data["eVar3"]=typeof com_mtvi_SSDC.srchtype=="string"?com_mtvi_SSDC.srchtype:"GENERAL";if(typeof com_mtvi_SSDC.srchsyn!="undefined"){this._setEvent("event33");if(typeof com_mtvi_SSDC.srchsyn=="object"){for(s=0;s<com_mtvi_SSDC.srchsyn.length;s++)com_mtvi_SSDC.srchsyn[s]=com_mtvi_SSDC.srchsyn[s].replace(/\,/,"");com_mtvi_SSDC.srchsyn=com_mtvi_SSDC.srchsyn.join(",");}
_data["eVar2"]=com_mtvi_SSDC.srchterm;_data["eVar36"]=com_mtvi_SSDC.srchsyn;linkTrackVars+=",eVar36";}
else if(typeof com_mtvi_SSDC.srchterm=="string"){this._setEvent("event38");_data["eVar2"]=com_mtvi_SSDC.srchterm;linkTrackVars+=",eVar2";}
else if(typeof com_mtvi_SSDC.srchfail=="string"){this._setEvent("event37");_data["eVar4"]=typeof com_mtvi_SSDC.appfailure=="boolean"&&com_mtvi_SSDC.appfailure?"APP_FAILURE":com_mtvi_SSDC.srchfail;linkTrackVars+=",eVar4";}
mtvn.btg.reporting.UserSegment.add(this.context,"SiteSearcher");_data["linkTrackVars"]=linkTrackVars;_data["linkTrackEvents"]=this.events;return _data;},sendLinkEvent:function(){if(!com_mtvi_SSDC)return false;var _data={linkName:"SITE_SEARCH_RESULTS",linkType:"o"}
_data=this.setData(_data);mtvn.btg.Controller.sendLinkEvent(_data);return true;},_setEvent:function(evt){if(this.events.indexOf(evt)<0){if(this.events!="")this.events+=",";this.events+=evt;}
return this.events;},chkConversions:function(_data){if(typeof _data.events=="string")this.events=_data.events;if(mtvn.btg.util.Cookie.read("mtvn_btg_SSDC_conv")){this._setEvent("event35");mtvn.btg.util.Cookie.remove("mtvn_btg_SSDC_conv");}
if(mtvn.btg.util.Cookie.read("mtvn_btg_SSDC_syn_conv")){this._setEvent("event34");mtvn.btg.util.Cookie.remove("mtvn_btg_SSDC_syn_conv");}
_data.events=this.events;return _data;},setConversion:function(){mtvn.btg.util.Cookie.set("mtvn_btg_SSDC_conv",1);},setSynConversion:function(){mtvn.btg.util.Cookie.set("mtvn_btg_SSDC_syn_conv",1);}};mtvn.btg.reporting.SEO={setData:function(context,data){this.setUserSegments(context);return data;},setUserSegments:function(context){var engines=[["google.com","GoogleUser"],["msn.com","MSNUser"],["yahoo.com","YahooUser"]];for(e=0;e<engines.length;e++){var referrer=document.referrer;if(referrer.indexOf(engines[e][0])>-1){if(typeof mtvn.btg.reporting.UserSegment!="undefined"){mtvn.btg.reporting.UserSegment.add(context,engines[e][1]);}}}}};mtvn.btg.reporting.UserSegment={init:function(context){context._UserSegment={};context._UserSegment.segments=[];if(typeof mtvn.btg.util.Session=="object"){mtvn.btg.util.Session.Variables.add([{varName:context.config.userSegmentVarMap.traffic,appendOnly:1},{varName:context.config.userSegmentVarMap.commerce,appendOnly:1}]);}
return true;},add:function(context,segment){for(s=0;s<context._UserSegment.segments.length;s++){if(context._UserSegment.segments[s]==segment)return false;}
context._UserSegment.segments[context._UserSegment.segments.length]=segment;return true;},getArr:function(context){return context._UserSegment.segments},getStr:function(context,pre,post){if(!pre)pre="";if(!post)post="";var str=typeof context._UserSegment.segments=="object"&&context._UserSegment.segments.length>0?pre+context._UserSegment.segments.join(post+","+pre)+post:null;return str;},setData:function(context,data){data[context.config.userSegmentVarMap.traffic]=this.getStr(context);data[context.config.userSegmentVarMap.commerce]=this.getStr(context,";");return data;}}
mtvn.btg.reporting.RecsABTesting={setData:function(context,data){var cookie=mtvn.btg.util.Cookie.read("RecsVendor");if(mtvn.btg.util.String.isDefined(cookie)){var segment=null;switch(cookie){case"0":segment="RecsAB_ChoiceStream";break;case"1":segment="RecsAB_Control";break;}
if(segment)
mtvn.btg.reporting.UserSegment.add(context,segment);}
return data;}};var s_code='',s_objectID;function s_gi(un,pg,ss){try{var c="=fun`o(~.substring(~){`Ps=^O~.indexOf(~#2 ~;$2~`b$2~=new Fun`o(~.length~.toLowerCase()~`Ps#8c_#k^an+'],~=new Object~};s.~`YMigrationServer~.toU"
+"pperCase~){$2~','~s.wd~);s.~')q='~=new Array~ookieDomainPeriods~.location~^LingServer~dynamicAccount~var ~link~s.m_~=='~s.apv~BufferedRequests~Element~)$2x^b!Object#WObject.prototype#WObject.protot"
+"ype[x])~etTime~visitor~$w@c(~referrer~else ~s.pt(~s.maxDelay~}c#E(e){~#i+~=''~.lastIndexOf(~^wc_i~}$2~.protocol~=new Date~^wobjectID=s.ppu=$I=$Iv1=$Iv2=$Iv3~for(i=~ction~javaEnabled~onclick~Name~te"
+"rnalFilters~javascript~s.dl~@6s.b.addBehavior(\"# default# ~=parseFloat(~typeof(v)==\"~window~cookie~while(~s.vl_g~Type~;i#U{~tfs~s.un~&&s.~o^woid~browser~.parent~document~colorDepth~String~.host~s"
+".fl(~s.rep(~s.eo~'+tm@S~s.sq~parseInt(~t=s.ot(o)~track~nload~j='1.~this~#PURL~}else{~s.vl_l~lugins~'){q='~dynamicVariablePrefix~');~;for(~Sampling~s.rc[un]~Event~._i~&&(~loadModule~resolution~s.c_r"
+"(~s.c_w(~s.eh~s.isie~\"m_\"+n~Secure~Height~tcf~isopera~ismac~escape(~'s_~.href~screen.~s#8gi(~Version~harCode~variableProvider~.s_~)s_sv(v,n[k],i)}~')>=~){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<x`8^3n=x`1i,i+1)`5c`3n)>=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;p<x`8;p#U$2(@j')`3x`1p,p#j<0)`40;`41`Crep#8rep;s.sp#8sp;s.jn#8jn;@c`0x`2,h=@jABCDEF',i,c=s.@L,n,l,e,y`g;c=c?c`E$g`5x){x`g+x`5c`SAUTO'^b'').c^uAt){`n0;i<x`8^3"
+"c=x`1i,i+$8n=x.c^uAt(i)`5n>127){l=0;e`g;^0n||l<4){e=h`1n%16,n%16+1)+e;n=(n-n%16)/16;l++}#Z'%u'+e}`6c`S+')#Z'%2B';`b#Z^oc)}x=y^Qx=x?^F^o#b),'+`G%2B'):x`5x&&c^6em==1&&x`3'%u#T0&&x`3'%U#T0){i=x`3'%^V^"
+"0i>=0){i++`5h`18)`3x`1i,i+1)`E())>=0)`4x`10,i)+'u00'+x`1#Yi=x`3'%',i$a}`4x`Cepa`0x`2;`4x?un^o^F#b,'+`G ')):x`Cpt`0x,d,f,a`2,t=x,z=0,y,r;^0t){y=t`3d);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R`U#W^f^pbr',rs))$L=rs`Cflush`U`0){^O.fbr(0)`Cfbr`0id`2,br=^e^pbr')`5!br)br=$L`5br`F!s.@R`U)^f^"
+"pbr`G'`Imr(0,0,br)}$L=0`Cmr`0$C,q,$nid,ta,u`2,dc=s.dc,t1=s.`N,t2=s.`N^j,tb=s.`NBase,p='.sc',ns=s.`Y`r$R,un=s.cls(u?u:(ns?ns:s.fun)),r`B,l,imn=^pi_'+(un),im,b,e`5!rs`Ft1`Ft2^6ssl)t1=t2^Q$2!tb)tb='$V"
+"`5dc)dc=@Udc)`9;`bdc='d1'`5tb`S$V`Fdc`Sd1$r12';`6dc`Sd2$r22';p`g}t1#9+'.'+dc+'.'+p+tb}rs='@O'+(@8?'s'`f'://'+t1+'/b/ss/'+^5+'/'+(s.#3?'5.1':'1'$dH.20.3/'+$C+'?AQB=1&ndh=1'+(q?q`f'&AQE=1'`5^h@Vs.^n`"
+"F`T>5.5)rs=^E$n4095);`brs=^E$n2047)`jid^zbr(id,rs);#2}`js.d.images&&`T>=3^b!s.^m||`T>=7)^b@e<0||`T>=6.1)`F!s.rc)s.rc`B`5!^Y){^Y=1`5!s.rl)s.rl`B;@An]`K;s`Xout('$2`y`il)`y`il['+s^an+']@J)',750)^Ql=@A"
+"n]`5l){r.t=ta;r.u#9;r.r=rs;l[l`8]=r;`4''}imn+=@y^Y;^Y++}im=`H[imn]`5!im)im=`H[im$7new Image;im^wl=0;im.o^M`7'e`G^O^wl=1;`Pwd=`y,s`5wd`il){s=wd`il['+s^an+'];s@J`Inrs--`5!$M)`Rm(\"rr\")}')`5!$M^znrs="
+"1;`Rm('rs')}`b$M++;im@Q=rs`5rs`3'&pe=^y0^b!ta||ta`S_self$ca`S_top'||(`H.@4$xa==`H.@4)#Vb=e`l;^0!im^w#ae.g`X()-b.g`X()<500)e`l}`4''}`4'<im'+'g sr'+'c=@wrs+'\" width=1 #4=1 border=0 alt=\"\">'`Cgg`0v"
+"`2`5!`H[^p#g)`H[^p#g`g;`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^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<l.length;i++){s=l[i];if(!s._c||s._c=='s_c'){if(s.oun==un)return s;else if(s.fs&&s.sa&&s.fs(s.oun,un)){s.sa(un);return s}}}}w.s_an='0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz';w.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<x.length;i++)a[a.length]=x.substring(i,i+1);else while(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;i<j;i++)x+=d+a[i]}}return x");w.s_rep=new Function("x","o","n","return s_jn(s_sp(x,o),n)");w.s_d=new Function("x","var t='`^@$#',l=s_an,l2=new Object,x2,d,b=0,k,i=x.lastIndexOf('~~'),j,v,w;if(i>0){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<x2.length;j++){k=x2[j].substring(0,1);w=t[i]+k;if(k!=' '){v=1;w=d[b+l2[k]]}x2[j]=w+x2[j].substring(1)}}if(v)x=s_jn("
+"x2,'');else{w=t[i]+' ';if(x.indexOf(w)>=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<e){c=f.substring(s,s+1);if(c==',')a+='\",\"';else if((\"\\n\\r\\t \").indexOf(c)<0)a+=c;s++}return a?'\"'+a+'\"':"
+"a");w.s_ft=new Function("c","c+='';var s,e,o,a,d,q,f,h,x;s=c.indexOf('=function(');while(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","y",""
+"dc=new Date('1/1/2000');f=15;ne=8;if(dc.getDay()!=6||"
+"dc.getMonth()!=0){return'Data Not Available'}else{;z=parseInt(z);"
+"if(y=='2009'){f=8;ne=1};gmar=new Date('3/1/'+y);dsts=f-gmar.getDay("
+");gnov= new Date('11/1/'+y);dste=ne-gnov.getDay();spr=new Date('3/'"
+"+dsts+'/'+y);fl=new Date('11/'+dste+'/'+y);cd=new Date();"
+"if(cd>spr&&cd<fl){z=z+1}else{z=z};utc=cd.getTime()+(cd.getTimezoneO"
+"ffset()*60000);tz=new Date(utc + (3600000*z));thisy=tz.getFullYear("
+");var days=['Sunday','Monday','Tuesday','Wednesday','Thursday','Fr"
+"iday','Saturday'];if(thisy!=y){return'Data Not Available'}else{;thi"
+"sh=tz.getHours();thismin=tz.getMinutes();thisd=tz.getDay();var dow="
+"days[thisd];var ap='AM';var dt='Weekday';var mint='00';if(thismin>3"
+"0){mint='30'}if(thish>=12){ap='PM';thish=thish-12};if (thish==0){th"
+"ish=12};if(thisd==6||thisd==0){dt='Weekend'};var timestring=thish+'"
+":'+mint+ap;var daystring=dow;var endstring=dt;if(t=='h'){return tim"
+"estring}if(t=='d'){return daystring};if(t=='w'){return en"
+"dstring}}};");}
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");}
mtvn.btg.ads.AdManager=new function(){var hasDoubleClickAd=false;var hasInternationalAd=false;var hasQuantCast=false;var config;var ads=[];var data={};var counter=0;this.reloadableAds={};this.init=function(){config=mtvn.btg.config.AdSettings;var qc_obj={};if(config.DoubleClick){if(config.DoubleClick.enabled){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.International){if(config.International.enabled){qc_obj.sections=mtvn.btg.util.Sections.getAdSections();qc_obj.dartSite=config.International.dartSite;hasInternationalAd=true;}}
if(config.QuantCast){if(config.QuantCast.enabled){hasQuantCast=true;}}
if(hasQuantCast){mtvn.btg.reporting.QuantCast.Ads.setLabels(qc_obj);}};this.placeAd=function(a_data){var ad=this.getAd(a_data);return ad.placeAd(a_data);};this.placeIFrameAd=function(adHtml,a_data){var containerId="container"+a_data.reloadableAdId;this.reloadableAds[a_data.reloadableAdId]={data:a_data};document.write('<iframe allowtransparency="true" name="'+containerId+'" id="'+containerId+'" src="'+adHtml+'?'+a_data.reloadableAdId+'" width='+a_data.size.split('x')[0]+' height='+a_data.size.split('x')[1]+' marginwidth=0 marginheight=0 frameborder=0 scrolling="no"></iframe>');}
this.getData=function(){return data;};this.setDefaultSections=function(a_defaultSections){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&&a_data.adType==="InternationalAd"){ad=new mtvn.btg.ads.InternationalAd(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(hasDoubleClickAd){ad=new mtvn.btg.ads.DoubleClickAd(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("<!-- [ERROR: Ads not enabled. Please check your config or placeAd() method call!] -->");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.AtomAd=function(config){this.config=config;this.type="AtomAd";};mtvn.btg.ads.AtomAd.prototype={placeAd:function(data){document.write("[mtvn.btg.ads.AtomAd.placeAd() Stub Method]");}};mtvn.btg.ads.DoubleClickAd=function(config){this.config=config;this.type="DoubleClickAd";this.id;this.server="ad.doubleclick.net";this.ssl=false;this.dartSite;this.contentType="adj";this.mediaType="standard";this.sections;this.keyValues="";this.size;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.DoubleClickAd.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.replace(/[^\/\w=!;|-]/g,"_");while(str.match(/\/\d/)){str=str.replace(/\/\d/,RegExp.lastMatch.substring(0,1)+"_"+RegExp.lastMatch.substring(1,2));}
str=str.replace(/^\d/,"_"+str.match(/^\d/,"_"));this.sections=str.replace(/^\/+|\/+$/g,'');if(this.sections.indexOf('.')>-1){this.sections=this.sections.split('.')[0];}},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="));}},setSize:function(str){this.size=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;x<parts.length;x++){if(mtvn.btg.util.String.isDefined(parts[x])){sections.push('sec'+count+'='+parts[x]);count++;}}
return sections.join(';');},formatKeyValues:function(){var extraKeyVals=this.getAdditionalKeyValues();if(mtvn.btg.util.String.isDefined(extraKeyVals)){this.keyValues+=";"+extraKeyVals;}
if(this.keyValues.indexOf("pos=")==-1){this.keyValues+=";pos="+this.getPosition();}
if(this.keyValues.indexOf("tag=")==-1){this.keyValues+=";tag="+this.contentType;}
if(this.keyValues.indexOf("mtype=")==-1){this.keyValues+=";mtype="+this.mediaType;}
this.keyValues=this.formatReserved();if(mtvn.btg.util.String.isDefined(this.size)&&this.keyValues.indexOf("sz=")==-1){this.keyValues+=";sz="+this.size;}
if(this.tile>=0&&this.keyValues.indexOf("tile=")==-1){this.keyValues+=";tile="+this.tile;}
var demoVal=mtvn.btg.util.Cookie.read('qcDemo');if(mtvn.btg.util.String.isDefined(demoVal)&&this.keyValues.indexOf("demo=D")==-1){this.keyValues+=";"+unescape(demoVal);}
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;}
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<reserved.length;i++){if(keyvals.indexOf(reserved[i]+"=")>-1){var key=this.getKeyValue(reserved[i]+"=");var tempKeys=keyvals.split(reserved[i]+"="+key);for(var x=0;x<tempKeys.length;x++){tempKeys[x]=tempKeys[x].replace(/^;+|;+$/g,'');}
this.reservedKeyValues[reserved[i]]=key;keyvals=tempKeys.join(';');}}
return keyvals;},formatUValues:function(str){var uvals=str;uvals=uvals.replace(/\;/g,'|');uvals=uvals.replace(/\=/g,'-');return uvals;},getAdditionalKeyValues:function(){return this.additionalKeyValues.join(';');},getValues:function(){var zone=mtvn.btg.util.String.isDefined(this.zoneOverride)?this.zoneOverride:this.formatZone();var keyVals=this.formatKeyValues();var secVals=this.formatSectionValues();var uVals=this.formatUValues(keyVals);if(uVals!=""){uVals="u="+uVals;}
return{id:this.id,protocol:this.getProtocol(),server:this.server,dartSite:this.dartSite,contentType:this.contentType,mediaType:this.mediaType,zone:zone,sections:secVals,keyValues:keyVals,uValues:uVals,ord:this.ord};},formatUrl:function(values){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+"?");}
return vals.join(";");},getWidth:function(){return this.size.substr(0,this.size.indexOf("x"));},getHeight:function(){return this.size.substr(this.size.indexOf("x")+1,this.size.length);},getUrl:function(){return this.formatUrl(this.getValues());},getJson:function(){var values=this.getValues();values.url=this.formatUrl(values);return values;},getXml:function(){var xml=[];var values=this.getValues();values.url=this.formatUrl(values);for(var i in values){if(typeof(values[i]=='string')){xml.push('<'+i+'>'+'</'+values[i]+'>');}}
return'<doubleClickAd>'+xml.join('')+'</doubleClickAd>';},placeAd:function(a_data){if(this.contentType=="adi"){var frameId="ad"+this.tile;var dimensions=this.size.split('x');var htmlOut='<ifr'+'ame allowtransparency="true" id="'+frameId+'" name="'+frameId+'" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" width="'+dimensions[0]+'" height="'+dimensions[1]+'" src="'+this.getUrl()+'"><\/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 type="text/javascript" src="'+this.getUrl()+'"><\/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.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.InternationalAd=function(config){this.config=config;this.type="InternationalAd";this.ad=new mtvn.btg.ads.DoubleClickAd(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="_hp";};if(mtvn.btg.util.String.isDefined(parts[1])){sec1=parts[1];};if(mtvn.btg.util.String.isDefined(parts[2])){for(x=2;x<parts.length;x++){if(mtvn.btg.util.String.isDefined(parts[x])){temparr.push(parts[x]);}}
secn=temparr.join("/");};var result="sec0="+sec0+";sec1="+sec1+";secN="+secn;return result;};this.ad.formatUValues=function(){return"";}
this.init=function(data){}};mtvn.btg.ads.InternationalAd.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(typeof exposeTestFunctionNames=='undefined')document.write(this.ad.getUrl());}
else
{var htmlOut='<br><scr'+'ipt type="text/javascript" src="'+this.ad.getUrl()+'"><\/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(typeof exposeTestFunctionNames=='undefined')document.write(htmlOut);}},addInternationalValues:function(data){if(mtvn.btg.util.String.isDefined(data.log)){this.ad.addKeyValues("log="+data.log);};if(mtvn.btg.util.String.isDefined(data.demo)){this.ad.addKeyValues("demo="+data.demo);};if(mtvn.btg.util.String.isDefined(data.event)){this.ad.addKeyValues("event="+data.event);};if(mtvn.btg.util.String.isDefined(data.keyword)){this.ad.addKeyValues("search_kw="+data.keyword);};if(mtvn.btg.util.String.isDefined(data.vid)){this.ad.addKeyValues("vid="+data.vid);};if(mtvn.btg.util.String.isDefined(data.vid_type)){this.ad.addKeyValues("vid_type="+data.vid_type);};if(mtvn.btg.util.String.isDefined(data.region)){this.ad.addKeyValues("region="+data.region);};this.ad.addKeyValues("url="+escape(data.sections));}};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.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.clearAllVars();};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.widget.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;}}
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;}}
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;}}
catch(e){}};this.setDefaultSections=function(a_defaultSections){if(mtvn.btg.util.String.isDefined(a_defaultSections))
mtvn.btg.ads.AdManager.setDefaultSections(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;}}
catch(e){}};this.placeAd=function(a_adParametersObj){try{if(!com.mtvi.reporting.Controller.initalized){mtvn.btg.Controller.init();com.mtvi.reporting.Controller.initalized=true;}
if(a_adParametersObj.adType=="InternationalAd"){a_adParametersObj.sections=mtvn.btg.util.Sections.getAdSections();};mtvn.btg.ads.AdManager.placeAd(a_adParametersObj);}
catch(e){}};this.setServer=function(a_server){try{if(mtvn.btg.config.AdSettings.DoubleClick.enabled&&!mtvn.btg.util.String.isDefined(mtvn.btg.config.AdSettings.DoubleClick.server)){mtvn.btg.config.AdSettings.DoubleClick.server=a_server;}}
catch(e){}};this.setSsl=function(){try{if(mtvn.btg.config.AdSettings.DoubleClick.enabled&&!mtvn.btg.util.String.isDefined(mtvn.btg.config.AdSettings.DoubleClick.ssl)){mtvn.btg.config.AdSettings.DoubleClick.ssl=true;}}
catch(e){}};this.setDefaultContentType=function(a_defaultContentType){try{if(mtvn.btg.config.AdSettings.DoubleClick.enabled&&!mtvn.btg.util.String.isDefined(mtvn.btg.config.AdSettings.DoubleClick.contentType)){mtvn.btg.config.AdSettings.DoubleClick.contentType=a_defaultContentType;}}
catch(e){}};this.setZoneOverride=function(a_zone){try{if(mtvn.btg.config.AdSettings.DoubleClick.enabled&&!mtvn.btg.util.String.isDefined(mtvn.btg.config.AdSettings.DoubleClick.zoneOverride)){mtvn.btg.config.AdSettings.DoubleClick.zoneOverride=a_zone;}}
catch(e){}};this.IFrameAds=[];this.placeIFrameAd=function(a_adParametersObj){try{var ad=this.getAd(a_adParametersObj);var adReloader=new com.mtvi.util.IFrameReloader(a_adParametersObj.containerId);adReloader.src=ad.getUrl();adReloader.width=ad.getWidth();adReloader.height=ad.getHeight();adReloader.write();if(a_adParametersObj.reloadAd){this.IFrameAds.push(adReloader);}}catch(e){}};this.setReloadInterval=function(num){try{reloadInterval=parseInt(num);mtvn.btg.util.Events.addListener(window,"load",function(){try{window.setInterval("com.mtvi.ads.AdManager.reloadIFrameAds()",reloadInterval);}catch(e){}});}catch(e){}};this.setAdClass=function(a_class){if(a_class=="InternationalAd"){adType="InternationalAd";}};this.getAdById=function(a_adId){return null;};this.getDartSite=function(){var retVal=null;try{if(mtvn.btg.util.String.isDefined(mtvn.btg.ads.AdManager.data.dartSite)){retVal=mtvn.btg.ads.AdManager.data.dartSite;}}
catch(e){try{retVal=mtvn.btg.config.AdSettings.DoubleClick.dartSite;}
catch(e){}}
return retVal;};this.getAd=function(a_adParametersObj){var retVal=null;try{retVal=mtvn.btg.ads.AdManager.getAd(a_adParametersObj);}
catch(e){}
return retVal;};this.getReloadInterval=function(){try{return reloadInterval;}catch(e){}};this.reloadIFrameAds=function(){for(var x=0;x<this.IFrameAds.length;x++){this.reloadIFrameAd(x);}};this.reloadIFrameAd=function(index){var src=this.IFrameAds[index].src;if(index==0)ord=Math.random(100000000000000000,999999999999999999);if(src.indexOf("ord=")>-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;x<array.length;x++){var pairs=array[x].split('=');object[pairs[0]]=pairs[1];}
return object;},queryStringToHash:function(string){return mtvn.btg.util.String.queryStringToObject(string);},isDefined:function(value){return mtvn.btg.util.String.isDefined(value);},readCookie:function(name){return mtvn.btg.util.Cookie.read(name);},deleteCookie:function(name){mtvn.btg.util.Cookie.remove(name);},crawlNodes:function(node){return mtvn.btg.util.Window.getNodeLinkName(node);},addOnloadEvent:function(func){return mtvn.btg.util.Events.addListener(window,"load",func);}}
com.mtvi.reporting.ComScore=new function(){this.sendComScoreCall=function(){}};com.mtvi.metadata={getDefaultPageName:function(){var pageName='';try{pageName=mtvn.btg.config.ReportSettings.defaultPageName;if(pageName!='/'){pageName=mtvn.btg.util.String.charRtrim(pageName,'/');}
if(pageName!='/'&&pageName.indexOf('/')==0){pageName=pageName.substring(1);}
if(pageName.indexOf('/')==-1&&pageName.indexOf(mtvn.btg.config.ReportSettings.indexFileName)!=-1){pageName='home/'+pageName;}}
catch(e){return null;}
return pageName;},getDefaultHierarchy:function(){try{var hier=this.getDefaultPageName();if(hier=='/')hier='';}
catch(e){return null;}
return hier;},getDefaultChannel:function(){try{var channel=this.getDefaultPageName();if(channel!='/')
channel=channel.split('/')[0];}
catch(e){return null;}
return channel;}};com.mtvi.util.IFrameReloader=function(containerId){try{this.containerId=containerId;this.id="IFrameReloader"+Math.random(0,1000000);this.width;this.height;this.src;this.lastLoaded=0;}catch(e){}};com.mtvi.util.IFrameReloader.prototype={reload:function(){try{var date=new Date();var now=(date.getMinutes()*60000)+(date.getSeconds()*1000);var elapsed=now-this.lastLoaded;if(elapsed>5000){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='<iframe id="'+this.id+'" src="'+this.src+'" width="'+this.width+'" height="'+this.height+'" frameborder="0" scrolling="no" marginheight="0" marginwidth="0"><\/iframe>';if(mtvn.btg.globalvars.IS_TOP_ACCESSIBLE&&mtvn.btg.util.String.queryStringToObject(top.location.search).mockupMode=='true'){html=mtvn.btg.util.String.mockItUp(html);}
document.write(html);}catch(e){}}};
//Reporting Config
mtvn.btg.config.ReportSettings = {
    Omniture: {
        enabled: true,
        account: 'viashockwave',
        dynamicAccountSelection: true,
        dynamicAccountList: 'viashockwavedev=dev,qa,stage,localhost,sandbox',
        linkInternalFilters: 'Javascript:,shockwave.com,facebook.com,digg.com',
        trackExternalLinks: false,
        trackDownloadLinks: false,
	videoViewEventDisable: false,
	enableTimeParting: true,
	trackInlineStats: false
    },
    Nielsen: {
        enabled: false,
        cid:      'us-400235',
        videoCensusId: 'c02'
    },
    GoogleAnalytics: {
        enabled: false,
        reportMode: 'direct',
        // iframe/direct
        account: 'UA-1464777-2'
    },
    QuantCast: {
        enabled: true,
        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 Kids Digital,Nickelodeon Parents Digital,Kids and Family Gaming,Kids and Family Paid Products,Shockwave Network,Shockwave Site",
        reportMode: 'ads'
    },
    ComScore:{
    	enabled:true
    }
};
//Ads Config
mtvn.btg.config.AdSettings = {
    DoubleClick: {
        enabled: true,
        dartSite: 'sw.nol',
        positionThreshold:3
    },
    International: {
        enabled: false
    },
    QuantCast: {
        enabled: true
    }
};


