function deferredFunctionCall(A){this.hashTagToLookFor=A;this.deferredFunction=null;this.addHashTagAndReloadPage=function(){document.location.href="#"+this.hashTagToLookFor;location.reload()};this.clickHandler=function(){if(userInfo.memberId===""){showStaticSignIn($.proxy(this.addHashTagAndReloadPage,this))}else{this.deferredFunction()}return false};this.hashTagIsInUrl=function(){return document.location.hash.indexOf(this.hashTagToLookFor)!==-1};this.executeDeferredFunction=function(){setTimeout(this.deferredFunction,1000);document.location.hash="none"}}
/*
 * jQuery JavaScript Library v1.4.2
 * http://jquery.com/
 *
 * Copyright 2010, John Resig
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * Includes Sizzle.js
 * http://sizzlejs.com/
 * Copyright 2010, The Dojo Foundation
 * Released under the MIT, BSD, and GPL Licenses.
 *
 * Date: Sat Feb 13 22:33:48 2010 -0500
 */
(function(window,undefined){var jQuery=function(selector,context){return new jQuery.fn.init(selector,context)},_jQuery=window.jQuery,_$=window.$,document=window.document,rootjQuery,quickExpr=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,isSimple=/^.[^:#\[\.,]*$/,rnotwhite=/\S/,rtrim=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,rsingleTag=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,userAgent=navigator.userAgent,browserMatch,readyBound=false,readyList=[],DOMContentLoaded,toString=Object.prototype.toString,hasOwnProperty=Object.prototype.hasOwnProperty,push=Array.prototype.push,slice=Array.prototype.slice,indexOf=Array.prototype.indexOf;jQuery.fn=jQuery.prototype={init:function(selector,context){var match,elem,ret,doc;if(!selector){return this}if(selector.nodeType){this.context=this[0]=selector;this.length=1;return this}if(selector==="body"&&!context){this.context=document;this[0]=document.body;this.selector="body";this.length=1;return this}if(typeof selector==="string"){match=quickExpr.exec(selector);if(match&&(match[1]||!context)){if(match[1]){doc=(context?context.ownerDocument||context:document);ret=rsingleTag.exec(selector);if(ret){if(jQuery.isPlainObject(context)){selector=[document.createElement(ret[1])];jQuery.fn.attr.call(selector,context,true)}else{selector=[doc.createElement(ret[1])]}}else{ret=buildFragment([match[1]],[doc]);selector=(ret.cacheable?ret.fragment.cloneNode(true):ret.fragment).childNodes}return jQuery.merge(this,selector)}else{elem=document.getElementById(match[2]);if(elem){if(elem.id!==match[2]){return rootjQuery.find(selector)}this.length=1;this[0]=elem}this.context=document;this.selector=selector;return this}}else{if(!context&&/^\w+$/.test(selector)){this.selector=selector;this.context=document;selector=document.getElementsByTagName(selector);return jQuery.merge(this,selector)}else{if(!context||context.jquery){return(context||rootjQuery).find(selector)}else{return jQuery(context).find(selector)}}}}else{if(jQuery.isFunction(selector)){return rootjQuery.ready(selector)}}if(selector.selector!==undefined){this.selector=selector.selector;this.context=selector.context}return jQuery.makeArray(selector,this)},selector:"",jquery:"1.4.2",length:0,size:function(){return this.length},toArray:function(){return slice.call(this,0)},get:function(num){return num==null?this.toArray():(num<0?this.slice(num)[0]:this[num])},pushStack:function(elems,name,selector){var ret=jQuery();if(jQuery.isArray(elems)){push.apply(ret,elems)}else{jQuery.merge(ret,elems)}ret.prevObject=this;ret.context=this.context;if(name==="find"){ret.selector=this.selector+(this.selector?" ":"")+selector}else{if(name){ret.selector=this.selector+"."+name+"("+selector+")"}}return ret},each:function(callback,args){return jQuery.each(this,callback,args)},ready:function(fn){jQuery.bindReady();if(jQuery.isReady){fn.call(document,jQuery)}else{if(readyList){readyList.push(fn)}}return this},eq:function(i){return i===-1?this.slice(i):this.slice(i,+i+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(slice.apply(this,arguments),"slice",slice.call(arguments).join(","))},map:function(callback){return this.pushStack(jQuery.map(this,function(elem,i){return callback.call(elem,i,elem)}))},end:function(){return this.prevObject||jQuery(null)},push:push,sort:[].sort,splice:[].splice};jQuery.fn.init.prototype=jQuery.fn;jQuery.extend=jQuery.fn.extend=function(){var target=arguments[0]||{},i=1,length=arguments.length,deep=false,options,name,src,copy;if(typeof target==="boolean"){deep=target;target=arguments[1]||{};i=2}if(typeof target!=="object"&&!jQuery.isFunction(target)){target={}}if(length===i){target=this;--i}for(;i<length;i++){if((options=arguments[i])!=null){for(name in options){src=target[name];copy=options[name];if(target===copy){continue}if(deep&&copy&&(jQuery.isPlainObject(copy)||jQuery.isArray(copy))){var clone=src&&(jQuery.isPlainObject(src)||jQuery.isArray(src))?src:jQuery.isArray(copy)?[]:{};target[name]=jQuery.extend(deep,clone,copy)}else{if(copy!==undefined){target[name]=copy}}}}}return target};jQuery.extend({noConflict:function(deep){window.$=_$;if(deep){window.jQuery=_jQuery}return jQuery},isReady:false,ready:function(){if(!jQuery.isReady){if(!document.body){return setTimeout(jQuery.ready,13)}jQuery.isReady=true;if(readyList){var fn,i=0;while((fn=readyList[i++])){fn.call(document,jQuery)}readyList=null}if(jQuery.fn.triggerHandler){jQuery(document).triggerHandler("ready")}}},bindReady:function(){if(readyBound){return }readyBound=true;if(document.readyState==="complete"){return jQuery.ready()}if(document.addEventListener){document.addEventListener("DOMContentLoaded",DOMContentLoaded,false);window.addEventListener("load",jQuery.ready,false)}else{if(document.attachEvent){document.attachEvent("onreadystatechange",DOMContentLoaded);window.attachEvent("onload",jQuery.ready);var toplevel=false;try{toplevel=window.frameElement==null}catch(e){}if(document.documentElement.doScroll&&toplevel){doScrollCheck()}}}},isFunction:function(obj){return toString.call(obj)==="[object Function]"},isArray:function(obj){return toString.call(obj)==="[object Array]"},isPlainObject:function(obj){if(!obj||toString.call(obj)!=="[object Object]"||obj.nodeType||obj.setInterval){return false}if(obj.constructor&&!hasOwnProperty.call(obj,"constructor")&&!hasOwnProperty.call(obj.constructor.prototype,"isPrototypeOf")){return false}var key;for(key in obj){}return key===undefined||hasOwnProperty.call(obj,key)},isEmptyObject:function(obj){for(var name in obj){return false}return true},error:function(msg){throw msg},parseJSON:function(data){if(typeof data!=="string"||!data){return null}data=jQuery.trim(data);if(/^[\],:{}\s]*$/.test(data.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){return window.JSON&&window.JSON.parse?window.JSON.parse(data):(new Function("return "+data))()}else{jQuery.error("Invalid JSON: "+data)}},noop:function(){},globalEval:function(data){if(data&&rnotwhite.test(data)){var head=document.getElementsByTagName("head")[0]||document.documentElement,script=document.createElement("script");script.type="text/javascript";if(jQuery.support.scriptEval){script.appendChild(document.createTextNode(data))}else{script.text=data}head.insertBefore(script,head.firstChild);head.removeChild(script)}},nodeName:function(elem,name){return elem.nodeName&&elem.nodeName.toUpperCase()===name.toUpperCase()},each:function(object,callback,args){var name,i=0,length=object.length,isObj=length===undefined||jQuery.isFunction(object);if(args){if(isObj){for(name in object){if(callback.apply(object[name],args)===false){break}}}else{for(;i<length;){if(callback.apply(object[i++],args)===false){break}}}}else{if(isObj){for(name in object){if(callback.call(object[name],name,object[name])===false){break}}}else{for(var value=object[0];i<length&&callback.call(value,i,value)!==false;value=object[++i]){}}}return object},trim:function(text){return(text||"").replace(rtrim,"")},makeArray:function(array,results){var ret=results||[];if(array!=null){if(array.length==null||typeof array==="string"||jQuery.isFunction(array)||(typeof array!=="function"&&array.setInterval)){push.call(ret,array)}else{jQuery.merge(ret,array)}}return ret},inArray:function(elem,array){if(array.indexOf){return array.indexOf(elem)}for(var i=0,length=array.length;i<length;i++){if(array[i]===elem){return i}}return -1},merge:function(first,second){var i=first.length,j=0;if(typeof second.length==="number"){for(var l=second.length;j<l;j++){first[i++]=second[j]}}else{while(second[j]!==undefined){first[i++]=second[j++]}}first.length=i;return first},grep:function(elems,callback,inv){var ret=[];for(var i=0,length=elems.length;i<length;i++){if(!inv!==!callback(elems[i],i)){ret.push(elems[i])}}return ret},map:function(elems,callback,arg){var ret=[],value;for(var i=0,length=elems.length;i<length;i++){value=callback(elems[i],i,arg);if(value!=null){ret[ret.length]=value}}return ret.concat.apply([],ret)},guid:1,proxy:function(fn,proxy,thisObject){if(arguments.length===2){if(typeof proxy==="string"){thisObject=fn;fn=thisObject[proxy];proxy=undefined}else{if(proxy&&!jQuery.isFunction(proxy)){thisObject=proxy;proxy=undefined}}}if(!proxy&&fn){proxy=function(){return fn.apply(thisObject||this,arguments)}}if(fn){proxy.guid=fn.guid=fn.guid||proxy.guid||jQuery.guid++}return proxy},uaMatch:function(ua){ua=ua.toLowerCase();var match=/(webkit)[ \/]([\w.]+)/.exec(ua)||/(opera)(?:.*version)?[ \/]([\w.]+)/.exec(ua)||/(msie) ([\w.]+)/.exec(ua)||!/compatible/.test(ua)&&/(mozilla)(?:.*? rv:([\w.]+))?/.exec(ua)||[];return{browser:match[1]||"",version:match[2]||"0"}},browser:{}});browserMatch=jQuery.uaMatch(userAgent);if(browserMatch.browser){jQuery.browser[browserMatch.browser]=true;jQuery.browser.version=browserMatch.version}if(jQuery.browser.webkit){jQuery.browser.safari=true}if(indexOf){jQuery.inArray=function(elem,array){return indexOf.call(array,elem)}}rootjQuery=jQuery(document);if(document.addEventListener){DOMContentLoaded=function(){document.removeEventListener("DOMContentLoaded",DOMContentLoaded,false);jQuery.ready()}}else{if(document.attachEvent){DOMContentLoaded=function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",DOMContentLoaded);jQuery.ready()}}}}function doScrollCheck(){if(jQuery.isReady){return }try{document.documentElement.doScroll("left")}catch(error){setTimeout(doScrollCheck,1);return }jQuery.ready()}function evalScript(i,elem){if(elem.src){jQuery.ajax({url:elem.src,async:false,dataType:"script"})}else{jQuery.globalEval(elem.text||elem.textContent||elem.innerHTML||"")}if(elem.parentNode){elem.parentNode.removeChild(elem)}}function access(elems,key,value,exec,fn,pass){var length=elems.length;if(typeof key==="object"){for(var k in key){access(elems,k,key[k],exec,fn,value)}return elems}if(value!==undefined){exec=!pass&&exec&&jQuery.isFunction(value);for(var i=0;i<length;i++){fn(elems[i],key,exec?value.call(elems[i],i,fn(elems[i],key)):value,pass)}return elems}return length?fn(elems[0],key):undefined}function now(){return(new Date).getTime()}(function(){jQuery.support={};var root=document.documentElement,script=document.createElement("script"),div=document.createElement("div"),id="script"+now();div.style.display="none";div.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var all=div.getElementsByTagName("*"),a=div.getElementsByTagName("a")[0];if(!all||!all.length||!a){return }jQuery.support={leadingWhitespace:div.firstChild.nodeType===3,tbody:!div.getElementsByTagName("tbody").length,htmlSerialize:!!div.getElementsByTagName("link").length,style:/red/.test(a.getAttribute("style")),hrefNormalized:a.getAttribute("href")==="/a",opacity:/^0.55$/.test(a.style.opacity),cssFloat:!!a.style.cssFloat,checkOn:div.getElementsByTagName("input")[0].value==="on",optSelected:document.createElement("select").appendChild(document.createElement("option")).selected,parentNode:div.removeChild(div.appendChild(document.createElement("div"))).parentNode===null,deleteExpando:true,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};script.type="text/javascript";try{script.appendChild(document.createTextNode("window."+id+"=1;"))}catch(e){}root.insertBefore(script,root.firstChild);if(window[id]){jQuery.support.scriptEval=true;delete window[id]}try{delete script.test}catch(e){jQuery.support.deleteExpando=false}root.removeChild(script);if(div.attachEvent&&div.fireEvent){div.attachEvent("onclick",function click(){jQuery.support.noCloneEvent=false;div.detachEvent("onclick",click)});div.cloneNode(true).fireEvent("onclick")}div=document.createElement("div");div.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";var fragment=document.createDocumentFragment();fragment.appendChild(div.firstChild);jQuery.support.checkClone=fragment.cloneNode(true).cloneNode(true).lastChild.checked;jQuery(function(){var div=document.createElement("div");div.style.width=div.style.paddingLeft="1px";document.body.appendChild(div);jQuery.boxModel=jQuery.support.boxModel=div.offsetWidth===2;document.body.removeChild(div).style.display="none";div=null});var eventSupported=function(eventName){var el=document.createElement("div");eventName="on"+eventName;var isSupported=(eventName in el);if(!isSupported){el.setAttribute(eventName,"return;");isSupported=typeof el[eventName]==="function"}el=null;return isSupported};jQuery.support.submitBubbles=eventSupported("submit");jQuery.support.changeBubbles=eventSupported("change");root=script=div=all=a=null})();jQuery.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var expando="jQuery"+now(),uuid=0,windowData={};jQuery.extend({cache:{},expando:expando,noData:{embed:true,object:true,applet:true},data:function(elem,name,data){if(elem.nodeName&&jQuery.noData[elem.nodeName.toLowerCase()]){return }elem=elem==window?windowData:elem;var id=elem[expando],cache=jQuery.cache,thisCache;if(!id&&typeof name==="string"&&data===undefined){return null}if(!id){id=++uuid}if(typeof name==="object"){elem[expando]=id;thisCache=cache[id]=jQuery.extend(true,{},name)}else{if(!cache[id]){elem[expando]=id;cache[id]={}}}thisCache=cache[id];if(data!==undefined){thisCache[name]=data}return typeof name==="string"?thisCache[name]:thisCache},removeData:function(elem,name){if(elem.nodeName&&jQuery.noData[elem.nodeName.toLowerCase()]){return }elem=elem==window?windowData:elem;var id=elem[expando],cache=jQuery.cache,thisCache=cache[id];if(name){if(thisCache){delete thisCache[name];if(jQuery.isEmptyObject(thisCache)){jQuery.removeData(elem)}}}else{if(jQuery.support.deleteExpando){delete elem[jQuery.expando]}else{if(elem.removeAttribute){elem.removeAttribute(jQuery.expando)}}delete cache[id]}}});jQuery.fn.extend({data:function(key,value){if(typeof key==="undefined"&&this.length){return jQuery.data(this[0])}else{if(typeof key==="object"){return this.each(function(){jQuery.data(this,key)})}}var parts=key.split(".");parts[1]=parts[1]?"."+parts[1]:"";if(value===undefined){var data=this.triggerHandler("getData"+parts[1]+"!",[parts[0]]);if(data===undefined&&this.length){data=jQuery.data(this[0],key)}return data===undefined&&parts[1]?this.data(parts[0]):data}else{return this.trigger("setData"+parts[1]+"!",[parts[0],value]).each(function(){jQuery.data(this,key,value)})}},removeData:function(key){return this.each(function(){jQuery.removeData(this,key)})}});jQuery.extend({queue:function(elem,type,data){if(!elem){return }type=(type||"fx")+"queue";var q=jQuery.data(elem,type);if(!data){return q||[]}if(!q||jQuery.isArray(data)){q=jQuery.data(elem,type,jQuery.makeArray(data))}else{q.push(data)}return q},dequeue:function(elem,type){type=type||"fx";var queue=jQuery.queue(elem,type),fn=queue.shift();if(fn==="inprogress"){fn=queue.shift()}if(fn){if(type==="fx"){queue.unshift("inprogress")}fn.call(elem,function(){jQuery.dequeue(elem,type)})}}});jQuery.fn.extend({queue:function(type,data){if(typeof type!=="string"){data=type;type="fx"}if(data===undefined){return jQuery.queue(this[0],type)}return this.each(function(i,elem){var queue=jQuery.queue(this,type,data);if(type==="fx"&&queue[0]!=="inprogress"){jQuery.dequeue(this,type)}})},dequeue:function(type){return this.each(function(){jQuery.dequeue(this,type)})},delay:function(time,type){time=jQuery.fx?jQuery.fx.speeds[time]||time:time;type=type||"fx";return this.queue(type,function(){var elem=this;setTimeout(function(){jQuery.dequeue(elem,type)},time)})},clearQueue:function(type){return this.queue(type||"fx",[])}});var rclass=/[\n\t]/g,rspace=/\s+/,rreturn=/\r/g,rspecialurl=/href|src|style/,rtype=/(button|input)/i,rfocusable=/(button|input|object|select|textarea)/i,rclickable=/^(a|area)$/i,rradiocheck=/radio|checkbox/;jQuery.fn.extend({attr:function(name,value){return access(this,name,value,true,jQuery.attr)},removeAttr:function(name,fn){return this.each(function(){jQuery.attr(this,name,"");if(this.nodeType===1){this.removeAttribute(name)}})},addClass:function(value){if(jQuery.isFunction(value)){return this.each(function(i){var self=jQuery(this);self.addClass(value.call(this,i,self.attr("class")))})}if(value&&typeof value==="string"){var classNames=(value||"").split(rspace);for(var i=0,l=this.length;i<l;i++){var elem=this[i];if(elem.nodeType===1){if(!elem.className){elem.className=value}else{var className=" "+elem.className+" ",setClass=elem.className;for(var c=0,cl=classNames.length;c<cl;c++){if(className.indexOf(" "+classNames[c]+" ")<0){setClass+=" "+classNames[c]}}elem.className=jQuery.trim(setClass)}}}}return this},removeClass:function(value){if(jQuery.isFunction(value)){return this.each(function(i){var self=jQuery(this);self.removeClass(value.call(this,i,self.attr("class")))})}if((value&&typeof value==="string")||value===undefined){var classNames=(value||"").split(rspace);for(var i=0,l=this.length;i<l;i++){var elem=this[i];if(elem.nodeType===1&&elem.className){if(value){var className=(" "+elem.className+" ").replace(rclass," ");for(var c=0,cl=classNames.length;c<cl;c++){className=className.replace(" "+classNames[c]+" "," ")}elem.className=jQuery.trim(className)}else{elem.className=""}}}}return this},toggleClass:function(value,stateVal){var type=typeof value,isBool=typeof stateVal==="boolean";if(jQuery.isFunction(value)){return this.each(function(i){var self=jQuery(this);self.toggleClass(value.call(this,i,self.attr("class"),stateVal),stateVal)})}return this.each(function(){if(type==="string"){var className,i=0,self=jQuery(this),state=stateVal,classNames=value.split(rspace);while((className=classNames[i++])){state=isBool?state:!self.hasClass(className);self[state?"addClass":"removeClass"](className)}}else{if(type==="undefined"||type==="boolean"){if(this.className){jQuery.data(this,"__className__",this.className)}this.className=this.className||value===false?"":jQuery.data(this,"__className__")||""}}})},hasClass:function(selector){var className=" "+selector+" ";for(var i=0,l=this.length;i<l;i++){if((" "+this[i].className+" ").replace(rclass," ").indexOf(className)>-1){return true}}return false},val:function(value){if(value===undefined){var elem=this[0];if(elem){if(jQuery.nodeName(elem,"option")){return(elem.attributes.value||{}).specified?elem.value:elem.text}if(jQuery.nodeName(elem,"select")){var index=elem.selectedIndex,values=[],options=elem.options,one=elem.type==="select-one";if(index<0){return null}for(var i=one?index:0,max=one?index+1:options.length;i<max;i++){var option=options[i];if(option.selected){value=jQuery(option).val();if(one){return value}values.push(value)}}return values}if(rradiocheck.test(elem.type)&&!jQuery.support.checkOn){return elem.getAttribute("value")===null?"on":elem.value}return(elem.value||"").replace(rreturn,"")}return undefined}var isFunction=jQuery.isFunction(value);return this.each(function(i){var self=jQuery(this),val=value;if(this.nodeType!==1){return }if(isFunction){val=value.call(this,i,self.val())}if(typeof val==="number"){val+=""}if(jQuery.isArray(val)&&rradiocheck.test(this.type)){this.checked=jQuery.inArray(self.val(),val)>=0}else{if(jQuery.nodeName(this,"select")){var values=jQuery.makeArray(val);jQuery("option",this).each(function(){this.selected=jQuery.inArray(jQuery(this).val(),values)>=0});if(!values.length){this.selectedIndex=-1}}else{this.value=val}}})}});jQuery.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(elem,name,value,pass){if(!elem||elem.nodeType===3||elem.nodeType===8){return undefined}if(pass&&name in jQuery.attrFn){return jQuery(elem)[name](value)}var notxml=elem.nodeType!==1||!jQuery.isXMLDoc(elem),set=value!==undefined;name=notxml&&jQuery.props[name]||name;if(elem.nodeType===1){var special=rspecialurl.test(name);if(name==="selected"&&!jQuery.support.optSelected){var parent=elem.parentNode;if(parent){parent.selectedIndex;if(parent.parentNode){parent.parentNode.selectedIndex}}}if(name in elem&&notxml&&!special){if(set){if(name==="type"&&rtype.test(elem.nodeName)&&elem.parentNode){jQuery.error("type property can't be changed")}elem[name]=value}if(jQuery.nodeName(elem,"form")&&elem.getAttributeNode(name)){return elem.getAttributeNode(name).nodeValue}if(name==="tabIndex"){var attributeNode=elem.getAttributeNode("tabIndex");return attributeNode&&attributeNode.specified?attributeNode.value:rfocusable.test(elem.nodeName)||rclickable.test(elem.nodeName)&&elem.href?0:undefined}return elem[name]}if(!jQuery.support.style&&notxml&&name==="style"){if(set){elem.style.cssText=""+value}return elem.style.cssText}if(set){elem.setAttribute(name,""+value)}var attr=!jQuery.support.hrefNormalized&&notxml&&special?elem.getAttribute(name,2):elem.getAttribute(name);return attr===null?undefined:attr}return jQuery.style(elem,name,value)}});var rnamespaces=/\.(.*)$/,fcleanup=function(nm){return nm.replace(/[^\w\s\.\|`]/g,function(ch){return"\\"+ch})};jQuery.event={add:function(elem,types,handler,data){if(elem.nodeType===3||elem.nodeType===8){return }if(elem.setInterval&&(elem!==window&&!elem.frameElement)){elem=window}var handleObjIn,handleObj;if(handler.handler){handleObjIn=handler;handler=handleObjIn.handler}if(!handler.guid){handler.guid=jQuery.guid++}var elemData=jQuery.data(elem);if(!elemData){return }var events=elemData.events=elemData.events||{},eventHandle=elemData.handle,eventHandle;if(!eventHandle){elemData.handle=eventHandle=function(){return typeof jQuery!=="undefined"&&!jQuery.event.triggered?jQuery.event.handle.apply(eventHandle.elem,arguments):undefined}}eventHandle.elem=elem;types=types.split(" ");var type,i=0,namespaces;while((type=types[i++])){handleObj=handleObjIn?jQuery.extend({},handleObjIn):{handler:handler,data:data};if(type.indexOf(".")>-1){namespaces=type.split(".");type=namespaces.shift();handleObj.namespace=namespaces.slice(0).sort().join(".")}else{namespaces=[];handleObj.namespace=""}handleObj.type=type;handleObj.guid=handler.guid;var handlers=events[type],special=jQuery.event.special[type]||{};if(!handlers){handlers=events[type]=[];if(!special.setup||special.setup.call(elem,data,namespaces,eventHandle)===false){if(elem.addEventListener){elem.addEventListener(type,eventHandle,false)}else{if(elem.attachEvent){elem.attachEvent("on"+type,eventHandle)}}}}if(special.add){special.add.call(elem,handleObj);if(!handleObj.handler.guid){handleObj.handler.guid=handler.guid}}handlers.push(handleObj);jQuery.event.global[type]=true}elem=null},global:{},remove:function(elem,types,handler,pos){if(elem.nodeType===3||elem.nodeType===8){return }var ret,type,fn,i=0,all,namespaces,namespace,special,eventType,handleObj,origType,elemData=jQuery.data(elem),events=elemData&&elemData.events;if(!elemData||!events){return }if(types&&types.type){handler=types.handler;types=types.type}if(!types||typeof types==="string"&&types.charAt(0)==="."){types=types||"";for(type in events){jQuery.event.remove(elem,type+types)}return }types=types.split(" ");while((type=types[i++])){origType=type;handleObj=null;all=type.indexOf(".")<0;namespaces=[];if(!all){namespaces=type.split(".");type=namespaces.shift();namespace=new RegExp("(^|\\.)"+jQuery.map(namespaces.slice(0).sort(),fcleanup).join("\\.(?:.*\\.)?")+"(\\.|$)")}eventType=events[type];if(!eventType){continue}if(!handler){for(var j=0;j<eventType.length;j++){handleObj=eventType[j];if(all||namespace.test(handleObj.namespace)){jQuery.event.remove(elem,origType,handleObj.handler,j);eventType.splice(j--,1)}}continue}special=jQuery.event.special[type]||{};for(var j=pos||0;j<eventType.length;j++){handleObj=eventType[j];if(handler.guid===handleObj.guid){if(all||namespace.test(handleObj.namespace)){if(pos==null){eventType.splice(j--,1)}if(special.remove){special.remove.call(elem,handleObj)}}if(pos!=null){break}}}if(eventType.length===0||pos!=null&&eventType.length===1){if(!special.teardown||special.teardown.call(elem,namespaces)===false){removeEvent(elem,type,elemData.handle)}ret=null;delete events[type]}}if(jQuery.isEmptyObject(events)){var handle=elemData.handle;if(handle){handle.elem=null}delete elemData.events;delete elemData.handle;if(jQuery.isEmptyObject(elemData)){jQuery.removeData(elem)}}},trigger:function(event,data,elem){var type=event.type||event,bubbling=arguments[3];if(!bubbling){event=typeof event==="object"?event[expando]?event:jQuery.extend(jQuery.Event(type),event):jQuery.Event(type);if(type.indexOf("!")>=0){event.type=type=type.slice(0,-1);event.exclusive=true}if(!elem){event.stopPropagation();if(jQuery.event.global[type]){jQuery.each(jQuery.cache,function(){if(this.events&&this.events[type]){jQuery.event.trigger(event,data,this.handle.elem)}})}}if(!elem||elem.nodeType===3||elem.nodeType===8){return undefined}event.result=undefined;event.target=elem;data=jQuery.makeArray(data);data.unshift(event)}event.currentTarget=elem;var handle=jQuery.data(elem,"handle");if(handle){handle.apply(elem,data)}var parent=elem.parentNode||elem.ownerDocument;try{if(!(elem&&elem.nodeName&&jQuery.noData[elem.nodeName.toLowerCase()])){if(elem["on"+type]&&elem["on"+type].apply(elem,data)===false){event.result=false}}}catch(e){}if(!event.isPropagationStopped()&&parent){jQuery.event.trigger(event,data,parent,true)}else{if(!event.isDefaultPrevented()){var target=event.target,old,isClick=jQuery.nodeName(target,"a")&&type==="click",special=jQuery.event.special[type]||{};if((!special._default||special._default.call(elem,event)===false)&&!isClick&&!(target&&target.nodeName&&jQuery.noData[target.nodeName.toLowerCase()])){try{if(target[type]){old=target["on"+type];if(old){target["on"+type]=null}jQuery.event.triggered=true;target[type]()}}catch(e){}if(old){target["on"+type]=old}jQuery.event.triggered=false}}}},handle:function(event){var all,handlers,namespaces,namespace,events;event=arguments[0]=jQuery.event.fix(event||window.event);event.currentTarget=this;all=event.type.indexOf(".")<0&&!event.exclusive;if(!all){namespaces=event.type.split(".");event.type=namespaces.shift();namespace=new RegExp("(^|\\.)"+namespaces.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)")}var events=jQuery.data(this,"events"),handlers=events[event.type];if(events&&handlers){handlers=handlers.slice(0);for(var j=0,l=handlers.length;j<l;j++){var handleObj=handlers[j];if(all||namespace.test(handleObj.namespace)){event.handler=handleObj.handler;event.data=handleObj.data;event.handleObj=handleObj;var ret=handleObj.handler.apply(this,arguments);if(ret!==undefined){event.result=ret;if(ret===false){event.preventDefault();event.stopPropagation()}}if(event.isImmediatePropagationStopped()){break}}}}return event.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(event){if(event[expando]){return event}var originalEvent=event;event=jQuery.Event(originalEvent);for(var i=this.props.length,prop;i;){prop=this.props[--i];event[prop]=originalEvent[prop]}if(!event.target){event.target=event.srcElement||document}if(event.target.nodeType===3){event.target=event.target.parentNode}if(!event.relatedTarget&&event.fromElement){event.relatedTarget=event.fromElement===event.target?event.toElement:event.fromElement}if(event.pageX==null&&event.clientX!=null){var doc=document.documentElement,body=document.body;event.pageX=event.clientX+(doc&&doc.scrollLeft||body&&body.scrollLeft||0)-(doc&&doc.clientLeft||body&&body.clientLeft||0);event.pageY=event.clientY+(doc&&doc.scrollTop||body&&body.scrollTop||0)-(doc&&doc.clientTop||body&&body.clientTop||0)}if(!event.which&&((event.charCode||event.charCode===0)?event.charCode:event.keyCode)){event.which=event.charCode||event.keyCode}if(!event.metaKey&&event.ctrlKey){event.metaKey=event.ctrlKey}if(!event.which&&event.button!==undefined){event.which=(event.button&1?1:(event.button&2?3:(event.button&4?2:0)))}return event},guid:100000000,proxy:jQuery.proxy,special:{ready:{setup:jQuery.bindReady,teardown:jQuery.noop},live:{add:function(handleObj){jQuery.event.add(this,handleObj.origType,jQuery.extend({},handleObj,{handler:liveHandler}))},remove:function(handleObj){var remove=true,type=handleObj.origType.replace(rnamespaces,"");jQuery.each(jQuery.data(this,"events").live||[],function(){if(type===this.origType.replace(rnamespaces,"")){remove=false;return false}});if(remove){jQuery.event.remove(this,handleObj.origType,liveHandler)}}},beforeunload:{setup:function(data,namespaces,eventHandle){if(this.setInterval){this.onbeforeunload=eventHandle}return false},teardown:function(namespaces,eventHandle){if(this.onbeforeunload===eventHandle){this.onbeforeunload=null}}}}};var removeEvent=document.removeEventListener?function(elem,type,handle){elem.removeEventListener(type,handle,false)}:function(elem,type,handle){elem.detachEvent("on"+type,handle)};jQuery.Event=function(src){if(!this.preventDefault){return new jQuery.Event(src)}if(src&&src.type){this.originalEvent=src;this.type=src.type}else{this.type=src}this.timeStamp=now();this[expando]=true};function returnFalse(){return false}function returnTrue(){return true}jQuery.Event.prototype={preventDefault:function(){this.isDefaultPrevented=returnTrue;var e=this.originalEvent;if(!e){return }if(e.preventDefault){e.preventDefault()}e.returnValue=false},stopPropagation:function(){this.isPropagationStopped=returnTrue;var e=this.originalEvent;if(!e){return }if(e.stopPropagation){e.stopPropagation()}e.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=returnTrue;this.stopPropagation()},isDefaultPrevented:returnFalse,isPropagationStopped:returnFalse,isImmediatePropagationStopped:returnFalse};var withinElement=function(event){var parent=event.relatedTarget;try{while(parent&&parent!==this){parent=parent.parentNode}if(parent!==this){event.type=event.data;jQuery.event.handle.apply(this,arguments)}}catch(e){}},delegate=function(event){event.type=event.data;jQuery.event.handle.apply(this,arguments)};jQuery.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(orig,fix){jQuery.event.special[orig]={setup:function(data){jQuery.event.add(this,fix,data&&data.selector?delegate:withinElement,orig)},teardown:function(data){jQuery.event.remove(this,fix,data&&data.selector?delegate:withinElement)}}});if(!jQuery.support.submitBubbles){jQuery.event.special.submit={setup:function(data,namespaces){if(this.nodeName.toLowerCase()!=="form"){jQuery.event.add(this,"click.specialSubmit",function(e){var elem=e.target,type=elem.type;if((type==="submit"||type==="image")&&jQuery(elem).closest("form").length){return trigger("submit",this,arguments)}});jQuery.event.add(this,"keypress.specialSubmit",function(e){var elem=e.target,type=elem.type;if((type==="text"||type==="password")&&jQuery(elem).closest("form").length&&e.keyCode===13){return trigger("submit",this,arguments)}})}else{return false}},teardown:function(namespaces){jQuery.event.remove(this,".specialSubmit")}}}if(!jQuery.support.changeBubbles){var formElems=/textarea|input|select/i,changeFilters,getVal=function(elem){var type=elem.type,val=elem.value;if(type==="radio"||type==="checkbox"){val=elem.checked}else{if(type==="select-multiple"){val=elem.selectedIndex>-1?jQuery.map(elem.options,function(elem){return elem.selected}).join("-"):""}else{if(elem.nodeName.toLowerCase()==="select"){val=elem.selectedIndex}}}return val},testChange=function testChange(e){var elem=e.target,data,val;if(!formElems.test(elem.nodeName)||elem.readOnly){return }data=jQuery.data(elem,"_change_data");val=getVal(elem);if(e.type!=="focusout"||elem.type!=="radio"){jQuery.data(elem,"_change_data",val)}if(data===undefined||val===data){return }if(data!=null||val){e.type="change";return jQuery.event.trigger(e,arguments[1],elem)}};jQuery.event.special.change={filters:{focusout:testChange,click:function(e){var elem=e.target,type=elem.type;if(type==="radio"||type==="checkbox"||elem.nodeName.toLowerCase()==="select"){return testChange.call(this,e)}},keydown:function(e){var elem=e.target,type=elem.type;if((e.keyCode===13&&elem.nodeName.toLowerCase()!=="textarea")||(e.keyCode===32&&(type==="checkbox"||type==="radio"))||type==="select-multiple"){return testChange.call(this,e)}},beforeactivate:function(e){var elem=e.target;jQuery.data(elem,"_change_data",getVal(elem))}},setup:function(data,namespaces){if(this.type==="file"){return false}for(var type in changeFilters){jQuery.event.add(this,type+".specialChange",changeFilters[type])}return formElems.test(this.nodeName)},teardown:function(namespaces){jQuery.event.remove(this,".specialChange");return formElems.test(this.nodeName)}};changeFilters=jQuery.event.special.change.filters}function trigger(type,elem,args){args[0].type=type;return jQuery.event.handle.apply(elem,args)}if(document.addEventListener){jQuery.each({focus:"focusin",blur:"focusout"},function(orig,fix){jQuery.event.special[fix]={setup:function(){this.addEventListener(orig,handler,true)},teardown:function(){this.removeEventListener(orig,handler,true)}};function handler(e){e=jQuery.event.fix(e);e.type=fix;return jQuery.event.handle.call(this,e)}})}jQuery.each(["bind","one"],function(i,name){jQuery.fn[name]=function(type,data,fn){if(typeof type==="object"){for(var key in type){this[name](key,data,type[key],fn)}return this}if(jQuery.isFunction(data)){fn=data;data=undefined}var handler=name==="one"?jQuery.proxy(fn,function(event){jQuery(this).unbind(event,handler);return fn.apply(this,arguments)}):fn;if(type==="unload"&&name!=="one"){this.one(type,data,fn)}else{for(var i=0,l=this.length;i<l;i++){jQuery.event.add(this[i],type,handler,data)}}return this}});jQuery.fn.extend({unbind:function(type,fn){if(typeof type==="object"&&!type.preventDefault){for(var key in type){this.unbind(key,type[key])}}else{for(var i=0,l=this.length;i<l;i++){jQuery.event.remove(this[i],type,fn)}}return this},delegate:function(selector,types,data,fn){return this.live(types,data,fn,selector)},undelegate:function(selector,types,fn){if(arguments.length===0){return this.unbind("live")}else{return this.die(types,null,fn,selector)}},trigger:function(type,data){return this.each(function(){jQuery.event.trigger(type,data,this)})},triggerHandler:function(type,data){if(this[0]){var event=jQuery.Event(type);event.preventDefault();event.stopPropagation();jQuery.event.trigger(event,data,this[0]);return event.result}},toggle:function(fn){var args=arguments,i=1;while(i<args.length){jQuery.proxy(fn,args[i++])}return this.click(jQuery.proxy(fn,function(event){var lastToggle=(jQuery.data(this,"lastToggle"+fn.guid)||0)%i;jQuery.data(this,"lastToggle"+fn.guid,lastToggle+1);event.preventDefault();return args[lastToggle].apply(this,arguments)||false}))},hover:function(fnOver,fnOut){return this.mouseenter(fnOver).mouseleave(fnOut||fnOver)}});var liveMap={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};jQuery.each(["live","die"],function(i,name){jQuery.fn[name]=function(types,data,fn,origSelector){var type,i=0,match,namespaces,preType,selector=origSelector||this.selector,context=origSelector?this:jQuery(this.context);if(jQuery.isFunction(data)){fn=data;data=undefined}types=(types||"").split(" ");while((type=types[i++])!=null){match=rnamespaces.exec(type);namespaces="";if(match){namespaces=match[0];type=type.replace(rnamespaces,"")}if(type==="hover"){types.push("mouseenter"+namespaces,"mouseleave"+namespaces);continue}preType=type;if(type==="focus"||type==="blur"){types.push(liveMap[type]+namespaces);type=type+namespaces}else{type=(liveMap[type]||type)+namespaces}if(name==="live"){context.each(function(){jQuery.event.add(this,liveConvert(type,selector),{data:data,selector:selector,handler:fn,origType:type,origHandler:fn,preType:preType})})}else{context.unbind(liveConvert(type,selector),fn)}}return this}});function liveHandler(event){var stop,elems=[],selectors=[],args=arguments,related,match,handleObj,elem,j,i,l,data,events=jQuery.data(this,"events");if(event.liveFired===this||!events||!events.live||event.button&&event.type==="click"){return }event.liveFired=this;var live=events.live.slice(0);for(j=0;j<live.length;j++){handleObj=live[j];if(handleObj.origType.replace(rnamespaces,"")===event.type){selectors.push(handleObj.selector)}else{live.splice(j--,1)}}match=jQuery(event.target).closest(selectors,event.currentTarget);for(i=0,l=match.length;i<l;i++){for(j=0;j<live.length;j++){handleObj=live[j];if(match[i].selector===handleObj.selector){elem=match[i].elem;related=null;if(handleObj.preType==="mouseenter"||handleObj.preType==="mouseleave"){related=jQuery(event.relatedTarget).closest(handleObj.selector)[0]}if(!related||related!==elem){elems.push({elem:elem,handleObj:handleObj})}}}}for(i=0,l=elems.length;i<l;i++){match=elems[i];event.currentTarget=match.elem;event.data=match.handleObj.data;event.handleObj=match.handleObj;if(match.handleObj.origHandler.apply(match.elem,args)===false){stop=false;break}}return stop}function liveConvert(type,selector){return"live."+(type&&type!=="*"?type+".":"")+selector.replace(/\./g,"`").replace(/ /g,"&")}jQuery.each(("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error").split(" "),function(i,name){jQuery.fn[name]=function(fn){return fn?this.bind(name,fn):this.trigger(name)};if(jQuery.attrFn){jQuery.attrFn[name]=true}});if(window.attachEvent&&!window.addEventListener){window.attachEvent("onunload",function(){for(var id in jQuery.cache){if(jQuery.cache[id].handle){try{jQuery.event.remove(jQuery.cache[id].handle.elem)}catch(e){}}}});
/*
 * Sizzle CSS Selector Engine - v1.0
 *  Copyright 2009, The Dojo Foundation
 *  Released under the MIT, BSD, and GPL Licenses.
 *  More information: http://sizzlejs.com/
 */
}(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(selector,context,results,seed){results=results||[];var origContext=context=context||document;if(context.nodeType!==1&&context.nodeType!==9){return[]}if(!selector||typeof selector!=="string"){return results}var parts=[],m,set,checkSet,extra,prune=true,contextXML=isXML(context),soFar=selector;while((chunker.exec(""),m=chunker.exec(soFar))!==null){soFar=m[3];parts.push(m[1]);if(m[2]){extra=m[3];break}}if(parts.length>1&&origPOS.exec(selector)){if(parts.length===2&&Expr.relative[parts[0]]){set=posProcess(parts[0]+parts[1],context)}else{set=Expr.relative[parts[0]]?[context]:Sizzle(parts.shift(),context);while(parts.length){selector=parts.shift();if(Expr.relative[selector]){selector+=parts.shift()}set=posProcess(selector,set)}}}else{if(!seed&&parts.length>1&&context.nodeType===9&&!contextXML&&Expr.match.ID.test(parts[0])&&!Expr.match.ID.test(parts[parts.length-1])){var ret=Sizzle.find(parts.shift(),context,contextXML);context=ret.expr?Sizzle.filter(ret.expr,ret.set)[0]:ret.set[0]}if(context){var ret=seed?{expr:parts.pop(),set:makeArray(seed)}:Sizzle.find(parts.pop(),parts.length===1&&(parts[0]==="~"||parts[0]==="+")&&context.parentNode?context.parentNode:context,contextXML);set=ret.expr?Sizzle.filter(ret.expr,ret.set):ret.set;if(parts.length>0){checkSet=makeArray(set)}else{prune=false}while(parts.length){var cur=parts.pop(),pop=cur;if(!Expr.relative[cur]){cur=""}else{pop=parts.pop()}if(pop==null){pop=context}Expr.relative[cur](checkSet,pop,contextXML)}}else{checkSet=parts=[]}}if(!checkSet){checkSet=set}if(!checkSet){Sizzle.error(cur||selector)}if(toString.call(checkSet)==="[object Array]"){if(!prune){results.push.apply(results,checkSet)}else{if(context&&context.nodeType===1){for(var i=0;checkSet[i]!=null;i++){if(checkSet[i]&&(checkSet[i]===true||checkSet[i].nodeType===1&&contains(context,checkSet[i]))){results.push(set[i])}}}else{for(var i=0;checkSet[i]!=null;i++){if(checkSet[i]&&checkSet[i].nodeType===1){results.push(set[i])}}}}}else{makeArray(checkSet,results)}if(extra){Sizzle(extra,origContext,results,seed);Sizzle.uniqueSort(results)}return results};Sizzle.uniqueSort=function(results){if(sortOrder){hasDuplicate=baseHasDuplicate;results.sort(sortOrder);if(hasDuplicate){for(var i=1;i<results.length;i++){if(results[i]===results[i-1]){results.splice(i--,1)}}}}return results};Sizzle.matches=function(expr,set){return Sizzle(expr,null,null,set)};Sizzle.find=function(expr,context,isXML){var set,match;if(!expr){return[]}for(var i=0,l=Expr.order.length;i<l;i++){var type=Expr.order[i],match;if((match=Expr.leftMatch[type].exec(expr))){var left=match[1];match.splice(1,1);if(left.substr(left.length-1)!=="\\"){match[1]=(match[1]||"").replace(/\\/g,"");set=Expr.find[type](match,context,isXML);if(set!=null){expr=expr.replace(Expr.match[type],"");break}}}}if(!set){set=context.getElementsByTagName("*")}return{set:set,expr:expr}};Sizzle.filter=function(expr,set,inplace,not){var old=expr,result=[],curLoop=set,match,anyFound,isXMLFilter=set&&set[0]&&isXML(set[0]);while(expr&&set.length){for(var type in Expr.filter){if((match=Expr.leftMatch[type].exec(expr))!=null&&match[2]){var filter=Expr.filter[type],found,item,left=match[1];anyFound=false;match.splice(1,1);if(left.substr(left.length-1)==="\\"){continue}if(curLoop===result){result=[]}if(Expr.preFilter[type]){match=Expr.preFilter[type](match,curLoop,inplace,result,not,isXMLFilter);if(!match){anyFound=found=true}else{if(match===true){continue}}}if(match){for(var i=0;(item=curLoop[i])!=null;i++){if(item){found=filter(item,match,i,curLoop);var pass=not^!!found;if(inplace&&found!=null){if(pass){anyFound=true}else{curLoop[i]=false}}else{if(pass){result.push(item);anyFound=true}}}}}if(found!==undefined){if(!inplace){curLoop=result}expr=expr.replace(Expr.match[type],"");if(!anyFound){return[]}break}}}if(expr===old){if(anyFound==null){Sizzle.error(expr)}else{break}}old=expr}return curLoop};Sizzle.error=function(msg){throw"Syntax error, unrecognized expression: "+msg};var Expr=Sizzle.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(elem){return elem.getAttribute("href")}},relative:{"+":function(checkSet,part){var isPartStr=typeof part==="string",isTag=isPartStr&&!/\W/.test(part),isPartStrNotTag=isPartStr&&!isTag;if(isTag){part=part.toLowerCase()}for(var i=0,l=checkSet.length,elem;i<l;i++){if((elem=checkSet[i])){while((elem=elem.previousSibling)&&elem.nodeType!==1){}checkSet[i]=isPartStrNotTag||elem&&elem.nodeName.toLowerCase()===part?elem||false:elem===part}}if(isPartStrNotTag){Sizzle.filter(part,checkSet,true)}},">":function(checkSet,part){var isPartStr=typeof part==="string";if(isPartStr&&!/\W/.test(part)){part=part.toLowerCase();for(var i=0,l=checkSet.length;i<l;i++){var elem=checkSet[i];if(elem){var parent=elem.parentNode;checkSet[i]=parent.nodeName.toLowerCase()===part?parent:false}}}else{for(var i=0,l=checkSet.length;i<l;i++){var elem=checkSet[i];if(elem){checkSet[i]=isPartStr?elem.parentNode:elem.parentNode===part}}if(isPartStr){Sizzle.filter(part,checkSet,true)}}},"":function(checkSet,part,isXML){var doneName=done++,checkFn=dirCheck;if(typeof part==="string"&&!/\W/.test(part)){var nodeCheck=part=part.toLowerCase();checkFn=dirNodeCheck}checkFn("parentNode",part,doneName,checkSet,nodeCheck,isXML)},"~":function(checkSet,part,isXML){var doneName=done++,checkFn=dirCheck;if(typeof part==="string"&&!/\W/.test(part)){var nodeCheck=part=part.toLowerCase();checkFn=dirNodeCheck}checkFn("previousSibling",part,doneName,checkSet,nodeCheck,isXML)}},find:{ID:function(match,context,isXML){if(typeof context.getElementById!=="undefined"&&!isXML){var m=context.getElementById(match[1]);return m?[m]:[]}},NAME:function(match,context){if(typeof context.getElementsByName!=="undefined"){var ret=[],results=context.getElementsByName(match[1]);for(var i=0,l=results.length;i<l;i++){if(results[i].getAttribute("name")===match[1]){ret.push(results[i])}}return ret.length===0?null:ret}},TAG:function(match,context){return context.getElementsByTagName(match[1])}},preFilter:{CLASS:function(match,curLoop,inplace,result,not,isXML){match=" "+match[1].replace(/\\/g,"")+" ";if(isXML){return match}for(var i=0,elem;(elem=curLoop[i])!=null;i++){if(elem){if(not^(elem.className&&(" "+elem.className+" ").replace(/[\t\n]/g," ").indexOf(match)>=0)){if(!inplace){result.push(elem)}}else{if(inplace){curLoop[i]=false}}}}return false},ID:function(match){return match[1].replace(/\\/g,"")},TAG:function(match,curLoop){return match[1].toLowerCase()},CHILD:function(match){if(match[1]==="nth"){var test=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(match[2]==="even"&&"2n"||match[2]==="odd"&&"2n+1"||!/\D/.test(match[2])&&"0n+"+match[2]||match[2]);match[2]=(test[1]+(test[2]||1))-0;match[3]=test[3]-0}match[0]=done++;return match},ATTR:function(match,curLoop,inplace,result,not,isXML){var name=match[1].replace(/\\/g,"");if(!isXML&&Expr.attrMap[name]){match[1]=Expr.attrMap[name]}if(match[2]==="~="){match[4]=" "+match[4]+" "}return match},PSEUDO:function(match,curLoop,inplace,result,not){if(match[1]==="not"){if((chunker.exec(match[3])||"").length>1||/^\w/.test(match[3])){match[3]=Sizzle(match[3],null,null,curLoop)}else{var ret=Sizzle.filter(match[3],curLoop,inplace,true^not);if(!inplace){result.push.apply(result,ret)}return false}}else{if(Expr.match.POS.test(match[0])||Expr.match.CHILD.test(match[0])){return true}}return match},POS:function(match){match.unshift(true);return match}},filters:{enabled:function(elem){return elem.disabled===false&&elem.type!=="hidden"},disabled:function(elem){return elem.disabled===true},checked:function(elem){return elem.checked===true},selected:function(elem){elem.parentNode.selectedIndex;return elem.selected===true},parent:function(elem){return !!elem.firstChild},empty:function(elem){return !elem.firstChild},has:function(elem,i,match){return !!Sizzle(match[3],elem).length},header:function(elem){return/h\d/i.test(elem.nodeName)},text:function(elem){return"text"===elem.type},radio:function(elem){return"radio"===elem.type},checkbox:function(elem){return"checkbox"===elem.type},file:function(elem){return"file"===elem.type},password:function(elem){return"password"===elem.type},submit:function(elem){return"submit"===elem.type},image:function(elem){return"image"===elem.type},reset:function(elem){return"reset"===elem.type},button:function(elem){return"button"===elem.type||elem.nodeName.toLowerCase()==="button"},input:function(elem){return/input|select|textarea|button/i.test(elem.nodeName)}},setFilters:{first:function(elem,i){return i===0},last:function(elem,i,match,array){return i===array.length-1},even:function(elem,i){return i%2===0},odd:function(elem,i){return i%2===1},lt:function(elem,i,match){return i<match[3]-0},gt:function(elem,i,match){return i>match[3]-0},nth:function(elem,i,match){return match[3]-0===i},eq:function(elem,i,match){return match[3]-0===i}},filter:{PSEUDO:function(elem,match,i,array){var name=match[1],filter=Expr.filters[name];if(filter){return filter(elem,i,match,array)}else{if(name==="contains"){return(elem.textContent||elem.innerText||getText([elem])||"").indexOf(match[3])>=0}else{if(name==="not"){var not=match[3];for(var i=0,l=not.length;i<l;i++){if(not[i]===elem){return false}}return true}else{Sizzle.error("Syntax error, unrecognized expression: "+name)}}}},CHILD:function(elem,match){var type=match[1],node=elem;switch(type){case"only":case"first":while((node=node.previousSibling)){if(node.nodeType===1){return false}}if(type==="first"){return true}node=elem;case"last":while((node=node.nextSibling)){if(node.nodeType===1){return false}}return true;case"nth":var first=match[2],last=match[3];if(first===1&&last===0){return true}var doneName=match[0],parent=elem.parentNode;if(parent&&(parent.sizcache!==doneName||!elem.nodeIndex)){var count=0;for(node=parent.firstChild;node;node=node.nextSibling){if(node.nodeType===1){node.nodeIndex=++count}}parent.sizcache=doneName}var diff=elem.nodeIndex-last;if(first===0){return diff===0}else{return(diff%first===0&&diff/first>=0)}}},ID:function(elem,match){return elem.nodeType===1&&elem.getAttribute("id")===match},TAG:function(elem,match){return(match==="*"&&elem.nodeType===1)||elem.nodeName.toLowerCase()===match},CLASS:function(elem,match){return(" "+(elem.className||elem.getAttribute("class"))+" ").indexOf(match)>-1},ATTR:function(elem,match){var name=match[1],result=Expr.attrHandle[name]?Expr.attrHandle[name](elem):elem[name]!=null?elem[name]:elem.getAttribute(name),value=result+"",type=match[2],check=match[4];return result==null?type==="!=":type==="="?value===check:type==="*="?value.indexOf(check)>=0:type==="~="?(" "+value+" ").indexOf(check)>=0:!check?value&&result!==false:type==="!="?value!==check:type==="^="?value.indexOf(check)===0:type==="$="?value.substr(value.length-check.length)===check:type==="|="?value===check||value.substr(0,check.length+1)===check+"-":false},POS:function(elem,match,i,array){var name=match[2],filter=Expr.setFilters[name];if(filter){return filter(elem,i,match,array)}}}};var origPOS=Expr.match.POS;for(var type in Expr.match){Expr.match[type]=new RegExp(Expr.match[type].source+/(?![^\[]*\])(?![^\(]*\))/.source);Expr.leftMatch[type]=new RegExp(/(^(?:.|\r|\n)*?)/.source+Expr.match[type].source.replace(/\\(\d+)/g,function(all,num){return"\\"+(num-0+1)}))}var makeArray=function(array,results){array=Array.prototype.slice.call(array,0);if(results){results.push.apply(results,array);return results}return array};try{Array.prototype.slice.call(document.documentElement.childNodes,0)[0].nodeType}catch(e){makeArray=function(array,results){var ret=results||[];if(toString.call(array)==="[object Array]"){Array.prototype.push.apply(ret,array)}else{if(typeof array.length==="number"){for(var i=0,l=array.length;i<l;i++){ret.push(array[i])}}else{for(var i=0;array[i];i++){ret.push(array[i])}}}return ret}}var sortOrder;if(document.documentElement.compareDocumentPosition){sortOrder=function(a,b){if(!a.compareDocumentPosition||!b.compareDocumentPosition){if(a==b){hasDuplicate=true}return a.compareDocumentPosition?-1:1}var ret=a.compareDocumentPosition(b)&4?-1:a===b?0:1;if(ret===0){hasDuplicate=true}return ret}}else{if("sourceIndex" in document.documentElement){sortOrder=function(a,b){if(!a.sourceIndex||!b.sourceIndex){if(a==b){hasDuplicate=true}return a.sourceIndex?-1:1}var ret=a.sourceIndex-b.sourceIndex;if(ret===0){hasDuplicate=true}return ret}}else{if(document.createRange){sortOrder=function(a,b){if(!a.ownerDocument||!b.ownerDocument){if(a==b){hasDuplicate=true}return a.ownerDocument?-1:1}var aRange=a.ownerDocument.createRange(),bRange=b.ownerDocument.createRange();aRange.setStart(a,0);aRange.setEnd(a,0);bRange.setStart(b,0);bRange.setEnd(b,0);var ret=aRange.compareBoundaryPoints(Range.START_TO_END,bRange);if(ret===0){hasDuplicate=true}return ret}}}}function getText(elems){var ret="",elem;for(var i=0;elems[i];i++){elem=elems[i];if(elem.nodeType===3||elem.nodeType===4){ret+=elem.nodeValue}else{if(elem.nodeType!==8){ret+=getText(elem.childNodes)}}}return ret}(function(){var form=document.createElement("div"),id="script"+(new Date).getTime();form.innerHTML="<a name='"+id+"'/>";var root=document.documentElement;root.insertBefore(form,root.firstChild);if(document.getElementById(id)){Expr.find.ID=function(match,context,isXML){if(typeof context.getElementById!=="undefined"&&!isXML){var m=context.getElementById(match[1]);return m?m.id===match[1]||typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id").nodeValue===match[1]?[m]:undefined:[]}};Expr.filter.ID=function(elem,match){var node=typeof elem.getAttributeNode!=="undefined"&&elem.getAttributeNode("id");return elem.nodeType===1&&node&&node.nodeValue===match}}root.removeChild(form);root=form=null})();(function(){var div=document.createElement("div");div.appendChild(document.createComment(""));if(div.getElementsByTagName("*").length>0){Expr.find.TAG=function(match,context){var results=context.getElementsByTagName(match[1]);if(match[1]==="*"){var tmp=[];for(var i=0;results[i];i++){if(results[i].nodeType===1){tmp.push(results[i])}}results=tmp}return results}}div.innerHTML="<a href='#'></a>";if(div.firstChild&&typeof div.firstChild.getAttribute!=="undefined"&&div.firstChild.getAttribute("href")!=="#"){Expr.attrHandle.href=function(elem){return elem.getAttribute("href",2)}}div=null})();if(document.querySelectorAll){(function(){var oldSizzle=Sizzle,div=document.createElement("div");div.innerHTML="<p class='TEST'></p>";if(div.querySelectorAll&&div.querySelectorAll(".TEST").length===0){return }Sizzle=function(query,context,extra,seed){context=context||document;if(!seed&&context.nodeType===9&&!isXML(context)){try{return makeArray(context.querySelectorAll(query),extra)}catch(e){}}return oldSizzle(query,context,extra,seed)};for(var prop in oldSizzle){Sizzle[prop]=oldSizzle[prop]}div=null})()}(function(){var div=document.createElement("div");div.innerHTML="<div class='test e'></div><div class='test'></div>";if(!div.getElementsByClassName||div.getElementsByClassName("e").length===0){return }div.lastChild.className="e";if(div.getElementsByClassName("e").length===1){return }Expr.order.splice(1,0,"CLASS");Expr.find.CLASS=function(match,context,isXML){if(typeof context.getElementsByClassName!=="undefined"&&!isXML){return context.getElementsByClassName(match[1])}};div=null})();function dirNodeCheck(dir,cur,doneName,checkSet,nodeCheck,isXML){for(var i=0,l=checkSet.length;i<l;i++){var elem=checkSet[i];if(elem){elem=elem[dir];var match=false;while(elem){if(elem.sizcache===doneName){match=checkSet[elem.sizset];break}if(elem.nodeType===1&&!isXML){elem.sizcache=doneName;elem.sizset=i}if(elem.nodeName.toLowerCase()===cur){match=elem;break}elem=elem[dir]}checkSet[i]=match}}}function dirCheck(dir,cur,doneName,checkSet,nodeCheck,isXML){for(var i=0,l=checkSet.length;i<l;i++){var elem=checkSet[i];if(elem){elem=elem[dir];var match=false;while(elem){if(elem.sizcache===doneName){match=checkSet[elem.sizset];break}if(elem.nodeType===1){if(!isXML){elem.sizcache=doneName;elem.sizset=i}if(typeof cur!=="string"){if(elem===cur){match=true;break}}else{if(Sizzle.filter(cur,[elem]).length>0){match=elem;break}}}elem=elem[dir]}checkSet[i]=match}}}var contains=document.compareDocumentPosition?function(a,b){return !!(a.compareDocumentPosition(b)&16)}:function(a,b){return a!==b&&(a.contains?a.contains(b):true)};var isXML=function(elem){var documentElement=(elem?elem.ownerDocument||elem:0).documentElement;return documentElement?documentElement.nodeName!=="HTML":false};var posProcess=function(selector,context){var tmpSet=[],later="",match,root=context.nodeType?[context]:context;while((match=Expr.match.PSEUDO.exec(selector))){later+=match[0];selector=selector.replace(Expr.match.PSEUDO,"")}selector=Expr.relative[selector]?selector+"*":selector;for(var i=0,l=root.length;i<l;i++){Sizzle(selector,root[i],tmpSet)}return Sizzle.filter(later,tmpSet)};jQuery.find=Sizzle;jQuery.expr=Sizzle.selectors;jQuery.expr[":"]=jQuery.expr.filters;jQuery.unique=Sizzle.uniqueSort;jQuery.text=getText;jQuery.isXMLDoc=isXML;jQuery.contains=contains;return ;window.Sizzle=Sizzle})();var runtil=/Until$/,rparentsprev=/^(?:parents|prevUntil|prevAll)/,rmultiselector=/,/,slice=Array.prototype.slice;var winnow=function(elements,qualifier,keep){if(jQuery.isFunction(qualifier)){return jQuery.grep(elements,function(elem,i){return !!qualifier.call(elem,i,elem)===keep})}else{if(qualifier.nodeType){return jQuery.grep(elements,function(elem,i){return(elem===qualifier)===keep})}else{if(typeof qualifier==="string"){var filtered=jQuery.grep(elements,function(elem){return elem.nodeType===1});if(isSimple.test(qualifier)){return jQuery.filter(qualifier,filtered,!keep)}else{qualifier=jQuery.filter(qualifier,filtered)}}}}return jQuery.grep(elements,function(elem,i){return(jQuery.inArray(elem,qualifier)>=0)===keep})};jQuery.fn.extend({find:function(selector){var ret=this.pushStack("","find",selector),length=0;for(var i=0,l=this.length;i<l;i++){length=ret.length;jQuery.find(selector,this[i],ret);if(i>0){for(var n=length;n<ret.length;n++){for(var r=0;r<length;r++){if(ret[r]===ret[n]){ret.splice(n--,1);break}}}}}return ret},has:function(target){var targets=jQuery(target);return this.filter(function(){for(var i=0,l=targets.length;i<l;i++){if(jQuery.contains(this,targets[i])){return true}}})},not:function(selector){return this.pushStack(winnow(this,selector,false),"not",selector)},filter:function(selector){return this.pushStack(winnow(this,selector,true),"filter",selector)},is:function(selector){return !!selector&&jQuery.filter(selector,this).length>0},closest:function(selectors,context){if(jQuery.isArray(selectors)){var ret=[],cur=this[0],match,matches={},selector;if(cur&&selectors.length){for(var i=0,l=selectors.length;i<l;i++){selector=selectors[i];if(!matches[selector]){matches[selector]=jQuery.expr.match.POS.test(selector)?jQuery(selector,context||this.context):selector}}while(cur&&cur.ownerDocument&&cur!==context){for(selector in matches){match=matches[selector];if(match.jquery?match.index(cur)>-1:jQuery(cur).is(match)){ret.push({selector:selector,elem:cur});delete matches[selector]}}cur=cur.parentNode}}return ret}var pos=jQuery.expr.match.POS.test(selectors)?jQuery(selectors,context||this.context):null;return this.map(function(i,cur){while(cur&&cur.ownerDocument&&cur!==context){if(pos?pos.index(cur)>-1:jQuery(cur).is(selectors)){return cur}cur=cur.parentNode}return null})},index:function(elem){if(!elem||typeof elem==="string"){return jQuery.inArray(this[0],elem?jQuery(elem):this.parent().children())}return jQuery.inArray(elem.jquery?elem[0]:elem,this)},add:function(selector,context){var set=typeof selector==="string"?jQuery(selector,context||this.context):jQuery.makeArray(selector),all=jQuery.merge(this.get(),set);return this.pushStack(isDisconnected(set[0])||isDisconnected(all[0])?all:jQuery.unique(all))},andSelf:function(){return this.add(this.prevObject)}});function isDisconnected(node){return !node||!node.parentNode||node.parentNode.nodeType===11}jQuery.each({parent:function(elem){var parent=elem.parentNode;return parent&&parent.nodeType!==11?parent:null},parents:function(elem){return jQuery.dir(elem,"parentNode")},parentsUntil:function(elem,i,until){return jQuery.dir(elem,"parentNode",until)},next:function(elem){return jQuery.nth(elem,2,"nextSibling")},prev:function(elem){return jQuery.nth(elem,2,"previousSibling")},nextAll:function(elem){return jQuery.dir(elem,"nextSibling")},prevAll:function(elem){return jQuery.dir(elem,"previousSibling")},nextUntil:function(elem,i,until){return jQuery.dir(elem,"nextSibling",until)},prevUntil:function(elem,i,until){return jQuery.dir(elem,"previousSibling",until)},siblings:function(elem){return jQuery.sibling(elem.parentNode.firstChild,elem)},children:function(elem){return jQuery.sibling(elem.firstChild)},contents:function(elem){return jQuery.nodeName(elem,"iframe")?elem.contentDocument||elem.contentWindow.document:jQuery.makeArray(elem.childNodes)}},function(name,fn){jQuery.fn[name]=function(until,selector){var ret=jQuery.map(this,fn,until);if(!runtil.test(name)){selector=until}if(selector&&typeof selector==="string"){ret=jQuery.filter(selector,ret)}ret=this.length>1?jQuery.unique(ret):ret;if((this.length>1||rmultiselector.test(selector))&&rparentsprev.test(name)){ret=ret.reverse()}return this.pushStack(ret,name,slice.call(arguments).join(","))}});jQuery.extend({filter:function(expr,elems,not){if(not){expr=":not("+expr+")"}return jQuery.find.matches(expr,elems)},dir:function(elem,dir,until){var matched=[],cur=elem[dir];while(cur&&cur.nodeType!==9&&(until===undefined||cur.nodeType!==1||!jQuery(cur).is(until))){if(cur.nodeType===1){matched.push(cur)}cur=cur[dir]}return matched},nth:function(cur,result,dir,elem){result=result||1;var num=0;for(;cur;cur=cur[dir]){if(cur.nodeType===1&&++num===result){break}}return cur},sibling:function(n,elem){var r=[];for(;n;n=n.nextSibling){if(n.nodeType===1&&n!==elem){r.push(n)}}return r}});var rinlinejQuery=/ jQuery\d+="(?:\d+|null)"/g,rleadingWhitespace=/^\s+/,rxhtmlTag=/(<([\w:]+)[^>]*?)\/>/g,rselfClosing=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,rtagName=/<([\w:]+)/,rtbody=/<tbody/i,rhtml=/<|&#?\w+;/,rnocache=/<script|<object|<embed|<option|<style/i,rchecked=/checked\s*(?:[^=]|=\s*.checked.)/i,fcloseTag=function(all,front,tag){return rselfClosing.test(tag)?all:front+"></"+tag+">"},wrapMap={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};wrapMap.optgroup=wrapMap.option;wrapMap.tbody=wrapMap.tfoot=wrapMap.colgroup=wrapMap.caption=wrapMap.thead;wrapMap.th=wrapMap.td;if(!jQuery.support.htmlSerialize){wrapMap._default=[1,"div<div>","</div>"]}jQuery.fn.extend({text:function(text){if(jQuery.isFunction(text)){return this.each(function(i){var self=jQuery(this);self.text(text.call(this,i,self.text()))})}if(typeof text!=="object"&&text!==undefined){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(text))}return jQuery.text(this)},wrapAll:function(html){if(jQuery.isFunction(html)){return this.each(function(i){jQuery(this).wrapAll(html.call(this,i))})}if(this[0]){var wrap=jQuery(html,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){wrap.insertBefore(this[0])}wrap.map(function(){var elem=this;while(elem.firstChild&&elem.firstChild.nodeType===1){elem=elem.firstChild}return elem}).append(this)}return this},wrapInner:function(html){if(jQuery.isFunction(html)){return this.each(function(i){jQuery(this).wrapInner(html.call(this,i))})}return this.each(function(){var self=jQuery(this),contents=self.contents();if(contents.length){contents.wrapAll(html)}else{self.append(html)}})},wrap:function(html){return this.each(function(){jQuery(this).wrapAll(html)})},unwrap:function(){return this.parent().each(function(){if(!jQuery.nodeName(this,"body")){jQuery(this).replaceWith(this.childNodes)}}).end()},append:function(){return this.domManip(arguments,true,function(elem){if(this.nodeType===1){this.appendChild(elem)}})},prepend:function(){return this.domManip(arguments,true,function(elem){if(this.nodeType===1){this.insertBefore(elem,this.firstChild)}})},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(elem){this.parentNode.insertBefore(elem,this)})}else{if(arguments.length){var set=jQuery(arguments[0]);set.push.apply(set,this.toArray());return this.pushStack(set,"before",arguments)}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(elem){this.parentNode.insertBefore(elem,this.nextSibling)})}else{if(arguments.length){var set=this.pushStack(this,"after",arguments);set.push.apply(set,jQuery(arguments[0]).toArray());return set}}},remove:function(selector,keepData){for(var i=0,elem;(elem=this[i])!=null;i++){if(!selector||jQuery.filter(selector,[elem]).length){if(!keepData&&elem.nodeType===1){jQuery.cleanData(elem.getElementsByTagName("*"));jQuery.cleanData([elem])}if(elem.parentNode){elem.parentNode.removeChild(elem)}}}return this},empty:function(){for(var i=0,elem;(elem=this[i])!=null;i++){if(elem.nodeType===1){jQuery.cleanData(elem.getElementsByTagName("*"))}while(elem.firstChild){elem.removeChild(elem.firstChild)}}return this},clone:function(events){var ret=this.map(function(){if(!jQuery.support.noCloneEvent&&!jQuery.isXMLDoc(this)){var html=this.outerHTML,ownerDocument=this.ownerDocument;if(!html){var div=ownerDocument.createElement("div");div.appendChild(this.cloneNode(true));html=div.innerHTML}return jQuery.clean([html.replace(rinlinejQuery,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(rleadingWhitespace,"")],ownerDocument)[0]}else{return this.cloneNode(true)}});if(events===true){cloneCopyEvent(this,ret);cloneCopyEvent(this.find("*"),ret.find("*"))}return ret},html:function(value){if(value===undefined){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(rinlinejQuery,""):null}else{if(typeof value==="string"&&!rnocache.test(value)&&(jQuery.support.leadingWhitespace||!rleadingWhitespace.test(value))&&!wrapMap[(rtagName.exec(value)||["",""])[1].toLowerCase()]){value=value.replace(rxhtmlTag,fcloseTag);try{for(var i=0,l=this.length;i<l;i++){if(this[i].nodeType===1){jQuery.cleanData(this[i].getElementsByTagName("*"));this[i].innerHTML=value}}}catch(e){this.empty().append(value)}}else{if(jQuery.isFunction(value)){this.each(function(i){var self=jQuery(this),old=self.html();self.empty().append(function(){return value.call(this,i,old)})})}else{this.empty().append(value)}}}return this},replaceWith:function(value){if(this[0]&&this[0].parentNode){if(jQuery.isFunction(value)){return this.each(function(i){var self=jQuery(this),old=self.html();self.replaceWith(value.call(this,i,old))})}if(typeof value!=="string"){value=jQuery(value).detach()}return this.each(function(){var next=this.nextSibling,parent=this.parentNode;jQuery(this).remove();if(next){jQuery(next).before(value)}else{jQuery(parent).append(value)}})}else{return this.pushStack(jQuery(jQuery.isFunction(value)?value():value),"replaceWith",value)}},detach:function(selector){return this.remove(selector,true)},domManip:function(args,table,callback){var results,first,value=args[0],scripts=[],fragment,parent;if(!jQuery.support.checkClone&&arguments.length===3&&typeof value==="string"&&rchecked.test(value)){return this.each(function(){jQuery(this).domManip(args,table,callback,true)})}if(jQuery.isFunction(value)){return this.each(function(i){var self=jQuery(this);args[0]=value.call(this,i,table?self.html():undefined);self.domManip(args,table,callback)})}if(this[0]){parent=value&&value.parentNode;if(jQuery.support.parentNode&&parent&&parent.nodeType===11&&parent.childNodes.length===this.length){results={fragment:parent}}else{results=buildFragment(args,this,scripts)}fragment=results.fragment;if(fragment.childNodes.length===1){first=fragment=fragment.firstChild}else{first=fragment.firstChild}if(first){table=table&&jQuery.nodeName(first,"tr");for(var i=0,l=this.length;i<l;i++){callback.call(table?root(this[i],first):this[i],i>0||results.cacheable||this.length>1?fragment.cloneNode(true):fragment)}}if(scripts.length){jQuery.each(scripts,evalScript)}}return this;function root(elem,cur){return jQuery.nodeName(elem,"table")?(elem.getElementsByTagName("tbody")[0]||elem.appendChild(elem.ownerDocument.createElement("tbody"))):elem}}});function cloneCopyEvent(orig,ret){var i=0;ret.each(function(){if(this.nodeName!==(orig[i]&&orig[i].nodeName)){return }var oldData=jQuery.data(orig[i++]),curData=jQuery.data(this,oldData),events=oldData&&oldData.events;if(events){delete curData.handle;curData.events={};for(var type in events){for(var handler in events[type]){jQuery.event.add(this,type,events[type][handler],events[type][handler].data)}}}})}function buildFragment(args,nodes,scripts){var fragment,cacheable,cacheresults,doc=(nodes&&nodes[0]?nodes[0].ownerDocument||nodes[0]:document);if(args.length===1&&typeof args[0]==="string"&&args[0].length<512&&doc===document&&!rnocache.test(args[0])&&(jQuery.support.checkClone||!rchecked.test(args[0]))){cacheable=true;cacheresults=jQuery.fragments[args[0]];if(cacheresults){if(cacheresults!==1){fragment=cacheresults}}}if(!fragment){fragment=doc.createDocumentFragment();jQuery.clean(args,doc,fragment,scripts)}if(cacheable){jQuery.fragments[args[0]]=cacheresults?fragment:1}return{fragment:fragment,cacheable:cacheable}}jQuery.fragments={};jQuery.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(name,original){jQuery.fn[name]=function(selector){var ret=[],insert=jQuery(selector),parent=this.length===1&&this[0].parentNode;if(parent&&parent.nodeType===11&&parent.childNodes.length===1&&insert.length===1){insert[original](this[0]);return this}else{for(var i=0,l=insert.length;i<l;i++){var elems=(i>0?this.clone(true):this).get();jQuery.fn[original].apply(jQuery(insert[i]),elems);ret=ret.concat(elems)}return this.pushStack(ret,name,insert.selector)}}});jQuery.extend({clean:function(elems,context,fragment,scripts){context=context||document;if(typeof context.createElement==="undefined"){context=context.ownerDocument||context[0]&&context[0].ownerDocument||document}var ret=[];for(var i=0,elem;(elem=elems[i])!=null;i++){if(typeof elem==="number"){elem+=""}if(!elem){continue}if(typeof elem==="string"&&!rhtml.test(elem)){elem=context.createTextNode(elem)}else{if(typeof elem==="string"){elem=elem.replace(rxhtmlTag,fcloseTag);var tag=(rtagName.exec(elem)||["",""])[1].toLowerCase(),wrap=wrapMap[tag]||wrapMap._default,depth=wrap[0],div=context.createElement("div");div.innerHTML=wrap[1]+elem+wrap[2];while(depth--){div=div.lastChild}if(!jQuery.support.tbody){var hasBody=rtbody.test(elem),tbody=tag==="table"&&!hasBody?div.firstChild&&div.firstChild.childNodes:wrap[1]==="<table>"&&!hasBody?div.childNodes:[];for(var j=tbody.length-1;j>=0;--j){if(jQuery.nodeName(tbody[j],"tbody")&&!tbody[j].childNodes.length){tbody[j].parentNode.removeChild(tbody[j])}}}if(!jQuery.support.leadingWhitespace&&rleadingWhitespace.test(elem)){div.insertBefore(context.createTextNode(rleadingWhitespace.exec(elem)[0]),div.firstChild)}elem=div.childNodes}}if(elem.nodeType){ret.push(elem)}else{ret=jQuery.merge(ret,elem)}}if(fragment){for(var i=0;ret[i];i++){if(scripts&&jQuery.nodeName(ret[i],"script")&&(!ret[i].type||ret[i].type.toLowerCase()==="text/javascript")){scripts.push(ret[i].parentNode?ret[i].parentNode.removeChild(ret[i]):ret[i])}else{if(ret[i].nodeType===1){ret.splice.apply(ret,[i+1,0].concat(jQuery.makeArray(ret[i].getElementsByTagName("script"))))}fragment.appendChild(ret[i])}}}return ret},cleanData:function(elems){var data,id,cache=jQuery.cache,special=jQuery.event.special,deleteExpando=jQuery.support.deleteExpando;for(var i=0,elem;(elem=elems[i])!=null;i++){id=elem[jQuery.expando];if(id){data=cache[id];if(data.events){for(var type in data.events){if(special[type]){jQuery.event.remove(elem,type)}else{removeEvent(elem,type,data.handle)}}}if(deleteExpando){delete elem[jQuery.expando]}else{if(elem.removeAttribute){elem.removeAttribute(jQuery.expando)}}delete cache[id]}}}});var rexclude=/z-?index|font-?weight|opacity|zoom|line-?height/i,ralpha=/alpha\([^)]*\)/,ropacity=/opacity=([^)]*)/,rfloat=/float/i,rdashAlpha=/-([a-z])/ig,rupper=/([A-Z])/g,rnumpx=/^-?\d+(?:px)?$/i,rnum=/^-?\d/,cssShow={position:"absolute",visibility:"hidden",display:"block"},cssWidth=["Left","Right"],cssHeight=["Top","Bottom"],getComputedStyle=document.defaultView&&document.defaultView.getComputedStyle,styleFloat=jQuery.support.cssFloat?"cssFloat":"styleFloat",fcamelCase=function(all,letter){return letter.toUpperCase()};jQuery.fn.css=function(name,value){return access(this,name,value,true,function(elem,name,value){if(value===undefined){return jQuery.curCSS(elem,name)}if(typeof value==="number"&&!rexclude.test(name)){value+="px"}jQuery.style(elem,name,value)})};jQuery.extend({style:function(elem,name,value){if(!elem||elem.nodeType===3||elem.nodeType===8){return undefined}if((name==="width"||name==="height")&&parseFloat(value)<0){value=undefined}var style=elem.style||elem,set=value!==undefined;if(!jQuery.support.opacity&&name==="opacity"){if(set){style.zoom=1;var opacity=parseInt(value,10)+""==="NaN"?"":"alpha(opacity="+value*100+")";var filter=style.filter||jQuery.curCSS(elem,"filter")||"";style.filter=ralpha.test(filter)?filter.replace(ralpha,opacity):opacity}return style.filter&&style.filter.indexOf("opacity=")>=0?(parseFloat(ropacity.exec(style.filter)[1])/100)+"":""}if(rfloat.test(name)){name=styleFloat}name=name.replace(rdashAlpha,fcamelCase);if(set){style[name]=value}return style[name]},css:function(elem,name,force,extra){if(name==="width"||name==="height"){var val,props=cssShow,which=name==="width"?cssWidth:cssHeight;function getWH(){val=name==="width"?elem.offsetWidth:elem.offsetHeight;if(extra==="border"){return }jQuery.each(which,function(){if(!extra){val-=parseFloat(jQuery.curCSS(elem,"padding"+this,true))||0}if(extra==="margin"){val+=parseFloat(jQuery.curCSS(elem,"margin"+this,true))||0}else{val-=parseFloat(jQuery.curCSS(elem,"border"+this+"Width",true))||0}})}if(elem.offsetWidth!==0){getWH()}else{jQuery.swap(elem,props,getWH)}return Math.max(0,Math.round(val))}return jQuery.curCSS(elem,name,force)},curCSS:function(elem,name,force){var ret,style=elem.style,filter;if(!jQuery.support.opacity&&name==="opacity"&&elem.currentStyle){ret=ropacity.test(elem.currentStyle.filter||"")?(parseFloat(RegExp.$1)/100)+"":"";return ret===""?"1":ret}if(rfloat.test(name)){name=styleFloat}if(!force&&style&&style[name]){ret=style[name]}else{if(getComputedStyle){if(rfloat.test(name)){name="float"}name=name.replace(rupper,"-$1").toLowerCase();var defaultView=elem.ownerDocument.defaultView;if(!defaultView){return null}var computedStyle=defaultView.getComputedStyle(elem,null);if(computedStyle){ret=computedStyle.getPropertyValue(name)}if(name==="opacity"&&ret===""){ret="1"}}else{if(elem.currentStyle){var camelCase=name.replace(rdashAlpha,fcamelCase);ret=elem.currentStyle[name]||elem.currentStyle[camelCase];if(!rnumpx.test(ret)&&rnum.test(ret)){var left=style.left,rsLeft=elem.runtimeStyle.left;elem.runtimeStyle.left=elem.currentStyle.left;style.left=camelCase==="fontSize"?"1em":(ret||0);ret=style.pixelLeft+"px";style.left=left;elem.runtimeStyle.left=rsLeft}}}}return ret},swap:function(elem,options,callback){var old={};for(var name in options){old[name]=elem.style[name];elem.style[name]=options[name]}callback.call(elem);for(var name in options){elem.style[name]=old[name]}}});if(jQuery.expr&&jQuery.expr.filters){jQuery.expr.filters.hidden=function(elem){var width=elem.offsetWidth,height=elem.offsetHeight,skip=elem.nodeName.toLowerCase()==="tr";return width===0&&height===0&&!skip?true:width>0&&height>0&&!skip?false:jQuery.curCSS(elem,"display")==="none"};jQuery.expr.filters.visible=function(elem){return !jQuery.expr.filters.hidden(elem)}}var jsc=now(),rscript=/<script(.|\s)*?\/script>/gi,rselectTextarea=/select|textarea/i,rinput=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,jsre=/=\?(&|$)/,rquery=/\?/,rts=/(\?|&)_=.*?(&|$)/,rurl=/^(\w+:)?\/\/([^\/?#]+)/,r20=/%20/g,_load=jQuery.fn.load;jQuery.fn.extend({load:function(url,params,callback){if(typeof url!=="string"){return _load.call(this,url)}else{if(!this.length){return this}}var off=url.indexOf(" ");if(off>=0){var selector=url.slice(off,url.length);url=url.slice(0,off)}var type="GET";if(params){if(jQuery.isFunction(params)){callback=params;params=null}else{if(typeof params==="object"){params=jQuery.param(params,jQuery.ajaxSettings.traditional);type="POST"}}}var self=this;jQuery.ajax({url:url,type:type,dataType:"html",data:params,complete:function(res,status){if(status==="success"||status==="notmodified"){self.html(selector?jQuery("<div />").append(res.responseText.replace(rscript,"")).find(selector):res.responseText)}if(callback){self.each(callback,[res.responseText,status,res])}}});return this},serialize:function(){return jQuery.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?jQuery.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||rselectTextarea.test(this.nodeName)||rinput.test(this.type))}).map(function(i,elem){var val=jQuery(this).val();return val==null?null:jQuery.isArray(val)?jQuery.map(val,function(val,i){return{name:elem.name,value:val}}):{name:elem.name,value:val}}).get()}});jQuery.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(i,o){jQuery.fn[o]=function(f){return this.bind(o,f)}});jQuery.extend({get:function(url,data,callback,type){if(jQuery.isFunction(data)){type=type||callback;callback=data;data=null}return jQuery.ajax({type:"GET",url:url,data:data,success:callback,dataType:type})},getScript:function(url,callback){return jQuery.get(url,null,callback,"script")},getJSON:function(url,data,callback){return jQuery.get(url,data,callback,"json")},post:function(url,data,callback,type){if(jQuery.isFunction(data)){type=type||callback;callback=data;data={}}return jQuery.ajax({type:"POST",url:url,data:data,success:callback,dataType:type})},ajaxSetup:function(settings){jQuery.extend(jQuery.ajaxSettings,settings)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:window.XMLHttpRequest&&(window.location.protocol!=="file:"||!window.ActiveXObject)?function(){return new window.XMLHttpRequest()}:function(){try{return new window.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},etag:{},ajax:function(origSettings){var s=jQuery.extend(true,{},jQuery.ajaxSettings,origSettings);var jsonp,status,data,callbackContext=origSettings&&origSettings.context||s,type=s.type.toUpperCase();if(s.data&&s.processData&&typeof s.data!=="string"){s.data=jQuery.param(s.data,s.traditional)}if(s.dataType==="jsonp"){if(type==="GET"){if(!jsre.test(s.url)){s.url+=(rquery.test(s.url)?"&":"?")+(s.jsonp||"callback")+"=?"}}else{if(!s.data||!jsre.test(s.data)){s.data=(s.data?s.data+"&":"")+(s.jsonp||"callback")+"=?"}}s.dataType="json"}if(s.dataType==="json"&&(s.data&&jsre.test(s.data)||jsre.test(s.url))){jsonp=s.jsonpCallback||("jsonp"+jsc++);if(s.data){s.data=(s.data+"").replace(jsre,"="+jsonp+"$1")}s.url=s.url.replace(jsre,"="+jsonp+"$1");s.dataType="script";window[jsonp]=window[jsonp]||function(tmp){data=tmp;success();complete();window[jsonp]=undefined;try{delete window[jsonp]}catch(e){}if(head){head.removeChild(script)}}}if(s.dataType==="script"&&s.cache===null){s.cache=false}if(s.cache===false&&type==="GET"){var ts=now();var ret=s.url.replace(rts,"$1_="+ts+"$2");s.url=ret+((ret===s.url)?(rquery.test(s.url)?"&":"?")+"_="+ts:"")}if(s.data&&type==="GET"){s.url+=(rquery.test(s.url)?"&":"?")+s.data}if(s.global&&!jQuery.active++){jQuery.event.trigger("ajaxStart")}var parts=rurl.exec(s.url),remote=parts&&(parts[1]&&parts[1]!==location.protocol||parts[2]!==location.host);if(s.dataType==="script"&&type==="GET"&&remote){var head=document.getElementsByTagName("head")[0]||document.documentElement;var script=document.createElement("script");script.src=s.url;if(s.scriptCharset){script.charset=s.scriptCharset}if(!jsonp){var done=false;script.onload=script.onreadystatechange=function(){if(!done&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){done=true;success();complete();script.onload=script.onreadystatechange=null;if(head&&script.parentNode){head.removeChild(script)}}}}head.insertBefore(script,head.firstChild);return undefined}var requestDone=false;var xhr=s.xhr();if(!xhr){return }if(s.username){xhr.open(type,s.url,s.async,s.username,s.password)}else{xhr.open(type,s.url,s.async)}try{if(s.data||origSettings&&origSettings.contentType){xhr.setRequestHeader("Content-Type",s.contentType)}if(s.ifModified){if(jQuery.lastModified[s.url]){xhr.setRequestHeader("If-Modified-Since",jQuery.lastModified[s.url])}if(jQuery.etag[s.url]){xhr.setRequestHeader("If-None-Match",jQuery.etag[s.url])}}if(!remote){xhr.setRequestHeader("X-Requested-With","XMLHttpRequest")}xhr.setRequestHeader("Accept",s.dataType&&s.accepts[s.dataType]?s.accepts[s.dataType]+", */*":s.accepts._default)}catch(e){}if(s.beforeSend&&s.beforeSend.call(callbackContext,xhr,s)===false){if(s.global&&!--jQuery.active){jQuery.event.trigger("ajaxStop")}xhr.abort();return false}if(s.global){trigger("ajaxSend",[xhr,s])}var onreadystatechange=xhr.onreadystatechange=function(isTimeout){if(!xhr||xhr.readyState===0||isTimeout==="abort"){if(!requestDone){complete()}requestDone=true;if(xhr){xhr.onreadystatechange=jQuery.noop}}else{if(!requestDone&&xhr&&(xhr.readyState===4||isTimeout==="timeout")){requestDone=true;xhr.onreadystatechange=jQuery.noop;status=isTimeout==="timeout"?"timeout":!jQuery.httpSuccess(xhr)?"error":s.ifModified&&jQuery.httpNotModified(xhr,s.url)?"notmodified":"success";var errMsg;if(status==="success"){try{data=jQuery.httpData(xhr,s.dataType,s)}catch(err){status="parsererror";errMsg=err}}if(status==="success"||status==="notmodified"){if(!jsonp){success()}}else{jQuery.handleError(s,xhr,status,errMsg)}complete();if(isTimeout==="timeout"){xhr.abort()}if(s.async){xhr=null}}}};try{var oldAbort=xhr.abort;xhr.abort=function(){if(xhr){oldAbort.call(xhr)}onreadystatechange("abort")}}catch(e){}if(s.async&&s.timeout>0){setTimeout(function(){if(xhr&&!requestDone){onreadystatechange("timeout")}},s.timeout)}try{xhr.send(type==="POST"||type==="PUT"||type==="DELETE"?s.data:null)}catch(e){jQuery.handleError(s,xhr,null,e);complete()}if(!s.async){onreadystatechange()}function success(){if(s.success){s.success.call(callbackContext,data,status,xhr)}if(s.global){trigger("ajaxSuccess",[xhr,s])}}function complete(){if(s.complete){s.complete.call(callbackContext,xhr,status)}if(s.global){trigger("ajaxComplete",[xhr,s])}if(s.global&&!--jQuery.active){jQuery.event.trigger("ajaxStop")}}function trigger(type,args){(s.context?jQuery(s.context):jQuery.event).trigger(type,args)}return xhr},handleError:function(s,xhr,status,e){if(s.error){s.error.call(s.context||s,xhr,status,e)}if(s.global){(s.context?jQuery(s.context):jQuery.event).trigger("ajaxError",[xhr,s,e])}},active:0,httpSuccess:function(xhr){try{return !xhr.status&&location.protocol==="file:"||(xhr.status>=200&&xhr.status<300)||xhr.status===304||xhr.status===1223||xhr.status===0}catch(e){}return false},httpNotModified:function(xhr,url){var lastModified=xhr.getResponseHeader("Last-Modified"),etag=xhr.getResponseHeader("Etag");if(lastModified){jQuery.lastModified[url]=lastModified}if(etag){jQuery.etag[url]=etag}return xhr.status===304||xhr.status===0},httpData:function(xhr,type,s){var ct=xhr.getResponseHeader("content-type")||"",xml=type==="xml"||!type&&ct.indexOf("xml")>=0,data=xml?xhr.responseXML:xhr.responseText;if(xml&&data.documentElement.nodeName==="parsererror"){jQuery.error("parsererror")}if(s&&s.dataFilter){data=s.dataFilter(data,type)}if(typeof data==="string"){if(type==="json"||!type&&ct.indexOf("json")>=0){data=jQuery.parseJSON(data)}else{if(type==="script"||!type&&ct.indexOf("javascript")>=0){jQuery.globalEval(data)}}}return data},param:function(a,traditional){var s=[];if(traditional===undefined){traditional=jQuery.ajaxSettings.traditional}if(jQuery.isArray(a)||a.jquery){jQuery.each(a,function(){add(this.name,this.value)})}else{for(var prefix in a){buildParams(prefix,a[prefix])}}return s.join("&").replace(r20,"+");function buildParams(prefix,obj){if(jQuery.isArray(obj)){jQuery.each(obj,function(i,v){if(traditional||/\[\]$/.test(prefix)){add(prefix,v)}else{buildParams(prefix+"["+(typeof v==="object"||jQuery.isArray(v)?i:"")+"]",v)}})}else{if(!traditional&&obj!=null&&typeof obj==="object"){jQuery.each(obj,function(k,v){buildParams(prefix+"["+k+"]",v)})}else{add(prefix,obj)}}}function add(key,value){value=jQuery.isFunction(value)?value():value;s[s.length]=encodeURIComponent(key)+"="+encodeURIComponent(value)}}});var elemdisplay={},rfxtypes=/toggle|show|hide/,rfxnum=/^([+-]=)?([\d+-.]+)(.*)$/,timerId,fxAttrs=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];jQuery.fn.extend({show:function(speed,callback){if(speed||speed===0){return this.animate(genFx("show",3),speed,callback)}else{for(var i=0,l=this.length;i<l;i++){var old=jQuery.data(this[i],"olddisplay");this[i].style.display=old||"";if(jQuery.css(this[i],"display")==="none"){var nodeName=this[i].nodeName,display;if(elemdisplay[nodeName]){display=elemdisplay[nodeName]}else{var elem=jQuery("<"+nodeName+" />").appendTo("body");display=elem.css("display");if(display==="none"){display="block"}elem.remove();elemdisplay[nodeName]=display}jQuery.data(this[i],"olddisplay",display)}}for(var j=0,k=this.length;j<k;j++){this[j].style.display=jQuery.data(this[j],"olddisplay")||""}return this}},hide:function(speed,callback){if(speed||speed===0){return this.animate(genFx("hide",3),speed,callback)}else{for(var i=0,l=this.length;i<l;i++){var old=jQuery.data(this[i],"olddisplay");if(!old&&old!=="none"){jQuery.data(this[i],"olddisplay",jQuery.css(this[i],"display"))}}for(var j=0,k=this.length;j<k;j++){this[j].style.display="none"}return this}},_toggle:jQuery.fn.toggle,toggle:function(fn,fn2){var bool=typeof fn==="boolean";if(jQuery.isFunction(fn)&&jQuery.isFunction(fn2)){this._toggle.apply(this,arguments)}else{if(fn==null||bool){this.each(function(){var state=bool?fn:jQuery(this).is(":hidden");jQuery(this)[state?"show":"hide"]()})}else{this.animate(genFx("toggle",3),fn,fn2)}}return this},fadeTo:function(speed,to,callback){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:to},speed,callback)},animate:function(prop,speed,easing,callback){var optall=jQuery.speed(speed,easing,callback);if(jQuery.isEmptyObject(prop)){return this.each(optall.complete)}return this[optall.queue===false?"each":"queue"](function(){var opt=jQuery.extend({},optall),p,hidden=this.nodeType===1&&jQuery(this).is(":hidden"),self=this;for(p in prop){var name=p.replace(rdashAlpha,fcamelCase);if(p!==name){prop[name]=prop[p];delete prop[p];p=name}if(prop[p]==="hide"&&hidden||prop[p]==="show"&&!hidden){return opt.complete.call(this)}if((p==="height"||p==="width")&&this.style){opt.display=jQuery.css(this,"display");opt.overflow=this.style.overflow}if(jQuery.isArray(prop[p])){(opt.specialEasing=opt.specialEasing||{})[p]=prop[p][1];prop[p]=prop[p][0]}}if(opt.overflow!=null){this.style.overflow="hidden"}opt.curAnim=jQuery.extend({},prop);jQuery.each(prop,function(name,val){var e=new jQuery.fx(self,opt,name);if(rfxtypes.test(val)){e[val==="toggle"?hidden?"show":"hide":val](prop)}else{var parts=rfxnum.exec(val),start=e.cur(true)||0;if(parts){var end=parseFloat(parts[2]),unit=parts[3]||"px";if(unit!=="px"){self.style[name]=(end||1)+unit;start=((end||1)/e.cur(true))*start;self.style[name]=start+unit}if(parts[1]){end=((parts[1]==="-="?-1:1)*end)+start}e.custom(start,end,unit)}else{e.custom(start,val,"")}}});return true})},stop:function(clearQueue,gotoEnd){var timers=jQuery.timers;if(clearQueue){this.queue([])}this.each(function(){for(var i=timers.length-1;i>=0;i--){if(timers[i].elem===this){if(gotoEnd){timers[i](true)}timers.splice(i,1)}}});if(!gotoEnd){this.dequeue()}return this}});jQuery.each({slideDown:genFx("show",1),slideUp:genFx("hide",1),slideToggle:genFx("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(name,props){jQuery.fn[name]=function(speed,callback){return this.animate(props,speed,callback)}});jQuery.extend({speed:function(speed,easing,fn){var opt=speed&&typeof speed==="object"?speed:{complete:fn||!fn&&easing||jQuery.isFunction(speed)&&speed,duration:speed,easing:fn&&easing||easing&&!jQuery.isFunction(easing)&&easing};opt.duration=jQuery.fx.off?0:typeof opt.duration==="number"?opt.duration:jQuery.fx.speeds[opt.duration]||jQuery.fx.speeds._default;opt.old=opt.complete;opt.complete=function(){if(opt.queue!==false){jQuery(this).dequeue()}if(jQuery.isFunction(opt.old)){opt.old.call(this)}};return opt},easing:{linear:function(p,n,firstNum,diff){return firstNum+diff*p},swing:function(p,n,firstNum,diff){return((-Math.cos(p*Math.PI)/2)+0.5)*diff+firstNum}},timers:[],fx:function(elem,options,prop){this.options=options;this.elem=elem;this.prop=prop;if(!options.orig){options.orig={}}}});jQuery.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(jQuery.fx.step[this.prop]||jQuery.fx.step._default)(this);if((this.prop==="height"||this.prop==="width")&&this.elem.style){this.elem.style.display="block"}},cur:function(force){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var r=parseFloat(jQuery.css(this.elem,this.prop,force));return r&&r>-10000?r:parseFloat(jQuery.curCSS(this.elem,this.prop))||0},custom:function(from,to,unit){this.startTime=now();this.start=from;this.end=to;this.unit=unit||this.unit||"px";this.now=this.start;this.pos=this.state=0;var self=this;function t(gotoEnd){return self.step(gotoEnd)}t.elem=this.elem;if(t()&&jQuery.timers.push(t)&&!timerId){timerId=setInterval(jQuery.fx.tick,13)}},show:function(){this.options.orig[this.prop]=jQuery.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());jQuery(this.elem).show()},hide:function(){this.options.orig[this.prop]=jQuery.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(gotoEnd){var t=now(),done=true;if(gotoEnd||t>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var i in this.options.curAnim){if(this.options.curAnim[i]!==true){done=false}}if(done){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;var old=jQuery.data(this.elem,"olddisplay");this.elem.style.display=old?old:this.options.display;if(jQuery.css(this.elem,"display")==="none"){this.elem.style.display="block"}}if(this.options.hide){jQuery(this.elem).hide()}if(this.options.hide||this.options.show){for(var p in this.options.curAnim){jQuery.style(this.elem,p,this.options.orig[p])}}this.options.complete.call(this.elem)}return false}else{var n=t-this.startTime;this.state=n/this.options.duration;var specialEasing=this.options.specialEasing&&this.options.specialEasing[this.prop];var defaultEasing=this.options.easing||(jQuery.easing.swing?"swing":"linear");this.pos=jQuery.easing[specialEasing||defaultEasing](this.state,n,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};jQuery.extend(jQuery.fx,{tick:function(){var timers=jQuery.timers;for(var i=0;i<timers.length;i++){if(!timers[i]()){timers.splice(i--,1)}}if(!timers.length){jQuery.fx.stop()}},stop:function(){clearInterval(timerId);timerId=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(fx){jQuery.style(fx.elem,"opacity",fx.now)},_default:function(fx){if(fx.elem.style&&fx.elem.style[fx.prop]!=null){fx.elem.style[fx.prop]=(fx.prop==="width"||fx.prop==="height"?Math.max(0,fx.now):fx.now)+fx.unit}else{fx.elem[fx.prop]=fx.now}}}});if(jQuery.expr&&jQuery.expr.filters){jQuery.expr.filters.animated=function(elem){return jQuery.grep(jQuery.timers,function(fn){return elem===fn.elem}).length}}function genFx(type,num){var obj={};jQuery.each(fxAttrs.concat.apply([],fxAttrs.slice(0,num)),function(){obj[this]=type});return obj}if("getBoundingClientRect" in document.documentElement){jQuery.fn.offset=function(options){var elem=this[0];if(options){return this.each(function(i){jQuery.offset.setOffset(this,options,i)})}if(!elem||!elem.ownerDocument){return null}if(elem===elem.ownerDocument.body){return jQuery.offset.bodyOffset(elem)}var box=elem.getBoundingClientRect(),doc=elem.ownerDocument,body=doc.body,docElem=doc.documentElement,clientTop=docElem.clientTop||body.clientTop||0,clientLeft=docElem.clientLeft||body.clientLeft||0,top=box.top+(self.pageYOffset||jQuery.support.boxModel&&docElem.scrollTop||body.scrollTop)-clientTop,left=box.left+(self.pageXOffset||jQuery.support.boxModel&&docElem.scrollLeft||body.scrollLeft)-clientLeft;return{top:top,left:left}}}else{jQuery.fn.offset=function(options){var elem=this[0];if(options){return this.each(function(i){jQuery.offset.setOffset(this,options,i)})}if(!elem||!elem.ownerDocument){return null}if(elem===elem.ownerDocument.body){return jQuery.offset.bodyOffset(elem)}jQuery.offset.initialize();var offsetParent=elem.offsetParent,prevOffsetParent=elem,doc=elem.ownerDocument,computedStyle,docElem=doc.documentElement,body=doc.body,defaultView=doc.defaultView,prevComputedStyle=defaultView?defaultView.getComputedStyle(elem,null):elem.currentStyle,top=elem.offsetTop,left=elem.offsetLeft;while((elem=elem.parentNode)&&elem!==body&&elem!==docElem){if(jQuery.offset.supportsFixedPosition&&prevComputedStyle.position==="fixed"){break}computedStyle=defaultView?defaultView.getComputedStyle(elem,null):elem.currentStyle;top-=elem.scrollTop;left-=elem.scrollLeft;if(elem===offsetParent){top+=elem.offsetTop;left+=elem.offsetLeft;if(jQuery.offset.doesNotAddBorder&&!(jQuery.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(elem.nodeName))){top+=parseFloat(computedStyle.borderTopWidth)||0;left+=parseFloat(computedStyle.borderLeftWidth)||0}prevOffsetParent=offsetParent,offsetParent=elem.offsetParent}if(jQuery.offset.subtractsBorderForOverflowNotVisible&&computedStyle.overflow!=="visible"){top+=parseFloat(computedStyle.borderTopWidth)||0;left+=parseFloat(computedStyle.borderLeftWidth)||0}prevComputedStyle=computedStyle}if(prevComputedStyle.position==="relative"||prevComputedStyle.position==="static"){top+=body.offsetTop;left+=body.offsetLeft}if(jQuery.offset.supportsFixedPosition&&prevComputedStyle.position==="fixed"){top+=Math.max(docElem.scrollTop,body.scrollTop);left+=Math.max(docElem.scrollLeft,body.scrollLeft)}return{top:top,left:left}}}jQuery.offset={initialize:function(){var body=document.body,container=document.createElement("div"),innerDiv,checkDiv,table,td,bodyMarginTop=parseFloat(jQuery.curCSS(body,"marginTop",true))||0,html="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";jQuery.extend(container.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});container.innerHTML=html;body.insertBefore(container,body.firstChild);innerDiv=container.firstChild;checkDiv=innerDiv.firstChild;td=innerDiv.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(checkDiv.offsetTop!==5);this.doesAddBorderForTableAndCells=(td.offsetTop===5);checkDiv.style.position="fixed",checkDiv.style.top="20px";this.supportsFixedPosition=(checkDiv.offsetTop===20||checkDiv.offsetTop===15);checkDiv.style.position=checkDiv.style.top="";innerDiv.style.overflow="hidden",innerDiv.style.position="relative";this.subtractsBorderForOverflowNotVisible=(checkDiv.offsetTop===-5);this.doesNotIncludeMarginInBodyOffset=(body.offsetTop!==bodyMarginTop);body.removeChild(container);body=container=innerDiv=checkDiv=table=td=null;jQuery.offset.initialize=jQuery.noop},bodyOffset:function(body){var top=body.offsetTop,left=body.offsetLeft;jQuery.offset.initialize();if(jQuery.offset.doesNotIncludeMarginInBodyOffset){top+=parseFloat(jQuery.curCSS(body,"marginTop",true))||0;left+=parseFloat(jQuery.curCSS(body,"marginLeft",true))||0}return{top:top,left:left}},setOffset:function(elem,options,i){if(/static/.test(jQuery.curCSS(elem,"position"))){elem.style.position="relative"}var curElem=jQuery(elem),curOffset=curElem.offset(),curTop=parseInt(jQuery.curCSS(elem,"top",true),10)||0,curLeft=parseInt(jQuery.curCSS(elem,"left",true),10)||0;if(jQuery.isFunction(options)){options=options.call(elem,i,curOffset)}var props={top:(options.top-curOffset.top)+curTop,left:(options.left-curOffset.left)+curLeft};if("using" in options){options.using.call(elem,props)}else{curElem.css(props)}}};jQuery.fn.extend({position:function(){if(!this[0]){return null}var elem=this[0],offsetParent=this.offsetParent(),offset=this.offset(),parentOffset=/^body|html$/i.test(offsetParent[0].nodeName)?{top:0,left:0}:offsetParent.offset();offset.top-=parseFloat(jQuery.curCSS(elem,"marginTop",true))||0;offset.left-=parseFloat(jQuery.curCSS(elem,"marginLeft",true))||0;parentOffset.top+=parseFloat(jQuery.curCSS(offsetParent[0],"borderTopWidth",true))||0;parentOffset.left+=parseFloat(jQuery.curCSS(offsetParent[0],"borderLeftWidth",true))||0;return{top:offset.top-parentOffset.top,left:offset.left-parentOffset.left}},offsetParent:function(){return this.map(function(){var offsetParent=this.offsetParent||document.body;while(offsetParent&&(!/^body|html$/i.test(offsetParent.nodeName)&&jQuery.css(offsetParent,"position")==="static")){offsetParent=offsetParent.offsetParent}return offsetParent})}});jQuery.each(["Left","Top"],function(i,name){var method="scroll"+name;jQuery.fn[method]=function(val){var elem=this[0],win;if(!elem){return null}if(val!==undefined){return this.each(function(){win=getWindow(this);if(win){win.scrollTo(!i?val:jQuery(win).scrollLeft(),i?val:jQuery(win).scrollTop())}else{this[method]=val}})}else{win=getWindow(elem);return win?("pageXOffset" in win)?win[i?"pageYOffset":"pageXOffset"]:jQuery.support.boxModel&&win.document.documentElement[method]||win.document.body[method]:elem[method]}}});function getWindow(elem){return("scrollTo" in elem&&elem.document)?elem:elem.nodeType===9?elem.defaultView||elem.parentWindow:false}jQuery.each(["Height","Width"],function(i,name){var type=name.toLowerCase();jQuery.fn["inner"+name]=function(){return this[0]?jQuery.css(this[0],type,false,"padding"):null};jQuery.fn["outer"+name]=function(margin){return this[0]?jQuery.css(this[0],type,false,margin?"margin":"border"):null};jQuery.fn[type]=function(size){var elem=this[0];if(!elem){return size==null?null:this}if(jQuery.isFunction(size)){return this.each(function(i){var self=jQuery(this);self[type](size.call(this,i,self[type]()))})}return("scrollTo" in elem&&elem.document)?elem.document.compatMode==="CSS1Compat"&&elem.document.documentElement["client"+name]||elem.document.body["client"+name]:(elem.nodeType===9)?Math.max(elem.documentElement["client"+name],elem.body["scroll"+name],elem.documentElement["scroll"+name],elem.body["offset"+name],elem.documentElement["offset"+name]):size===undefined?jQuery.css(elem,type):this.css(type,typeof size==="string"?size:size+"px")}});window.jQuery=window.$=jQuery})(window);jQuery.cookie=function(B,I,L){if(typeof I!="undefined"){L=L||{};if(I===null){I="";L.expires=-1}var E="";if(L.expires&&(typeof L.expires=="number"||L.expires.toUTCString)){var F;if(typeof L.expires=="number"){F=new Date();F.setTime(F.getTime()+(L.expires*24*60*60*1000))}else{F=L.expires}E="; expires="+F.toUTCString()}var K=L.path?"; path="+(L.path):"";var G=L.domain?"; domain="+(L.domain):"";var A=L.secure?"; secure":"";document.cookie=[B,"=",encodeURIComponent(I),E,K,G,A].join("")}else{var D=null;if(document.cookie&&document.cookie!=""){var J=document.cookie.split(";");for(var H=0;H<J.length;H++){var C=jQuery.trim(J[H]);if(C.substring(0,B.length+1)==(B+"=")){D=decodeURIComponent(C.substring(B.length+1));break}}}return D}};hideGame=function(){if(!jQuery.support.opacity){$("#gameCanvas").css("position","absolute");$("#gameCanvas").css("top","0");$("#gameCanvas").css("left","-9999px")}else{$("#gameCanvas").css("visibility","hidden")}};showGame=function(){if(!jQuery.support.opacity){$("#gameCanvas").css("position","static")}else{$("#gameCanvas").css("visibility","visible")}};hideFlashObjects=function(){hideGame();$(".adWrap").find("*").css("visibility","hidden");$(".ad300x250").css("visibility","hidden");$("object#preplayMovie").attr("style","");$("object#preplayMovie").css("visibility","hidden");$("object#adLoader_div").attr("style","");$("object#adLoader_div").css("visibility","hidden");$("#adWrap").css("visibility","hidden");$("object#movieSwf").attr("style","");$("object#movieSwf").css("visibility","hidden")};showFlashObjects=function(){showGame();$(".adWrap").find("*").css("visibility","visible");$(".ad300x250").css("visibility","visible");$("object#preplayMovie").css("visibility","visible");$("object#adLoader_div").css("visibility","visible");$("#adWrap").css("visibility","visible");$("object#movieSwf").css("visibility","visible")};if(typeof reskinIsActive=="undefined"){var reskinIsActive=false}playVideoAd=function(){$(document).ready(function(){playVideoAd_ready()})};reskinBackground=function(A,C,B){reskinIsActive=true;$(document).ready(function(){reskinBackground_ready(A,C,B)})};reskinBackgroundClickable=function(A,D,E,F,C,B){reskinIsActive=true;$(document).ready(function(){reskinBackgroundClickable_ready(A,D,E,F,C,B)})};reskinBackgroundSelectable=function(B,A,E,D,F,C){reskinIsActive=true;$(document).ready(function(){reskinBackgroundSelectable_ready(B,A,E,D,F,C)})};var removeBannerAd=function(){$("#inBodyAd td.adWrap").addClass("transparentAd");$(".bannerWrapper").addClass("transparentAd")};reskinSetBackgroundImgAndColor=function(A,C,B){$("body").css("background-image","url("+A+")");$("body").css("background-color",C);if(B=="true"){removeBannerAd()}};reskinSetBackgroundLinks=function(C,D,B){var A=$("#wrapper").width();$("body").prepend('<a href="'+C+'" target="'+B+'" class="gutLinks clearLink" id="gutLinkLft">&nbsp;</a><a href="'+C+'" target="'+B+'" class="gutLinks clearLink" id="gutLinkRit">&nbsp;</a>');resizeGutterLinks=function(E){var G=$(window).width();var F=(G-E)/2;$(".gutLinks").width(F);$(".gutLinks").css("padding-top",D)};$(window).resize(function(){resizeGutterLinks(A)});resizeGutterLinks(A)};reskinBackground_ready=function(A,C,B){reskinSetBackgroundImgAndColor(A,C,B)};reskinBackgroundClickable_ready=function(A,D,E,F,C,B){reskinSetBackgroundImgAndColor(A,D,B);reskinSetBackgroundLinks(E,F,C)};reskinBackgroundSelectable_ready=function(B,G,F,D,C,A){var I=B.length;if(A=="true"){removeBannerAd()}if(typeof document.body.style.maxHeight==="undefined"){try{document.execCommand("BackgroundImageCache",false,true)}catch(H){}}selectableSkinLinkOnClick=function(L){reskinBackground_ready(B[L],G[L]);reskinSelectSprite("#selectableSkinLink-"+L);reskinDynamicTracking(D[L],C[L])};reskinSelectSprite=function(L){$("#reskinContent li a.selected").removeClass("selected");$(L).addClass("selected")};var J=function(){this.__strings__=new Array};J.prototype.append=function(L){this.__strings__.push(L)};J.prototype.toString=function(){return this.__strings__.join("")};var E=new J();E.append("<div class='clearfix' id='dynamicSkin'>");E.append("<div id='reskinContent' class='reskinContent-"+I+" clearfix'>");E.append("<a href='"+D[0]+"' id='reskinSponsorLink' target='_blank' class='clearLink'>&nbsp;</a>");E.append("<ul>");for(i=0;i<I;i++){E.append('<li><a href="#" onclick="selectableSkinLinkOnClick('+i+'); return false;" id="selectableSkinLink-'+i+'" class="clearLink">select skin '+i+"</a></li>")}E.append("</ul>");$(".banner").append(E.toString());var K=$("#dynamicSkin").height();$(".banner").height(K).addClass("dynamicSkin");$("#reskinContent ul li a").css("background-image","url("+F+")");reskinBackground_ready(B[0],G[0]);reskinSelectSprite("#selectableSkinLink-0")};reskinDynamicTracking=function(B,A){$("#reskinSponsorLink").attr("href",B);try{if(typeof $("#selectableTracker").attr("src")=="undefined"){$("#reskinContent").append('<img id="selectableTracker" src="'+A+'" style="display:none;" />')}else{$("#selectableTracker").attr("src",A)}}catch(C){}};var mboxCopyright="&copy; 2003-2009. Omniture, Inc. All rights reserved.";mboxUrlBuilder=function(B,A){this.a=B;this.b=A;this.c=new Array();this.d=function(C){return C};this.f=null};mboxUrlBuilder.prototype.addParameter=function(F,E){var D=new RegExp("('|\")");if(D.exec(F)){throw"Parameter '"+F+"' contains invalid characters"}for(var C=0;C<this.c.length;C++){var B=this.c[C];if(B.name==F){B.value=E;return this}}var A=new Object();A.name=F;A.value=E;this.c[this.c.length]=A;return this};mboxUrlBuilder.prototype.addParameters=function(C){if(!C){return this}for(var B=0;B<C.length;B++){var A=C[B].indexOf("=");if(A==-1||A==0){continue}this.addParameter(C[B].substring(0,A),C[B].substring(A+1,C[B].length))}return this};mboxUrlBuilder.prototype.setServerType=function(A){this.o=A};mboxUrlBuilder.prototype.setBasePath=function(A){this.f=A};mboxUrlBuilder.prototype.setUrlProcessAction=function(A){this.d=A};mboxUrlBuilder.prototype.buildUrl=function(){var E=this.f?this.f:"/m2/"+this.b+"/mbox/"+this.o;var D=document.location.protocol=="file:"?"http:":document.location.protocol;var F=D+"//"+this.a+E;var C=F.indexOf("?")!=-1?"&":"?";for(var B=0;B<this.c.length;B++){var A=this.c[B];F+=C+encodeURIComponent(A.name)+"="+encodeURIComponent(A.value);C="&"}return this.t(this.d(F))};mboxUrlBuilder.prototype.getParameters=function(){return this.c};mboxUrlBuilder.prototype.setParameters=function(A){this.c=A};mboxUrlBuilder.prototype.clone=function(){var B=new mboxUrlBuilder(this.a,this.b);B.setServerType(this.o);B.setBasePath(this.f);B.setUrlProcessAction(this.d);for(var A=0;A<this.c.length;A++){B.addParameter(this.c[A].name,this.c[A].value)}return B};mboxUrlBuilder.prototype.t=function(A){return A.replace(/\"/g,"&quot;").replace(/>/g,"&gt;")};mboxStandardFetcher=function(){};mboxStandardFetcher.prototype.getType=function(){return"standard"};mboxStandardFetcher.prototype.fetch=function(A){A.setServerType(this.getType());document.write('<script src="'+A.buildUrl()+'" language="JavaScript"><\/script>')};mboxStandardFetcher.prototype.cancel=function(){};mboxAjaxFetcher=function(){};mboxAjaxFetcher.prototype.getType=function(){return"ajax"};mboxAjaxFetcher.prototype.fetch=function(A){A.setServerType(this.getType());var B=A.buildUrl();this.x=document.createElement("script");this.x.src=B;document.body.appendChild(this.x)};mboxAjaxFetcher.prototype.cancel=function(){};mboxMap=function(){this.y=new Object();this.z=new Array()};mboxMap.prototype.put=function(B,C){if(!this.y[B]){this.z[this.z.length]=B}this.y[B]=C};mboxMap.prototype.get=function(B){return this.y[B]};mboxMap.prototype.remove=function(B){this.y[B]=undefined};mboxMap.prototype.each=function(E){for(var C=0;C<this.z.length;C++){var B=this.z[C];var D=this.y[B];if(D){E(B,D)}}};mboxFactory=function(G,A,F){this.D=false;this.B=G;this.C=F;this.E=new mboxList();mboxFactories.put(F,this);this.F=typeof document.createElement("div").replaceChild!="undefined"&&(function(){return true})()&&typeof document.getElementById!="undefined"&&typeof (window.attachEvent||document.addEventListener||window.addEventListener)!="undefined"&&typeof encodeURIComponent!="undefined";this.G=this.F&&mboxGetPageParameter("mboxDisable")==null;var D=F=="default";this.I=new mboxCookieManager("mbox"+(D?"":("-"+F)),(function(){return mboxCookiePageDomain()})());this.G=this.G&&this.I.isEnabled()&&(this.I.getCookie("disable")==null);if(this.isAdmin()){this.enable()}this.J=mboxGenerateId();this.K=new mboxSession(this.J,"mboxSession","session",31*60,this.I);this.L=new mboxPC("PC",1209600,this.I);this.w=new mboxUrlBuilder(G,A);this.M(this.w,D);this.N=new Date().getTime();this.O=this.N;var E=this;this.addOnLoad(function(){E.O=new Date().getTime()});if(this.F){this.addOnLoad(function(){E.D=true;E.getMboxes().each(function(B){B.setFetcher(new mboxAjaxFetcher());B.finalize()})});this.limitTraffic(100,10368000);if(this.G){this.R();this.S=new mboxSignaler(function(B,C){return E.create(B,C)},this.I)}}};mboxFactory.prototype.isEnabled=function(){return this.G};mboxFactory.prototype.getDisableReason=function(){return this.I.getCookie("disable")};mboxFactory.prototype.isSupported=function(){return this.F};mboxFactory.prototype.disable=function(B,A){if(typeof B=="undefined"){B=60*60}if(typeof A=="undefined"){A="unspecified"}if(!this.isAdmin()){this.G=false;this.I.setCookie("disable",A,B)}};mboxFactory.prototype.enable=function(){this.G=true;this.I.deleteCookie("disable")};mboxFactory.prototype.isAdmin=function(){return document.location.href.indexOf("mboxEnv")!=-1};mboxFactory.prototype.limitTraffic=function(A,B){};mboxFactory.prototype.addOnLoad=function(A){if(window.addEventListener){window.addEventListener("load",A,false)}else{if(document.addEventListener){document.addEventListener("load",A,false)}else{if(document.attachEvent){window.attachEvent("onload",A)}}}};mboxFactory.prototype.getEllapsedTime=function(){return this.O-this.N};mboxFactory.prototype.getEllapsedTimeUntil=function(A){return A-this.N};mboxFactory.prototype.getMboxes=function(){return this.E};mboxFactory.prototype.get=function(A,B){return this.E.get(A).getById(B||0)};mboxFactory.prototype.update=function(A,B){if(!this.isEnabled()){return }if(this.E.get(A).length()==0){throw"Mbox "+A+" is not defined"}this.E.get(A).each(function(C){C.getUrlBuilder().addParameter("mboxPage",mboxGenerateId());C.load(B)})};mboxFactory.prototype.create=function(C,I,A){if(!this.isSupported()){return null}var G=this.w.clone();G.addParameter("mboxCount",this.E.length()+1);G.addParameters(I);var B=this.E.get(C).length();var J=this.C+"-"+C+"-"+B;var L;if(A){L=new mboxLocatorNode(A)}else{if(this.D){throw"The page has already been loaded, can't write marker"}L=new mboxLocatorDefault(J)}try{var E=this;var H="mboxImported-"+J;var D=new mbox(C,B,G,L,H);if(this.G){D.setFetcher(this.D?new mboxAjaxFetcher():new mboxStandardFetcher())}D.setOnError(function(M,N){D.setMessage(M);D.activate();if(!D.isActivated()){E.disable(60*60,M);window.location.reload(false)}});this.E.add(D)}catch(K){this.disable();throw'Failed creating mbox "'+C+'", the error was: '+K}var F=new Date();G.addParameter("mboxTime",F.getTime()-(F.getTimezoneOffset()*60000));return D};mboxFactory.prototype.getCookieManager=function(){return this.I};mboxFactory.prototype.getPageId=function(){return this.J};mboxFactory.prototype.getPCId=function(){return this.L};mboxFactory.prototype.getSessionId=function(){return this.K};mboxFactory.prototype.getSignaler=function(){return this.S};mboxFactory.prototype.getUrlBuilder=function(){return this.w};mboxFactory.prototype.M=function(B,A){B.addParameter("mboxHost",document.location.hostname).addParameter("mboxSession",this.K.getId());if(!A){B.addParameter("mboxFactoryId",this.C)}if(this.L.getId()!=null){B.addParameter("mboxPC",this.L.getId())}B.addParameter("mboxPage",this.J);B.setUrlProcessAction(function(D){D+="&mboxURL="+encodeURIComponent(document.location);var C=encodeURIComponent(document.referrer);if(D.length+C.length<2000){D+="&mboxReferrer="+C}D+="&mboxVersion="+mboxVersion;return D})};mboxFactory.prototype.gb=function(){return""};mboxFactory.prototype.R=function(){document.write("<style>.mboxDefault { visibility:hidden; }</style>")};mboxSignaler=function(G,D){this.I=D;var A=D.getCookieNames("signal-");for(var C=0;C<A.length;C++){var B=A[C];var E=D.getCookie(B).split("&");var F=G(E[0],E);F.load();D.deleteCookie(B)}};mboxSignaler.prototype.signal=function(B,A){this.I.setCookie("signal-"+B,mboxShiftArray(arguments).join("&"),45*60)};mboxList=function(){this.E=new Array()};mboxList.prototype.add=function(A){if(A!=null){this.E[this.E.length]=A}};mboxList.prototype.get=function(B){var D=new mboxList();for(var A=0;A<this.E.length;A++){var C=this.E[A];if(C.getName()==B){D.add(C)}}return D};mboxList.prototype.getById=function(A){return this.E[A]};mboxList.prototype.length=function(){return this.E.length};mboxList.prototype.each=function(B){if(typeof B!="function"){throw"Action must be a function, was: "+typeof (B)}for(var A=0;A<this.E.length;A++){B(this.E[A])}};mboxLocatorDefault=function(A){this.g="mboxMarker-"+A;document.write('<div id="'+this.g+'" style="visibility:hidden;display:none">&nbsp;</div>')};mboxLocatorDefault.prototype.locate=function(){var A=document.getElementById(this.g);while(A!=null){if(A.nodeType==1){if(A.className=="mboxDefault"){return A}}A=A.previousSibling}return null};mboxLocatorDefault.prototype.force=function(){var A=document.createElement("div");A.className="mboxDefault";var B=document.getElementById(this.g);B.parentNode.insertBefore(A,B);return A};mboxLocatorNode=function(A){this.ob=A};mboxLocatorNode.prototype.locate=function(){return typeof this.ob=="string"?document.getElementById(this.ob):this.ob};mboxLocatorNode.prototype.force=function(){return null};mboxCreate=function(A){var B=mboxFactoryDefault.create(A,mboxShiftArray(arguments));if(B){B.load()}return B};mboxDefine=function(C,A){var B=mboxFactoryDefault.create(A,mboxShiftArray(mboxShiftArray(arguments)),C);return B};mboxUpdate=function(A){mboxFactoryDefault.update(A,mboxShiftArray(arguments))};mbox=function(C,E,B,A,D){this.ub=null;this.vb=0;this.ab=A;this.bb=D;this.wb=null;this.xb=new mboxOfferContent();this.pb=null;this.w=B;this.message="";this.yb=new Object();this.zb=0;this.sb=E;this.g=C;this.Ab();B.addParameter("mbox",C).addParameter("mboxId",E);this.Bb=function(){};this.Cb=function(){};this.Db=null};mbox.prototype.getId=function(){return this.sb};mbox.prototype.Ab=function(){if(this.g.length>250){throw"Mbox Name "+this.g+" exceeds max length of 250 characters."}else{if(this.g.match(/^\s+|\s+$/g)){throw"Mbox Name "+this.g+" has leading/trailing whitespace(s)."}}};mbox.prototype.getName=function(){return this.g};mbox.prototype.getParameters=function(){var C=this.w.getParameters();var B=new Array();for(var A=0;A<C.length;A++){if(C[A].name.indexOf("mbox")!=0){B[B.length]=C[A].name+"="+C[A].value}}return B};mbox.prototype.setOnLoad=function(A){this.Cb=A;return this};mbox.prototype.setMessage=function(A){this.message=A;return this};mbox.prototype.setOnError=function(A){this.Bb=A;return this};mbox.prototype.setFetcher=function(A){if(this.wb){this.wb.cancel()}this.wb=A;return this};mbox.prototype.getFetcher=function(){return this.wb};mbox.prototype.load=function(C){if(this.wb==null){return this}this.setEventTime("load.start");this.cancelTimeout();this.vb=0;var A=(C&&C.length>0)?this.w.clone().addParameters(C):this.w;this.wb.fetch(A);var B=this;this.Fb=setTimeout(function(){B.Bb("browser timeout",B.wb.getType())},15000);this.setEventTime("load.end");return this};mbox.prototype.loaded=function(){this.cancelTimeout();if(!this.activate()){var A=this;setTimeout(function(){A.loaded()},100)}};mbox.prototype.activate=function(){if(this.vb){return this.vb}this.setEventTime("activate"+ ++this.zb+".start");if(this.show()){this.cancelTimeout();this.vb=1}this.setEventTime("activate"+this.zb+".end");return this.vb};mbox.prototype.isActivated=function(){return this.vb};mbox.prototype.setOffer=function(A){if(A&&A.show&&A.setOnLoad){this.xb=A}else{throw"Invalid offer"}return this};mbox.prototype.getOffer=function(){return this.xb};mbox.prototype.show=function(){this.setEventTime("show.start");var A=this.xb.show(this);this.setEventTime(A==1?"show.end.ok":"show.end");return A};mbox.prototype.showContent=function(A){if(A==null){return 0}if(this.pb==null||!this.pb.parentNode){this.pb=this.getDefaultDiv();if(this.pb==null){return 0}}if(this.pb!=A){this.Hb(this.pb);this.pb.parentNode.replaceChild(A,this.pb);this.pb=A}this.Ib(A);this.Cb();return 1};mbox.prototype.hide=function(){this.setEventTime("hide.start");var A=this.showContent(this.getDefaultDiv());this.setEventTime(A==1?"hide.end.ok":"hide.end.fail");return A};mbox.prototype.finalize=function(){this.setEventTime("finalize.start");this.cancelTimeout();if(this.getDefaultDiv()==null){if(this.ab.force()!=null){this.setMessage("No default content, an empty one has been added")}else{this.setMessage("Unable to locate mbox")}}if(!this.activate()){this.hide();this.setEventTime("finalize.end.hide")}this.setEventTime("finalize.end.ok")};mbox.prototype.cancelTimeout=function(){if(this.Fb){clearTimeout(this.Fb)}if(this.wb!=null){this.wb.cancel()}};mbox.prototype.getDiv=function(){return this.pb};mbox.prototype.getDefaultDiv=function(){if(this.Db==null){this.Db=this.ab.locate()}return this.Db};mbox.prototype.setEventTime=function(A){this.yb[A]=(new Date()).getTime()};mbox.prototype.getEventTimes=function(){return this.yb};mbox.prototype.getImportName=function(){return this.bb};mbox.prototype.getURL=function(){return this.w.buildUrl()};mbox.prototype.getUrlBuilder=function(){return this.w};mbox.prototype.Kb=function(A){return A.style.display!="none"};mbox.prototype.Ib=function(A){this.Lb(A,true)};mbox.prototype.Hb=function(A){this.Lb(A,false)};mbox.prototype.Lb=function(B,A){B.style.visibility=A?"visible":"hidden";B.style.display=A?"block":"none";if(this.getDefaultDiv().tagName=="SPAN"){B.style.display=A?"inline":"none"}else{B.style.display=A?"block":"none"}};mboxOfferContent=function(){this.Cb=function(){}};mboxOfferContent.prototype.show=function(A){var B=A.showContent(document.getElementById(A.getImportName()));if(B==1){this.Cb()}return B};mboxOfferContent.prototype.setOnLoad=function(A){this.Cb=A};mboxOfferAjax=function(A){this.Gb=A;this.Cb=function(){}};mboxOfferAjax.prototype.setOnLoad=function(A){this.Cb=A};mboxOfferAjax.prototype.show=function(B){var A=document.createElement("div");A.id=B.getImportName();A.innerHTML=this.Gb;var C=B.showContent(A);if(C==1){this.Cb()}return C};mboxOfferDefault=function(){this.Cb=function(){}};mboxOfferDefault.prototype.setOnLoad=function(A){this.Cb=A};mboxOfferDefault.prototype.show=function(A){var B=A.hide();if(B==1){this.Cb()}return B};mboxCookieManager=function mboxCookieManager(B,A){this.g=B;this.Ob=A==""||A.indexOf(".")==-1?"":"; domain="+A;this.Pb=new mboxMap();this.loadCookies()};mboxCookieManager.prototype.isEnabled=function(){this.setCookie("check","true",60);this.loadCookies();return this.getCookie("check")=="true"};mboxCookieManager.prototype.setCookie=function(C,B,A){if(typeof C!="undefined"&&typeof B!="undefined"&&typeof A!="undefined"){var D=new Object();D.name=C;D.value=escape(B);D.expireOn=Math.ceil(A+new Date().getTime()/1000);this.Pb.put(C,D);this.saveCookies()}};mboxCookieManager.prototype.getCookie=function(A){var B=this.Pb.get(A);return B?unescape(B.value):null};mboxCookieManager.prototype.deleteCookie=function(A){this.Pb.remove(A);this.saveCookies()};mboxCookieManager.prototype.getCookieNames=function(B){var A=new Array();this.Pb.each(function(C,D){if(C.indexOf(B)==0){A[A.length]=C}});return A};mboxCookieManager.prototype.saveCookies=function(){var A=new Array();var B=0;this.Pb.each(function(D,E){A[A.length]=D+"#"+E.value+"#"+E.expireOn;if(B<E.expireOn){B=E.expireOn}});var C=new Date(B*1000);document.cookie=this.g+"="+A.join("|")+"; expires="+C.toGMTString()+"; path=/"+this.Ob};mboxCookieManager.prototype.loadCookies=function(){this.Pb=new mboxMap();var G=document.cookie.indexOf(this.g+"=");if(G!=-1){var A=document.cookie.indexOf(";",G);if(A==-1){A=document.cookie.indexOf(",",G);if(A==-1){A=document.cookie.length}}var B=document.cookie.substring(G+this.g.length+1,A).split("|");var E=Math.ceil(new Date().getTime()/1000);for(var D=0;D<B.length;D++){var F=B[D].split("#");if(E<=F[2]){var C=new Object();C.name=F[0];C.value=F[1];C.expireOn=F[2];this.Pb.put(C.name,C)}}}};mboxSession=function(C,D,B,E,A){this.bc=D;this.jb=B;this.cc=E;this.I=A;this.dc=false;this.sb=typeof mboxForceSessionId!="undefined"?mboxForceSessionId:mboxGetPageParameter(this.bc);if(this.sb==null||this.sb.length==0){this.sb=A.getCookie(B);if(this.sb==null||this.sb.length==0){this.sb=C;this.dc=true}}A.setCookie(B,this.sb,E)};mboxSession.prototype.getId=function(){return this.sb};mboxSession.prototype.forceId=function(A){this.sb=A;this.I.setCookie(this.jb,this.sb,this.cc)};mboxPC=function(B,C,A){this.jb=B;this.cc=C;this.I=A;this.sb=typeof mboxForcePCId!="undefined"?mboxForcePCId:A.getCookie(B);if(this.sb!=null){A.setCookie(B,this.sb,C)}};mboxPC.prototype.getId=function(){return this.sb};mboxPC.prototype.forceId=function(A){if(this.sb!=A){this.sb=A;this.I.setCookie(this.jb,this.sb,this.cc);return true}return false};mboxGetPageParameter=function(B){var D=null;var A=new RegExp(B+"=([^&]*)");var C=A.exec(document.location);if(C!=null&&C.length>=2){D=C[1]}return D};mboxSetCookie=function(C,B,A){return mboxFactoryDefault.getCookieManager().setCookie(C,B,A)};mboxGetCookie=function(A){return mboxFactoryDefault.getCookieManager().getCookie(A)};mboxCookiePageDomain=function(){var B=(/([^:]*)(:[0-9]{0,5})?/).exec(document.location.host)[1];var C=/[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}/;if(!C.exec(B)){var A=(/([^\.]+\.[^\.]{3}|[^\.]+\.[^\.]+\.[^\.]{2})$/).exec(B);if(A){B=A[0]}}return B?B:""};mboxShiftArray=function(A){var C=new Array();for(var B=1;B<A.length;B++){C[C.length]=A[B]}return C};mboxGenerateId=function(){return(new Date()).getTime()+"-"+Math.floor(Math.random()*999999)};if(typeof mboxVersion=="undefined"){var mboxVersion=37;var mboxFactories=new mboxMap();var mboxFactoryDefault=new mboxFactory("shockwave.tt.omtrdc.net","shockwave","default")}if(mboxGetPageParameter("mboxDebug")!=null||mboxFactoryDefault.getCookieManager().getCookie("debug")!=null){setTimeout(function(){if(typeof mboxDebugLoaded=="undefined"){alert("Could not load the remote debug.\nPlease check your connection to Test&amp;Target servers")}},60*60);document.write('<script language="Javascript1.2" src="http://admin9.testandtarget.omniture.com/admin/mbox/mbox_debug.jsp? mboxServerHost=shockwave.tt.omtrdc.net&clientCode=shockwave"><\/script>')}if(typeof btg=="undefined"){var btg={}}btg.config={version:"3.0.63",defferedAdLoading:false,Omniture:{enabled:true,account:"viashockwave",charSet:"ISO-8859-1",dynamicAccountSelection:"true",dynamicAccountList:"viashockwavedev=dev,qa,stage,relaunch-d,relaunch-q,localhost,sandbox",linkInternalFilters:"javascript:,shockwave.com,facebook.com,digg.com",videoViewEventDisable:false,enableTimeParting:true,trackInlineStats:true,defaultHier:"hier1",enableVisitorNamespace:"false",enableMtvnVisitorGuid:false,enableMeteorPlugin:false,enableGuidPlugin:true,enableGuidAuxiliaryCall:true,enableFirstPartyCookie:false,tabletAccount:"",timezone:"-5",trackExternalLinks:"true",fluxCommunityId:""},Nielsen:{enabled:false,cid:"us-400235",videoCensusId:"c02"},GoogleAnalytics:{enabled:false,account:"",reportMode:""},QuantCast:{enabled:true,adsEnabled: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,c2:"6036034"},Meteor:{enabled:false,applicationId:"",multiDomain:false},ChoiceStream:{enabled:false,apiKey:"",profileId:""},DoubleClick:{enabled:true,dartSite:"sw.nol"},International:{enabled:false,dartSite:""},ABTest:{enabled:true},FluxHosted:{enabled:false},Photos:{enabled:false},TestAndTarget:{enabled:false},Demdex:{enabled:true}};var btg=typeof btg==="object"?btg:{};btg.config=typeof btg.config==="object"?btg.config:{};btg.config.ABTest.enabled=true;btg.isCoreLoaded=false;btg.globalvars={VISITOR_NAMESPACE:"mtvn",IS_CODA_ADS_USED:false,USER_AGENT:new function(){if(/MSIE/.test(navigator.userAgent)){this.BROWSER="MSIE"}else{this.BROWSER="Other"}},MODULES_URL:"http://btg.mtvnservices.com/aria/mods.html",IS_TOP_ACCESSIBLE:function(){try{return typeof top.location.search!="undefined"&&typeof top.location.search!="unknown"}catch(A){return false}}(),PAGE_URL:function(){try{var A="",A=self.location.pathname;if(A==""){A="/"}return A}catch(B){}}(),IS_UNIT_TEST:function(){try{return location.href.toLowerCase().indexOf("/api/jsunittest/tests/")!=-1}catch(A){return false}}(),FORCE_AD_WAIT_TIME:{PLAYER_LOADED:10000,PLAYER_FAILED:10000,PLAYER_LOAD_WAIT_TIME:10000},VALID_DCOPT:["ist"],ON_DOCUMENT_READY:function(){window.DOMLOADED=false;window.onload=function(){if(window.DOMLOADED==false&&btg.config.defferedAdLoading){btg.AdManager.placeAllAds()}};document.onreadystatechange=function(){if(document.readyState=="complete"&&btg.config.defferedAdLoading){window.DOMLOADED=true;btg.AdManager.placeAllAds()}}}()};btg.loadLocalConfig=function(){if(typeof btg.config!="undefined"&&typeof btg.config!="undefined"){btg.Object.copyProperties(btg.config,this.config,true)}if(typeof MTVN!="undefined"&&typeof MTVN.config!="undefined"&&typeof MTVN.config.btg!="undefined"){btg.Object.copyProperties(MTVN.config.btg,this.config,true)}if(typeof mtvn!="undefined"&&typeof mtvn.btg!="undefined"&&typeof mtvn.btg.config!="undefined"){if(typeof mtvn.btg.config.ReportSettings!="undefined"){for(r in mtvn.btg.config.ReportSettings){if(!mtvn.btg.config.ReportSettings.hasOwnProperty(r)){continue}if(typeof mtvn.btg.config.ReportSettings[r]==="object"){btg.Object.copyProperties(mtvn.btg.config.ReportSettings[r],this.config[r],true)}else{this.config[r]=mtvn.btg.config.ReportSettings[r]}}}if(typeof mtvn.btg.config.AdSettings!="undefined"){for(a in mtvn.btg.config.AdSettings){if(!mtvn.btg.config.AdSettings.hasOwnProperty(a)){continue}if(typeof mtvn.btg.config.AdSettings[a]==="object"){btg.Object.copyProperties(mtvn.btg.config.AdSettings[a],this.config[a],true)}else{this.config[a]=mtvn.btg.config.AdSettings[a]}}}}if(typeof com!="undefined"&&typeof com.mtvi!="undefined"&&typeof com.mtvi.reporting!="undefined"&&typeof com.mtvi.reporting.Account!="undefined"){if(typeof this.config.Omniture=="undefined"){this.config.Omniture={enabled:true}}this.config.Omniture.account=com.mtvi.reporting.Account.name;this.config.Omniture.dynamicAccountSelection=com.mtvi.reporting.Account.dynamic;this.config.Omniture.dynamicAccountList=com.mtvi.reporting.Account.list;this.config.Omniture.indexFileName=com.mtvi.reporting.Account.defaultIndexFileName;this.config.Omniture.linkInternalFilters=com.mtvi.reporting.Account.filters;if(typeof com.mtvi.reporting.Account.dartSite!="undefined"){this.config.DoubleClick.enabled=true;this.config.DoubleClick.dartSite=com.mtvi.reporting.Account.dartSite}}};btg.loadModules=function(){var A=[],B=this.config;if(typeof B.TestAndTarget!="undefined"&&typeof B.TestAndTarget.enabled!="undefined"&&B.TestAndTarget.enabled){A.push("TestAndTarget")}if(typeof B.Photos!="undefined"&&typeof B.Photos.enabled!="undefined"&&B.Photos.enabled){A.push("Photos")}if(typeof B.ABTest!="undefined"&&typeof B.ABTest.enabled!="undefined"&&B.ABTest.enabled){A.push("ABTest")}if(typeof B.FluxHosted!="undefined"&&typeof B.FluxHosted.enabled!="undefined"&&B.FluxHosted.enabled){A.push("FluxHosted")}if(typeof B.Meteor!="undefined"&&typeof B.Meteor.enabled!="undefined"&&B.Meteor.enabled){A.push("Meteor")}A=btg.globalvars.MODULES_URL+"?m="+A.join(",")+"&v="+btg.Controller.getVersion();btg.DOM.loadScript(A)};btg.Controller=new function(){var A=btg.globalvars,E=true,D=true,C=false,B="";this.init=function(){btg.loadLocalConfig();btg.loadModules();A.IS_LIVE_ENV=function(){var K=true;try{if(btg.String.isDefined(btg.config.Omniture.dynamicAccountList)){var I=btg.config.Omniture.dynamicAccountList,F=I.indexOf("=");if(F>-1){var I=I.substring(F+1),I=I.split(","),G=self.location.hostname;if(A.IS_TOP_ACCESSIBLE){G=top.location.hostname}for(var F=0,J=I.length;F<J;F++){if(G.indexOf(I[F])>-1){K=false;break}}}}}catch(H){}return K}();B=typeof A.PAGE_URL=="string"&&A.PAGE_URL!=""?A.PAGE_URL:location.pathname;if(B.charAt(B.length-1)=="/"){B+=typeof btg.config.indexFileName=="string"?btg.config.indexFileName:"index"}btg.config._defaultPageName=B;btg.ReportingManager.init();btg.AdManager.init();if(typeof btg.TestAndTarget!="undefined"){btg.TestAndTarget.init()}this.init=function(){return this};return this};this.gameInit=function(){if(!E&&btg.config){btg.ReportingManager.init();E=true}if(!D&&btg.config){btg.AdManager.init();D=true}if(!C&&com.mtvnet.games.GameSettings){btg.GameReportingManager.init();btg.GameAdManager.init();C=true}return true};this.loadGame=function(F){if(C){btg.GameAdManager.loadGame(F);btg.GameReportingManager.gameLoad(F)}};this.sendPageCall=function(F){this.init();if(E){if(typeof F=="undefined"||!F){F={}}btg.ReportingManager.sendPageCall(F);btg.ReportingManager.getData()}};this.sendLinkEvent=function(F){this.init();if(E){if(typeof F=="undefined"||!F){F={}}btg.ReportingManager.sendLinkEvent(F)}};this.placeAd=function(F){this.init();if(D){if(btg.config.defferedAdLoading){return btg.AdManager.placeAdTag(F,true)}else{F=btg.AdManager.placeAd(F);btg.AdManager.getData();return F}}};this.reloadAds=function(){btg.AdManager.reloadAll();return this};this.placeIFrameAd=function(F,G){this.init();btg.AdManager.placeIFrameAd(F,G)};this.getAdUrl=function(F){this.init();if(D){return btg.AdManager.getAdUrl(F)}};this.getVersion=function(){return btg.config.version};this.createMboxes=function(F){if(typeof mboxDefine=="function"&&typeof btg.config.Omniture.enableTestAndTarget=="boolean"&&btg.config.Omniture.enableTestAndTarget&&typeof btg.TestAndTarget!="undefined"){btg.TestAndTarget.createMboxes(F)}};this.setChoiceStreamRequest=function(F,G){if(E){btg.ReportingManager.setChoiceStreamRequest(F,G)}}};btg.Beacon=function(A){this.url=A;this.data=null};btg.Beacon.prototype={setData:function(A){this.data=btg.Object.toString(A,"&")},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 A=new Image(1,1);A.src=this.formatSrc();A.onload=function(){};A.onabort=function(){};A.onerror=function(){}}};btg.Alert=function(A,D){if(!A){return }switch(D){case 1:var C="Warning";break;case 2:C="Alert";break;default:C="Error"}this.dependencies=new btg.DependencyManager;this.dependencies.add("ga_script_load",function(){return typeof _gat=="object"},100);this.dependencies.checkDependency("ga_script_load");if(this.dependencies.hasDependency()){this.dependencies.addToCallQueue(this,function(){new btg.Alert(A,D)});return }var B=_gat._createTracker("UA-18578264-1","coda_alerts_tracker");B._setDomainName("");B._trackEvent(location.hostname,location.pathname,C+": "+A)};btg.Cookie={read:function(A){for(var A=A+"=",E=document.cookie.split(";"),D=0,C=E.length;D<C;D++){for(var B=E[D];B.charAt(0)==" ";){B=B.substring(1,B.length)}if(B.indexOf(A)==0){return unescape(B.substring(A.length,B.length))}}return null},set:function(A,E,D,C,B){A=A+"="+escape(E)+"; path=/";if(D){A+=";expires="+D}if(!B){B=document.domain.split(".");B=B.length>2?B[B.length-2]+"."+B[B.length-1]:document.domain}if(B!="localhost"){A+=";domain="+B}A+=";path="+(C?C:"/");document.cookie=A},remove:function(A,C,B){A=A+"=";if(!B){B=document.domain.split(".");B=B.length>2?B[B.length-2]+"."+B[B.length-1]:document.domain}if(B!="localhost"){A+=";domain="+B}A+=";path="+(C?C:"/");A+=";expires=Thu, 01-Jan-1970 00:00:01 GMT";document.cookie=A}};btg.DOM={Events:{addListener:function(A,C,B){if(C=="DOMContentLoaded"&&!A.addEventListener){document.onreadystatechange=function(){if(document.readyState=="complete"){B()}}}else{if(A.attachEvent){A.attachEvent("on"+C,B)}else{if(A.addEventListener){A.addEventListener(C,B,false)}else{A["on"+C]=B}}}},removeListener:function(A,C,B){if(A.detachEvent){A.detachEvent("on"+C,B)}else{if(A.removeEventListener){A.removeEventListener(C,B,false)}else{A["on"+C]=null}}}},createIframe:function(A){for(var G=document.createElement("iframe"),F=["id","name","width","height","scrolling","frameBorder","marginHeight","marginWidth","noResize"],E=F.length,D=0;D<E;D++){var C=F[D],B=A[C];if(B){G[C]=B;G.setAttribute(C,B)}}return G},appendIframe:function(A){if(!A.src){return null}if(!A.parent||A.parent.nodeType!==1){A.parent=document.body}if(typeof A.style!=="object"){A.style={height:"1px",width:"1px",visibility:"hidden",position:"absolute",bottom:"0",left:"-1000px"}}var B=this.createIframe(A);if(typeof A.onload==="function"){B.onload=A.onload}this.applyStyle(B,A.style);A.parent.appendChild(B);B.src=A.src;return B},applyStyle:function(A,C){if(!btg.Object.isDefined(C)||!btg.Object.isDefined(A)){return }var B=btg.Object.toString(C,";",":");if(btg.globalvars.USER_AGENT.BROWSER=="MSIE"){if(!btg.String.isDefined(A.id)){A.id="coda_iframe_"+(new Date).getTime()}document.createStyleSheet().addRule("#"+A.id,B)}else{A.setAttribute("style",B)}},loadScript:function(A,E,D){if(btg.String.isDefined(A)){try{var C=document.createElement("script");C.setAttribute("type","text/javascript");C.setAttribute("src",A);if(typeof D=="function"){C.onload=C.onreadystatechange=D}if(E){document.body.appendChild(C)}else{document.getElementsByTagName("head")[0].appendChild(C)}}catch(B){}}},loadScriptOnHead:function(A){if(btg.String.isDefined(A)){try{var C=document.createElement("script");C.setAttribute("type","text/javascript");C.setAttribute("src",A);document.getElementsByTagName("head")[0].appendChild(C)}catch(B){}}},getStyle:function(A,D){var C=null;try{if(btg.Object.isDefined(A)&&btg.String.isDefined(D)){if(btg.Object.isDefined(document.defaultView)&&typeof document.defaultView.getComputedStyle=="function"){C=document.defaultView.getComputedStyle(A,null)[D]}else{if(typeof window.getComputedStyle=="function"){C=window.getComputedStyle(A,null)[D]}else{if(btg.Object.isDefined(A.currentStyle)){C=A.currentStyle[D]}else{C=A.style[D]}}}}}catch(B){return C}return C}};btg.Events=new function(){var A=function(){this.callbacks=[];this.subscribe=function(B){if(typeof B=="function"){this.callbacks[this.callbacks.length]=B}};this.remove=function(B){for(var D=0,C=this.callbacks.length;D<C;D++){if(this.callbacks[D]==B){delete this.callbacks[D]}}if(typeof B=="function"){this.callbacks[this.callbacks.length]=B}};this.fire=function(){for(var B=0,D=this.callbacks.length;B<D;B++){try{if(typeof this.callbacks[B]=="function"){this.callbacks[B].apply(this,arguments)}}catch(C){new btg.Alert('An event callback has failed. "'+C.number+": "+C.message+'".')}}}};this.add=function(B){this[B]=new A;return this};this.CORE_LOADED=new A;this.flipBookView=new A;this.adLoaded=new A;this.Player_Freewheel_failsafe=new A;this.ABTest_Group_Assigned=new A;this.ON_GAME_CONFIG_LOADED=new A;this.ON_GAME_LOAD=new A;this.ON_GAME_PLAY=new A;this.ON_GAME_LEVELSTART=new A};if(!this.btg.JSON){btg.JSON=function(){function b(b){return b<10?"0"+b:b}function c(b,f){var g,h,j,k;g=/["\\\x00-\x1f\x7f-\x9f]/g;var n;switch(typeof b){case"string":return g.test(b)?'"'+b.replace(g,function(b){var c=d[b];if(c){return c}c=b.charCodeAt();return"\\u00"+Math.floor(c/16).toString(16)+(c%16).toString(16)})+'"':'"'+b+'"';case"number":return isFinite(b)?String(b):"null";case"boolean":case"null":return String(b);case"object":if(!b){return"null"}if(typeof b.toJSON==="function"){return c(b.toJSON())}g=[];if(typeof b.length==="number"&&!b.propertyIsEnumerable("length")){k=b.length;for(h=0;h<k;h+=1){g.push(c(b[h],f)||"null")}return"["+g.join(",")+"]"}if(f){k=f.length;for(h=0;h<k;h+=1){j=f[h];if(typeof j==="string"){if(n=c(b[j],f)){g.push(c(j)+":"+n)}}}}else{for(j in b){if(typeof j==="string"){if(n=c(b[j],f)){g.push(c(j)+":"+n)}}}}return"{"+g.join(",")+"}"}}Date.prototype.toJSON=function(){return this.getUTCFullYear()+"-"+b(this.getUTCMonth()+1)+"-"+b(this.getUTCDate())+"T"+b(this.getUTCHours())+":"+b(this.getUTCMinutes())+":"+b(this.getUTCSeconds())+"Z"};var d={"\u0008":"\\b","\t":"\\t","\n":"\\n","\u000c":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};return{stringify:c,parse:function(b,c){function d(b,e){var h,o;if(e&&typeof e==="object"){for(h in e){if(Object.prototype.hasOwnProperty.apply(e,[h])){o=d(h,e[h]);if(o!==undefined){e[h]=o}}}}return c(b,e)}var h;if(/^[\],:{}\s]*$/.test(b.replace(/\\./g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(:?[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){h=eval("("+b+")");return typeof c==="function"?d("",h):h}throw new SyntaxError("parseJSON")}}}()}btg.Math={random:function(){var A,B;if(arguments.length>1){A=arguments[0];B=arguments[1]}else{A=0;B=arguments[0]}return Math.floor(Math.random()*(B-A+1)+A)}};btg.Object={isDefined:function(A){if(typeof A=="object"&&A!==null){return true}else{return false}},toString:function(A,E,D){if(!E){E=","}if(!D){D="="}var C=[],B;for(B in A){if(A.hasOwnProperty(B)){C.push(B+D+A[B])}}return C.join(E)},copyProperties:function(A,D,C){if(btg.Object.isDefined(A)&&btg.Object.isDefined(D)){for(var B in A){if(btg.Object.isDefined(D[B])||btg.String.isDefined(D[B])){if(C){D[B]=A[B]}}else{D[B]=A[B]}}}},isConfigDefined:function(A){if(typeof A=="object"&&A!==null&&A.enabled==true){return true}else{return false}}};btg.Sections={getAdSections:function(){var A=btg.config,B=self.location.pathname;if(B==""){B="/"}if(B.lastIndexOf("/")==B.length-1){B+=btg.Object.isDefined(A)&&btg.String.isDefined(A.defaultIndexFileName)?A.defaultIndexFileName:"index"}if(B!="/"&&B.indexOf("/")==0){B=B.substring(1)}return B},getReportingSections:function(){return self.location.pathname}};btg.Session={Variables:{config:[],add:function(A){if(typeof A=="undefined"){return false}for(var D=0,C=this.config.length;D<C;D++){if(typeof this.config[D].varName!="string"){continue}for(var B=0,C=A.length;B<C;B++){if(typeof A[B].varName!="string"){continue}if(A[B].varName==this.config[D].varName){this.config.splice(D,1)}}}this.config=this.config.concat(A);return true},setData:function(A){var F=btg.String.isDefined;if(!F(A)){return null}for(var E=0,D=this.config.length;E<D;E++){var C=this.config[E];if(typeof A[C.varName]!="undefined"){A[C.varName]=this.saveToCookie(C,A[C.varName])}else{var B=F(C.cookieName)?C.cookieName:"mtvn_btg_"+C.varName,B=btg.Cookie.read(B);if(F(B)){B=B.replace(/\+/gim,";");A[C.varName]=B}}}return A},saveToCookie:function(I,H){var G=btg.String.isDefined;if(typeof H=="string"&&typeof I.varName=="string"){var H=H.replace(/\;/gim,"+"),F=I.varName,F=typeof I.cookieName=="string"?I.cookieName:"mtvn_btg_"+F,E=typeof I.neverDie=="boolean"?I.neverDie:0;if(typeof I.appendOnly=="boolean"||typeof I.appendOnly=="number"?I.appendOnly:0){var D=btg.Cookie.read(F);if(G(D)){values=H.split(",");for(var C=0,B=values.length;C<B;C++){var A=values[C];if(!G(A)){continue}if(D.indexOf(A)>-1){continue}if(D.length>0){D+=","}D+=A}H=D}}D=(new Date).getYear();btg.Cookie.set(F,H,E?"Thu, 01-Jan-"+(D+10)+" 23:59:59 GMT":null)}return G(H)?H.replace(/\+/gim,";"):null}}};btg.String={isDefined:function(A){if(typeof A==="undefined"||A===null||A==""){return false}else{return true}},random:function(A){for(var D="",A=A?A:8,C=0;C<A;C++){var B=Math.floor(Math.random()*"ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz".length);D+="ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz".substring(B,B+1)}return D},toObject:function(A,G){for(var F=A.split(G?G:","),E={},D=0,C=F.length;D<C;D++){var B=F[D].split("=");E[B[0]]=B[1]}return E},queryStringToObject:function(A){A=A.indexOf("?")>-1?A.split("?")[1]:A;return btg.String.toObject(A,"&")},stripFileExtension:function(A){var B=A.lastIndexOf(".");if(B>0){return A.substring(0,B)}else{return A}},charLtrim:function(A,B){if(A.indexOf(B)==0){A=A.substring(1)}return A},charRtrim:function(A,D){var C=A.lastIndexOf(D),B=A.length;if(C==B-1){A=A.substring(0,B-1)}return A},charTrim:function(A,B){A=btg.String.charLtrim(A,B);return A=btg.String.charRtrim(A,B)},isMockupMode:function(){var A=false,B=this.queryStringToObject((btg.globalvars.IS_TOP_ACCESSIBLE?top:self).location.search);if(B.mockupMode&&B.mockupMode=="true"){A=true}return A},mockItUp:function(A){A=A.replace(/[<]/g,"&lt;");return A=A.replace(/[>]/g,"&gt;")},getFileName:function(A){A=btg.String.isDefined(A)?A:"";return A=A.substring(A.lastIndexOf("/")+1)},getBetween:function(A,E,D){var C="";if(btg.String.isDefined(A)){if(btg.String.isDefined(E)){var B=A.indexOf(E);if(B>=0){C=A.substring(B+E.length)}}if(btg.String.isDefined(D)){A=C.indexOf(D);if(A>=0){C=C.substring(0,A)}}}return C}};btg.Window={getNodeLinkName:function(A){for(var E=null,D=0,C=A.childNodes.length;D<C;D++){var B=A.childNodes[D];switch(B.nodeType){case 3:E=B.nodeValue;break;case 1:if(A.attributes.title&&A.attributes.title.nodeValue!=""){E=A.attributes.title.nodeValue}else{if(A.attributes.alt&&A.attributes.alt.nodeValue!=""){E=A.attributes.alt.nodeValue}}}}return E},debug:function(A){var B=document.getElementById("debug");if(!B){B=document.createElement("div");B.setAttribute("id","debug");document.getElementsByTagName("body")[0].appendChild(B)}B.innerHTML=B.innerHTML+A+"<br>"}};btg.Environment={getPlatform:function(){var A="desktop",B=window.navigator.userAgent.toLowerCase();if(B.indexOf("ipad")!=-1){A="iPad"}else{if(B.indexOf("iphone")!=-1){A="iPhone"}}return A},getCnamedDomain:function(){var A=location.hostname;if(A.split(".")[0]=="www"){return A.replace("www.","sc.")}else{return"sc."+A}}};btg.Class={inheritFrom:function(A,E){function D(){if(arguments.length>0&&typeof A==="function"){A.apply(this,arguments)}}if(typeof A==="function"||typeof A==="object"){if(typeof E==="function"||typeof E==="object"){var C=E.prototype;E.prototype=typeof A==="function"?new A:A;for(var B in C){E.prototype[B]=C[B]}E.prototype.constructor=E;D.prototype=typeof E==="function"?new E:E;D.prototype.constructor=D}else{D.prototype=typeof A==="function"?new A:A;D.prototype.constructor=D}}else{throw"Coda ERROR: btg.Class.inheritFrom(a_superClass,a_subClass) requires at least a_superClass argument!"}return D}};btg.Timer=function(A,B){this.id=A;this.isRunning=false;this.currentCount=0;this.milliseconds=B?B:100;this.intervalId=null;this.listeners=[]};btg.Timer.prototype={on:function(A,B){if(typeof B=="function"){this.listeners[A]=B}},execListener:function(A){if(typeof this.listeners[A]=="function"){this.listeners[A]()}},start:function(){if(!this.isRunning){this.isRunning=true;this.intervalId=setInterval(this.id+".count()",this.milliseconds)}},count:function(){this.currentCount=this.currentCount+this.milliseconds;this.execListener("count")},stop:function(){clearInterval(this.intervalId);this.isRunning=false},reset:function(){this.stop();this.currentCount=0;this.start()}};btg.TimeTracker=function(A){var F=btg.String.isDefined,E=btg.Cookie,D="",C=null,B=F(A)?A:"";this.init=function(){C=(new Date).getTime();btg.DOM.Events.addListener(window,"unload",this.saveTimeSpent);return true};this.setData=function(G){if(F(G)){D=G}};this.getTimeSpentOnPage=function(){var G="",G=(new Date).getTime(),G=Math.round((G-C)/100);if(G<1){G=""}C=(new Date).getTime();return G};this.saveTimeSpent=function(){if(F(B)){var G=(new Date).getTime(),G=Math.round((G-C)/100);if(G<1){G=1}G=G;G+=F(D)?","+D:"";E.set(B,G)}};this.getTimespent=function(){if(F(B)){var G=E.read(B);E.remove(B);C=(new Date).getTime();return F(G)?G:""}}};btg.Ajax=function(A){var C=btg.Object.isDefined(A)?A:{};C.method=btg.String.isDefined(C.method)?C.method:"GET";var B;if(window.XMLHttpRequest){B=new XMLHttpRequest}else{B=new ActiveXObject("Microsoft.XMLHTTP")}this.sendRequest=function(){if(!btg.String.isDefined(C.url)){return"[ERROR: Ajax request URL not specified!]"}B.onreadystatechange=function(){if(B.readyState==4){C.responseText=B.responseText;C.responseXML=B.responseXML;if(B.status==404){if(typeof C.on404=="function"){C.on404(C)}}else{if(typeof C.onSuccess=="function"){C.success=true;C.onSuccess(C)}}}};try{B.open(C.method,C.url,true);B.send();return true}catch(D){if(typeof C.onFail=="function"){C.error=D;C.fail=true;C.onFail(C)}return false}};if(C.autoSend===true){this.sendRequest()}};(function(A){var C=["demdexcall","demdexfwsegment","uuid","usersegment"],B=function(D){var I=D.data,H,G;if(!JSON){return }if(I){try{I=JSON.parse(I)}catch(F){return }H=I.type;G=I.value}if(H&&C.join().indexOf(H)!=-1){switch(H){case C[0]:D={};I=0;for(H=G.length;I<H;I++){var E=G[I].split("=");D[E[0]]=E[1]}btg.Demdex.sendPageCall(D);break;case C[1]:G={type:C[1],value:btg.Demdex.getFWSegment()};if(G.value){D.source.postMessage(JSON.stringify(G),"*")}break;case C[2]:G={type:C[2],value:btg.Cookie.read("vmn_uuid")};if(G.value){D.source.postMessage(JSON.stringify(G),"*")}break;case C[3]:G={type:C[3],value:btg.Cookie.read("mtvn_btg_userSegments")};if(G.value){D.source.postMessage(JSON.stringify(G),"*")}}}};if(typeof A.addEventListener!=="undefined"){A.addEventListener("message",B,false)}else{if(typeof A.attachEvent!=="undefined"){A.attachEvent("onmessage",B)}}})(window);btg.DependencyManager=function(A){var F=btg.config,E=A?A:8000,D=false,C=[],B=[];this.add=function(G,L,H,K){if(typeof G=="undefined"||typeof L=="undefined"){return false}for(var J=0,I=B.length;J<I;J++){if(B[J].flagname==G){return false}}B[B.length]={flagname:G,callback:L,interval:H?H:100};if(!D){D=true;window.setTimeout(this.sendCalls,E)}if(K){this.checkDependency(G)}return true};this.remove=function(G){if(typeof G=="string"&&G!=""){for(var I=0,H=B.length;I<H;I++){if(B[I].flagname==G){B.splice(I,1);break}}}if(!this.hasDependency()){this.sendCalls()}};this.checkDependency=function(G){for(var K=null,J=0,H=B.length;J<H;J++){if(B[J].flagname==G){K=B[J]}}if(!K){return false}if(K.callback.apply()){this.remove(G)}else{var I=this;window.setTimeout(function(){I.checkDependency(G)},K.interval)}};this.hasDependency=function(G){if(btg.String.isDefined(G)){for(var I=B.length,H=0;H<I;H++){if(B[H].flagname==G){return true}}return false}return B.length>=1};this.addToCallQueue=function(G,K){if(!K){return false}for(var I=new Array,H=2,J=arguments.length;H<J;H++){I.push(arguments[H])}C[C.length]={context:G?G:this,callback:K,args:I,config:F};return true};this.sendCalls=function(){B=[];for(var G=F,I=0,H=C.length;I<H;I++){F=C[I].config;C[I].callback.apply(C[I].context,C[I].args)}F=G;C=[]}};btg.PluginManager=function(A){for(var D=new Array,C=1,B=arguments.length;C<B;C++){D.push(arguments[C])}C=0;for(B=A.length;C<B;C++){if(typeof A[C].init=="function"){A[C].init.apply(this,D)}}this.run=function(G){for(var F=0,E=A.length;F<E;F++){if(btg.Object.isDefined(A[F])&&typeof A[F].run=="function"){G=A[F].run(G)}}return G}};btg.QueueManager=function(A){this.id=A.id;this.timeToWait=!isNaN(A.timeToWait)?A.timeToWait:1;this.handler=typeof A.handler=="function"?A.handler:function(){};this.notificationHandler=typeof A.notificationHandler=="function"?A.notificationHandler:function(){};this.intervalId=null;this.isProcessing=false;this.queue=[];this.processedQueue=[];this.maxNumItems=A.maxNumItems;this.maxElapsed=A.maxElapsed;this.itemsAdded=this.totalItems=this.elapsed=0};btg.QueueManager.prototype={init:function(){this.isProcessing=true;this.processQueue();this.intervalId=setInterval(this.id+".processQueue()",this.timeToWait)},addToQueue:function(){this.queue.push(arguments);this.itemsAdded++;if(!this.isProcessing){this.init()}},processQueue:function(){if(this.isProcessing==true){if(this.queue.length>0){var A=this.queue.shift();this.elapsed=this.elapsed+this.timeToWait;this.totalItems++;if(!this.hasLimit()){this.handler(A);this.processedQueue.push(A)}else{this.notificationHandler(this);this.clearQueue();this.stop()}}else{this.stop()}}},stop:function(){clearInterval(this.intervalId);this.isProcessing=false;this.itemsAdded=this.totalItems=this.elapsed=0},hasLimit:function(){return this.elapsed==this.maxElapsed||this.totalItems>this.maxNumItems},clearQueue:function(){this.queue=[];this.processedQueue=[]}};btg.GUID=new function(){var A=null,F=null,E=function(){var G=btg.Cookie.read("vmn_uuid");if(typeof G=="string"){F=G}return typeof F=="string"},D=function(){return typeof A.enableGuidPlugin=="boolean"&&A.enableGuidPlugin};this.isGUIDReported=false;this.hasGUIDCookie=function(){return E()};this.get3pcCookie=function(){var G=btg.Cookie.read("vmn_3pc");return !btg.String.isDefined(G)?null:G};this.init=function(G){A=G;if(!D()){return false}if(typeof A.guidIdVarMap=="undefined"){A.guidIdVarMap=["eVar57"]}if(typeof A.guidIdVarMap=="string"){A.guidIdVarMap=A.guidIdVarMap.split(",")}return true};this.run=function(I){if(!D()){return I}if(!E()){new btg.Alert("Failed to find the UUID value.");return I}for(var H=0,G=A.guidIdVarMap.length;H<G;H++){I[A.guidIdVarMap[H]]=F}this.isGUIDReported=true;return I};this.guidScript=function(){var G=btg.GUID;btg.Controller.init();if(G.hasGUIDCookie()&&!G.isGUIDReported){G.sendLinkEventCall();return G.isGUIDReported=true}return false};this.sendLinkEventCall=function(){var G={linkName:"GUID reporting",linkType:"o"},G=btg.GUID.run(G);if(D){btg.Controller.sendLinkEvent(G)}};try{var C="http"+("https:"==document.location.protocol?"s":"")+"://btg.mtvnservices.com/aria/uuid.html";if(!this.get3pcCookie()){btg.DOM.loadScript(C)}}catch(B){}};try{btg.DOM.Events.addListener(window,"load",function(){var A=btg.config,B=btg.Object.isConfigDefined;if(B(A.Omniture)){if(A.Omniture.enableGuidPlugin&&A.Omniture.enableGuidAuxiliaryCall&&!btg.GUID.isGUIDReported){A=new btg.DependencyManager;A.add("vmn_uuid",btg.GUID.guidScript);A.checkDependency("vmn_uuid")}}})}catch(e$$12){}btg.ComScore=function(A){this.btgIsStr=btg.String.isDefined;this.config=A;this.c1=this.btgIsStr(this.config.c1)?this.config.c1:"2";this.c2=this.btgIsStr(this.config.c2)?this.config.c2:"6036034";this.c3=this.btgIsStr(this.config.c3)?this.config.c3:"";this.c4=this.btgIsStr(this.config.c4)?this.config.c4:escape(document.location.href);this.c5=this.btgIsStr(this.config.c5)?this.config.c5:"20000";this.c6=this.btgIsStr(this.config.c6)?this.config.c6:"";this.c15=this.btgIsStr(this.config.c15)?this.config.c15:"";this.sendPageCall()};btg.ComScore.prototype={sendPageCall:function(A){var C=btg.ReportingManager;if(typeof A==="object"){if(this.btgIsStr(A.comScore1)){this.c1=A.comScore1}if(this.btgIsStr(A.comScore2)){this.c2=A.comScore2}if(this.btgIsStr(A.comScore3)){this.c3=A.comScore3}if(this.btgIsStr(A.comScore4)){this.c4=A.comScore4}if(this.btgIsStr(A.comScore5)){this.c5=A.comScore5}if(this.btgIsStr(A.comScore6)){this.c6=A.comScore6}if(this.btgIsStr(A.comScore15)){this.c15=A.comScore15}}A=["c1=",this.c1,"&c2=",this.c2,"&c3=",this.c3,"&c4=",this.c4,"&c5=",this.c5,"&c6=",this.c6,"&c15=",this.c15].join("");try{if(!btg.globalvars.IS_UNIT_TEST&&!C.isScriptIncluded.comscore){btg.DOM.loadScript((document.location.protocol=="https:"?"https://sb":"http://b")+".scorecardresearch.com/beacon.js?"+A);C.isScriptIncluded.comscore=true}}catch(B){}}};btg.GoogleAnalytics=function(A){this.btgIsStr=btg.String.isDefined;this.config=A;if(A.iframeAccount&&!btg.globalvars.IS_UNIT_TEST){document.write(unescape("%3Cdiv id='btg_ga_div'%3E%3C/div%3E"))}this.account=A.account;this.dependencies=new btg.DependencyManager;this.dependencies.add("ga_script_load",function(){return typeof _gat=="object"},100);this.dependencies.checkDependency("ga_script_load")};btg.GoogleAnalytics.prototype={sendPageCall:function(K){if(this.dependencies.hasDependency()){this.dependencies.addToCallQueue(this,this.sendPageCall,K);return }if(this.btgIsStr(this.config.iframeAccount)){var J=[];if(this.config.iframeAccount.indexOf(",")>-1){J=this.config.iframeAccount.split(",")}else{J[0]=this.config.iframeAccount}for(var I=0,H=J.length;I<H;I++){var G=document.getElementById("btg_ga_div"),F=window.location,E=K.pageName,E=E.substring(0,1)!="/"?"/"+E:E,D=document.referrer,C="//btg.mtvnservices.com/aria/ga.html?ga="+J[I]+"&uri=",D="&ref="+escape(D);if(G){var B=document.createElement("iframe");B.src=F.protocol+C+F.hostname+E+D;B.style.width=1+"px";B.style.height=1+"px";B.style.visibility="hidden";B.style.left=-50+"px";B.style.top=-50+"px";B.style.position="absolute";G.appendChild(B)}}}if(this.btgIsStr(this.config.account)){try{if(!btg.globalvars.IS_UNIT_TEST){if(typeof _gat=="object"){_gat._getTracker(this.config.account)._trackPageview()}}}catch(A){}}},sendLinkEvent:function(A){if(!A||!this.btgIsStr(A.category)||!this.btgIsStr(A.action)||!this.btgIsStr(A.label)){return }if(this.dependencies.hasDependency()){this.dependencies.addToCallQueue(this,this.sendLinkEvent,A);return }A.value=typeof A.value!="undefined"&&typeof parseInt(A.value)=="number"?parseInt(A.value):null;var B=_gat._createTracker(this.config.account,"event_tracker");B._setDomainName("");B._trackEvent(A.category,A.action,A.label,A.value)}};try{if(!btg.globalvars.IS_UNIT_TEST){var ga=document.createElement("script");ga.type="text/javascript";ga.async=true;ga.src=("https:"==document.location.protocol?"https://ssl":"http://www")+".google-analytics.com/ga.js";var s=document.getElementsByTagName("script")[0];s.parentNode.insertBefore(ga,s)}}catch(e$$15){}btg.Nielsen=function(A){this.config=A;this.dependencies=new btg.DependencyManager;this.dependencies.add("nielsen_uuid_present",function(){return btg.Cookie.read("vmn_uuid")!=""?true:false},100);this.dependencies.checkDependency("nielsen_uuid_present");this.sendPageCall()};btg.Nielsen.prototype={sendPageCall:function(A){if(this.dependencies.hasDependency()){this.dependencies.addToCallQueue(this,this.sendPageCall,A);return }var C=btg.Cookie.read("vmn_uuid");if(C==null){return }A=null;if(!A&&btg.String.isDefined(this.config.cid)){A=this.config.cid}if(!A){return false}var B=new Image(1,1);B.onerror=B.onload=function(){B.onerror=B.onload=null};C="VMN_IDSYNC_"+escape(window.location.hostname)+"_"+escape(window.location.href)+"_"+C;B.src=["//secure-us.imrworldwide.com/cgi-bin/m?ci="+A+"&cg=0&cc=1&si=",C,"&rp=",escape(document.referrer),"&ts=compact&rnd=",(new Date).getTime()].join("")}};btg.Omniture=function(A){this.pageViewEventSet=false;this.btgIsStr=btg.String.isDefined;this.btgSv=btg.Session.Variables;this.name="Omniture";this.values=[];this.newRepeatProp=this.btgIsStr(A.newRepeatProp)?A.newRepeatProp:"prop41";this.config=A;this.hcode=btg.Hcode;this.userPlatform=btg.Environment.getPlatform();this.hcode.setAccount(this.config.account);if(this.userPlatform=="desktop"){if(this.config.enableFirstPartyCookie){this.hcode.trackingServer=btg.Environment.getCnamedDomain()}}else{this.hcode.trackingServer=btg.Environment.getCnamedDomain();if(this.btgIsStr(this.config.tabletAccount)){this.hcode.setAccount(this.config.tabletAccount)}}for(var B in this.config){this.hcode[B]=this.config[B]}this.url="http"+(this.hcode.ssl?"s":"")+"://"+this.hcode.un+".112.2o7.net/b/ss/"+this.hcode.un+"/1/";this.dependencies=new btg.DependencyManager;this.plugins=new btg.PluginManager([btg.GUID],this.config,this.dependencies);if(typeof btg.config.Omniture.enableVisitorNamespace=="boolean"&&btg.config.Omniture.enableVisitorNamespace){this.setAttribute("visitorNamespace",btg.globalvars.VISITOR_NAMESPACE)}if(typeof this.config.userSegmentVarMap=="undefined"){this.config.userSegmentVarMap={traffic:"prop31",commerce:"products"};btg.config.Omniture.userSegmentVarMap=this.config.userSegmentVarMap}if(typeof btg.UserSegment!="undefined"){btg.UserSegment.init(this)}if(typeof btg.FluxState!="undefined"){btg.FluxState.init(this.config.fluxCommunityId)}if(typeof this.config.fluxVarMap=="undefined"){this.config.fluxVarMap={memberState:"prop5",loginState:"prop6"};btg.config.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.photosVarMap=="undefined"){this.config.photosVarMap={application:["prop48","eVar31"],gallery:"eVar16",photoId:"eVar17",flipbookView:"event57",photoView:"event58",adView:"event59",timeSpent:"event60"}}if(typeof this.config.pageViewEvent!="string"){this.config.pageViewEvent="event16"}if(typeof btg.MediaPlayer!="undefined"){btg.MediaPlayer.init(this)}};btg.Omniture.prototype={setAttribute:function(A,B){if(this.btgIsStr(A)){this.hcode[A]=this.btgIsStr(B)?B:"";return true}else{return false}},getAttribute:function(A){return this.hcode[A]},setValues:function(A){for(var B in A){this.setAttribute(B,A[B]);this.values.push(B)}return true},clearValues:function(){for(var A=0,B=this.values.length;A<B;A++){if(this.values[A]!="pageName"){this.setAttribute(this.values[A],"")}}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(A,C,B){return this.hcode.getValOnce(A,C,B)},getNewRepeat:function(){return this.hcode.getNewRepeat()},getPageName:function(){return this.getAttribute("pageName")},preprocessData:function(A){A=this.plugins.run(A);if(this.btgIsStr(A.account)){this.hcode.setAccount(A.account)}else{this.hcode.setAccount(this.config.account)}if(typeof mboxDefine=="function"&&typeof this.config.enableTestAndTarget=="boolean"&&this.config.enableTestAndTarget){A.tnt=this.hcode.trackTNT();if(A.tnt==""){A.tnt=btg.TestAndTarget.getCampaignId()}}if(typeof btg.UserSegment!="undefined"){A=btg.UserSegment.setData(this,A)}if(typeof btg.Session!="undefined"){A=this.btgSv.setData(A)}var B=btg.Cookie.read;if(B("vmn_3pc")&&B("vmn_3pc")=="0"){A.eVar58="3PB"}return A},sendPageCall:function(A){if(this.dependencies.hasDependency()){this.dependencies.addToCallQueue(this,this.sendPageCall,A);return }A=typeof A!="object"?{}:A;if(typeof A.pageName!="string"||A.pageName==""){A.pageName=typeof this.hcode.pageName==="string"&&this.hcode.pageName!=""?this.hcode.pageName:btg.config._defaultPageName}if(typeof this.config.noPagenameSlash!="undefined"&&this.config.noPagenameSlash&&A.pageName.charAt(0)=="/"){A.pageName=A.pageName.substring(1)}if(typeof this.config.defaultHier=="string"&&this.config.defaultHier!=""){if(typeof A[this.config.defaultHier]!=="string"||A[this.config.defaultHier]==""){if(typeof this.hcode[this.config.defaultHier]==="string"&&this.hcode[this.config.defaultHier]!=""){var D=this.hcode[this.config.defaultHier]}else{if(typeof A.docHierarchy==="string"&&A.docHierarchy!=""){D=A.docHierarchy}else{D=A.pageName}}if(D.charAt(D.length-1)=="/"){if(typeof btg.config.indexFileName==="string"){A[this.config.defaultHier]=D+btg.config.indexFileName}else{A[this.config.defaultHier]=D+"index"}}else{A[this.config.defaultHier]=D}A[this.config.defaultHier]=btg.String.charLtrim(A[this.config.defaultHier],"/")}}if(typeof A.channel!="string"||A.channel==""){if(typeof this.hcode.channel=="string"){A.channel=this.hcode.channel}else{if(A.pageName=="/"){A.channel=A.pageName}else{for(var D=A.pageName.split("/"),C=0,B=D.length;C<B;C++){if(D[C]!=""){A.channel=D[C];break}}}}}if(typeof A.channel=="string"){A.eVar49=A.channel}if(typeof btg.SEO!="undefined"){A=btg.SEO.setData(this,A)}if(typeof btg.BrowserToolbar!="undefined"){A=btg.BrowserToolbar.setData(this,A)}if((typeof this.config.isFluxHosted=="undefined"||typeof this.config.isFluxHosted!="undefined"&&this.config.isFluxHosted!=true)&&typeof btg.FluxState!="undefined"){A=btg.FluxState.setData(this,A)}if(typeof btg.Search!="undefined"){A=btg.Search.setData(A)}if(typeof btg.Search!="undefined"){A=btg.Search.chkConversions(A)}if(typeof btg.Photos!="undefined"){A=btg.Photos.setData(A)}if(typeof this.config.enableTimeParting!="undefined"&&this.config.enableTimeParting==true&&typeof this.config.timePartingVarMap!="undefined"){D=typeof btg.config.Omniture.timezone!="undefined"?btg.config.Omniture.timezone:"-5";A[this.config.timePartingVarMap.commerceHour]=A[this.config.timePartingVarMap.trafficHour]=this.hcode.getTimeParting("h",D);A[this.config.timePartingVarMap.commerceDay]=A[this.config.timePartingVarMap.trafficDay]=this.hcode.getTimeParting("d",D)}if(typeof this.config.percentPageViewedVarMap!="undefined"){if(typeof this.config.percentPageViewedVarMap.previousPage!="undefined"){A[this.config.percentPageViewedVarMap.previousPage]=this.hcode.getPreviousValue(A.pageName,"s_pn")}if(typeof this.config.percentPageViewedVarMap.percentage!="undefined"){if(this.config.percentPageViewedVarMap.percentage.indexOf("event")>=0){if(typeof A.events=="string"&&A.events!=""){A.events+=","}else{A.events=""}A.events+=this.config.percentPageViewedVarMap.percentage;if(typeof A.products=="string"&&A.products!=""){A.products+=","}else{A.products=""}A.products+=";;;;"+this.config.percentPageViewedVarMap.percentage+"="+this.hcode.getPercentPageViewed()}else{A[this.config.percentPageViewedVarMap.percentage]=this.hcode.getPercentPageViewed()}}}if(!this.pageViewEventSet){D=typeof A.events==="string"?A.events:"";if(typeof this.config.pageViewEvent==="string"&&D.indexOf(this.config.pageViewEvent)<0){if(D!=""){D+=","}D+=this.config.pageViewEvent;A.events=D;this.pageViewEventSet=true}}if(typeof btg.GameReporter!="undefined"){btg.GameReporter.gtsEvent="event74";A=btg.GameReporter.setData(A)}A=this.preprocessData(A);this.setValues(A);this.setNewRepeat();this.attachLoggedEvent();if(btg.Object.isConfigDefined(btg.config.Demdex)&&btg.Demdex){A[this.newRepeatProp]=this.getAttribute(this.newRepeatProp);btg.Demdex.sendPageCall(A)}this.hcode.t();this.clearValues();return true},sendLinkEvent:function(A){this.hcode.trackExternalLinks=false;if(this.dependencies.hasDependency()){this.dependencies.addToCallQueue(this,this.sendPageCall,A);return }var A=typeof A!="object"?{}:A,C=this.getPageName();A.lnk=A.lnk?this.hcode.co(A.lnk):true;A.linkType=A.linkType?A.linkType:"o";A.referrer=location.href;A=this.preprocessData(A);this.setValues(A);this.setAttribute("pageName","");this.attachLoggedEvent();this.hcode.t();this.clearValues();this.setAttribute("pageName",C);if(btg.config.Omniture.trackExternalLinks===true){var B=this;setTimeout(function(){B.hcode.trackExternalLinks=true},1)}return true},setAccountVars:function(A){this.setAttribute("un",A.name);this.setAttribute("dynamicAccountSelection",A.dynamic);this.setAttribute("dynamicAccountList",A.list);this.setAttribute("linkInternalFilters",A.filters);this.setAttribute("charSet",A.chartset);for(var B in A){if(this.btgIsStr(B)){this.setAttribute(B,this.btgIsStr(A[B])?A[B]:"")}}},logEvent:function(A){var B=btg.Cookie.set;if(this.btgIsStr(A)){if(this.btgIsStr(A.UIEvent)){B("UIEvent",A.UIEvent)}if(this.btgIsStr(A.UIEventName)){B("UIEventName",A.UIEventName)}if(this.btgIsStr(A.UITrackingCode)){B("UITrackingCode",A.UITrackingCode)}}},attachLoggedEvent:function(){var A=btg.Cookie.read,B=btg.Cookie.remove;if(this.btgIsStr(A("UIEvent"))){this.setAttribute("events",A("UIEvent"));B("UIEvent")}if(this.btgIsStr(A("UIEventName"))){this.setAttribute("eVar40",A("UIEventName"));B("UIEventName")}if(this.btgIsStr(A("UITrackingCode"))){this.setAttribute("campaign",A("UITrackingCode"));B("UITrackingCode")}return true},clearAllVars:function(){for(var A=1;A<=50;A++){this.setAttribute("eVar"+A,"");this.setAttribute("prop"+A,"");if(A<6){this.setAttribute("hier"+A,"")}}this.setAttribute("pageName","");this.setAttribute("channel","");return true}};btg.ABTest=function(K,J,I){var H=btg.Cookie;if(typeof K!=="string"||btg.String.charTrim(K," ")==""){throw new Error("btg.ABTest: The first argument to the constructor must be a unique ID of the type {String}.")}if(typeof J!="object"||J.length<2){throw new Error('btg.ABTest: The second argument to the constructor must be an Array of 2 or more Objects, each with a "name" and a "weight" property.')}var G=0,F=Math.floor(Math.random()*(100-1+1)+1),E="MTVN_ABTest_"+K,D=H.read(E),C=null;this.getId=function(){return K};this.getGroup=function(){return C};if(D&&D!=""){C=D}else{J.sort(function(L,M){return M.weight-L.weight});for(var D=0,B=J.length;D<B;D++){var A=G+J[D].weight;if(F>G&&F<=A){C=J[D].name}G+=J[D].weight}if(!C){throw new Error("btg.ABTest: Couldn't assign user to an A/B Test group.")}if(G!=100){throw new Error("btg.ABTest: The sum of the weights of your A/B Test groups must equal 100 exactly.")}H.set(E,C,"Thu, 31-Dec-2038 11:59:59 GMT")}btg.UserSegment.set(K+": "+C);btg.Events.ABTest_Group_Assigned.fire(K,C);if(typeof I=="function"){I.call(this)}};btg.ReportingManager=new function(){var I=false,H=false,G=false,F=false,E,D,C,B,A;this.isScriptIncluded={comscore:false,quantcast:false,googleAnalytics:false};this.init=function(){D=btg.config;var J=btg.Object.isConfigDefined;if(J(D.Omniture)&&btg.Omniture){C=new btg.Omniture(D.Omniture);I=true}if(J(D.Nielsen)&&btg.Nielsen){new btg.Nielsen(D.Nielsen)}if(J(D.GoogleAnalytics)&&btg.GoogleAnalytics){A=new btg.GoogleAnalytics(D.GoogleAnalytics);G=true}if(J(D.QuantCast)&&btg.QuantCast){B=new btg.QuantCast(D.QuantCast);H=true}if(J(D.ComScore)&&btg.ComScore){new btg.ComScore(D.ComScore)}if(D.ChoiceStream&&D.ChoiceStream.enabled&&btg.ChoiceStream){choicestream=new btg.ChoiceStream(D.ChoiceStream);F=true}if(J(D.ChoiceStream)&&btg.ChoiceStream){choicestream=new btg.ChoiceStream(D.ChoiceStream);F=true}if(J(D.Demdex)&&btg.Demdex){btg.Demdex.init();btg.Demdex.sendIdSyncCall();hasDemdex=true}};this.sendPageCall=function(J){if(I){C.sendPageCall(typeof J.omniture=="object"&&J.omniture!=null?J.omniture:J);E=C.getPageName()}if(H){B.sendPageCall(typeof J.quantCast=="object"&&J.quantCast!=null?J.quantCast:J)}if(G){A.sendPageCall(typeof J.googleAnalytics=="object"&&J.googleAnalytics!=null?J.googleAnalytics:J)}};this.sendLinkEvent=function(J){if(I){C.sendLinkEvent(typeof J.omniture=="object"&&J.omniture!=null?J.omniture:J)}if(G&&btg.Object.isDefined(J.googleAnalytics)){A.sendLinkEvent(J.googleAnalytics)}};this.getData=function(){btg.Controller.init();return{pageName:E}};this.getOmniture=function(){return I?C:null};this.setChoiceStreamRequest=function(J,K){if(F){choicestream.setChoiceStreamRequest(J,K)}}};btg.FluxState=new function(){var A=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};this.init=function(B){if(B){btg.DOM.loadScript((document.location.protocol=="https:"?"https://":"http://")+"widgets3.flux.com/context/short/"+B)}};this.setData=function(F,E){var D=F.config.fluxVarMap.memberState;var C=null;switch(A()){case 3:C=Flux.context.user.communityMember;break;case 2:C=Flux.Context.isCommunityMember()}E[D]=C?"member":"non-member";D=F.config.fluxVarMap.loginState;var C=btg.UserSegment,B=null;switch(A()){case 3:if(Flux.context.user.memberType){B=Flux.context.user.memberType;C.add(F,B+" User")}else{if(Flux.context.user.facebookOnly){B="FB Only";C.add(F,"FB Connect Only User")}else{if(Flux.context.user.facebookConnected){B="Flux + FB";C.add(F,"Flux & FB Connect User")}else{if(typeof Flux.context.user.ucid=="string"&&Flux.context.user.ucid.length>0){B="Flux Only";C.add(F,"Flux Only User")}else{B="not logged-in"}}}}break;case 2:B=Flux.Context.isUserAuthenticated()?"logged-in":"not logged-in";break;default:B="not logged-in"}if(B&&B!="not logged-in"){C.add(F,"LoggedIn")}E[D]=B;return E}};btg.SEO=new function(){this.setData=function(A,E){for(var D=[["google.com","GoogleUser"],["msn.com","MSNUser"],["yahoo.com","YahooUser"]],C=0,B=D.length;C<B;C++){if(document.referrer.indexOf(D[C][0])>-1){if(typeof btg.UserSegment!="undefined"){btg.UserSegment.set(D[C][1])}}}return E}};btg.Search=new function(){var A=btg.Cookie,D=A.set,C="",B=function(E){if(C.indexOf(E)<0){if(C!=""){C+=","}C+=E}return C};this.init=function(){};this.setData=function(E){if(typeof com_mtvi_SSDC!="object"){return E}var H="events,prop31";B("event36");E.eVar3=typeof com_mtvi_SSDC.srchtype=="string"?com_mtvi_SSDC.srchtype:"GENERAL";if(typeof com_mtvi_SSDC.srchsyn!="undefined"){B("event33");if(typeof com_mtvi_SSDC.srchsyn=="object"){for(var G=0,F=com_mtvi_SSDC.srchsyn.length;G<F;G++){com_mtvi_SSDC.srchsyn[G]=com_mtvi_SSDC.srchsyn[G].replace(/\,/,"")}com_mtvi_SSDC.srchsyn=com_mtvi_SSDC.srchsyn.join(",")}E.eVar36=com_mtvi_SSDC.srchsyn;H+=",eVar36"}if(typeof com_mtvi_SSDC.srchterm=="string"){B("event38");E.eVar2=com_mtvi_SSDC.srchterm;H+=",eVar2"}else{if(typeof com_mtvi_SSDC.srchfail=="string"){B("event37");E.eVar4=typeof com_mtvi_SSDC.appfailure=="boolean"&&com_mtvi_SSDC.appfailure?"APP_FAILURE":com_mtvi_SSDC.srchfail;H+=",eVar4"}}btg.UserSegment.set("SiteSearcher");E.linkTrackVars=H;E.linkTrackEvents=C;return E};this.sendLinkEvent=function(){if(!com_mtvi_SSDC){return false}var E={linkName:"SITE_SEARCH_RESULTS",linkType:"o"},E=this.setData(E);btg.Controller.sendLinkEvent(E);return true};this.chkConversions=function(G){var F=A.read,E=A.remove;if(typeof G.events=="string"){C=G.events}if(F("mtvn_btg_SSDC_conv")){B("event35");E("mtvn_btg_SSDC_conv")}if(F("mtvn_btg_SSDC_syn_conv")){B("event34");E("mtvn_btg_SSDC_syn_conv")}if(F("mtvn_btg_SSDC_typeahead_conv")){B("event39");E("mtvn_btg_SSDC_typeahead_conv")}G.events=C;return G};this.setConversion=function(){D("mtvn_btg_SSDC_conv",1)};this.setSynConversion=function(){D("mtvn_btg_SSDC_syn_conv",1)};this.setTypeAheadConversion=function(){D("mtvn_btg_SSDC_typeahead_conv",1)}};btg.Demdex=new function(){try{var A="https:"==document.location.protocol?"https://":"http://"}catch(G){}var F=A+"mtvn.demdex.net",E=A+"dpm.demdex.net/ibs:dpid=332&dpuuid=",D=btg.Cookie,C=new btg.Beacon,B=false;this.canSendRequest=true;this.dependencies=new btg.DependencyManager;this.data=null;this.sendIdSyncCall=function(){var H=D.read("vmn_uuid");if(!D.read("mtvn_dmp_init")&&H){var I=new Date;C.url=E+H;C.send();I.setHours(23);I.setMinutes(59);D.set("mtvn_dmp_init",1,I)}};this.init=function(){this.dependencies.add("demdex_response",function(){return(btg.Demdex?btg.Demdex:{}).canSendRequest},500,false)};this.sendPageCall=function(H,M){if(D.read("vmn_3pc")=="0"){return }this.dependencies.checkDependency("demdex_response");if(this.dependencies.hasDependency()){this.dependencies.addToCallQueue(this,this.sendPageCall,H,M);return }this.canSendRequest=false;var L=F+"/event?",K={d_rtbd:"json",d_dst:1,d_cts:1,d_cb:"btg.Demdex.response"};if(M&&typeof M==="object"){for(var J in M){if(M.hasOwnProperty(J)){K["d_"+J]=encodeURIComponent(decodeURIComponent(M[J]))}}}if(D.read("vmn_host")==null){H.host=location.hostname;D.set("vmn_host",1)}if(H&&typeof H==="object"){for(J in H){if(H.hasOwnProperty(J)){var I=J;if(J.match(/^(prop\d{1,2})$/ig)){I=J.replace("prop","c")}else{if(J.match(/^(evar\d{1,2})$/ig)){I=J.replace("eVar","v")}else{if(J.match(/^(hier\d{1,2})$/ig)){I=J.replace("hier","h")}else{if(J.match(/^(channel)$/ig)){I=J.replace("channel","ch")}}}}K["c_"+I]=encodeURIComponent(decodeURIComponent(H[J]))}}}btg.DOM.loadScript(L+btg.Object.toString(K,"&"))};this.sendSocialCall=function(H){if(D.read("vmn_3pc")=="0"){return }this.dependencies.checkDependency("demdex_response");if(this.dependencies.hasDependency()){this.dependencies.addToCallQueue(this,this.sendSocialCall,H);return }this.canSendRequest=false;var K=D.read("vmn_uuid"),J=F+"/event?",K={d_rtbd:"json",d_dst:1,d_cts:1,d_cb:"btg.Demdex.response",c_uuid:K};if(H&&typeof H==="object"){for(var I in H){if(H.hasOwnProperty(I)&&H[I]){K["c_"+I]=encodeURIComponent(decodeURIComponent(H[I]))}}}btg.DOM.loadScript(J+btg.Object.toString(K,"&"))};this.getFWSegment=function(){var H=this.data,M=btg.String,L=btg.Object,K;if(L.isDefined(H)&&L.isDefined(H.stuff)){for(var H=H.stuff,J=0,I=H.length;J<I;J++){if(L.isDefined(H[J])&&M.isDefined(H[J].cn)&&H[J].cn=="fw"&&M.isDefined(H[J].cv)){K=H[J].cv;break}}}return K};this.response=function(H){this.data=H;btg.Demdex.canSendRequest=true;if(!B){btg.DOM.appendIframe({src:location.protocol+"//fast.mtvn.demdex.net/DSD-gz/mtvn-dest.html?targus=1&targusvalidttl=14400&bizo=1&bizovalidttl=14400&nexac=1&nexacvalidttl=14400"});B=true}btg.MediaPlayer.setDemdexFWSegment(H)}};btg.UserSegment=new function(){var A=btg.Cookie;this.init=function(C){var B=A.read("mtvn_btg_userSegments");C.userSegments=B?B.split(","):[];return true};this.set=function(E,D){if(!D){D=btg.ReportingManager.getOmniture()}for(var C=0,B=D.userSegments.length;C<B;C++){if(D.userSegments[C]==E){return false}}D.userSegments[D.userSegments.length]=E;A.set("mtvn_btg_userSegments",D.userSegments.join(","));return true};this.add=function(B,C){this.set(C,B);return true};this.getSegments=function(B){return B.userSegments};this.getStr=function(B,D,C){if(!D){D=""}if(!C){C=""}return typeof B.userSegments=="object"&&B.userSegments.length>0?D+B.userSegments.join(C+","+D)+C:""};this.setData=function(B,C){C[B.config.userSegmentVarMap.traffic]=C[B.config.userSegmentVarMap.traffic]?C[B.config.userSegmentVarMap.traffic]+(this.getStr(B)!=""?",":"")+this.getStr(B):this.getStr(B);C[B.config.userSegmentVarMap.commerce]=C[B.config.userSegmentVarMap.commerce]?C[B.config.userSegmentVarMap.commerce]+(this.getStr(B,"User Segment;")!=""?",":"")+this.getStr(B,"User Segment;"):this.getStr(B,"User Segment;");return C}};btg.QuantCast=function(A){this.labels="";this.config=A;this.labels=this.config.labels};btg.QuantCast.prototype={sendPageCall:function(A){if(this.config.reportMode=="direct"){var C=btg.QuantCast.Ads;if(C.dependencies.hasDependency()){C.dependencies.addToCallQueue(this,this.sendPageCall,A);return }try{_qoptions={labels:this.labels};_qacct="p-94wNw88f65Rhk";quantserve()}catch(B){}}}};btg.QuantCast.Ads=new function(){this.dependencies=new btg.DependencyManager;this.dependencies.add("qc_script_load",function(){return typeof quantserve=="function"},100,true);this.setLabels=function(A,F){try{if(this.dependencies.hasDependency()){this.dependencies.addToCallQueue(this,this.setLabels,A);return }var E="",D="",C="",D=A.dartSite.replace(/\./g,"_"),C=F.replace(/^\//m,""),C=C.replace(/\//g,"."),E=btg.config.QuantCast.labels+",Viacom Global Digital Network.MTVN Digital Ad Sales.Content.Pages."+D+"."+C;_qoptions={labels:E};_qacct="p-94wNw88f65Rhk";quantserve()}catch(B){}};this.setCookieDemoTargetVal=function(A){for(var D=[],C=0,B=A.segments.length;C<B;C++){D[C]="demo="+A.segments[C].id}btg.Cookie.set("qcDemo",escape(D.join(";")))}};try{var _qCfg=btg.config.QuantCast;if(_qCfg.enabled){btg.DOM.loadScript(("https:"==document.location.protocol?"//secure":"//edge")+".quantserve.com/quant.js")}if(_qCfg.enableDemoTargeting&&!btg.String.isDefined(btg.Cookie.read("qcDemo"))){btg.DOM.loadScript("//pixel.quantserve.com/api/segments.json?a=p-94wNw88f65Rhk&callback=btg.QuantCast.Ads.setCookieDemoTargetVal")}}catch(e$$21){}var s_code="",s_objectID;function s_gi(N,M,L){try{var K="s.version='H.23.4';s.an=s_an;s.logDebug=function(m){var s=this,tcf=new Function('var e;try{console.log(\"'+s.rep(s.rep(m,\"\\n\",\"\\\\n\"),\"\\\"\",\"\\\\\\\"\")+'\");}catch(e){}');tcf()};s.cls=function(x,c){var i,y='';if(!c)c=this.an;for(i=0;i<x.length;i++){n=x.substring(i,i+1);if(c.indexOf(n)>=0)y+=n}return y};s.fl=function(x,l){return x?(''+x).substring(0,l):x};s.co=function(o){if(!o)return o;var n=new Object,x;for(x in o)if(x.indexOf('select')<0&&x.indexOf('filter')<0)n[x]=o[x];return n};s.num=function(x){x=''+x;for(var p=0;p<x.length;p++)if(('0123456789').indexOf(x.substring(p,p+1))<0)return 0;return 1};s.rep=s_rep;s.sp=s_sp;s.jn=s_jn;s.ape=function(x){var s=this,h='0123456789ABCDEF',i,c=s.charSet,n,l,e,y='';c=c?c.toUpperCase():'';if(x){x=''+x;if(s.em==3)x=encodeURIComponent(x);else if(c=='AUTO'&&('').charCodeAt){for(i=0;i<x.length;i++){c=x.substring(i,i+1);n=x.charCodeAt(i);if(n>127){l=0;e='';while(n||l<4){e=h.substring(n%16,n%16+1)+e;n=(n-n%16)/16;l++}y+='%u'+e}else if(c=='+')y+='%2B';else y+=escape(c)}x=y}else x=escape(''+x);x=s.rep(x,'+','%2B');if(c&&c!='AUTO'&&s.em==1&&x.indexOf('%u')<0&&x.indexOf('%U')<0){i=x.indexOf('%');while(i>=0){i++;if(h.substring(8).indexOf(x.substring(i,i+1).toUpperCase())>=0)return x.substring(0,i)+'u00'+x.substring(i);i=x.indexOf('%',i)}}}return x};s.epa=function(x){var s=this;if(x){x=s.rep(''+x,'+',' ');return s.em==3?decodeURIComponent(x):unescape(x)}return x};s.pt=function(x,d,f,a){var s=this,t=x,z=0,y,r;while(t){y=t.indexOf(d);y=y<0?t.length:y;t=t.substring(0,y);r=s[f](t,a);if(r)return r;z+=y+d.length;t=x.substring(z,x.length);t=z<x.length?t:''}return ''};s.isf=function(t,a){var c=a.indexOf(':');if(c>=0)a=a.substring(0,c);c=a.indexOf('=');if(c>=0)a=a.substring(0,c);if(t.substring(0,2)=='s_')t=t.substring(2);return (t!=''&&t==a)};s.fsf=function(t,a){var s=this;if(s.pt(a,',','isf',t))s.fsg+=(s.fsg!=''?',':'')+t;return 0};s.fs=function(x,f){var s=this;s.fsg='';s.pt(x,',','fsf',f);return s.fsg};s.si=function(){var s=this,i,k,v,c=s_gi+'var s=s_gi(\"'+s.oun+'\");s.sa(\"'+s.un+'\");';for(i=0;i<s.va_g.length;i++){k=s.va_g[i];v=s[k];if(v!=undefined){if(typeof(v)!='number')c+='s.'+k+'=\"'+s_fe(v)+'\";';else c+='s.'+k+'='+v+';'}}c+=\"s.lnk=s.eo=s.linkName=s.linkType=s.wd.s_objectID=s.ppu=s.pe=s.pev1=s.pev2=s.pev3='';\";return c};s.c_d='';s.c_gdf=function(t,a){var s=this;if(!s.num(t))return 1;return 0};s.c_gd=function(){var s=this,d=s.wd.location.hostname,n=s.fpCookieDomainPeriods,p;if(!n)n=s.cookieDomainPeriods;if(d&&!s.c_d){n=n?parseInt(n):2;n=n>2?n:2;p=d.lastIndexOf('.');if(p>=0){while(p>=0&&n>1){p=d.lastIndexOf('.',p-1);n--}s.c_d=p>0&&s.pt(d,'.','c_gdf',0)?d.substring(p):d}}return s.c_d};s.c_r=function(k){var s=this;k=s.ape(k);var c=' '+s.d.cookie,i=c.indexOf(' '+k+'='),e=i<0?i:c.indexOf(';',i),v=i<0?'':s.epa(c.substring(i+2+k.length,e<0?c.length:e));return v!='[[B]]'?v:''};s.c_w=function(k,v,e){var s=this,d=s.c_gd(),l=s.cookieLifetime,t;v=''+v;l=l?(''+l).toUpperCase():'';if(e&&l!='SESSION'&&l!='NONE'){t=(v!=''?parseInt(l?l:0):-60);if(t){e=new Date;e.setTime(e.getTime()+(t*1000))}}if(k&&l!='NONE'){s.d.cookie=k+'='+s.ape(v!=''?v:'[[B]]')+'; path=/;'+(e&&l!='SESSION'?' expires='+e.toGMTString()+';':'')+(d?' domain='+d+';':'');return s.c_r(k)==v}return 0};s.eh=function(o,e,r,f){var s=this,b='s_'+e+'_'+s._in,n=-1,l,i,x;if(!s.ehl)s.ehl=new Array;l=s.ehl;for(i=0;i<l.length&&n<0;i++){if(l[i].o==o&&l[i].e==e)n=i}if(n<0){n=i;l[n]=new Object}x=l[n];x.o=o;x.e=e;f=r?x.b:f;if(r||f){x.b=r?0:o[e];x.o[e]=f}if(x.b){x.o[b]=x.b;return b}return 0};s.cet=function(f,a,t,o,b){var s=this,r,tcf;if(s.apv>=5&&(!s.isopera||s.apv>=7)){tcf=new Function('s','f','a','t','var e,r;try{r=s[f](a)}catch(e){r=s[t](e)}return r');r=tcf(s,f,a,t)}else{if(s.ismac&&s.u.indexOf('MSIE 4')>=0)r=s[b](a);else{s.eh(s.wd,'onerror',0,o);r=s[f](a);s.eh(s.wd,'onerror',1)}}return r};s.gtfset=function(e){var s=this;return s.tfs};s.gtfsoe=new Function('e','var s=s_c_il['+s._in+'],c;s.eh(window,\"onerror\",1);s.etfs=1;c=s.t();if(c)s.d.write(c);s.etfs=0;return true');s.gtfsfb=function(a){return window};s.gtfsf=function(w){var s=this,p=w.parent,l=w.location;s.tfs=w;if(p&&p.location!=l&&p.location.host==l.host){s.tfs=p;return s.gtfsf(s.tfs)}return s.tfs};s.gtfs=function(){var s=this;if(!s.tfs){s.tfs=s.wd;if(!s.etfs)s.tfs=s.cet('gtfsf',s.tfs,'gtfset',s.gtfsoe,'gtfsfb')}return s.tfs};s.mrq=function(u){var s=this,l=s.rl[u],n,r;s.rl[u]=0;if(l)for(n=0;n<l.length;n++){r=l[n];s.mr(0,0,r.r,r.t,r.u)}};s.flushBufferedRequests=function(){};s.mr=function(sess,q,rs,ta,u){var s=this,dc=s.dc,t1=s.trackingServer,t2=s.trackingServerSecure,tb=s.trackingServerBase,p='.sc',ns=s.visitorNamespace,un=s.cls(u?u:(ns?ns:s.fun)),r=new Object,l,imn='s_i_'+(un),im,b,e;if(!rs){if(t1){if(t2&&s.ssl)t1=t2}else{if(!tb)tb='2o7.net';if(dc)dc=(''+dc).toLowerCase();else dc='d1';if(tb=='2o7.net'){if(dc=='d1')dc='112';else if(dc=='d2')dc='122';p=''}t1=un+'.'+dc+'.'+p+tb}rs='http'+(s.ssl?'s':'')+'://'+t1+'/b/ss/'+s.un+'/'+(s.mobile?'5.1':'1')+'/'+s.version+'/'+sess+'?AQB=1&ndh=1'+(q?q:'')+'&AQE=1';if(s.isie&&!s.ismac)rs=s.fl(rs,2047)}if(s.d.images&&s.apv>=3&&(!s.isopera||s.apv>=7)&&(s.ns6<0||s.apv>=6.1)){if(!s.rc)s.rc=new Object;if(!s.rc[un]){s.rc[un]=1;if(!s.rl)s.rl=new Object;s.rl[un]=new Array;setTimeout('if(window.s_c_il)window.s_c_il['+s._in+'].mrq(\"'+un+'\")',750)}else{l=s.rl[un];if(l){r.t=ta;r.u=un;r.r=rs;l[l.length]=r;return ''}imn+='_'+s.rc[un];s.rc[un]++}im=s.wd[imn];if(!im)im=s.wd[imn]=new Image;im.s_l=0;im.onload=new Function('e','this.s_l=1;var wd=window,s;if(wd.s_c_il){s=wd.s_c_il['+s._in+'];s.mrq(\"'+un+'\");s.nrs--;if(!s.nrs)s.m_m(\"rr\")}');if(!s.nrs){s.nrs=1;s.m_m('rs')}else s.nrs++;if(s.debugTracking){var d='AppMeasurement Debug: '+rs,dl=s.sp(rs,'&'),dln;for(dln=0;dln<dl.length;dln++)d+=\"\\n\\t\"+s.epa(dl[dln]);s.logDebug(d)}im.src=rs;if((!ta||ta=='_self'||ta=='_top'||(s.wd.name&&ta==s.wd.name))&&rs.indexOf('&pe=')>=0){b=e=new Date;while(!im.s_l&&e.getTime()-b.getTime()<500)e=new Date}return ''}return '<im'+'g sr'+'c=\"'+rs+'\" width=1 height=1 border=0 alt=\"\">'};s.gg=function(v){var s=this;if(!s.wd['s_'+v])s.wd['s_'+v]='';return s.wd['s_'+v]};s.glf=function(t,a){if(t.substring(0,2)=='s_')t=t.substring(2);var s=this,v=s.gg(t);if(v)s[t]=v};s.gl=function(v){var s=this;if(s.pg)s.pt(v,',','glf',0)};s.rf=function(x){var s=this,y,i,j,h,p,l=0,q,a,b='',c='',t;if(x&&x.length>255){y=''+x;i=y.indexOf('?');if(i>0){q=y.substring(i+1);y=y.substring(0,i);h=y.toLowerCase();j=0;if(h.substring(0,7)=='http://')j+=7;else if(h.substring(0,8)=='https://')j+=8;i=h.indexOf(\"/\",j);if(i>0){h=h.substring(j,i);p=y.substring(i);y=y.substring(0,i);if(h.indexOf('google')>=0)l=',q,ie,start,search_key,word,kw,cd,';else if(h.indexOf('yahoo.co')>=0)l=',p,ei,';if(l&&q){a=s.sp(q,'&');if(a&&a.length>1){for(j=0;j<a.length;j++){t=a[j];i=t.indexOf('=');if(i>0&&l.indexOf(','+t.substring(0,i)+',')>=0)b+=(b?'&':'')+t;else c+=(c?'&':'')+t}if(b&&c)q=b+'&'+c;else c=''}i=253-(q.length-c.length)-y.length;x=y+(i>0?p.substring(0,i):'')+'?'+q}}}}return x};s.s2q=function(k,v,vf,vfp,f){var s=this,qs='',sk,sv,sp,ss,nke,nk,nf,nfl=0,nfn,nfm;if(k==\"contextData\")k=\"c\";if(v){for(sk in v) {if((!f||sk.substring(0,f.length)==f)&&v[sk]&&(!vf||vf.indexOf(','+(vfp?vfp+'.':'')+sk+',')>=0)){nfm=0;if(nfl)for(nfn=0;nfn<nfl.length;nfn++)if(sk.substring(0,nfl[nfn].length)==nfl[nfn])nfm=1;if(!nfm){if(qs=='')qs+='&'+k+'.';sv=v[sk];if(f)sk=sk.substring(f.length);if(sk.length>0){nke=sk.indexOf('.');if(nke>0){nk=sk.substring(0,nke);nf=(f?f:'')+nk+'.';if(!nfl)nfl=new Array;nfl[nfl.length]=nf;qs+=s.s2q(nk,v,vf,vfp,nf)}else{if(typeof(sv)=='boolean'){if(sv)sv='true';else sv='false'}if(sv){if(vfp=='retrieveLightData'&&f.indexOf('.contextData.')<0){sp=sk.substring(0,4);ss=sk.substring(4);if(sk=='transactionID')sk='xact';else if(sk=='channel')sk='ch';else if(sk=='campaign')sk='v0';else if(s.num(ss)){if(sp=='prop')sk='c'+ss;else if(sp=='eVar')sk='v'+ss;else if(sp=='list')sk='l'+ss;else if(sp=='hier'){sk='h'+ss;sv=sv.substring(0,255)}}}qs+='&'+s.ape(sk)+'='+s.ape(sv)}}}}}}if(qs!='')qs+='&.'+k}return qs};s.hav=function(){var s=this,qs='',l,fv='',fe='',mn,i,e;if(s.lightProfileID){l=s.va_m;fv=s.lightTrackVars;if(fv)fv=','+fv+','+s.vl_mr+','}else{l=s.va_t;if(s.pe||s.linkType){fv=s.linkTrackVars;fe=s.linkTrackEvents;if(s.pe){mn=s.pe.substring(0,1).toUpperCase()+s.pe.substring(1);if(s[mn]){fv=s[mn].trackVars;fe=s[mn].trackEvents}}}if(fv)fv=','+fv+','+s.vl_l+','+s.vl_l2;if(fe){fe=','+fe+',';if(fv)fv+=',events,'}if (s.events2)e=(e?',':'')+s.events2}for(i=0;i<l.length;i++){var k=l[i],v=s[k],b=k.substring(0,4),x=k.substring(4),n=parseInt(x),q=k;if(!v)if(k=='events'&&e){v=e;e=''}if(v&&(!fv||fv.indexOf(k)>=0)&&k!='linkName'&&k!='linkType'){if(k=='timestamp')q='ts';else if(k=='dynamicVariablePrefix')q='D';else if(k=='visitorID')q='vid';else if(k=='pageURL'){q='g';v=s.fl(v,255)}else if(k=='referrer'){q='r';v=s.fl(s.rf(v),255)}else if(k=='vmk'||k=='visitorMigrationKey')q='vmt';else if(k=='visitorMigrationServer'){q='vmf';if(s.ssl&&s.visitorMigrationServerSecure)v=''}else if(k=='visitorMigrationServerSecure'){q='vmf';if(!s.ssl&&s.visitorMigrationServer)v=''}else if(k=='charSet'){q='ce';if(v.toUpperCase()=='AUTO')v='ISO8859-1';else if(s.em==2||s.em==3)v='UTF-8'}else if(k=='visitorNamespace')q='ns';else if(k=='cookieDomainPeriods')q='cdp';else if(k=='cookieLifetime')q='cl';else if(k=='variableProvider')q='vvp';else if(k=='currencyCode')q='cc';else if(k=='channel')q='ch';else if(k=='transactionID')q='xact';else if(k=='campaign')q='v0';else if(k=='resolution')q='s';else if(k=='colorDepth')q='c';else if(k=='javascriptVersion')q='j';else if(k=='javaEnabled')q='v';else if(k=='cookiesEnabled')q='k';else if(k=='browserWidth')q='bw';else if(k=='browserHeight')q='bh';else if(k=='connectionType')q='ct';else if(k=='homepage')q='hp';else if(k=='plugins')q='p';else if(k=='events'){if(e)v+=(v?',':'')+e;if(fe)v=s.fs(v,fe)}else if(k=='events2')v='';else if(k=='contextData'){qs+=s.s2q('c',s[k],fv,k,0);v=''}else if(k=='lightProfileID')q='mtp';else if(k=='lightStoreForSeconds'){q='mtss';if(!s.lightProfileID)v=''}else if(k=='lightIncrementBy'){q='mti';if(!s.lightProfileID)v=''}else if(k=='retrieveLightProfiles')q='mtsr';else if(k=='deleteLightProfiles')q='mtsd';else if(k=='retrieveLightData'){if(s.retrieveLightProfiles)qs+=s.s2q('mts',s[k],fv,k,0);v=''}else if(s.num(x)){if(b=='prop')q='c'+n;else if(b=='eVar')q='v'+n;else if(b=='list')q='l'+n;else if(b=='hier'){q='h'+n;v=s.fl(v,255)}}if(v)qs+='&'+s.ape(q)+'='+(k.substring(0,3)!='pev'?s.ape(v):v)}}return qs};s.ltdf=function(t,h){t=t?t.toLowerCase():'';h=h?h.toLowerCase():'';var qi=h.indexOf('?');h=qi>=0?h.substring(0,qi):h;if(t&&h.substring(h.length-(t.length+1))=='.'+t)return 1;return 0};s.ltef=function(t,h){t=t?t.toLowerCase():'';h=h?h.toLowerCase():'';if(t&&h.indexOf(t)>=0)return 1;return 0};s.lt=function(h){var s=this,lft=s.linkDownloadFileTypes,lef=s.linkExternalFilters,lif=s.linkInternalFilters;lif=lif?lif:s.wd.location.hostname;h=h.toLowerCase();if(s.trackDownloadLinks&&lft&&s.pt(lft,',','ltdf',h))return 'd';if(s.trackExternalLinks&&h.substring(0,1)!='#'&&(lef||lif)&&(!lef||s.pt(lef,',','ltef',h))&&(!lif||!s.pt(lif,',','ltef',h)))return 'e';return ''};s.lc=new Function('e','var s=s_c_il['+s._in+'],b=s.eh(this,\"onclick\");s.lnk=s.co(this);s.t();s.lnk=0;if(b)return this[b](e);return true');s.bc=new Function('e','var s=s_c_il['+s._in+'],f,tcf;if(s.d&&s.d.all&&s.d.all.cppXYctnr)return;s.eo=e.srcElement?e.srcElement:e.target;tcf=new Function(\"s\",\"var e;try{if(s.eo&&(s.eo.tagName||s.eo.parentElement||s.eo.parentNode))s.t()}catch(e){}\");tcf(s);s.eo=0');s.oh=function(o){var s=this,l=s.wd.location,h=o.href?o.href:'',i,j,k,p;i=h.indexOf(':');j=h.indexOf('?');k=h.indexOf('/');if(h&&(i<0||(j>=0&&i>j)||(k>=0&&i>k))){p=o.protocol&&o.protocol.length>1?o.protocol:(l.protocol?l.protocol:'');i=l.pathname.lastIndexOf('/');h=(p?p+'//':'')+(o.host?o.host:(l.host?l.host:''))+(h.substring(0,1)!='/'?l.pathname.substring(0,i<0?0:i)+'/':'')+h}return h};s.ot=function(o){var t=o.tagName;if(o.tagUrn||(o.scopeName&&o.scopeName.toUpperCase()!='HTML'))return '';t=t&&t.toUpperCase?t.toUpperCase():'';if(t=='SHAPE')t='';if(t){if((t=='INPUT'||t=='BUTTON')&&o.type&&o.type.toUpperCase)t=o.type.toUpperCase();else if(!t&&o.href)t='A';}return t};s.oid=function(o){var s=this,t=s.ot(o),p,c,n='',x=0;if(t&&!o.s_oid){p=o.protocol;c=o.onclick;if(o.href&&(t=='A'||t=='AREA')&&(!c||!p||p.toLowerCase().indexOf('javascript')<0))n=s.oh(o);else if(c){n=s.rep(s.rep(s.rep(s.rep(''+c,\"\\r\",''),\"\\n\",''),\"\\t\",''),' ','');x=2}else if(t=='INPUT'||t=='SUBMIT'){if(o.value)n=o.value;else if(o.innerText)n=o.innerText;else if(o.textContent)n=o.textContent;x=3}else if(o.src&&t=='IMAGE')n=o.src;if(n){o.s_oid=s.fl(n,100);o.s_oidt=x}}return o.s_oid};s.rqf=function(t,un){var s=this,e=t.indexOf('='),u=e>=0?t.substring(0,e):'',q=e>=0?s.epa(t.substring(e+1)):'';if(u&&q&&(','+u+',').indexOf(','+un+',')>=0){if(u!=s.un&&s.un.indexOf(',')>=0)q='&u='+u+q+'&u=0';return q}return ''};s.rq=function(un){if(!un)un=this.un;var s=this,c=un.indexOf(','),v=s.c_r('s_sq'),q='';if(c<0)return s.pt(v,'&','rqf',un);return s.pt(un,',','rq',0)};s.sqp=function(t,a){var s=this,e=t.indexOf('='),q=e<0?'':s.epa(t.substring(e+1));s.sqq[q]='';if(e>=0)s.pt(t.substring(0,e),',','sqs',q);return 0};s.sqs=function(un,q){var s=this;s.squ[un]=q;return 0};s.sq=function(q){var s=this,k='s_sq',v=s.c_r(k),x,c=0;s.sqq=new Object;s.squ=new Object;s.sqq[q]='';s.pt(v,'&','sqp',0);s.pt(s.un,',','sqs',q);v='';for(x in s.squ)if(x&&(!Object||!Object.prototype||!Object.prototype[x]))s.sqq[s.squ[x]]+=(s.sqq[s.squ[x]]?',':'')+x;for(x in s.sqq)if(x&&(!Object||!Object.prototype||!Object.prototype[x])&&s.sqq[x]&&(x==q||c<2)){v+=(v?'&':'')+s.sqq[x]+'='+s.ape(x);c++}return s.c_w(k,v,0)};s.wdl=new Function('e','var s=s_c_il['+s._in+'],r=true,b=s.eh(s.wd,\"onload\"),i,o,oc;if(b)r=this[b](e);for(i=0;i<s.d.links.length;i++){o=s.d.links[i];oc=o.onclick?\"\"+o.onclick:\"\";if((oc.indexOf(\"s_gs(\")<0||oc.indexOf(\".s_oc(\")>=0)&&oc.indexOf(\".tl(\")<0)s.eh(o,\"onclick\",0,s.lc);}return r');s.wds=function(){var s=this;if(s.apv>3&&(!s.isie||!s.ismac||s.apv>=5)){if(s.b&&s.b.attachEvent)s.b.attachEvent('onclick',s.bc);else if(s.b&&s.b.addEventListener)s.b.addEventListener('click',s.bc,false);else s.eh(s.wd,'onload',0,s.wdl)}};s.vs=function(x){var s=this,v=s.visitorSampling,g=s.visitorSamplingGroup,k='s_vsn_'+s.un+(g?'_'+g:''),n=s.c_r(k),e=new Date,y=e.getYear();e.setYear(y+10+(y<1900?1900:0));if(v){v*=100;if(!n){if(!s.c_w(k,x,e))return 0;n=x}if(n%10000>v)return 0}return 1};s.dyasmf=function(t,m){if(t&&m&&m.indexOf(t)>=0)return 1;return 0};s.dyasf=function(t,m){var s=this,i=t?t.indexOf('='):-1,n,x;if(i>=0&&m){var n=t.substring(0,i),x=t.substring(i+1);if(s.pt(x,',','dyasmf',m))return n}return 0};s.uns=function(){var s=this,x=s.dynamicAccountSelection,l=s.dynamicAccountList,m=s.dynamicAccountMatch,n,i;s.un=s.un.toLowerCase();if(x&&l){if(!m)m=s.wd.location.host;if(!m.toLowerCase)m=''+m;l=l.toLowerCase();m=m.toLowerCase();n=s.pt(l,';','dyasf',m);if(n)s.un=n}i=s.un.indexOf(',');s.fun=i<0?s.un:s.un.substring(0,i)};s.sa=function(un){var s=this;s.un=un;if(!s.oun)s.oun=un;else if((','+s.oun+',').indexOf(','+un+',')<0)s.oun+=','+un;s.uns()};s.m_i=function(n,a){var s=this,m,f=n.substring(0,1),r,l,i;if(!s.m_l)s.m_l=new Object;if(!s.m_nl)s.m_nl=new Array;m=s.m_l[n];if(!a&&m&&m._e&&!m._i)s.m_a(n);if(!m){m=new Object,m._c='s_m';m._in=s.wd.s_c_in;m._il=s._il;m._il[m._in]=m;s.wd.s_c_in++;m.s=s;m._n=n;m._l=new Array('_c','_in','_il','_i','_e','_d','_dl','s','n','_r','_g','_g1','_t','_t1','_x','_x1','_rs','_rr','_l');s.m_l[n]=m;s.m_nl[s.m_nl.length]=n}else if(m._r&&!m._m){r=m._r;r._m=m;l=m._l;for(i=0;i<l.length;i++)if(m[l[i]])r[l[i]]=m[l[i]];r._il[r._in]=r;m=s.m_l[n]=r}if(f==f.toUpperCase())s[n]=m;return m};s.m_a=new Function('n','g','e','if(!g)g=\"m_\"+n;var s=s_c_il['+s._in+'],c=s[g+\"_c\"],m,x,f=0;if(!c)c=s.wd[\"s_\"+g+\"_c\"];if(c&&s_d)s[g]=new Function(\"s\",s_ft(s_d(c)));x=s[g];if(!x)x=s.wd[\\'s_\\'+g];if(!x)x=s.wd[g];m=s.m_i(n,1);if(x&&(!m._i||g!=\"m_\"+n)){m._i=f=1;if((\"\"+x).indexOf(\"function\")>=0)x(s);else s.m_m(\"x\",n,x,e)}m=s.m_i(n,1);if(m._dl)m._dl=m._d=0;s.dlt();return f');s.m_m=function(t,n,d,e){t='_'+t;var s=this,i,x,m,f='_'+t,r=0,u;if(s.m_l&&s.m_nl)for(i=0;i<s.m_nl.length;i++){x=s.m_nl[i];if(!n||x==n){m=s.m_i(x);u=m[t];if(u){if((''+u).indexOf('function')>=0){if(d&&e)u=m[t](d,e);else if(d)u=m[t](d);else u=m[t]()}}if(u)r=1;u=m[t+1];if(u&&!m[f]){if((''+u).indexOf('function')>=0){if(d&&e)u=m[t+1](d,e);else if(d)u=m[t+1](d);else u=m[t+1]()}}m[f]=1;if(u)r=1}}return r};s.m_ll=function(){var s=this,g=s.m_dl,i,o;if(g)for(i=0;i<g.length;i++){o=g[i];if(o)s.loadModule(o.n,o.u,o.d,o.l,o.e,1);g[i]=0}};s.loadModule=function(n,u,d,l,e,ln){var s=this,m=0,i,g,o=0,f1,f2,c=s.h?s.h:s.b,b,tcf;if(n){i=n.indexOf(':');if(i>=0){g=n.substring(i+1);n=n.substring(0,i)}else g=\"m_\"+n;m=s.m_i(n)}if((l||(n&&!s.m_a(n,g)))&&u&&s.d&&c&&s.d.createElement){if(d){m._d=1;m._dl=1}if(ln){if(s.ssl)u=s.rep(u,'http:','https:');i='s_s:'+s._in+':'+n+':'+g;b='var s=s_c_il['+s._in+'],o=s.d.getElementById(\"'+i+'\");if(s&&o){if(!o.l&&s.wd.'+g+'){o.l=1;if(o.i)clearTimeout(o.i);o.i=0;s.m_a(\"'+n+'\",\"'+g+'\"'+(e?',\"'+e+'\"':'')+')}';f2=b+'o.c++;if(!s.maxDelay)s.maxDelay=250;if(!o.l&&o.c<(s.maxDelay*2)/100)o.i=setTimeout(o.f2,100)}';f1=new Function('e',b+'}');tcf=new Function('s','c','i','u','f1','f2','var e,o=0;try{o=s.d.createElement(\"script\");if(o){o.type=\"text/javascript\";'+(n?'o.id=i;o.defer=true;o.onload=o.onreadystatechange=f1;o.f2=f2;o.l=0;':'')+'o.src=u;c.appendChild(o);'+(n?'o.c=0;o.i=setTimeout(f2,100)':'')+'}}catch(e){o=0}return o');o=tcf(s,c,i,u,f1,f2)}else{o=new Object;o.n=n+':'+g;o.u=u;o.d=d;o.l=l;o.e=e;g=s.m_dl;if(!g)g=s.m_dl=new Array;i=0;while(i<g.length&&g[i])i++;g[i]=o}}else if(n){m=s.m_i(n);m._e=1}return m};s.voa=function(vo,r){var s=this,l=s.va_g,i,k,v,x;for(i=0;i<l.length;i++){k=l[i];v=vo[k];if(v||vo['!'+k]){if(!r&&(k==\"contextData\"||k==\"retrieveLightData\")&&s[k])for(x in s[k])if(!v[x])v[x]=s[k][x];s[k]=v}}};s.vob=function(vo){var s=this,l=s.va_g,i,k;for(i=0;i<l.length;i++){k=l[i];vo[k]=s[k];if(!vo[k])vo['!'+k]=1}};s.dlt=new Function('var s=s_c_il['+s._in+'],d=new Date,i,vo,f=0;if(s.dll)for(i=0;i<s.dll.length;i++){vo=s.dll[i];if(vo){if(!s.m_m(\"d\")||d.getTime()-vo._t>=s.maxDelay){s.dll[i]=0;s.t(vo)}else f=1}}if(s.dli)clearTimeout(s.dli);s.dli=0;if(f){if(!s.dli)s.dli=setTimeout(s.dlt,s.maxDelay)}else s.dll=0');s.dl=function(vo){var s=this,d=new Date;if(!vo)vo=new Object;s.vob(vo);vo._t=d.getTime();if(!s.dll)s.dll=new Array;s.dll[s.dll.length]=vo;if(!s.maxDelay)s.maxDelay=250;s.dlt()};s.track=s.t=function(vo){var s=this,trk=1,tm=new Date,sed=Math&&Math.random?Math.floor(Math.random()*10000000000000):tm.getTime(),sess='s'+Math.floor(tm.getTime()/10800000)%10+sed,y=tm.getYear(),vt=tm.getDate()+'/'+tm.getMonth()+'/'+(y<1900?y+1900:y)+' '+tm.getHours()+':'+tm.getMinutes()+':'+tm.getSeconds()+' '+tm.getDay()+' '+tm.getTimezoneOffset(),tcf,tfs=s.gtfs(),ta=-1,q='',qs='',code='',vb=new Object;s.gl(s.vl_g);s.uns();s.m_ll();if(!s.td){var tl=tfs.location,a,o,i,x='',c='',v='',p='',bw='',bh='',j='1.0',k=s.c_w('s_cc','true',0)?'Y':'N',hp='',ct='',pn=0,ps;if(String&&String.prototype){j='1.1';if(j.match){j='1.2';if(tm.setUTCDate){j='1.3';if(s.isie&&s.ismac&&s.apv>=5)j='1.4';if(pn.toPrecision){j='1.5';a=new Array;if(a.forEach){j='1.6';i=0;o=new Object;tcf=new Function('o','var e,i=0;try{i=new Iterator(o)}catch(e){}return i');i=tcf(o);if(i&&i.next)j='1.7'}}}}}if(s.apv>=4)x=screen.width+'x'+screen.height;if(s.isns||s.isopera){if(s.apv>=3){v=s.n.javaEnabled()?'Y':'N';if(s.apv>=4){c=screen.pixelDepth;bw=s.wd.innerWidth;bh=s.wd.innerHeight}}s.pl=s.n.plugins}else if(s.isie){if(s.apv>=4){v=s.n.javaEnabled()?'Y':'N';c=screen.colorDepth;if(s.apv>=5){bw=s.d.documentElement.offsetWidth;bh=s.d.documentElement.offsetHeight;if(!s.ismac&&s.b){tcf=new Function('s','tl','var e,hp=0;try{s.b.addBehavior(\"#default#homePage\");hp=s.b.isHomePage(tl)?\"Y\":\"N\"}catch(e){}return hp');hp=tcf(s,tl);tcf=new Function('s','var e,ct=0;try{s.b.addBehavior(\"#default#clientCaps\");ct=s.b.connectionType}catch(e){}return ct');ct=tcf(s)}}}else r=''}if(s.pl)while(pn<s.pl.length&&pn<30){ps=s.fl(s.pl[pn].name,100)+';';if(p.indexOf(ps)<0)p+=ps;pn++}s.resolution=x;s.colorDepth=c;s.javascriptVersion=j;s.javaEnabled=v;s.cookiesEnabled=k;s.browserWidth=bw;s.browserHeight=bh;s.connectionType=ct;s.homepage=hp;s.plugins=p;s.td=1}if(vo){s.vob(vb);s.voa(vo)}if((vo&&vo._t)||!s.m_m('d')){if(s.usePlugins)s.doPlugins(s);var l=s.wd.location,r=tfs.document.referrer;if(!s.pageURL)s.pageURL=l.href?l.href:l;if(!s.referrer&&!s._1_referrer){s.referrer=r;s._1_referrer=1}s.m_m('g');if(s.lnk||s.eo){var o=s.eo?s.eo:s.lnk;if(!o)return '';var p=s.pageName,w=1,t=s.ot(o),n=s.oid(o),x=o.s_oidt,h,l,i,oc;if(s.eo&&o==s.eo){while(o&&!n&&t!='BODY'){o=o.parentElement?o.parentElement:o.parentNode;if(!o)return '';t=s.ot(o);n=s.oid(o);x=o.s_oidt}oc=o.onclick?''+o.onclick:'';if((oc.indexOf(\"s_gs(\")>=0&&oc.indexOf(\".s_oc(\")<0)||oc.indexOf(\".tl(\")>=0)return ''}if(n)ta=o.target;h=s.oh(o);i=h.indexOf('?');h=s.linkLeaveQueryString||i<0?h:h.substring(0,i);l=s.linkName;t=s.linkType?s.linkType.toLowerCase():s.lt(h);if(t&&(h||l))q+='&pe=lnk_'+(t=='d'||t=='e'?s.ape(t):'o')+(h?'&pev1='+s.ape(h):'')+(l?'&pev2='+s.ape(l):'');else trk=0;if(s.trackInlineStats){if(!p){p=s.pageURL;w=0}t=s.ot(o);i=o.sourceIndex;if(s.gg('objectID')){n=s.gg('objectID');x=1;i=1}if(p&&n&&t)qs='&pid='+s.ape(s.fl(p,255))+(w?'&pidt='+w:'')+'&oid='+s.ape(s.fl(n,100))+(x?'&oidt='+x:'')+'&ot='+s.ape(t)+(i?'&oi='+i:'')}}if(!trk&&!qs)return '';s.sampled=s.vs(sed);if(trk){if(s.sampled)code=s.mr(sess,(vt?'&t='+s.ape(vt):'')+s.hav()+q+(qs?qs:s.rq()),0,ta);qs='';s.m_m('t');if(s.p_r)s.p_r();s.referrer=s.lightProfileID=s.retrieveLightProfiles=s.deleteLightProfiles=''}s.sq(qs);}else{s.dl(vo);}if(vo)s.voa(vb,1);s.lnk=s.eo=s.linkName=s.linkType=s.wd.s_objectID=s.ppu=s.pe=s.pev1=s.pev2=s.pev3='';if(s.pg)s.wd.s_lnk=s.wd.s_eo=s.wd.s_linkName=s.wd.s_linkType='';return code};s.trackLink=s.tl=function(o,t,n,vo){var s=this;s.lnk=s.co(o);s.linkType=t;s.linkName=n;s.t(vo)};s.trackLight=function(p,ss,i,vo){var s=this;s.lightProfileID=p;s.lightStoreForSeconds=ss;s.lightIncrementBy=i;s.t(vo)};s.jsLoaded=function(){var s=this,x;if(s.lmq)for(i=0;i<s.lmq.length;i++){x=s.lmq[i];s.loadModule(x.n,x.u,x.d)}if(s.onLoad)s.onLoad(s);if(s.tq)for(i=0;i<s.tq.length;i++)s.t(s.tq[i])};s.wd=window;s.ssl=(s.wd.location.protocol.toLowerCase().indexOf('https')>=0);s.d=document;s.b=s.d.body;if(s.d.getElementsByTagName){s.h=s.d.getElementsByTagName('HEAD');if(s.h)s.h=s.h[0]}s.n=navigator;s.u=s.n.userAgent;s.ns6=s.u.indexOf('Netscape6/');var apn=s.n.appName,v=s.n.appVersion,ie=v.indexOf('MSIE '),o=s.u.indexOf('Opera '),i;if(v.indexOf('Opera')>=0||o>0)apn='Opera';s.isie=(apn=='Microsoft Internet Explorer');s.isns=(apn=='Netscape');s.isopera=(apn=='Opera');s.ismac=(s.u.indexOf('Mac')>=0);if(o>0)s.apv=parseFloat(s.u.substring(o+6));else if(ie>0){s.apv=parseInt(i=v.substring(ie+5));if(s.apv>3)s.apv=parseFloat(i)}else if(s.ns6>0)s.apv=parseFloat(s.u.substring(s.ns6+10));else s.apv=parseFloat(v);s.em=0;if(s.em.toPrecision)s.em=3;else if(String.fromCharCode){i=escape(String.fromCharCode(256)).toUpperCase();s.em=(i=='%C4%80'?2:(i=='%U0100'?1:0))}if(s.oun)s.sa(s.oun);s.sa(un);s.vl_l='dynamicVariablePrefix,visitorID,vmk,visitorMigrationKey,visitorMigrationServer,visitorMigrationServerSecure,ppu,charSet,visitorNamespace,cookieDomainPeriods,cookieLifetime,pageName,pageURL,referrer,currencyCode';s.va_l=s.sp(s.vl_l,',');s.vl_mr=s.vl_m='charSet,visitorNamespace,cookieDomainPeriods,cookieLifetime,contextData,lightProfileID,lightStoreForSeconds,lightIncrementBy';s.vl_t=s.vl_l+',variableProvider,channel,server,pageType,transactionID,purchaseID,campaign,state,zip,events,events2,products,linkName,linkType,contextData,lightProfileID,lightStoreForSeconds,lightIncrementBy,retrieveLightProfiles,deleteLightProfiles,retrieveLightData';var n;for(n=1;n<=75;n++){s.vl_t+=',prop'+n+',eVar'+n;s.vl_m+=',prop'+n+',eVar'+n}for(n=1;n<=5;n++)s.vl_t+=',hier'+n;for(n=1;n<=3;n++)s.vl_t+=',list'+n;s.va_m=s.sp(s.vl_m,',');s.vl_l2=',tnt,pe,pev1,pev2,pev3,resolution,colorDepth,javascriptVersion,javaEnabled,cookiesEnabled,browserWidth,browserHeight,connectionType,homepage,plugins';s.vl_t+=s.vl_l2;s.va_t=s.sp(s.vl_t,',');s.vl_g=s.vl_t+',trackingServer,trackingServerSecure,trackingServerBase,fpCookieDomainPeriods,disableBufferedRequests,mobile,visitorSampling,visitorSamplingGroup,dynamicAccountSelection,dynamicAccountList,dynamicAccountMatch,trackDownloadLinks,trackExternalLinks,trackInlineStats,linkLeaveQueryString,linkDownloadFileTypes,linkExternalFilters,linkInternalFilters,linkTrackVars,linkTrackEvents,linkNames,lnk,eo,lightTrackVars,_1_referrer,un';s.va_g=s.sp(s.vl_g,',');s.pg=pg;s.gl(s.vl_g);s.contextData=new Object;s.retrieveLightData=new Object;if(!ss)s.wds();if(pg){s.wd.s_co=function(o){s_gi(\"_\",1,1).co(o)};s.wd.s_gs=function(un){s_gi(un,1,1).t()};s.wd.s_dc=function(un){s_gi(un,1).t()}}",J=window,I=J.s_c_il,H=navigator,G=H.userAgent,F=H.appVersion,D=F.indexOf("MSIE "),C=G.indexOf("Netscape6/"),B,P,E,A;if(N){N=N.toLowerCase();if(I){for(P=0;P<I.length;P++){A=I[P];E=A._c;if((!E||E=="s_c"||E=="s_l")&&(A.oun==N||A.fs&&A.sa&&A.fs(A.oun,N))){if(A.sa){A.sa(N)}if(E=="s_c"){return A}}else{A=0}}}}J.s_an="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";J.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.substring(i,j<0?x.length:j);i=j;if(i>=0)i+=d.length}}return a");J.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");J.s_rep=new Function("x","o","n","return s_jn(s_sp(x,o),n)");J.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");J.s_fe=new Function("c","return s_rep(s_rep(s_rep(c,'\\\\','\\\\\\\\'),'\"','\\\\\"'),\"\\n\",\"\\\\n\")");J.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");J.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){if(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;");K=s_d(K);if(D>0){B=parseInt(P=F.substring(D+5));if(B>3){B=parseFloat(P)}}else{if(C>0){B=parseFloat(G.substring(C+10))}else{B=parseFloat(F)}}if(B<5||F.indexOf("Opera")>=0||G.indexOf("Opera")>=0){K=s_ft(K)}if(!A){A=new Object;if(!J.s_c_in){J.s_c_il=new Array;J.s_c_in=0}A._il=J.s_c_il;A._in=J.s_c_in;A._il[A._in]=A;J.s_c_in++}A._c="s_c";(new Function("s","un","pg","ss",K))(A,N,M,L);return A}catch(O){}}var mboxCopyright="Copyright 1996-2009. Adobe Systems Incorporated. All rights reserved";mboxUrlBuilder=function(A,B){this.a=A;this.b=B;this.c=new Array;this.d=function(C){return C};this.f=null};mboxUrlBuilder.prototype.addParameter=function(A,D){if((new RegExp("('|\")")).exec(A)){throw"Parameter '"+A+"' contains invalid characters"}for(var C=0;C<this.c.length;C++){var B=this.c[C];if(B.name==A){B.value=D;return this}}C=new Object;C.name=A;C.value=D;this.c[this.c.length]=C;return this};mboxUrlBuilder.prototype.addParameters=function(A){if(!A){return this}for(var C=0;C<A.length;C++){var B=A[C].indexOf("=");if(B==-1||B==0){continue}this.addParameter(A[C].substring(0,B),A[C].substring(B+1,A[C].length))}return this};mboxUrlBuilder.prototype.setServerType=function(A){this.o=A};mboxUrlBuilder.prototype.setBasePath=function(A){this.f=A};mboxUrlBuilder.prototype.setUrlProcessAction=function(A){this.d=A};mboxUrlBuilder.prototype.buildUrl=function(){for(var A=(document.location.protocol=="file:"?"http:":document.location.protocol)+"//"+this.a+(this.f?this.f:"/m2/"+this.b+"/mbox/"+this.o),D=A.indexOf("?")!=-1?"&":"?",C=0;C<this.c.length;C++){var B=this.c[C];A+=D+encodeURIComponent(B.name)+"="+encodeURIComponent(B.value);D="&"}return this.t(this.d(A))};mboxUrlBuilder.prototype.getParameters=function(){return this.c};mboxUrlBuilder.prototype.setParameters=function(A){this.c=A};mboxUrlBuilder.prototype.clone=function(){var A=new mboxUrlBuilder(this.a,this.b);A.setServerType(this.o);A.setBasePath(this.f);A.setUrlProcessAction(this.d);for(var B=0;B<this.c.length;B++){A.addParameter(this.c[B].name,this.c[B].value)}return A};mboxUrlBuilder.prototype.t=function(A){return A.replace(/\"/g,"&quot;").replace(/>/g,"&gt;")};mboxStandardFetcher=function(){};mboxStandardFetcher.prototype.getType=function(){return"standard"};mboxStandardFetcher.prototype.fetch=function(A){A.setServerType(this.getType());document.write('<script src="'+A.buildUrl()+'" language="JavaScript"><\/script>')};mboxStandardFetcher.prototype.cancel=function(){};mboxAjaxFetcher=function(){};mboxAjaxFetcher.prototype.getType=function(){return"ajax"};mboxAjaxFetcher.prototype.fetch=function(A){A.setServerType(this.getType());A=A.buildUrl();this.x=document.createElement("script");this.x.src=A;document.body.appendChild(this.x)};mboxAjaxFetcher.prototype.cancel=function(){};mboxMap=function(){this.y=new Object;this.z=new Array};mboxMap.prototype.put=function(A,B){if(!this.y[A]){this.z[this.z.length]=A}this.y[A]=B};mboxMap.prototype.get=function(A){return this.y[A]};mboxMap.prototype.remove=function(A){this.y[A]=undefined};mboxMap.prototype.each=function(A){for(var D=0;D<this.z.length;D++){var C=this.z[D],B=this.y[C];if(B){if(A(C,B)===false){break}}}};mboxFactory=function(A,E,D){this.E=false;this.C=A;this.D=D;this.F=new mboxList;mboxFactories.put(D,this);this.H=(this.G=typeof document.createElement("div").replaceChild!="undefined"&&true&&typeof document.getElementById!="undefined"&&typeof (window.attachEvent||document.addEventListener||window.addEventListener)!="undefined"&&typeof encodeURIComponent!="undefined")&&mboxGetPageParameter("mboxDisable")==null;var C=D=="default";this.J=new mboxCookieManager("mbox"+(C?"":"-"+D),mboxCookiePageDomain());this.H=this.H&&this.J.isEnabled()&&this.J.getCookie("disable")==null;if(this.isAdmin()){this.enable()}this.K=mboxGenerateId();this.L=mboxScreenHeight();this.M=mboxScreenWidth();this.N=mboxBrowserWidth();this.O=mboxBrowserHeight();this.P=mboxScreenColorDepth();this.Q=mboxBrowserTimeOffset();this.R=new mboxSession(this.K,"mboxSession","session",31*60,this.J);this.S=new mboxPC("PC",1209600,this.J);this.w=new mboxUrlBuilder(A,E);this.T(this.w,C);this.V=this.U=(new Date).getTime();var B=this;this.addOnLoad(function(){B.V=(new Date).getTime()});if(this.G){this.addOnLoad(function(){B.E=true;B.getMboxes().each(function(F){F.setFetcher(new mboxAjaxFetcher);F.finalize()})});this.limitTraffic(100,10368000);if(this.H){this.Y();this.Z=new mboxSignaler(function(F,G){return B.create(F,G)},this.J)}}};mboxFactory.prototype.isEnabled=function(){return this.H};mboxFactory.prototype.getDisableReason=function(){return this.J.getCookie("disable")};mboxFactory.prototype.isSupported=function(){return this.G};mboxFactory.prototype.disable=function(A,B){if(typeof A=="undefined"){A=60*60}if(typeof B=="undefined"){B="unspecified"}if(!this.isAdmin()){this.H=false;this.J.setCookie("disable",B,A)}};mboxFactory.prototype.enable=function(){this.H=true;this.J.deleteCookie("disable")};mboxFactory.prototype.isAdmin=function(){return document.location.href.indexOf("mboxEnv")!=-1};mboxFactory.prototype.limitTraffic=function(){};mboxFactory.prototype.addOnLoad=function(A){if(window.addEventListener){window.addEventListener("load",A,false)}else{if(document.addEventListener){document.addEventListener("load",A,false)}else{if(document.attachEvent){window.attachEvent("onload",A)}}}};mboxFactory.prototype.getEllapsedTime=function(){return this.V-this.U};mboxFactory.prototype.getEllapsedTimeUntil=function(A){return A-this.U};mboxFactory.prototype.getMboxes=function(){return this.F};mboxFactory.prototype.get=function(A,B){return this.F.get(A).getById(B||0)};mboxFactory.prototype.update=function(A,B){if(!this.isEnabled()){return }if(this.F.get(A).length()==0){throw"Mbox "+A+" is not defined"}this.F.get(A).each(function(C){C.getUrlBuilder().addParameter("mboxPage",mboxGenerateId());C.load(B)})};mboxFactory.prototype.create=function(A,H,G){if(!this.isSupported()){return null}var F=this.w.clone();F.addParameter("mboxCount",this.F.length()+1);F.addParameters(H);var H=this.F.get(A).length(),E=this.D+"-"+A+"-"+H;if(G){G=new mboxLocatorNode(G)}else{if(this.E){throw"The page has already been loaded, can't write marker"}G=new mboxLocatorDefault(E)}try{var D=this,C=new mbox(A,H,F,G,"mboxImported-"+E);if(this.H){C.setFetcher(this.E?new mboxAjaxFetcher:new mboxStandardFetcher)}C.setOnError(function(I){C.setMessage(I);C.activate();if(!C.isActivated()){D.disable(60*60,I);window.location.reload(false)}});this.F.add(C)}catch(B){this.disable();throw'Failed creating mbox "'+A+'", the error was: '+B}A=new Date;F.addParameter("mboxTime",A.getTime()-A.getTimezoneOffset()*60000);return C};mboxFactory.prototype.getCookieManager=function(){return this.J};mboxFactory.prototype.getPageId=function(){return this.K};mboxFactory.prototype.getPCId=function(){return this.S};mboxFactory.prototype.getSessionId=function(){return this.R};mboxFactory.prototype.getSignaler=function(){return this.Z};mboxFactory.prototype.getUrlBuilder=function(){return this.w};mboxFactory.prototype.T=function(A,B){A.addParameter("mboxHost",document.location.hostname).addParameter("mboxSession",this.R.getId());if(!B){A.addParameter("mboxFactoryId",this.D)}if(this.S.getId()!=null){A.addParameter("mboxPC",this.S.getId())}A.addParameter("mboxPage",this.K);A.addParameter("screenHeight",this.L);A.addParameter("screenWidth",this.M);A.addParameter("browserWidth",this.N);A.addParameter("browserHeight",this.O);A.addParameter("browserTimeOffset",this.Q);A.addParameter("colorDepth",this.P);A.setUrlProcessAction(function(C){C+="&mboxURL="+encodeURIComponent(document.location);var D=encodeURIComponent(document.referrer);if(C.length+D.length<2000){C+="&mboxReferrer="+D}C+="&mboxVersion="+mboxVersion;return C})};mboxFactory.prototype.nb=function(){return""};mboxFactory.prototype.Y=function(){document.write("<style>.mboxDefault { visibility:hidden; }</style>")};mboxFactory.prototype.isDomLoaded=function(){return this.E};mboxSignaler=function(A,F){this.J=F;for(var E=F.getCookieNames("signal-"),D=0;D<E.length;D++){var C=E[D],B=F.getCookie(C).split("&");A(B[0],B).load();F.deleteCookie(C)}};mboxSignaler.prototype.signal=function(A){this.J.setCookie("signal-"+A,mboxShiftArray(arguments).join("&"),45*60)};mboxList=function(){this.F=new Array};mboxList.prototype.add=function(A){if(A!=null){this.F[this.F.length]=A}};mboxList.prototype.get=function(A){for(var D=new mboxList,C=0;C<this.F.length;C++){var B=this.F[C];if(B.getName()==A){D.add(B)}}return D};mboxList.prototype.getById=function(A){return this.F[A]};mboxList.prototype.length=function(){return this.F.length};mboxList.prototype.each=function(A){if(typeof A!="function"){throw"Action must be a function, was: "+typeof A}for(var B=0;B<this.F.length;B++){A(this.F[B])}};mboxLocatorDefault=function(A){this.g="mboxMarker-"+A;document.write('<div id="'+this.g+'" style="visibility:hidden;display:none">&nbsp;</div>')};mboxLocatorDefault.prototype.locate=function(){for(var A=document.getElementById(this.g);A!=null;){if(A.nodeType==1){if(A.className=="mboxDefault"){return A}}A=A.previousSibling}return null};mboxLocatorDefault.prototype.force=function(){var A=document.createElement("div");A.className="mboxDefault";var B=document.getElementById(this.g);B.parentNode.insertBefore(A,B);return A};mboxLocatorNode=function(A){this.ub=A};mboxLocatorNode.prototype.locate=function(){return typeof this.ub=="string"?document.getElementById(this.ub):this.ub};mboxLocatorNode.prototype.force=function(){return null};mboxCreate=function(A){var B=mboxFactoryDefault.create(A,mboxShiftArray(arguments));if(B){B.load()}return B};mboxDefine=function(A,B){return mboxFactoryDefault.create(B,mboxShiftArray(mboxShiftArray(arguments)),A)};mboxUpdate=function(A){mboxFactoryDefault.update(A,mboxShiftArray(arguments))};mbox=function(A,E,D,C,B){this.Ab=null;this.Bb=0;this.hb=C;this.ib=B;this.Cb=null;this.Db=new mboxOfferContent;this.vb=null;this.w=D;this.message="";this.Eb=new Object;this.Fb=0;this.yb=E;this.g=A;this.Gb();D.addParameter("mbox",A).addParameter("mboxId",E);this.Hb=function(){};this.Ib=function(){};this.Jb=null};mbox.prototype.getId=function(){return this.yb};mbox.prototype.Gb=function(){if(this.g.length>250){throw"Mbox Name "+this.g+" exceeds max length of 250 characters."}else{if(this.g.match(/^\s+|\s+$/g)){throw"Mbox Name "+this.g+" has leading/trailing whitespace(s)."}}};mbox.prototype.getName=function(){return this.g};mbox.prototype.getParameters=function(){for(var A=this.w.getParameters(),C=new Array,B=0;B<A.length;B++){if(A[B].name.indexOf("mbox")!=0){C[C.length]=A[B].name+"="+A[B].value}}return C};mbox.prototype.setOnLoad=function(A){this.Ib=A;return this};mbox.prototype.setMessage=function(A){this.message=A;return this};mbox.prototype.setOnError=function(A){this.Hb=A;return this};mbox.prototype.setFetcher=function(A){if(this.Cb){this.Cb.cancel()}this.Cb=A;return this};mbox.prototype.getFetcher=function(){return this.Cb};mbox.prototype.load=function(A){if(this.Cb==null){return this}this.setEventTime("load.start");this.cancelTimeout();this.Bb=0;this.Cb.fetch(A&&A.length>0?this.w.clone().addParameters(A):this.w);var B=this;this.Lb=setTimeout(function(){B.Hb("browser timeout",B.Cb.getType())},15000);this.setEventTime("load.end");return this};mbox.prototype.loaded=function(){this.cancelTimeout();if(!this.activate()){var A=this;setTimeout(function(){A.loaded()},100)}};mbox.prototype.activate=function(){if(this.Bb){return this.Bb}this.setEventTime("activate"+ ++this.Fb+".start");if(this.show()){this.cancelTimeout();this.Bb=1}this.setEventTime("activate"+this.Fb+".end");return this.Bb};mbox.prototype.isActivated=function(){return this.Bb};mbox.prototype.setOffer=function(A){if(A&&A.show&&A.setOnLoad){this.Db=A}else{throw"Invalid offer"}return this};mbox.prototype.getOffer=function(){return this.Db};mbox.prototype.show=function(){this.setEventTime("show.start");var A=this.Db.show(this);this.setEventTime(A==1?"show.end.ok":"show.end");return A};mbox.prototype.showContent=function(A){if(A==null){return 0}if(this.vb==null||!this.vb.parentNode){this.vb=this.getDefaultDiv();if(this.vb==null){return 0}}if(this.vb!=A){this.Nb(this.vb);this.vb.parentNode.replaceChild(A,this.vb);this.vb=A}this.Ob(A);this.Ib();return 1};mbox.prototype.hide=function(){this.setEventTime("hide.start");var A=this.showContent(this.getDefaultDiv());this.setEventTime(A==1?"hide.end.ok":"hide.end.fail");return A};mbox.prototype.finalize=function(){this.setEventTime("finalize.start");this.cancelTimeout();if(this.getDefaultDiv()==null){if(this.hb.force()!=null){this.setMessage("No default content, an empty one has been added")}else{this.setMessage("Unable to locate mbox")}}if(!this.activate()){this.hide();this.setEventTime("finalize.end.hide")}this.setEventTime("finalize.end.ok")};mbox.prototype.cancelTimeout=function(){if(this.Lb){clearTimeout(this.Lb)}if(this.Cb!=null){this.Cb.cancel()}};mbox.prototype.getDiv=function(){return this.vb};mbox.prototype.getDefaultDiv=function(){if(this.Jb==null){this.Jb=this.hb.locate()}return this.Jb};mbox.prototype.setEventTime=function(A){this.Eb[A]=(new Date).getTime()};mbox.prototype.getEventTimes=function(){return this.Eb};mbox.prototype.getImportName=function(){return this.ib};mbox.prototype.getURL=function(){return this.w.buildUrl()};mbox.prototype.getUrlBuilder=function(){return this.w};mbox.prototype.Qb=function(A){return A.style.display!="none"};mbox.prototype.Ob=function(A){this.Rb(A,true)};mbox.prototype.Nb=function(A){this.Rb(A,false)};mbox.prototype.Rb=function(A,B){A.style.visibility=B?"visible":"hidden";A.style.display=B?"block":"none"};mboxOfferContent=function(){this.Ib=function(){}};mboxOfferContent.prototype.show=function(A){A=A.showContent(document.getElementById(A.getImportName()));if(A==1){this.Ib()}return A};mboxOfferContent.prototype.setOnLoad=function(A){this.Ib=A};mboxOfferAjax=function(A){this.Mb=A;this.Ib=function(){}};mboxOfferAjax.prototype.setOnLoad=function(A){this.Ib=A};mboxOfferAjax.prototype.show=function(A){var B=document.createElement("div");B.id=A.getImportName();B.innerHTML=this.Mb;A=A.showContent(B);if(A==1){this.Ib()}return A};mboxOfferDefault=function(){this.Ib=function(){}};mboxOfferDefault.prototype.setOnLoad=function(A){this.Ib=A};mboxOfferDefault.prototype.show=function(A){A=A.hide();if(A==1){this.Ib()}return A};mboxCookieManager=function(A,B){this.g=A;this.Ub=B==""||B.indexOf(".")==-1?"":"; domain="+B;this.Vb=new mboxMap;this.loadCookies()};mboxCookieManager.prototype.isEnabled=function(){this.setCookie("check","true",60);this.loadCookies();return this.getCookie("check")=="true"};mboxCookieManager.prototype.setCookie=function(A,D,C){if(typeof A!="undefined"&&typeof D!="undefined"&&typeof C!="undefined"){var B=new Object;B.name=A;B.value=escape(D);B.expireOn=Math.ceil(C+(new Date).getTime()/1000);this.Vb.put(A,B);this.saveCookies()}};mboxCookieManager.prototype.getCookie=function(A){return(A=this.Vb.get(A))?unescape(A.value):null};mboxCookieManager.prototype.deleteCookie=function(A){this.Vb.remove(A);this.saveCookies()};mboxCookieManager.prototype.getCookieNames=function(A){var B=new Array;this.Vb.each(function(C){if(C.indexOf(A)==0){B[B.length]=C}});return B};mboxCookieManager.prototype.saveCookies=function(){var A=new Array,C=0;this.Vb.each(function(E,D){A[A.length]=E+"#"+D.value+"#"+D.expireOn;if(C<D.expireOn){C=D.expireOn}});var B=new Date(C*1000);document.cookie=this.g+"="+A.join("|")+"; expires="+B.toGMTString()+"; path=/"+this.Ub};mboxCookieManager.prototype.loadCookies=function(){this.Vb=new mboxMap;var A=document.cookie.indexOf(this.g+"=");if(A!=-1){var E=document.cookie.indexOf(";",A);if(E==-1){E=document.cookie.indexOf(",",A);if(E==-1){E=document.cookie.length}}for(var A=document.cookie.substring(A+this.g.length+1,E).split("|"),E=Math.ceil((new Date).getTime()/1000),D=0;D<A.length;D++){var C=A[D].split("#");if(E<=C[2]){var B=new Object;B.name=C[0];B.value=C[1];B.expireOn=C[2];this.Vb.put(B.name,B)}}}};mboxSession=function(A,E,D,C,B){this.hc=E;this.qb=D;this.ic=C;this.J=B;this.jc=false;this.yb=typeof mboxForceSessionId!="undefined"?mboxForceSessionId:mboxGetPageParameter(this.hc);if(this.yb==null||this.yb.length==0){this.yb=B.getCookie(D);if(this.yb==null||this.yb.length==0){this.yb=A;this.jc=true}}B.setCookie(D,this.yb,C)};mboxSession.prototype.getId=function(){return this.yb};mboxSession.prototype.forceId=function(A){this.yb=A;this.J.setCookie(this.qb,this.yb,this.ic)};mboxPC=function(A,C,B){this.qb=A;this.ic=C;this.J=B;this.yb=typeof mboxForcePCId!="undefined"?mboxForcePCId:B.getCookie(A);if(this.yb!=null){B.setCookie(A,this.yb,C)}};mboxPC.prototype.getId=function(){return this.yb};mboxPC.prototype.forceId=function(A){if(this.yb!=A){this.yb=A;this.J.setCookie(this.qb,this.yb,this.ic);return true}return false};mboxGetPageParameter=function(A){var B=null,A=(new RegExp(A+"=([^&]*)")).exec(document.location);if(A!=null&&A.length>=2){B=A[1]}return B};mboxSetCookie=function(A,C,B){return mboxFactoryDefault.getCookieManager().setCookie(A,C,B)};mboxGetCookie=function(A){return mboxFactoryDefault.getCookieManager().getCookie(A)};mboxCookiePageDomain=function(){var A=/([^:]*)(:[0-9]{0,5})?/.exec(document.location.host)[1];if(!/[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}/.exec(A)){var B=/([^\.]+\.[^\.]{3}|[^\.]+\.[^\.]+\.[^\.]{2})$/.exec(A);if(B){A=B[0]}}return A?A:""};mboxShiftArray=function(A){for(var C=new Array,B=1;B<A.length;B++){C[C.length]=A[B]}return C};mboxGenerateId=function(){return(new Date).getTime()+"-"+Math.floor(Math.random()*999999)};mboxScreenHeight=function(){return screen.height};mboxScreenWidth=function(){return screen.width};mboxBrowserWidth=function(){return window.innerWidth?window.innerWidth:document.documentElement?document.documentElement.clientWidth:document.body.clientWidth};mboxBrowserHeight=function(){return window.innerHeight?window.innerHeight:document.documentElement?document.documentElement.clientHeight:document.body.clientHeight};mboxBrowserTimeOffset=function(){return -(new Date).getTimezoneOffset()};mboxScreenColorDepth=function(){return screen.pixelDepth};try{if(typeof mboxVersion=="undefined"){var mboxVersion=39,mboxFactories=new mboxMap,mboxFactoryDefault=new mboxFactory("mtvnetworks.tt.omtrdc.net","mtvnetworks","default")}if(mboxGetPageParameter("mboxDebug")!=null||mboxFactoryDefault.getCookieManager().getCookie("debug")!=null){setTimeout(function(){if(typeof mboxDebugLoaded=="undefined"){alert("Could not load the remote debug.\nPlease check your connection to Test&amp;Target servers")}},60*60);document.write('<script language="Javascript1.2" src="http://admin5.testandtarget.omniture.com/admin/mbox/mbox_debug.jsp?mboxServerHost=mtvnetworks.tt.omtrdc.net&clientCode=mtvnetworks"><\/script>')}}catch(e$$30){}mboxScPluginFetcher=function(A,B){this.b=A;this.qc=B};mboxScPluginFetcher.prototype.rc=function(A){A.setBasePath("/m2/"+this.b+"/sc/standard");this.sc(A);A=A.buildUrl();A+="&scPluginVersion=1";return A};mboxScPluginFetcher.prototype.sc=function(A){for(var C=["dynamicVariablePrefix","visitorID","vmk","ppu","charSet","visitorNamespace","cookieDomainPeriods","cookieLifetime","pageName","currencyCode","variableProvider","channel","server","pageType","transactionID","purchaseID","campaign","state","zip","events","products","linkName","linkType","resolution","colorDepth","javascriptVersion","javaEnabled","cookiesEnabled","browserWidth","browserHeight","connectionType","homepage","pe","pev1","pev2","pev3","visitorSampling","visitorSamplingGroup","dynamicAccountSelection","dynamicAccountList","dynamicAccountMatch","trackDownloadLinks","trackExternalLinks","trackInlineStats","linkLeaveQueryString","linkDownloadFileTypes","linkExternalFilters","linkInternalFilters","linkTrackVars","linkTrackEvents","linkNames","lnk","eo"],B=0;B<C.length;B++){this.uc(C[B],A)}for(B=1;B<=50;B++){this.uc("prop"+B,A);this.uc("eVar"+B,A);this.uc("hier"+B,A)}};mboxScPluginFetcher.prototype.uc=function(A,C){var B=this.qc[A];if(typeof B==="undefined"||B===null||B===""){return }C.addParameter(A,B)};mboxScPluginFetcher.prototype.cancel=function(){};mboxStandardScPluginFetcher=function(A,B){mboxScPluginFetcher.call(this,A,B)};mboxStandardScPluginFetcher.prototype=new mboxScPluginFetcher;mboxStandardScPluginFetcher.prototype.getType=function(){return"standard"};mboxStandardScPluginFetcher.prototype.fetch=function(A){A.setServerType(this.getType());A=this.rc(A);document.write('<script src="'+A+'" language="JavaScript"><\/script>')};mboxAjaxScPluginFetcher=function(A,B){mboxScPluginFetcher.call(this,A,B)};mboxAjaxScPluginFetcher.prototype=new mboxScPluginFetcher;mboxAjaxScPluginFetcher.prototype.fetch=function(A){A.setServerType(this.getType());A=this.rc(A);this.x=document.createElement("script");this.x.src=A;document.body.appendChild(this.x)};mboxAjaxScPluginFetcher.prototype.getType=function(){return"ajax"};function mboxLoadSCPlugin(A){if(!A){return null}A.m_tt=function(B){B=B.m_i("tt");B.H=true;B.b="mtvnetworks";B._t=function(){if(!this.isEnabled()){return }var C=this.xc();if(C){var D=mboxFactoryDefault.isDomLoaded()?new mboxAjaxScPluginFetcher(this.b,this.s):new mboxStandardScPluginFetcher(this.b,this.s);C.setFetcher(D);C.load()}};B.isEnabled=function(){return this.H&&mboxFactoryDefault.isEnabled()};B.xc=function(){var C=this.yc(),D=document.createElement("DIV");return mboxFactoryDefault.create(C,new Array,D)};B.yc=function(){return"SiteCatalyst: "+(this.s.events&&this.s.events.indexOf("purchase")!=-1?"purchase":"event")}};return A.loadModule("tt")}btg.Hcode=s_gi("");if(typeof btg.Hcode==="object"){btg.Hcode.setAccount=function(A){this.un=A}}if(typeof btg.Hcode==="object"){btg.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(cval+30*24*60*60*1000);s.c_w('s_nr',ct,e);return 'Repeat';}else return 'Repeat';")}if(typeof btg.Hcode==="object"){btg.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&&cd<fl){z=z+1}else{z=z};utc=cd.getTime()+(cd.getTimezoneOffset()*60000);tz=new Date(utc + (3600000*z));thisy=tz.getFullYear();var days=['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'];if(thisy!=s.currentYear){return'Data Not Available'}else{;thish=tz.getHours();thismin=tz.getMinutes();thisd=tz.getDay();var dow=days[thisd];var ap='AM';var dt='Weekday';var mint='00';if(thismin>30){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}}};");btg.Hcode.dstStart="03/13/2011";btg.Hcode.dstEnd="11/06/2011";btg.Hcode.currentYear=(new Date).getFullYear()}if(typeof btg.Hcode==="object"){btg.Hcode.getValOnce=new Function("v","c","e","var s=this,k=s.c_r(c),a=new Date;e=e?e:0;if(v){a.setTime(a.getTime()+e*86400000);s.c_w(c,v,e?a:0);}return v==k?'':v")}if(typeof btg.Hcode==="object"){btg.Hcode.getPreviousValue=new Function("v","c","el","var s=this,t=new Date,i,j,r='';t.setTime(t.getTime()+1800000);if(el){if(s.events){i=split(el,',');j=split(s.events,',');for(x in i){for(y in j){if(i[x]==j[y]){if(s.c_r(c)) r=s.c_r(c);v?s.c_w(c,v,t):s.c_w(c,'no value',t);return r}}}}}else{if(s.c_r(c)) r=s.c_r(c);v?s.c_w(c,v,t):s.c_w(c,'no value',t);return r}");var split=new Function("l","d","var i,x=0,a=new Array;while(l){i=l.indexOf(d);i=i>-1?i:l.length;a[x++]=l.substring(0,i);l=l.substring(i+d.length);}return a")}if(typeof btg.Hcode==="object"){btg.Hcode.getPercentPageViewed=new Function("","var s=this;if(typeof(s.linkType)=='undefined'||s.linkType=='e'){var v=s.c_r('s_ppv');s.c_w('s_ppv',0);return v;}");btg.Hcode.getPPVCalc=new Function("","var s=s_c_il["+btg.Hcode._in+"],dh=Math.max(Math.max(s.d.body.scrollHeight,s.d.documentElement.scrollHeight),Math.max(s.d.body.offsetHeight,s.d.documentElement.offsetHeight),Math.max(s.d.body.clientHeight,s.d.documentElement.clientHeight)),vph=s.wd.innerHeight||(s.d.documentElement.clientHeight||s.d.body.clientHeight),st=s.wd.pageYOffset||(s.wd.document.documentElement.scrollTop||s.wd.document.body.scrollTop),vh=st+vph,pv=Math.round(vh/dh*100),cp=s.c_r('s_ppv');if(pv>100){s.c_w('s_ppv','');}else if(pv>cp){s.c_w('s_ppv',pv);}");btg.Hcode.getPPVSetup=new Function("","var s=this;if(s.wd.addEventListener){s.wd.addEventListener('load',s.getPPVCalc,false);s.wd.addEventListener('scroll',s.getPPVCalc,false);s.wd.addEventListener('resize',s.getPPVCalc,false);}else if(s.wd.attachEvent){s.wd.attachEvent('onload',s.getPPVCalc);s.wd.attachEvent('onscroll',s.getPPVCalc);s.wd.attachEvent('onresize',s.getPPVCalc);}");btg.Hcode.getPPVSetup()}if(typeof btg.Hcode==="object"){btg.Hcode.getQueryParam=new Function("p","d","u","var s=this,v='',i,t;d=d?d:'';u=u?u:(s.pageURL?s.pageURL:s.wd.location);if(u=='f')u=s.gtfs().location;while(p){i=p.indexOf(',');i=i<0?p.length:i;t=s.p_gpv(p.substring(0,i),u+'');if(t){t=t.indexOf('#')>-1?t.substring(0,t.indexOf('#')):t;}if(t)v+=v?d+t:t;p=p.substring(i==p.length?i:i+1)}return v");btg.Hcode.p_gpv=new Function("k","u","var s=this,v='',i=u.indexOf('?'),q;if(k&&i>-1){q=u.substring(i+1);v=s.pt(q,'&','p_gvf',k)}return v");btg.Hcode.p_gvf=new Function("t","k","if(t){var s=this,i=t.indexOf('='),p=i<0?t:t.substring(0,i),v=i<0?'True':t.substring(i+1);if(p.toLowerCase()==k.toLowerCase())return s.epa(v)}return ''")}if(typeof btg.Hcode==="object"){btg.Hcode.trackTNT=function(A,E,D){var A=A?A:"s_tnt",C="",B=false,D=D?D:true;if(this.getQueryParam){B=this.getQueryParam(E?E:"s_tnt")}if(B){C+=B+","}if(this.wd[A]!=undefined){C+=this.wd[A]}if(D){this.wd[A]=""}return C}}btg.MediaPlayer={context:null,playerCommandQueue:null,isHtml5:false,html5MetaData:{},init:function(A){this.context=A;this.playerCommandQueue=new btg.QueueManager({id:"btg.MediaPlayer.playerCommandQueue",timeToWait:100,maxNumItems:10,maxElapsed:1000,handler:this.execute})},playStarted:false,players:[],addPlayer:function(A,C){var B=this.isHtml5?A.id:A;this.players[B]=new this.Player(A,C);return this.players[B]},setEndSlateClick:function(A){var C=btg.Cookie.set,B=btg.config.Omniture;C("mtvn_btg_tnt",(A&&typeof B.enableTestAndTarget=="boolean"&&B.enableTestAndTarget?btg.TestAndTarget.getCampaignId():"")+"_"+(typeof feedEndslate!="undefined"&&feedEndslate));C("mtvn_btg_esclicked",A)},getEndSlateClick:function(){return btg.Cookie.read("mtvn_btg_esclicked")},PlayerController:function(A,B){return this.addPlayer(A,B)},pause:function(){var A=btg.MediaPlayer,B;for(B in A.players){if(A.players.hasOwnProperty(B)){A.players[B].player.pause()}}},unpause:function(){var A=btg.MediaPlayer,B;for(B in A.players){if(A.players.hasOwnProperty(B)){if(A.players[B].player.unpause){A.players[B].player.unpause()}else{if(A.players[B].player.play){A.players[B].player.play()}}}}},execute:function(A){var B=btg.MediaPlayer;if(B.playStarted){switch(A){case"unpause":B.unpause();break;case"pause":B.pause()}}else{B.playerCommandQueue.queue.push(A)}},reportingInit:function(){try{btg.config.Omniture.videoViewEventDisable=true;btg.Demdex.sendIdSyncCall()}catch(A){}},getFirstPartyServer:function(){var A=null;if(btg.config.Omniture.enableFirstPartyCookie){A=btg.Environment.getCnamedDomain()}return A},getVmnUUID:function(){return btg.Cookie.read("vmn_uuid")},setDemdexFWSegment:function(){var A=btg.Demdex.getFWSegment(),C=btg.MediaPlayer;if(A){for(var B in C.players){if(C.players.hasOwnProperty(B)&&C.players[B].player&&C.players[B].player.setDemdexFWSegment){C.players[B].player.setDemdexFWSegment(A)}}}},Player:function(b,c){var d=btg.Controller,e=btg.Cookie,f=btg.TestAndTarget,g=btg.MediaPlayer,h=btg.config;this.playerId=this.isHtml5?b.id:b;this.player=this.lastGuid=null;this.playerLoaded=false;this.onLoadFunctionName=c;this.onLoaded=function(){this.player=g.getPlayerObject(b);g.addListeners(this.player);this.playerLoaded=true;var c=eval(this.onLoadFunctionName);if(typeof c=="function"){c(this)}};this.onDump=function(){};this.dump=function(){var b="";if(this.playerLoaded){b=this.player.getLogDump()}else{b="player not loaded"}this.onDump(b)};this.onPlayHeadUpdate=function(b){b=g.isHtml5?b.data:b;if((b=b==-1||b==null||typeof b=="undefined"?1.5:b)&&b>1){if(!g.playStarted){g.playStarted=true;g.playerCommandQueue.init()}}};this.onMetaData=function(b){if(btg.MediaPlayer.isHtml5){try{html5MetaData=b={guid:b.data.rss.guid,contentType:b.data.rss.group.categories.contentType}}catch(c){}}if(location.search.match(/showMetaData\=true/)){str="";for(m in b){str+=m+": "+b[m]+"\n"}alert(this.lastGuid+"\n\n\n"+str)}var n="",o=document.location.search,p=o.toLowerCase().indexOf("xrs=mpes_")!=-1?true:false,u=b.contentType==="c3_adpod";if(p){for(var o=o.replace(/^\?/g,"").split("&"),p=0,l=o.length;p<l;p++){if(o[p].split("=")[0]=="xrs"){n=btg.String.isDefined(o[p].split("=")[1])?o[p].split("=")[1]:""}}}if(b.guid&&this.lastGuid!==b.guid){n={linkName:"Video View",linkType:"o",eVar28:b.contentType,events:"event15"+(g.getEndSlateClick()=="true"?",event45":""),campaign:n};if(typeof h.Omniture.enableTestAndTargetTrial!="undefined"&&h.Omniture.enableTestAndTargetTrial){o=(p=e.read("mtvn_btg_tnt"))?p.split("_")[0]:"";p=p?p.split("_")[1]:"false";if(g.getEndSlateClick()=="true"&&o!=""){if(p.toString()=="true"){f.convertMbox(location.href&&location.href.match(/[\?#&]id=[^&]/gi)?"editorialplaylist":"dynamicplaylist")}else{f.convertMbox("endslatevideoloaded")}}f.convertMbox("endSlateGating")}e.set("mtvn_btg_tnt","");if(typeof btg.UserSegment!="undefined"){btg.UserSegment.add(g.context,"VideoViewer");if(u){btg.UserSegment.add(btg.MediaPlayer.context,"C3VideoViewer")}}if(typeof h.Omniture.videoViewEventDisable!="undefined"&&h.Omniture.videoViewEventDisable){n.events=n.events.replace(/event15(,)?/gi,"");n.eVar28=""}else{g.setEndSlateClick("false");d.sendLinkEvent(n)}}this.lastGuid=b.guid};this.onEndslateLoad=function(){if(typeof this.onEndslateFired!="undefined"){return }else{this.onEndslateFired=true}if(typeof btg.UserSegment!="undefined"){btg.UserSegment.add(g.context,"EndslateViewer")}d.sendLinkEvent({linkName:"Endslate View",linkType:"o",events:"event44"});if(typeof h.Omniture.enableTestAndTargetTrial!="undefined"&&h.Omniture.enableTestAndTargetTrial){f.convertMbox("endslateload")}}},getPlayerObject:function(A){if(btg.MediaPlayer.isHtml5){A=A}else{if(navigator.appName.indexOf("Microsoft")){A=window[A]?window[A]:document[A]?document[A]:null}else{A=document[A]?document[A]:window[A]?window[A]:null}if(A&&typeof A.length!="undefined"){for(var B in A){if(typeof A[B].pause!="undefined"){A=A[B];break}}}}return A},addListeners:function(A){if(btg.MediaPlayer.isHtml5){A.addEventListener("onMetadata",btg.MediaPlayer.players[A.id].onMetaData);A.addEventListener("onPlayheadUpdate",btg.MediaPlayer.players[A.id].onPlayHeadUpdate)}else{A.addEventListener("METADATA",'btg.MediaPlayer.players["'+A.id+'"].onMetaData');A.addEventListener("ENDSLATE_CLICK",'btg.MediaPlayer.players["'+A.id+'"].onEndslateLoad');A.addEventListener("PLAYHEAD_UPDATE",'btg.MediaPlayer.players["'+A.id+'"].onPlayHeadUpdate');if(A.addReportingEventListener){A.addReportingEventListener("DEMDEXVIDEOSTARTCALL","btg.Demdex.sendPageCall");A.addReportingEventListener("DEMDEXVIDEOENDCALL","btg.Demdex.sendPageCall");A.addReportingEventListener("DEMDEXEMBED","btg.Demdex.sendSocialCall");A.addReportingEventListener("DEMDEXLINK","btg.Demdex.sendSocialCall");A.addReportingEventListener("DEMDEXSHARE","btg.Demdex.sendSocialCall");A.addReportingEventListener("REPORTINGINIT","btg.MediaPlayer.reportingInit");A.addReportingEventListener("FIRSTPARTYSERVER","btg.MediaPlayer.getFirstPartyServer");A.addReportingEventListener("VMNUUID","btg.MediaPlayer.getVmnUUID");A.addReportingEventListener("ENDSLATECLICK","btg.MediaPlayer.setEndSlateClick")}}},onWindowLoaded:function(){var A=btg.MediaPlayer,B=window.mtvnPlayerLoaded;window.mtvnPlayerLoaded=function(D){var C;if(btg.Object.isDefined(D)){A.isHtml5=true;C=D.id;if(D.isFlash){A.isHtml5=false;D=D.id}}else{C=D}if(typeof B!="undefined"){B(C)}if(!A.isHtml5&&typeof document.getElementById(C)=="undefined"){return }if(typeof A.players[C]=="undefined"){A.addPlayer(D)}A.players[C].onLoaded()}}};try{btg.MediaPlayer.onWindowLoaded();var MTVNPlayer=MTVNPlayer||{};MTVNPlayer.addCallback=function(A){this.onAPIReady=function(B){return B?function(){B();A()}:A}(this.onAPIReady)};MTVNPlayer.addCallback(function(A){return function(){MTVNPlayer.onPlayer(A)}}(mtvnPlayerLoaded))}catch(e$$38){}btg.AdManager=new function(){var R=btg.Object,Q=R.copyProperties,P=btg.String.isDefined,O=R.isConfigDefined,N=btg.String.stripFileExtension,M=btg.Math.random,L=btg.globalvars,K=false,J=false,H=false,G=false,F=false,C=30000,I,E=[],A=new btg.DependencyManager(7000);A.add("demdex_data",function(){return !btg.config.Demdex||!btg.config.Demdex.enabled||btg.Object.isDefined(btg.Demdex.data)},100,true);A.add("uuid",function(){return btg.Cookie.read("vmn_uuid")!=null},100,true);this.groupedReloadableAdsCounter=this.groupedReloadableAdsTotal=0;var D={};D.tile=0;D.ord=M(100000000000000000,1000000000000000000);var B=[{name:"DoubleClick",url:"http://ad.doubleclick.net/",reportEvent:"event79"},{name:"FreeWheel",url:"http://140cc.v.fwmrm.net/",reportEvent:"event80"}];this.reloadableAds={};this.init=function(){I=btg.config;if(I.reloadableAds&&I.reloadableAds===true){F=true}if(I.reloadInterval&&!isNaN(parseInt(I.reloadInterval))){I.reloadInterval=parseInt(I.reloadInterval);if(I.reloadInterval>=10000){C=I.reloadInterval}}var S={};if(O(I.DoubleClick)){if(I.DoubleClick.type&&I.DoubleClick.type.toLowerCase()=="international"){I.International={};Q(I.DoubleClick,I.International)}else{if(I.DoubleClick.type&&I.DoubleClick.type.toLowerCase()=="domestic"){I.International={}}}K=true;if(P(I.DoubleClick.sections)){I.DoubleClick.sections=N(I.DoubleClick.sections);S.sections=I.DoubleClick.sections}else{this.setDefaultSections();if(P(D.sections)){S.sections=D.sections}}S.dartSite=I.DoubleClick.dartSite}if(O(I.FreeWheel)){J=true}if(O(I.International)){H=true;if(P(I.International.sections)){I.International.sections=N(I.International.sections);S.sections=I.International.sections}else{this.setDefaultSections();if(P(D.sections)){S.sections=D.sections}}S.dartSite=I.International.dartSite}if(O(I.QuantCast)){G=true}if(G){PlatoAd=new btg.DomesticDc(I.DoubleClick);dmobj={size:"728x90",contentType:"adj"};dmobj.sections=S.sections;if(P(I.QuantCast.vertical)){PlatoAd.setKeyValues("vertical="+I.QuantCast.vertical)}PlatoAd.init(dmobj);PlatoAd.getUrl();if(btg.QuantCast){btg.QuantCast.Ads.setLabels(S,PlatoAd.getSections())}}this.check4BlockedAds();S=this.getAdsBHCookie("mtvn_btg_adshidden");if(S<2){btg.Cookie.set("mtvn_btg_adshidden",++S);btg.Events.adLoaded.subscribe(this.checkStyle)}};this.getAdsBHCookie=function(S){var T="",S=btg.Cookie.read(S);if(S!=null){T=parseInt(S)}else{T=0}return T};this.sendAdBlockedRepCall=function(){btg.Cookie.set("mtvn_btg_adsblocked",this.getAdsBHCookie("mtvn_btg_adsblocked")+1);for(var S=[],V=[],U=0,T=B.length;U<T;U++){if(B[U].isBlocked===true){S.push(B[U].name);V.push(B[U].reportEvent)}}if(S.length>0){S=S.join(" and ");btg.Controller.sendLinkEvent({linkName:S+" Blocked",linkType:"o",eVar55:S+" Blocked",events:V.join()});btg.Cookie.set("mtvn_btg_adsblocked",2)}};this.blockCallback=function(S){for(var V=0,U=0,T=B.length;U<T;U++){if(S.url==B[U].url){if(typeof S.fail!="undefined"&&S.fail===true){B[U].isBlocked=true}else{B[U].isBlocked=false}}if(typeof B[U].isBlocked!="undefined"){V++}}if(V==B.length){btg.AdManager.sendAdBlockedRepCall()}};this.check4BlockedAds=function(){if(navigator.userAgent.indexOf("MSIE")!=-1){return }var S=this.getAdsBHCookie("mtvn_btg_adsblocked");if(S>=2){}else{if(S<2){for(var S=0,T=B.length;S<T;S++){new btg.Ajax({method:"POST",onSuccess:this.blockCallback,onFail:this.blockCallback,autoSend:true,url:B[S].url})}}}};this.sendAdHiddenRepCall=function(){if(this.getAdsBHCookie("mtvn_btg_adshidden")>=2){return }btg.Controller.sendLinkEvent({linkName:"DoubleClick Hidden",linkType:"o",eVar55:"DoubleClick Hidden",events:B[0].reportEvent});btg.Cookie.set("mtvn_btg_adshidden",2)};this.checkStyle=function(S){try{var V=document.getElementById(S),U=V.tagName.toLowerCase()=="iframe"?V:V.parentNode;if(btg.DOM.getStyle(U,"display")=="none"||btg.DOM.getStyle(U,"visibility")=="hidden"){btg.AdManager.sendAdHiddenRepCall()}}catch(T){}};this.addUuid=function(S){var U=btg.Cookie.read("vmn_uuid"),T=btg.config.DoubleClick.keyValues;if(U!=null){U="u="+U;if(btg.String.isDefined(S.keyValues)){S.keyValues+=S.keyValues.lastIndexOf(";")==S.keyValues.length-1?U+";":";"+U+";"}else{if(btg.String.isDefined(T)){S.keyValues=T.lastIndexOf(";")==T.length-1?T+U+";":T+";"+U+";"}else{S.keyValues=U+";"}}}return S};this.addDemdexVals=function(S){if(btg.Object.isDefined(btg.Demdex.data&&btg.Demdex.data.stuff)){for(var W=btg.Demdex.data.stuff,V=btg.config.DoubleClick.keyValues,T=0,U=W.length;T<U;T++){if(btg.Object.isDefined(W[T])&&btg.String.isDefined(W[T].cn)&&W[T].cn=="dfp"&&btg.String.isDefined(W[T].cv)){W=W[T].cv.split(",").join(";");if(btg.String.isDefined(S.keyValues)){S.keyValues+=S.keyValues.lastIndexOf(";")==S.keyValues.length-1?W+";":";"+W+";"}else{if(btg.String.isDefined(V)){S.keyValues=V.lastIndexOf(";")==V.length-1?V+W+";":V+";"+W+";"}else{S.keyValues=W+";"}}break}}}return S};this.placeAd=function(S,U){btg.Controller.init();if(btg.config.defferedAdLoading&&!U){this.placeAdTag(S)}else{if(typeof L.IS_CODA_ADS_USED!="undefined"&&L.IS_CODA_ADS_USED==false){L.IS_CODA_ADS_USED=true}if(S.size=="6x6"){if(btg.Cookie.read("vmn_poe")==null){btg.Cookie.set("vmn_poe","6x6")}else{return }}var T=this.getAd(S);if(S.isReloadable===true||F&&S.isReloadable!==false){if(T.setContentType){T.setContentType("adi")}T.reloadInterval=C;if(S.reloadInterval&&!isNaN(parseInt(S.reloadInterval))){T.needUniqueOrd=true;S.reloadInterval=parseInt(S.reloadInterval);if(S.reloadInterval>=10000){T.reloadInterval=S.reloadInterval}}else{this.groupedReloadableAdsTotal++;this.groupedReloadableAdsCounter++}if(T.reloadTimer){clearInterval(T.reloadTimer);T.reloadTimer=null}T.reloadTimer=setInterval(function(){btg.AdManager.reloadAd(T)},T.reloadInterval)}if(T!=null){T.placeAd(S);return T}else{document.write("[ERROR: Ad not created, please check your config to enable CODA ads]");return null}}};this.placeAdTag=function(S){var T=btg.config;T.adSetup=T.adSetup||[];S.adId="btgAd_"+T.adSetup.length;T.adSetup[T.adSetup.length]=S;document.write("<div id='"+S.adId+"'></div>")};this.placeAllAds=function(){if(A.hasDependency()){A.addToCallQueue(this,btg.AdManager.placeAllAds);return }var S=btg.config.adSetup;if(S){for(var U=0,T=S.length;U<T;U++){S[U].contentType="adi";if(S[U].adId.match(/btgad_/ig)){this.placeAd(S[U],true)}else{if(console&&console.log){console.log("Please provide adId in std format. Ex. 'btgAd_1'.")}}}}};this.adLoadNotify=function(S){if(typeof btg.Events.adLoaded!="undefined"){btg.Events.adLoaded.fire(S)}};this.setAdReloadOrdByGroup=function(S){if(S.needUniqueOrd===true){S.setOrd(M(100000000000000000,1000000000000000000))}else{if(this.groupedReloadableAdsCounter>=this.groupedReloadableAdsTotal&&this.groupedReloadableAdsCounter%this.groupedReloadableAdsTotal==0){D.ord=M(100000000000000000,1000000000000000000)}S.setOrd(D.ord);this.groupedReloadableAdsCounter++}};this.reloadAd=function(U){var S=R.isDefined;if(S(U)&&P(U.id)&&S(self.frames[U.id])){U.setContentType("adi");this.setAdReloadOrdByGroup(U);try{self.frames[U.id].location.replace(U.getUrl())}catch(T){}}};this.reloadAll=function(){var S=E.length,W=btg.FreeWheelAdInterface.fwAds,V=W.length;D.ord=M(100000000000000000,1000000000000000000);for(var T=0;T<S;T++){var U=E[T];U.setOrd(D.ord);this.reloadAd(U);if(U.reloadTimer){clearInterval(U.reloadTimer);U.reloadTimer=null;U.reloadTimer=setInterval(function(){btg.AdManager.reloadAd(U)},U.reloadInterval)}}for(T=0;T<V;T++){U=W[T];U.dcAd.setOrd(D.ord);U.reload();U.startReloadTimer()}return this};this.getData=function(){return D};this.setDefaultSections=function(S){S=P(S)?S:btg.Sections.getAdSections();if(P(S)){D.sections=N(S)}};this.getAd=function(S){this.init();var T;if(btg.Object.isConfigDefined(btg.config.Demdex)){S=this.addDemdexVals(S)}S=this.addUuid(S);if(H){T=new btg.InternationalDc(I.International);D.tile++;if(P(S.sections)){S.sections=N(S.sections)}Q(D,S);T.init(S);E.push(T)}else{if(J){T=new btg.FreeWheelAd(I);D.tile++;if(P(S.sections)){S.sections=N(S.sections)}Q(D,S);T.init(S);E.push(T)}else{if(K){T=new btg.DomesticDc(I.DoubleClick);D.tile++;if(P(S.sections)){S.sections=N(S.sections)}Q(D,S);T.init(S);E.push(T)}else{document.write("<!-- [ERROR: Ads not enabled. Please check your config or placeAd() method call!] -->");return null}}}return T};this.getAds=function(){return E};this.getAdUrl=function(S){return this.getAd(S).getUrl()};this.setTile=function(S){D.tile=S}};btg.FreeWheelAd=function(A){this.isStr=btg.String.isDefined;this.config=A;this.type="FreeWheelAd";this.fwType="DART";this.slotId="fwph_";this.reloadable=false;this.reloadTime=30000;this.needUniqueOrd=this.isGroupedByOrd=false};btg.FreeWheelAd.prototype={placeAd:function(A){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 C="slid=";C+=this.slotId;C+="&ptgt=s&envp=g_iframe_js&w=";C+=this.realWidth;C+="&h=";C+=this.realHeight;var B="";B+='<span id="'+this.slotId+'" class="_fwph">';B+='<form id="_fw_form_'+this.slotId+'" style="display:none;">';B+='<input type="hidden" name="_fw_input_'+this.slotId+'" id="_fw_input_'+this.slotId+'" value="'+C+'" />';B+="</form>";B+='<span id="_fw_container_'+this.slotId+'" class="_fwac">';B+='<span id="fwCustom_'+this.slotId+'" name="fwCustom_'+this.slotId+'" class="fwCustomAll" style="width:'+this.realWidth+"px;height:"+this.realHeight+'px;display:block;"></span></span>';B+="</span>";if(btg.globalvars.IS_TOP_ACCESSIBLE&&btg.String.queryStringToObject(top.location.search).mockupMode=="true"){B=btg.String.mockItUp(B)}if(btg.config.defferedAdLoading){if(A=document.getElementById(A.adId)){A.innerHTML=B}else{document.write(B)}}else{document.write(B)}btg.FreeWheelAdInterface.fwAds[this.slotId]=this;btg.DOM.Events.addListener(window,"load",this.timerToPlayAd)}else{if(this.fwType=="DART"){this.dcAd=new btg.DomesticDc(this.config.DoubleClick);this.dcAd.init(this.initData);this.dcAd.placeAd(A)}else{new btg.Alert("FreeWheel ad type not recognized.")}}},timerToPlayAd:function(){setTimeout(function(){var A=false,B;for(B in btg.MediaPlayer.players){A=true;break}if(A){setTimeout(btg.FreeWheelAdInterface.forcedPlayAd,btg.globalvars.FORCE_AD_WAIT_TIME.PLAYER_LOADED)}else{setTimeout(btg.FreeWheelAdInterface.forcedPlayAd,btg.globalvars.FORCE_AD_WAIT_TIME.PLAYER_FAILED)}},btg.globalvars.FORCE_AD_WAIT_TIME.PLAYER_LOAD_WAIT_TIME)},setContentType:function(){},init:function(A){this.initData=A;if(this.isStr(A.size)){this.size=A.size}else{this.size="[ERROR: Size Not Defined!]";new btg.Alert("FreeWheel ad size not defined.")}if(this.isStr(A.realSize)){this.realSize=A.realSize}else{this.realSize=this.size}this.slotId+=A.tile;if(this.isStr(this.config.FreeWheel.type)){this.fwType=this.config.FreeWheel.type.toUpperCase()}if(this.config.FreeWheel.reloadable||A.isReloadable){this.reloadable=true;this.reloadTime=30000;if(this.config.FreeWheel.reloadTime&&!isNaN(parseInt(this.config.FreeWheel.reloadTime))&&parseInt(this.config.FreeWheel.reloadTime)>=10000){this.reloadTime=parseInt(this.config.FreeWheel.reloadTime);this.isGroupedByOrd=true}if(A.reloadInterval&&!isNaN(parseInt(A.reloadInterval))&&parseInt(A.reloadInterval)>=10000){this.reloadTime=parseInt(A.reloadInterval);if(this.isGroupedByOrd===true){this.isGroupedByOrd=false}this.needUniqueOrd=true}if(this.isGroupedByOrd===true){btg.AdManager.groupedReloadableAdsTotal++;btg.AdManager.groupedReloadableAdsCounter++}}},reload:function(){var A="_fw_frame_"+this.slotId,F=document.getElementById(A),E=document.getElementById("fwCustom_"+this.slotId);if(!btg.Object.isDefined(this.dcAd)){this.dcAd=new btg.DomesticDc(this.config.DoubleClick);this.dcAd.init(this.initData)}if(!this.isStr(this.dcAd.id)){this.dcAd.setId("ad"+this.dcAd.tile)}this.dcAd.needUniqueOrd=this.needUniqueOrd;if(F!=null){btg.AdManager.setAdReloadOrdByGroup(this.dcAd)}this.dcAd.setContentType("adi");A='<iframe allowtransparency="true" style="display:inline;width:'+this.realWidth+"px;height:"+this.realHeight+'px;border:0px;z-index:99;border-width:0px;" onload="btg.AdManager.adLoadNotify(\''+this.dcAd.id+'\');" id="'+A+'" name="'+A+'" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" width="'+this.realWidth+'" height="'+this.realHeight+'" src="'+this.dcAd.getUrl()+'"></iframe>';if(F==null&&E!=null){E.style.border="0px";E.style.backgroundColor="transparent";try{E.innerHTML=A}catch(D){}}else{if(F!=null){if(F.parentElement){try{F.parentElement.innerHTML=A}catch(C){}}else{if(F.parentNode){try{F.parentNode.innerHTML=A}catch(B){}}}}}},startReloadTimer:function(){if(this.reloadable){var A=this;if(this.reloadTimer){clearInterval(this.reloadTimer);this.reloadTimer=null}this.reloadTimer=setInterval(function(){A.reload()},this.reloadTime)}}};btg.FreeWheelAdInterface=new function(){var A=btg.String;this.fwAds=[];this.getFallbackDisplayHTML=function(J,I){for(var H=A.isDefined,G="",F=this.fwAds[J],E=I.split(","),D="",C=0,B=E.length;C<B;C++){if(H(E[C])){D+=";!category="+E[C]}}F.dcAd=new btg.DomesticDc(F.config.DoubleClick);if(H(F.initData.keyValues)){F.initData.keyValues+=D}else{F.initData.keyValues=D}F.initData.contentType="adj";F.dcAd.init(F.initData);if(F.reloadable){F.startReloadTimer()}if(!H(F.dcAd.id)){F.dcAd.setId("ad"+F.dcAd.tile)}G+='<script type="text/javascript"  id="'+F.dcAd.id+"\" onreadystatechange=\"if(this.readyState=='complete')parent.btg.AdManager.adLoadNotify('"+F.dcAd.id+"');\" onload=\"parent.btg.AdManager.adLoadNotify('"+F.dcAd.id+'\');" src="';G+=F.dcAd.getUrl();G+='"><\/script>';return G};this.forcedPlayAd=function(){var H=btg.FreeWheelAdInterface,G=btg.globalvars,F=A.queryStringToObject,E=false,D=false,C,B=G.IS_LIVE_ENV;if(G.IS_TOP_ACCESSIBLE){if(F(top.location.search).fwFailSafe=="true"){C=true}else{if(F(top.location.search).fwFailSafe=="false"){C=false}}}if(C==true){E=true;if(B==true){D=true}}else{if(C==false){E=false}else{if(B==true){D=E=true}}}if(G.IS_TOP_ACCESSIBLE&&F(top.location.search).mockupMode=="true"){D=E=false}if(E==true){for(i in H.fwAds){if(document.getElementById("_fw_frame_"+i)==null){if(H.fwAds[i].reloadable){H.fwAds[i].startReloadTimer()}H.fwAds[i].reload()}else{D=false}}if(D==true){new btg.Alert("Freewheel failsafe method used.",1)}}}};var mtvn=typeof mtvn==="object"?mtvn:{};mtvn.btg=typeof mtvn.btg==="object"?mtvn.btg:{};mtvn.btg.ads=typeof mtvn.btg.ads==="object"?mtvn.btg.ads:{};mtvn.btg.ads.FreeWheelAdInterface=btg.FreeWheelAdInterface;btg.DoubleClick=function(A){this.isStr=btg.String.isDefined;this.isObj=btg.Object.isDefined;this.gv=btg.globalvars;this.qsToObj=btg.String.queryStringToObject;this.mockItUp=btg.String.mockItUp;if(this.isObj(A)){this.config=A}this.server="ad.doubleclick.net";this.ssl=false;this.contentType="adj";this.mediaType="standard";this.keyValues="";this.zoneOverride=null;this.additionalKeyValues=[];this.exclusions=[];this.reservedKeyValues={};if(this.isObj(A)){this.autoDcopt=A.autoDcopt?true:false}if(this.isObj(btg.AdManager)&&!btg.AdManager.dcoptOn){btg.AdManager.dcoptOn=false}this.isDevEnv=false;if(btg.globalvars.IS_TOP_ACCESSIBLE&&top.location.hostname.indexOf("mtvi.com")>-1){this.isDevEnv=true}if(this.isObj(A)){for(var B in A){if(this.isStr(A[B])&&(typeof A[B]=="string"||typeof A[B]=="number")){if(B=="sections"){this.setSections(A[B])}else{if(B=="keyValues"){this.setKeyValues(A[B])}else{if(B=="positionThreshold"){this.setPositionThreshold(A[B])}else{this[B]=A[B]}}}}}}};btg.DoubleClick.prototype={formatUrl:function(A){var B="",B=A.dartSite+"/"+A.zone+";";if(B.length>64){A.zone=A.zone.substring(0,A.zone.length-(B.length-64))}B=[[A.protocol+A.server,A.contentType,A.dartSite,A.zone].join("/"),A.sections];if(this.isStr(A.keyValues)){B.push(A.keyValues)}if(A.ord>0){B.push("ord="+A.ord+"?")}return B=B.join(";")},setKeyValues:function(A){A=A.replace(/[^\w=!;|-]/g,"_");this.keyValues=A.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="))}}},setZoneOverride:function(A){this.zoneOverride=A},setId:function(A){this.id=A},setServer:function(A){this.server=A},setSsl:function(){this.ssl=true},setDartSite:function(A){if(btg.Environment.getPlatform()=="desktop"){this.dartSite=A}else{this.dartSite="tabletdart."+A}},setContentType:function(A){this.contentType=A},setMediaType:function(A){this.mediaType=A},setPosition:function(A){this.position=A},setSections:function(A){for(var A=A=="/"?A:btg.String.charTrim(A,"/"),D=this.isObj(btg.config)&&this.isStr(btg.config.defaultIndexFileName)?btg.config.defaultIndexFileName:"index",D=btg.String.stripFileExtension(D),D=["/",D,"home/"+D],C=0,B=D.length;C<B;C++){if(A.indexOf(D[C])==0&&A.length==D[C].length){A=A.replace(D[C],"_hp");break}}for(A=A.replace(/[^\/\w=!;|-]/g,"_");A.match(/\/\d/);){A=A.replace(/\/\d/,RegExp.lastMatch.substring(0,1)+"_"+RegExp.lastMatch.substring(1,2))}A=A.replace(/^\d/,"_"+A.match(/^\d/,"_"));this.sections=A.replace(/^\/+|\/+$/g,"");if(this.sections.indexOf(".")>-1){this.sections=this.sections.split(".")[0]}},setSize:function(A){this.size=A},setRealSize:function(A){this.realSize=A},setTile:function(A){this.tile=A},setPositionThreshold:function(A){if(isNaN(parseInt(A))){this.positionThreshold=null}else{this.positionThreshold=parseInt(A)}},setOrd:function(A){this.ord=A},setPartner:function(A){this.partner=A},addExclusionCategory:function(A){var A=A.replace(/^;+|;+$/g,""),D=false;if(this.exclusions.length>0){for(var C=0,B=this.exclusions.length;C<B;C++){if(this.exclusions[C].match(new RegExp("category="+A,"ig"))){D=true;break}}if(!D){this.exclusions.push("!category="+A)}}else{this.exclusions.push("!category="+A)}},addKeyValues:function(A){if(this.isStr(A)&&A.indexOf("=")>-1){this.additionalKeyValues.push(A)}},appendKeyValue:function(A,B){if(!this.isStr(A)){A=""}if(!this.isStr(B)){B=""}A=A.replace(/^;+|;+$/g,"");B=B.replace(/^;+|;+$/g,"");if(A.indexOf("=")>-1){B+=";"+A}return B=B.replace(/^;+|;+$/g,"")},removeKeyValue:function(A){if(this.isStr(this.getKeyValue(A))){var B=";"+A+this.getKeyValue(A);if(this.keyValues.indexOf(B)==-1){B=A+this.getKeyValue(A)+";";if(this.keyValues.indexOf(B)==-1){B=A+this.getKeyValue(A)}}this.keyValues=this.keyValues.replace(new RegExp(B,"g"),"");this.removeKeyValue(A)}},getProtocol:function(){return this.ssl?"https://":"http://"},getPosition:function(){var A="unk";if(this.isStr(this.position)){if(this.position.indexOf("atf")>-1){A="atf"}else{if(this.position.indexOf("btf")>-1){A="btf"}}}else{if(this.isStr(this.positionThreshold)){A=this.tile<=this.positionThreshold?"atf":"btf"}}return A},getKeyValue:function(A){var B;if(this.keyValues.indexOf(A)>-1){A=this.keyValues.split(A);if(A.length>0){if(A[1].indexOf(";")>-1){B=A[1].substring(0,A[1].indexOf(";"))}else{B=A[1]}}}return B},getSections:function(){return this.sections},getContentTypeAbbreviation:function(){var A="";if(this.contentType=="pfadx"){A="p"}if(this.contentType=="adj"){A="j"}if(this.contentType=="adi"){A="i"}if(this.contentType=="adx"){A="x"}if(this.contentType=="ad"){A="a"}return A},getExclusions:function(){return this.exclusions.join(";")},isValidDcopt:function(A){var D=false;if(this.isStr(A)){for(var C=0,B=btg.globalvars.VALID_DCOPT.length;C<B;C++){if(A==btg.globalvars.VALID_DCOPT[C]){D=true;break}}}return D},formatReserved:function(){for(var A=this.keyValues,F=["dcmt","dcopt","dcove"],E=0,D=F.length;E<D;E++){if(A.indexOf(F[E]+"=")>-1){for(var C=this.getKeyValue(F[E]+"="),A=A.split(F[E]+"="+C),B=0,D=A.length;B<D;B++){A[B]=A[B].replace(/^;+|;+$/g,"")}if(F[E]=="dcopt"&&this.isValidDcopt(C)!=true){this.keyValues=A.join(";");return this.formatReserved()}this.reservedKeyValues[F[E]]=C;A=A.join(";")}}if(A.lastIndexOf(";")==A.length-1){A=A.substring(0,A.length-1)}return A},getAdditionalKeyValues:function(){return this.additionalKeyValues.join(";")},applyTestbedValues:function(){var A=btg.Cookie.read("mtvn_btg_atb");if(A!=null&&A.indexOf("daDart:")>=0){A=A.split(",")[0].split(":")[1];this.dartSite=A=="auto"?this.dartSite="atb_"+this.dartSite:A}},getValues:function(){this.applyTestbedValues();var A=this.isStr(this.zoneOverride)?this.zoneOverride:this.formatZone(),C=this.formatKeyValues(),B=this.formatSectionValues();return{id:this.id,protocol:this.getProtocol(),server:this.server,dartSite:this.dartSite,contentType:this.contentType,mediaType:this.mediaType,zone:A,sections:B,keyValues:C,ord:this.ord}},getRealWidth:function(){return this.realSize.substr(0,this.realSize.indexOf("x"))},getRealHeight:function(){return this.realSize.substr(this.realSize.indexOf("x")+1,this.realSize.length)},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 A=this.getValues();A.url=this.formatUrl(A);return A},getXml:function(){var A=[],C=this.getValues();C.url=this.formatUrl(C);for(var B in C){if(typeof (C[B]=="string")){A.push("<"+B+"></"+C[B]+">")}}return"<DoubleClick>"+A.join("")+"</DoubleClick>"},init:function(A){if(typeof A==="object"){if(this.isStr(A.zoneOverride)){this.setZoneOverride(A.zoneOverride)}if(this.isStr(A.id)){this.setId(A.id)}if(this.isStr(A.server)){this.setServer(A.server)}if(this.isStr(A.ssl)){this.setSsl(A.ssl)}if(this.isStr(A.dartSite)){this.setDartSite(A.dartSite)}if(this.isStr(A.contentType)){this.setContentType(A.contentType)}if(this.isStr(A.mediaType)){this.setMediaType(A.mediaType)}if(this.isStr(A.position)){this.setPosition(A.position)}if(this.isStr(A.sections)){this.setSections(A.sections)}if(this.isStr(A.keyValues)){this.setKeyValues(A.keyValues)}if(this.isStr(A.size)){this.setSize(A.size)}else{this.setSize("[ERROR: Size Not Defined!]")}if(this.isStr(A.realSize)){this.setRealSize(A.realSize)}else{this.setRealSize(this.size)}if(this.isStr(A.tile)){this.setTile(A.tile)}if(this.isStr(A.positionThreshold)){this.setPositionThreshold(A.positionThreshold)}if(this.isStr(A.ord)){this.setOrd(A.ord)}if(this.isStr(A.partner)){this.setPartner(A.partner)}}},createIframe:function(A){var C=document.getElementById(A.adId),B=null;if(C){A.frameBorder="0";A.marginHeight="0";A.marginWidth="0";A.scrolling="no";A.onload=function(){btg.AdManager.adLoadNotify(this.id)};A.parent=C;A.style={height:A.height+"px",width:A.width+"px","border-width":"0",overflow:"hidden"};if(this.gv.IS_TOP_ACCESSIBLE&&this.qsToObj(top.location.search).mockupMode=="true"){A.parent=document.createElement("div");B=btg.DOM.appendIframe(A);C.innerHTML=this.mockItUp(B.parentNode.innerHTML)}else{B=btg.DOM.appendIframe(A)}B.setAttribute("allowtransparency",true)}}};btg.DomesticDc=function(){this.type="DomesticDc"};btg.DomesticDc.prototype={formatSectionValues:function(){try{var A=this.sections.split("/")}catch(F){A=["[ERROR: Sections Not Defined!]"]}for(var E=0,D=[],C=0,B=A.length;C<B;C++){if(btg.String.isDefined(A[C])){D.push("sec"+E+"="+A[C]);E++}}return D.join(";")},formatZone:function(){var A=this.getPosition()+"_"+this.getContentTypeAbbreviation()+"_"+this.mediaType.substr(0,1)+"/",C=this.getSections();if(this.isStr(this.keyValues)){if(this.keyValues.indexOf("partner=")>-1){var B=this.getKeyValue("partner=");if(this.isStr(B)&&B!="null"){A+=B+"/";this.addExclusionCategory(B);this.addExclusionCategory("partner")}else{this.keyValues=this.keyValues.replace(/(partner=;)|partner=$/ig,"partner=null;")}}if(this.keyValues.indexOf("vertical=")>-1){B=this.getKeyValue("vertical=");if(this.isStr(B)){C=B+"/"+C;this.setSections(C)}}if(this.keyValues.indexOf("synd=")>-1){B=this.getKeyValue("synd=");if(this.isStr(B)){this.addExclusionCategory(B)}}}A=A.replace(/^\d/,"_"+A.match(/^\d/,"_"));return A+C},setDemoVal:function(){var A=btg.Cookie.read("qcDemo");if((typeof btg.config!="undefined"&&typeof btg.config.QuantCast!="undefined"&&typeof btg.config.QuantCast.enableDemoTargeting=="boolean"?btg.config.QuantCast.enableDemoTargeting:true)&&this.isStr(A)&&this.keyValues.indexOf("demo=D")==-1){this.keyValues+=";"+unescape(A)}},formatKeyValues:function(){var A=this.getAdditionalKeyValues();if(this.isStr(A)){this.keyValues+=";"+A}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}if(this.autoDcopt){this.removeKeyValue("dcopt");if(this.tile=="1"){this.keyValues+=";dcopt=ist"}}this.keyValues=this.formatReserved();if(this.isStr(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}this.setDemoVal();if(this.isStr(this.reservedKeyValues.dcmt)){this.keyValues+=";dcmt="+this.reservedKeyValues.dcmt}if(this.isStr(this.reservedKeyValues.dcopt)){this.removeKeyValue("dcopt");this.keyValues+=";dcopt="+this.reservedKeyValues.dcopt}if(this.keyValues.indexOf(this.getExclusions())==-1&&this.exclusions.length>0){this.keyValues+=";"+this.getExclusions()}if(this.isStr(this.reservedKeyValues.dcove)){this.keyValues+=";dcove="+this.reservedKeyValues.dcove}if(this.gv.IS_TOP_ACCESSIBLE){A=this.qsToObj(top.location.search.toLowerCase()).testmode;if(this.isStr(A)&&this.keyValues.toLowerCase().indexOf("testmode")<0){this.keyValues+=";testmode="+A}}return this.keyValues=this.keyValues.replace(/^;+|;+$/g,"")},placeAd:function(A){if(!this.isStr(this.id)){this.setId("ad"+this.tile)}if(btg.config.defferedAdLoading){this.createIframe({allowtransparency:"true",id:this.id,name:this.id,width:this.getRealWidth(),height:this.getRealHeight(),src:this.getUrl(),adType:this.contentType,adId:A.adId})}else{if(this.contentType=="adi"){var B='<iframe allowtransparency="true" onload="btg.AdManager.adLoadNotify(\''+this.id+'\');" id="'+this.id+'" name="'+this.id+'" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" width="'+this.getRealWidth()+'" height="'+this.getRealHeight()+'" src="'+this.getUrl()+'"></iframe>';if(this.gv.IS_TOP_ACCESSIBLE&&this.qsToObj(top.location.search).mockupMode=="true"){B=this.mockItUp(B)}if(this.isStr(A)&&this.isStr(A.reloadableAdId)){return B}else{if(typeof exposeTestFunctionNames=="undefined"){document.write(B)}}}else{B='<script type="text/javascript" id="'+this.id+"\" onreadystatechange=\"if(this.readyState=='complete')btg.AdManager.adLoadNotify('"+this.id+"');\" onload=\"btg.AdManager.adLoadNotify('"+this.id+'\');" src="'+this.getUrl()+'"><\/script>';if(this.gv.IS_TOP_ACCESSIBLE&&this.qsToObj(top.location.search).mockupMode=="true"){B=this.mockItUp(B)}if(this.isStr(A)&&this.isStr(A.reloadableAdId)){return B}else{if(typeof exposeTestFunctionNames=="undefined"){document.write(B)}}}}}};btg.DomesticDc=btg.Class.inheritFrom(btg.DoubleClick,btg.DomesticDc);btg.InternationalDc=function(){this.type="InternationalDc"};btg.InternationalDc.prototype={formatSectionValues:function(){var A=this.sections.split("/"),F="none",E="none",D="none",C=[];if(this.isStr(A[0])){F=A[0]}else{F="/"}if(this.isStr(A[1])){E=A[1]}if(this.isStr(A[2])){for(var D=2,B=A.length;D<B;D++){if(this.isStr(A[D])){C.push(A[D])}}D=C.join("/")}return"sec0="+F+";sec1="+E+";secN="+D},formatZone:function(){var A=this.sections.split("/");if(this.isStr(A[0])){A=A[0]}else{A="/home"}return A},formatKeyValues:function(){var A=btg.AdManager,B=this.getAdditionalKeyValues();if(this.isStr(B)){this.keyValues+=";"+B}this.keyValues=this.formatReserved();if(this.isStr(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}if(this.isStr(this.reservedKeyValues.dcmt)){this.keyValues+=";dcmt="+this.reservedKeyValues.dcmt}if(this.autoDcopt&&this.tile=="1"){this.keyValues+=";dcopt=ist";A.dcoptOn=true}if(this.isStr(this.reservedKeyValues.dcopt)){if(A.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;A.dcoptOn=true}}if(this.exclusions.length>0){this.keyValues+=";"+this.getExclusions()}if(this.isStr(this.reservedKeyValues.dcove)){this.keyValues+=";dcove="+this.reservedKeyValues.dcove}if(this.gv.IS_TOP_ACCESSIBLE){A=this.qsToObj(top.location.search.toLowerCase()).testmode;if(this.isStr(A)&&this.keyValues.toLowerCase().indexOf("testmode")<0){this.keyValues+=";testmode="+A}}return this.keyValues=this.keyValues.replace(/^;+|;+$/g,"")},addInternationalValues:function(A){if(this.isStr(A.log)){this.addKeyValues("log="+A.log)}else{this.addKeyValues("log=0")}if(this.isStr(A.demo)){this.addKeyValues("demo="+A.demo)}else{this.addKeyValues("demo=none")}if(this.isStr(A.event)){this.addKeyValues("event="+A.event)}else{this.addKeyValues("event=none")}if(this.isStr(A.keyword)){this.addKeyValues("search_kw="+A.keyword)}else{this.addKeyValues("search_kw=none")}if(this.isStr(A.vid)){this.addKeyValues("vid="+A.vid)}else{this.addKeyValues("vid=none")}if(this.isStr(A.vid_type)){this.addKeyValues("vid_type="+A.vid_type)}else{this.addKeyValues("vid_type=none")}if(this.isStr(A.region)){this.addKeyValues("region="+A.region)}else{this.addKeyValues("region=none")}this.addKeyValues("dcove=d");this.addKeyValues("url="+escape(location.pathname));if(this.isStr(A.keyValues)){this.addKeyValues(A.keyValues)}},placeAd:function(A){this.addInternationalValues(A);if(!this.isStr(this.id)){this.setId("ad"+this.tile)}if(btg.config.defferedAdLoading){this.createIframe({allowtransparency:"true",id:this.id,name:this.id,width:this.getRealWidth(),height:this.getRealHeight(),src:this.getUrl(),adType:this.contentType,adId:A.adId})}else{if(this.contentType=="adi"){var B='<iframe allowtransparency="true" onload="btg.AdManager.adLoadNotify(\''+this.id+'\');" id="'+this.id+'" name="'+this.id+'" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" width="'+this.getRealWidth()+'" height="'+this.getRealHeight()+'" src="'+this.getUrl()+'"></iframe>';if(this.gv.IS_TOP_ACCESSIBLE&&this.qsToObj(top.location.search).mockupMode=="true"){B=this.mockItUp(B)}if(this.isStr(A)&&this.isStr(A.reloadableAdId)){return B}else{if(typeof exposeTestFunctionNames=="undefined"){document.write(B)}}}else{B='<script type="text/javascript" id="'+this.id+"\" onreadystatechange=\"if(this.readyState=='complete')btg.AdManager.adLoadNotify('"+this.id+"');\" onload=\"btg.AdManager.adLoadNotify('"+this.id+'\');" src="'+this.getUrl()+'"><\/script>';if(this.gv.IS_TOP_ACCESSIBLE&&this.qsToObj(top.location.search).mockupMode=="true"){B=this.mockItUp(B)}if(this.isStr(A)&&this.isStr(A.reloadableAdId)){return B}else{if(typeof exposeTestFunctionNames=="undefined"){document.write(B)}}}}}};btg.InternationalDc=btg.Class.inheritFrom(btg.DoubleClick,btg.InternationalDc);if(typeof mtvn=="undefined"){mtvn={}}mtvn.btg={Controller:btg.Controller,managers:{DependencyManager:btg.DependencyManager,PluginManager:btg.PluginManager,QueueManager:btg.QueueManager},ads:{AdManager:btg.AdManager,games:{GameAdLoader:btg.GameAdLoader,GameAdManager:btg.GameAdManager,GameDc:btg.GameDc},freewheel:{FreeWheelAd:btg.FreeWheelAd,FreeWheelAdInterface:btg.FreeWheelAdInterface}},reporting:{ABTest:btg.ABTest,ChoiceStream:btg.ChoiceStream,ComScore:btg.ComScore,ESIVars:btg.ESIVars,FluxHosted:btg.FluxHosted,FluxState:btg.FluxState,GoogleAnalytics:btg.GoogleAnalytics,Nielsen:btg.Nielsen,Omniture:btg.Omniture,Photos:btg.Photos,QuantCast:btg.QuantCast,RecsABTesting:btg.RecsABTesting,ReportingManager:btg.ReportingManager,Search:btg.Search,SEO:btg.SEO,TestAndTarget:btg.TestAndTarget,UserSegment:btg.UserSegment,Demdex:btg.Demdex,omniture:{Hcode:btg.Hcode},player:{Loadtime:btg.Loadtime,MediaPlayer:btg.MediaPlayer,Preload:btg.Preload},games:{GameEventMediator:btg.GameEventMediator,GameEventVO:btg.GameEventVO,GameReporter:btg.GameReporter,GameReportingManager:btg.GameReportingManager}},util:{Alert:btg.Alert,Beacon:btg.Beacon,Class:btg.Class,Cookie:btg.Cookie,DOM:btg.DOM,Events:btg.Events,JSON:btg.JSON,Math:btg.Math,Object:btg.Object,String:btg.String,Timer:btg.Timer,TimeTracker:btg.TimeTracker,Window:btg.Window},plugins:{GUID:btg.GUID,Meteor:btg.Meteor}};if(typeof mtvn.btg.config=="undefined"){mtvn.btg.config={}}if(typeof mtvn.btg.config.ReportSettings=="undefined"){mtvn.btg.config.ReportSettings={defaultPageName:btg.globalvars.PAGE_URL,Omniture:{},Nielsen:{},GoogleAnalytics:{},QuantCast:{},ComScore:{},Meteor:{},ChoiceStream:{},Demdex:{}}}if(typeof mtvn.btg.config.AdSettings=="undefined"){mtvn.btg.config.AdSettings={DoubleClick:{},International:{},QuantCast:{}}}if(typeof com=="undefined"){com={}}if(typeof com.mtvi=="undefined"){com.mtvi={}}if(typeof com.mtvi.reporting=="undefined"){com.mtvi.reporting={}}if(typeof com.mtvi.ads=="undefined"){com.mtvi.ads={}}if(typeof com.mtvi.config=="undefined"){com.mtvi.config={}}if(typeof com.mtvi.util=="undefined"){com.mtvi.util={}}if(typeof com.mtvi.util.IFrameReloader=="undefined"){com.mtvi.util.IFrameReloader={}}if(typeof com.mtvi.metadata=="undefined"){com.mtvi.metadata={}}com.mtvi.util={toObject:btg.String.toObject,queryStringToHash:btg.String.queryStringToObject,isDefined:btg.String.isDefined,readCookie:btg.Cookie.read,deleteCookie:btg.Cookie.remove,crawlNodes:btg.Window.getNodeLinkName,addOnloadEvent:function(A){return btg.DOM.Events.addListener(window,"load",A)}};com.mtvi.metadata={getDefaultPageName:function(){var A="",C=btg.globalvars;try{A=C&&typeof C.PAGE_URL=="string"&&C.PAGE_URL!=""?C.PAGE_URL:location.pathname;if(A.lastIndexOf("/")==A.length-1){if(mtvn.btg.util.String.isDefined(mtvn.btg.config.ReportSettings.indexFileName)){A+=mtvn.btg.config.ReportSettings.indexFileName}else{A=A!="/"?mtvn.btg.util.String.charRtrim(A,"/"):A}}if(A!="/"){A=mtvn.btg.util.String.charRtrim(A,"/")}if(A!="/"&&A.indexOf("/")==0){A=A.substring(1)}if(A.indexOf("/")==-1&&A.indexOf(mtvn.btg.config.ReportSettings.indexFileName)!=-1){A="home/"+A}}catch(B){}return A},getDefaultHierarchy:function(){var A=this.getDefaultPageName();return A=="/"?"":A},getDefaultChannel:function(){var A=this.getDefaultPageName();return A!="/"?A.split("/")[0]:A}};com.mtvi.reporting.Controller=new function(){this.initalized=false;this.initialize=function(){btg.Controller.init()};this.sendCall=function(A){btg.Controller.sendPageCall(A)};this.sendLinkEvent=function(A){btg.Controller.sendLinkEvent(A)};this.registerLinks=function(){return true};this.setConfig=function(A){for(var B in A){btg.config.Omniture[B]=A[B]}return true};this.addRegisterLinks=function(){return true};this.setDefaultData=function(A,B){if(btg.String.isDefined(A)){btg.config.Omniture[A]=btg.String.isDefined(B)?B:"";return true}return false}};com.mtvi.ads.AdManager=new function(){var A=btg.config.DoubleClick,D=btg.config.International,C=btg.String.isDefined,B=btg.Object.isDefined;this.setDartSite=function(E){(A.enabled?A:D).dartSite=E};this.setPositionThreshold=function(E){(A.enabled?A:D).positionThreshold=E};this.setSiteName=function(E){(A.enabled?A:D).siteName=E};this.setDefaultSections=function(E){if(C(E)){A.sections=E}};this.setKeyValues=function(E){(A.enabled?A:D).keyValues=E};this.getFormattedSections=function(L){var K=L;try{var K=L=="/"?L:btg.String.charTrim(L,"/"),J=L.length,I="index";if(B(com.mtvi.reporting.Account)&&C(com.mtvi.reporting.Account.defaultIndexFileName)){I=com.mtvi.reporting.Account.defaultIndexFileName}if(B(mtvn.btg.config.AdSettings)&&C(mtvn.btg.config.AdSettings.defaultIndexFileName)){I=mtvn.btg.config.AdSettings.defaultIndexFileName}if(B(btg.config)&&C(btg.config.defaultIndexFileName)){I=btg.config.defaultIndexFileName}for(var I=btg.String.stripFileExtension(I),H=["/",I,"home/"+I],G=0,F=H.length;G<F;G++){if(L.indexOf(H[G])==0&&J==H[G].length){K=L.replace(H[G],"_hp");break}}if(K==""){K="_hp"}var E=btg.String.stripFileExtension(K).split("/");if(E.length==2){if(E[1]==I){K=btg.String.stripFileExtension(K).replace(I,"_mn")}}}catch(M){}return K};this.placeAd=function(E){btg.Controller.placeAd(E)};this.setServer=function(E){(A.enabled?A:D).server=E};this.setSsl=function(){(A.enabled?A:D).ssl=true};this.setDefaultContentType=function(E){(A.enabled?A:D).contentType=E};this.setZoneOverride=function(E){(A.enabled?A:D).zoneOverride=E};this.IFrameAds=[];this.placeIFrameAd=function(E){E.isReloadable=true;btg.Controller.placeAd(E)};this.setReloadInterval=function(E){btg.config.reloadInterval=E};this.setAdClass=function(){};this.getAdById=function(){return null};this.getDartSite=function(){return(A.enabled?A:D).dartSite};this.getAd=function(E){return btg.AdManager.getAd(E)};this.getReloadInterval=function(){return btg.config.reloadInterval};this.reloadIFrameAds=function(){btg.Controller.reloadAds()};this.reloadIFrameAd=function(){};this.setZone=function(){};this.getNewAd=function(){};this.populateNamesValuesObj=function(){}};com.mtvi.ads.DoubleClickAd=function(){};com.mtvi.ads.DoubleClickAd.prototype={setZoneOverride:function(){},setDartSite:function(){},setOrd:function(){},placeAd:function(){},getXml:function(){return null},getJson:function(){return null},getUrl:function(){return null},getSections:function(){return null},setSize:function(){},setSections:function(){},setContentType:function(){},setKeyValues:function(){},setTile:function(){},setPositionThreshold:function(){},setServer:function(){},setSsl:function(){},setMediaType:function(){},setPosition:function(){},setPartner:function(){},setId:function(){}};com.mtvi.reporting.ComScore=new function(){this.sendComScoreCall=function(){}};com.mtvi.reporting.Dispatcher=function(){this.getValOnce=function(){return true};this.sendCall=function(A){btg.Controller.sendPageCall(A)};this.sendLinkEvent=function(A){mtvn.btg.Controller.sendLinkEvent(A)};this.registerLinks=function(){return true};this.setAttribute=function(A,B){if(btg.String.isDefined(A)){btg.Hcode[A]=btg.String.isDefined(B)?B:"";return true}return false};this.getAttribute=function(A){return btg.config.Omniture[A]};this.setValues=function(A){for(var B in A){if(btg.String.isDefined(A[B])){this.setAttribute(B,A[B])}}};this.send=function(A){btg.Controller.sendPageCall(A)};this.setDefaultData=function(){};this.clearProps=function(){};this.clearAllVars=function(){}};com.mtvi.reporting.FluxWidgeted={setVars:function(){return true}};com.mtvi.reporting.GoogleAnalytics={makeCall:function(){(new btg.GoogleAnalytics(btg.GoogleAnalytics)).sendPageCall();return true}};com.mtvi.reporting.MediaPlayer={addPlayer:btg.MediaPlayer.addPlayer};mtvn.btg.reporting.MediaPlayer={setEndSlateClick:mtvn.btg.reporting.player.MediaPlayer.setEndSlateClick,getEndSlateClick:mtvn.btg.reporting.player.MediaPlayer.getEndSlateClick};com.mtvi.reporting.QuantCast=new function(){this.sendQuantCastCall=function(){(new btg.QuantCast(btg.config.QuantCast)).sendPageCall();return true}};com.mtvi.reporting.Search=btg.Search;com.mtvi.reporting.Search.setVars=btg.Search.setData;btg.loadPOEad=function(){if(btg.Object.isConfigDefined(btg.config.DoubleClick)&&btg.Cookie.read("vmn_poe")==null){var A=btg.config.DoubleClick.positionThreshold;btg.config.DoubleClick.positionThreshold=-1;var B=btg.AdManager.getAdUrl({size:"6x6",contentType:"adj",keyValues:"pxm="+vmn_m_c});btg.DOM.loadScript(B,true);btg.config.DoubleClick.positionThreshold=A;btg.AdManager.setTile(0);btg.Cookie.set("vmn_poe","6x6")}};btg.isCoreLoaded=function(){btg.Events.CORE_LOADED.fire();return true}();if(!/mobile/.test(self.location.href)){btg.config.DoubleClick.dartSite=sw.adSettings.DoubleClickDartSite;btg.config.DoubleClick.positionThreshold=sw.adSettings.DoubleClickPositionThreshold;btg.config.DoubleClick.sections=sw.adSettings.DoubleClickSections;btg.config.DoubleClick.keyValues=sw.adSettings.DoubleClickKeyValues;btg.config.DoubleClick.autoDcopt=sw.adSettings.DoubleClickAutoDcopt}var omniCookie=btg.Cookie.read("swOmni");if(omniCookie){omniCookie=(btg.JSON.parse(omniCookie));btg.Cookie.remove("swOmni");if(pageOmniVars.events&&omniCookie.events){pageOmniVars.events+=","+omniCookie.events;omniCookie.events=""}btg.Object.copyProperties(omniCookie,pageOmniVars,true)}btg.config.Omniture.dynamicAccountList+=",spicy,shiva,adam,grognard,cmillsga";btg.config.Omniture.trackExternalLinks=true;var hierarchy=gameType+"/"+primaryCategory+"/"+gameID;btg.config.Omniture.pageName=location.pathname;btg.config.Omniture.hier1=hierarchy;btg.config.Omniture.channel=primaryCategory;btg.config.Omniture.prop1=gameID;btg.config.Omniture.prop2=isFacebookConnected?loginState+"_facebook":loginState;if(gameType=="club"){btg.config.Omniture.prop4=gameID}else{if(gameType=="non-club"){btg.config.Omniture.prop5=gameID}}btg.config.Omniture.prop6=categoryList;btg.config.Omniture.prop7=queryString("q");if(tokenType=="token"){btg.config.Omniture.prop8=gameID}else{if(tokenType=="non-token"){btg.config.Omniture.prop9=gameID}}if(trophyType=="trophy"){btg.config.Omniture.prop10=gameID}else{if(trophyType=="non-trophy"){btg.config.Omniture.prop11=gameID}}btg.config.Omniture.prop13=userInfo.creationDateInDays;btg.config.Omniture.prop14=userInfo.gender;btg.config.Omniture.prop15=userInfo.daysSinceLastLogin;btg.config.Omniture.prop16=userInfo.memberId;btg.config.Omniture.prop18=userInfo.birthDateInDays;var sw_gameRecs=function(){var A=choicestreamRecs.getGroup()=="choicestream";if(recommendedGamesServed){if(A){if(downloadGame){pageOmniVars.events?pageOmniVars.events+=",event41,event22":pageOmniVars.events="event41,event22"}else{pageOmniVars.events?pageOmniVars.events+=",event41":pageOmniVars.events="event41"}}else{if(downloadGame){pageOmniVars.events?pageOmniVars.events+=",event33":pageOmniVars.events="event33"}else{pageOmniVars.events?pageOmniVars.events+=",event18":pageOmniVars.events="event18"}}}};btg.config.Omniture.pageType=pageType;btg.config.Omniture.campaign=queryString("extcmp");if(!btg.config.Omniture.campaign){btg.config.Omniture.campaign=queryString("fb_ref")}btg.config.Omniture.eVar17=btg.config.Omniture.campaign;btg.config.Omniture.percentPageViewedVarMap={previousPage:"prop21",percentage:"prop24"};var autoLoginSuccess=false;if(btg.Cookie.read("autoLoginSuccess")=="1"){autoLoginSuccess=true;btg.Cookie.set("autoLoginSuccess",null,null,"/","shockwave.com")}if(autoLoginSuccess){pageOmniVars.events?pageOmniVars.events+=",event7,event8,event20":pageOmniVars.events="event7,event8,event20";pageOmniVars.eVar9=isFacebookConnected?loginState+"_facebook":loginState;pageOmniVars.eVar12=userInfo.memberId;pageOmniVars.eVar20=userInfo.creationDateInDays;pageOmniVars.eVar21=userInfo.gender;pageOmniVars.eVar22=userInfo.birthDateInDays}pageOmniVars.eVar13=location.pathname;if(gameID&&(pageGroup!="download")&&((gameType!="club")||((gameType=="club")&&(userInfo.signedInState!="SignedInStandard")&&(userInfo.signedInState!="NotSignedIn")))){pageOmniVars.events?pageOmniVars.events+=",event1":pageOmniVars.events="event1"}if(location.pathname.indexOf("/about/privacyPolicy.jsp")==0){pageOmniVars.prop26=location.pathname}if(location.pathname.indexOf("/about/terms.jsp")==0){pageOmniVars.prop26=location.pathname}if(location.pathname.indexOf("/forgotPassword.jsp")==0){pageOmniVars.prop26=location.pathname}if(location.pathname.indexOf("/member/removeFacebookConnectConfirm.jsp")==0){pageOmniVars.events?pageOmniVars.events+=",event6":pageOmniVars.events="event6"}if(location.pathname.indexOf("/memberLogin.jsp")==0){pageOmniVars.events?pageOmniVars.events+=",event28":pageOmniVars.events="event28";pageOmniVars.eVar14="memberLoginPage";pageOmniVars.prop26="memberLoginPage"}function queryString(D){var C=location.search.substring(1,location.search.length);var B=false;var A=C.split("&");for(i=0;i<A.length;i++){param_name=A[i].substring(0,A[i].indexOf("="));if(param_name==D){B=A[i].substring(A[i].indexOf("=")+1)}}if(B){return B}else{return false}}function gameDownload(A){btg.config.Omniture.pageName=location.pathname+"-download";btg.config.Omniture.prop25=A;btg.Controller.init();btg.Controller.sendPageCall({events:"event2"})}function sendLinkEvent(A){sendAnalyticsEvent(null,A)}function sendAnalyticsEvent(C,A){try{if(btg.util.String.isDefined(A)){obj={};if(btg.util.String.isDefined(C)){obj.name=C;omniSetOverrides(obj,"append")}else{obj.name=btg.config.Omniture.account;omniSetOverrides(obj,null)}delete obj;btg.Controller.init();btg.Controller.sendLinkEvent({linkType:"o",lnk:true,linkName:A})}else{if(btg.util.String.isDefined(C)){omniSetOverrides({name:C},"append")}else{omniSetOverrides({name:btg.config.Omniture.account},null)}btg.Controller.init();btg.Controller.sendPageCall()}}catch(B){}}function sendCustomLinkEvent(A,C){try{if(!btg.util.String.isDefined(A)){return false}if(!btg.util.Object.isDefined(C)){var C={}}C.linkType="o";C.lnk=true;C.linkName=A;clearDispatcher();btg.Controller.init();btg.Controller.sendLinkEvent(C)}catch(B){}}function omniSetOverrides(E,F){try{clearDispatcher();var B={};for(i in E){var A=i.replace(/s_/,"");A=(A=="account")?"name":A;B[A]=E[i];if(A=="name"){if(F){if(F=="append"){var C=new RegExp("^"+B[A]+"$|^"+B[A]+",|,"+B[A]+"$|,"+B[A]+",");if(!C.test(btg.config.Omniture.account)){btg.config.Omniture.account+=","+B[A]}}else{if(F=="overwrite"){btg.config.Omniture.account=B[A]}}}B[A]=btg.config.Omniture.account}}B.dynamicAccountSelection=true;B.dynamicAccountList="viashockwavedev=dev,qa,stage,relaunch-d,relaunch-q,localhost,sandbox,spicy,shiva,adam,grognard,cmillsga";B.linkInternalFilters="javascript:,shockwave.com,facebook.com,digg.com";B.trackExternalLinks=true;B.trackDownloadLinks=false;if(btg.util.String.isDefined(btg.config.Omniture)){btg.config.Omniture.setAccountVars(B)}}catch(D){}}function clearDispatcher(){try{if(btg.util.String.isDefined(btg.config.Omniture)){btg.config.Omniture={name:"viashockwave",dynamicAccountSelection:true,dynamicAccountList:"viashockwavedev=dev,qa,stage,relaunch-d,relaunch-q,localhost,sandbox,spicy,shiva,adam,grognard,cmillsga",linkInternalFilters:"javascript:,shockwave.com,facebook.com,digg.com",trackExternalLinks:true,trackDownloadLinks:false};btg.config.Omniture.pageName="";btg.config.Omniture.channel="";btg.config.Omniture.hier1="";for(var A=1;A<41;A++){btg.config.Omniture["prop"+A]="";btg.reporting.omniture.Hcode["prop"+A]=""}}}catch(B){}};
