document.write('<div id="husky-proxy-area"></div>');(function(){(function(){var _1=false,_2=/xyz/.test(function(){xyz})?/\b_super\b/:/.*/;this.Class=function(){};Class.extend=function(_3){var _4=this.prototype;_1=true;var _5=new this();_1=false;for(var _6 in _3){_5[_6]=typeof _3[_6]=="function"&&typeof _4[_6]=="function"&&_2.test(_3[_6])?(function(_7,fn){return function(){var _9=this._super;this._super=_4[_7];var _a=fn.apply(this,arguments);this._super=_9;return _a}})(_6,_3[_6]):_3[_6]}function Class(){if(!_1&&this.init){this.init.apply(this,arguments)}}Class.prototype=_5;Class.constructor=Class;Class.extend=arguments.callee;return Class}})();var u={browser:function(){var ua=navigator.userAgent.toLowerCase();return{version:ua.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)[1],os:{windows:/windows/.test(ua)},chrome:/webkit/.test(ua)&&/chrome/.test(ua),safari:/webkit/.test(ua),opera:/opera/.test(ua),msie:/msie/.test(ua)&&!(/opera/.test(ua)),mozilla:/mozilla/.test(ua)&&!(/(compatible|webkit)/.test(ua))}}(),getElementsByClassName:function(c,tag,context){var ret=[],tag=tag||"*",context=context||document;var elems=context.getElementsByTagName(tag);var pattern=new RegExp("(^|\\s)"+c+"(\\s|$)");for(var i=0,e;e=elems[i];i++){if(pattern.test(e.className))ret.push(e)}return ret},$:function(id){return document.getElementById(id)},extend:function(){var to=(arguments.length>=2)?arguments[0]:this;var from=(arguments.length>=2)?arguments[1]:arguments[0];for(var prop in from)to[prop]=from[prop];return to},each:function(obj,fn){if(obj.length==undefined){for(var i in obj)fn.call(obj[i],i,obj[i])}else{for(var i=0,ol=obj.length,val=obj[0];i<ol&&fn.call(val,i,val)!==false;val=obj[++i]){}}return obj},inArray:function(item,array){for(var i=0,x;x=array[i];i++){if(item===x)return true}return false},mergeArray:function(){var ret=[];u.each(arguments,function(i,arr){var len=arr.length,i=len-1;for(;i>=0;i--)if(ret.indexOf(arr[i])==-1){ret.push(arr[i])}});return ret},makeArray:function(array){var ret=[];if(array!=null){var i=array.length;if(i==null||array.split||array.setInterval||array.call)ret[0]=array;else while(i)ret[--i]=array[i]}return ret},css:function(elem,property,value){if(property=="float"){var property=this.browser.msie?"styleFloat":"cssFloat"}if(property=="opacity"&&this.browser.msie&&this.browser.version<7){property="filter";if(value){return value="alpha(opacity=%d)".replace("%d",parseFloat(value)*100)}}if(value){return(elem.style)?elem.style[property]=value:0}return(elem.currentStyle)?elem.currentStyle[property]:document.defaultView.getComputedStyle(elem,null).getPropertyValue(property)},styles:{createSheet:function(){if(!this.sheet){var head=document.getElementsByTagName("head");if(head.length==0){if(u.huskyStore.data.get("help"))u.huskyStore.helper.alert(u.huskyStore,u.huskyStore.helper.error,100,"Could not find the <head> element in your page. Please add <head></head> to your HTML.");return}var s=document.createElement("style");s.id="husky-stylesheet";s.type="text/css";s.rel="stylesheet";s.media="screen";document.getElementsByTagName("head")[0].appendChild(s);this.sheet=document.styleSheets[document.styleSheets.length-1]}},insert:function(cssText){this.createSheet();return this.sheet.insertRule?this.sheet.insertRule(cssText,this.sheet.cssRules.length):this.sheet.addRule(cssText.split("{")[0],cssText.split("{")[1].replace(/\}|\{/gi,""))},remove:function(selector){var self=this;this.createSheet();if(this.sheet.cssRules){rules=this.sheet.cssRules;u.each(rules,function(i,v){if(typeof v=="string"&&v.cssText.indexOf(selector)==0){self.sheet.deleteRule(i)}})}else if(this.sheet.rules){rules=this.sheet.rules;u.each(rules,function(i,v){if(rules[i].selectorText==selector){self.sheet.removeRule(i)}})}}},html:function(str){var div=document.createElement("div"),ret;div.innerHTML=str;ret=div.firstChild;delete div;return ret},printElements:function(elm){var elm=(typeof elm=="string")?Husky.$(elm):elm;if(typeof elm!="array"&&typeof elm!="object")return false;u.each(elm,function(i,v){alert(i+":"+v)})},interval:{list:function(){arr=u.huskyStore.data.get("activeIntervals");return arr?arr:new Array},readableList:function(){arr=this.list();readable=new Array;for(var i in arr){if(i&&i!="iterate"&&i!="each")readable.push(i)}return readable},create:function(name,timeout,fn){arr=this.list();if(arr&&arr[name]){clearInterval(arr[name])}arr[name]=setInterval(fn,timeout);u.huskyStore.data.set("activeIntervals",arr)},remove:function(name){arr=this.list();if(arr&&arr[name]){clearInterval(arr[name]);arr[name]=null;u.huskyStore.data.set("activeIntervals",arr)}}},pixelRequest:function(name,url){var srcURL="";var rand=Math.ceil(10000000*Math.random());if(!(pixelsCalled=u.huskyStore.data.get("pixelsCalled"))){pixelsCalled=u.makeArray()}if(name=="comscore")srcURL="http://hsk.huskymedia.com/adconfig.xml?pubid="+u.huskyStore.data.get("siteId")+"&rand="+rand;else if(name=="quantcast")srcURL="http://pixel.quantserve.com/pixel/p-e0vX3BDLIMTBo.gif";else if(name=="sitecensus"){var cnt=u.huskyStore.data.get("sitecensusCounter");cnt=cnt?cnt:"0";srcURL="http://secure-us.imrworldwide.com/cgi-bin/m?ci=us-heavy&cg=husky&cc=1&si="+escape(cnt+"-"+location.href)+"&rand="+rand}else if(name=="dfp.impressionPixel")srcURL=url;else if(name=="dfp.thirdPartyTrackingPixel")srcURL=url;else if(name=="dfp.thirdPartyTrackingPixel2")srcURL=url;else return;if(srcURL!=null)document.createElement("img").setAttribute("src",srcURL);var c={name:name,url:srcURL};pixelsCalled.push(c);u.huskyStore.data.set("pixelsCalled",pixelsCalled)},opacity:{overrideName:"hsk-override",override:function(){var html=document.getElementsByTagName("html")[0];var body=document.getElementsByTagName("body")[0];var name="hsk-override";var mainRule="html#"+name+" body."+name+" * { opacity: 1; }";var inlineRule="html#"+name+" body."+name+" *[style] { opacity: inherit !important; }";var replace=function(){var s=document.createElement("style");s.id="hsk-style";s.type="text/css";s.rel="stylesheet";s.media="screen";document.getElementsByTagName("head")[0].appendChild(s);s.sheet.insertRule(mainRule,0);s.sheet.insertRule(inlineRule,1)};if(html.id){this.oldHTMLId=html.id}html.id=name;body.className=name;replace()},reset:function(){var html=document.getElementsByTagName("html")[0];var body=document.getElementsByTagName("body")[0];var sheet=document.getElementById("hsk-style");if(sheet!=null){sheet.parentNode.removeChild(sheet)}if(this.oldHTMLId){html.id=this.oldHTMLId}else{html.id=""}body.className.replace(new RegExp(this.overrideName,"gi"),"")}},dimensions:function(elm){var elm=(typeof elm!="undefined")?elm:window;var _getXY=function(o){var o=o||null,ret=[0,0];while(o){ret[0]+=o.offsetLeft;ret[1]+=o.offsetTop;o=o.offsetParent}return ret};if(elm==window){return{"width":(self.innerWidth)?self.innerWidth:(document.documentElement.clientWidth)?document.documentElement.clientWidth:document.body.clientWidth,"height":(self.innerHeight)?self.innerHeight:(document.documentElement.clientHeight)?document.documentElement.clientHeight:document.body.clientHeight,"scrollTop":(self.pageYOffset)?self.pageYOffset:(document.documentElement.scrollTop)?document.documentElement.scrollTop:document.body.scrollTop}}else if(elm==document){return{height:document.height||document.body.offsetHeight,width:document.width||document.body.offsetWidth}}else{var display=(elm.currentStyle)?elm.currentStyle["display"]:document.defaultView.getComputedStyle(elm,null).getPropertyValue("display");var xy=_getXY(elm);return{"width":elm.width||elm.offsetWidth,"height":elm.height||elm.offsetHeight,"left":xy[0],"top":xy[1]}}},createElement:function(elm,props,styles,parent){var elm=document.createElement(elm),props=props?props:{},styles=styles?styles:{},parent=parent?parent:null;for(var prop in props){elm[prop]=props[prop]}for(var style in styles){elm.style[style]=styles[style]}if(parent){parent.appendChild(elm)}return elm},executeCallbackFunction:function(type){fn=u.huskyStore.data.get(type);if(!fn){return false}else if(typeof(fn)=='function'){fn();return true}if(u.huskyStore.data.get("help"))u.huskyStore.helper.alert(u.huskyStore,u.huskyStore.helper.notice,101,"Could not run "+type+".\n\nThe data passed to "+type+" is not a function, it is of type '"+typeof(fn)+"' and cannot be executed.\nCheck and make sure that the function is correctly defined.");return false}};var DataStore={};var Data=Class.extend({init:function(obj){this.uid=(obj["hskid"])?obj["hskid"]:obj["hskid"]=Math.round(Math.random()*10000000);this.store=DataStore[this.uid]=DataStore[this.uid]||{}},get:function(id){return this.store[id]||null},set:function(id,data){if(typeof(id)!="string"&&typeof(id)!="number"){var self=this;u.each(id,function(i,v){self.store[i]=v});return}else if(!data){return this.store[id]=data}else if(data||data===null){return this.store[id]=data&&data}throw"Data Exception: need some data to store please"}});var Animator=Class.extend({init:function(elm,opts){this.elm=elm;this.options=u.extend({},{from:parseFloat(u.css(elm,opts.property)),property:opts.property,to:parseFloat(opts.to),duration:parseFloat(opts.duration),fn:(typeof opts.fn=="function")?opts.fn:null})},start:function(){var elm=this.elm;var opts=this.options;var t=(new Date()).getTime();var interval=setInterval(function(){var ct=(new Date()).getTime();if(ct>t+opts.duration){clearInterval(interval);interval=null;_apply(opts.to);if(typeof opts.fn=="function")opts.fn.call(this)}else{var now=((-Math.cos(((ct-t)/opts.duration)*Math.PI)/2)+0.5)*(opts.to-opts.from)+opts.from;_apply(now)}},10);var _apply=function(val){if(opts.property=="opacity"){elm.style['opacity']=val;elm.style.filter="alpha(opacity="+(val*100)+")"}else{elm.style[opts.property]=Math.round(val)+"px"}}}});u.extend({animate:function(elm,opts){var a=new Animator(elm,opts);a.start()},trim:function(text){return(text||"").replace(/^\s+|\s+$/g,"")},cookie:{get:function(name){var cookieValue=null;if(document.cookie&&document.cookie!=''){var cookies=document.cookie.split(';');for(var i=0;i<cookies.length;i++){var cookie=u.trim(cookies[i]);if(cookie.substring(0,name.length+1)==(name+'=')){cookieValue=decodeURIComponent(cookie.substring(name.length+1));break}}}return cookieValue},set:function(name,value,options){options=options||{};if(value===null){value='';options.expires=-1}var expires='';if(options.expires&&(typeof options.expires=='number'||options.expires.toUTCString)){var date;if(typeof options.expires=='number'){date=new Date();date.setTime(date.getTime()+(options.expires*24*60*60*1000))}else{date=options.expires}expires='; expires='+date.toUTCString()}var path=options.path?'; path='+(options.path):'';var domain=options.domain?'; domain='+(options.domain):'';var secure=options.secure?'; secure':'';document.cookie=[name,'=',encodeURIComponent(value),expires,path,domain,secure].join('')},del:function(name){this.set(name,null)},append:function(name,value){var current=this.get(name);if(current!=null){value=current+value}this.set(name,value)}}});var log=function(){if(typeof(console)=="undefined"||!console.log||!console.group){return false}console.log.apply(console,arguments)};if(!Array.indexOf){Array.prototype.indexOf=function(obj){for(var i=0;i<this.length;i++){if(this[i]==obj){return i}}return-1}}UTIL=u;u.event={add:function(element,type,handler){if(u.browser.msie&&element.setInterval!=undefined)element=window;if(!handler.guid)handler.guid=this.guid++;var parts=type.split(".");type=parts[0];handler.type=parts[1];var data=new Data(element);var events=data.get("events")||data.set("events",{});var handle=data.set("handle",function(){var val;if(u.event.triggered)return val;val=u.event.handle.apply(element,arguments);return val});var handlers=events[type];if(!handlers){handlers=events[type]={};if(element.setTimeout||element.nodeType){if(element.addEventListener)element.addEventListener(type,handle,false);else element.attachEvent("on"+type,handle)}}handlers[handler.guid]=handler;this.global[type]=true},guid:1,global:{},remove:function(element,type,handler){var data=new Data(element);var events=data.get("events"),ret,index;if(typeof type=="string"){var parts=type.split(".");type=parts[0]}if(events){if(type&&type.type){handler=type.handler;type=type.type}if(!type){for(type in events)this.remove(element,type)}else if(events[type]){if(handler)delete events[type][handler.guid];else for(handler in events[type])if(!parts[1]||events[type][handler].type==parts[1])delete events[type][handler];for(ret in events[type])break;if(!ret&&(element.removeEventListener||element.detachEvent)){if(element.removeEventListener)element.removeEventListener(type,data.get("handle"),false);else element.detachEvent("on"+type,data.get("handle"));ret=null;delete events[type]}}for(ret in events)break;if(!ret){data.set("events",null);data.set("handle",null)}}},handle:function(event){var val;var data=new Data(this);event=u.event.fix(event||window.event||{});var parts=event.type.split(".");event.type=parts[0];var c=data.get("events")&&data.get("events")[event.type],args=Array.prototype.slice.call(arguments,1);args.unshift(event);for(var j in c){args[0].handler=c[j];args[0].data=c[j].data;if(!parts[1]||c[j].type==parts[1]){var tmp=c[j].apply(this,args);if(val!==false)val=tmp;if(tmp===false){event.preventDefault();event.stopPropagation()}}}if(u.browser.msie)event.target=event.preventDefault=event.stopPropagation=event.handler=event.data=null;return val},trigger:function(type,data,element){var data=(data&&typeof data=='array')?data:(data)?[data]:[],element=element,val;data.unshift(this.fix({type:type,target:element}));data[0].type=type;var handler=new Data(element).get("handle");if(typeof handler=='function')val=handler.apply(element,data);return val},fix:function(event){var originalEvent=event;event=u.extend({},originalEvent);event.preventDefault=function(){if(originalEvent.preventDefault)originalEvent.preventDefault();originalEvent.returnValue=false};event.stopPropagation=function(){if(originalEvent.stopPropagation)originalEvent.stopPropagation();originalEvent.cancelBubble=true};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.clientLeft||0);event.pageY=event.clientY+(doc&&doc.scrollTop||body&&body.scrollTop||0)-(doc.clientTop||0)}event.target=event.target||event.srcElement;return event},readyBound:false,ready:function(f){this.readyLisener();if(isReady)f.apply(document,[window]);else readyList.push(function(){return f.apply(this,[window])});return this},readyLisener:function(){if(this.readyBound)return;this.readyBound=true;if(document.addEventListener&&!u.browser.opera)document.addEventListener("DOMContentLoaded",u.ready,false);if(u.browser.msie&&window==top)(function(){if(isReady)return;try{document.documentElement.doScroll("left")}catch(error){setTimeout(arguments.callee,0);return}u.ready()})();if(u.browser.opera)document.addEventListener("DOMContentLoaded",function(){if(isReady)return;for(var i=0;i<document.styleSheets.length;i++)if(document.styleSheets[i].disabled){setTimeout(arguments.callee,0);return}u.ready()},false);if(u.browser.safari){var numStyles;(function(){if(isReady)return;if(document.readyState!="loaded"&&document.readyState!="complete"){setTimeout(arguments.callee,0);return}u.ready()})()}u.event.add(window,"load",u.ready)}};var isReady=false;var readyList=[];u.ready=function(){if(!isReady){isReady=true;if(readyList){u.each(readyList,function(){this.apply(document)});readyList=null}if(u.browser.mozilla||u.browser.opera)document.removeEventListener("DOMContentLoaded",u.ready,false)}};u.Flash=Class.extend({xi:true,xiswf:"",redirect:"",version:"8",optional:["play","loop","menu","quality","scale","salign","wmode","bgcolor","base","swliveconnect","flashvars","devicefont","allowscriptaccess","seamlesstabbing","allowfullscreen","allownetworking"],getVersion:function(){try{try{var axo=new ActiveXObject('ShockwaveFlash.ShockwaveFlash.6');try{axo.AllowScriptAccess='always'}catch(e){this.pluginType="ax";return'6,0,0'.split(',')}}catch(e){}this.pluginType="ax";return new ActiveXObject('ShockwaveFlash.ShockwaveFlash').GetVariable('$version').replace(/\D+/g,',').match(/^,?(.+),?$/)[1].split(',')}catch(e){try{if(navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin){this.pluginType="na";return(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]).description.replace(/\D+/g,",").match(/^,?(.+),?$/)[1].split(',')}}catch(e){}}this.pluginType="empty";return[0]},hasFlash:function(version){var version=(version.constructor==Array&&version[0])?version:version.split(","),current,ret;current=this.currentVersion||this.getVersion();var compare=function(a,b){var n1=0,n2=0,pad=[10000000000,100000,10,0];for(var i=a.length-1;i>=0;i--){n1+=parseInt(a[i])*pad[i]}for(var i=b.length-1;i>=0;i--){n2+=parseInt(b[i])*pad[i]}return n1>=n2};return compare(current,version)},replace:function(){var id=this.id;var opts=this.options;var elm=(id.nodeType==1)?id:document.getElementById(id),html=elm.innerHTML,majorVersion="",optional=this.optional,redirect=(typeof(opts.redirect)!="undefined")?opts.redirect:this.redirect,version=(typeof(opts.version)!="undefined")?opts.version:this.version,flId=(typeof(opts.id)!="undefined")?opts.id:'fp'+Math.floor(Math.random()*1000),object;elm.innerHTML="";if(!this.currentVersion){this.currentVersion=this.getVersion()}if(!this.hasFlash(version)||opts.express){if(this.xi&&this.hasFlash([6,0,45])){u.extend(opts,{movie:this.xiswf,flashvars:{MMdoctitle:escape(document.title),MMplayerType:(this.pluginType=="ax")?"ActiveX":"PlugIn",MMredirectURL:window.location}})}else return redirect?window.location.assign(redirect):elm.innerHTML=html}if(opts['flashvars']&&typeof opts['flashvars']=="object"){var tmp="";for(var v in opts.flashvars){tmp+=v+"="+opts.flashvars[v]+"&"}opts.flashvars=tmp.substr(0,tmp.length-1)}if(u.browser.msie){var object='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"';object+=' width="'+opts.width+'" ';object+='height="'+opts.height+'" ';object+=(opts["class"])?'class="'+opts["class"]+'" ':'';object+='id="'+flId+'">';object=object+'\n\t <param name="movie" value="'+opts.movie+'" />';for(var i=0,opt;opt=optional[i];i++){if(typeof opts[opt]!="undefined"){object=object+'\n\t <param name="'+opt+'" value="'+opts[opt]+'" />'}}object=object+'\n<\/object>';if(opts.width==1&&u.browser.msie){document.getElementById('husky-proxy-area').innerHTML=object;object=document.getElementById(flId)}else{elm.innerHTML=object;object=elm.getElementsByTagName("object")[0]}}else{object=document.createElement("object");object.setAttribute("width",opts.width);object.setAttribute("height",opts.height);object.setAttribute("type","application/x-shockwave-flash");object.setAttribute("data",opts.movie);object.setAttribute("id",flId);if(opts["class"])object.setAttribute("class",opts["class"]);if(opts.name)object.setAttribute("name",opts.name);for(var i=0,opt;opt=optional[i];i++){if(typeof opts[opt]!="undefined"){var p=document.createElement("param");p.setAttribute("name",opt);p.setAttribute("value",opts[opt]);object.appendChild(p)}}elm.appendChild(object)}return this.swf=object},doExpressInstall:function(id){var self=this;setTimeout(function(){},0)},init:function(id,opts){var self=this;this.id=id;this.options=opts;this.events=[];this.queuedEvents=[];this.options=u.extend(this.options,{"allowscriptaccess":"always","wmode":"transparent","allowfullscreen":true});this.callback="huskycallback"+Math.round(Math.random()*1000000);this.addFlashVars({callback_function:this.callback});window[this.callback]=function(){return self.broadcastEvent.apply(self,arguments)};var broadcastQueue=function(){if(self.queuedEvents.length<=0)return;u.each(self.queuedEvents,function(){self.swf.dispatchEvent(this.type,this.data)});this.queuedEvents=null};this.attachEvent("load",function(){setTimeout(function(){self.loaded=true;broadcastQueue();return},0)})},addFlashVars:function(obj){var fv=this.options['flashvars']||{};if(typeof(obj)=="string"){var tmp={};tmp[obj]=arguments[1];var obj=new Object(tmp);delete(tmp)}if(typeof(fv)=="string"){var tmp=this.options['flashvars'].split('&'),fv={};u.each(tmp,function(){s=this.split('=');fv[s[0]]=s[1]})}return this.options.flashvars=u.extend(fv,obj)},attachEvent:function(type,fn){var handlers=this.events[type]||[];handlers.push(fn);this.events[type]=handlers},triggerEvent:function(type,data){if(!this.loaded){return this.queuedEvents.push({type:type,data:data})}return this.swf.dispatchEvent(type,data)},broadcastEvent:function(type,data){var handlers=this.events[type];var ret;if(!handlers||!handlers.length)return;for(var i=0;i<handlers.length;i++){ret=handlers[i](data)}return ret}});u.Flash.buildOptions=function(embed){if(!embed){return}var attributes=embed.attributes,options={};if(embed.nodeName.toLowerCase()=="object"){if(embed.innerHTML!=undefined&&u.browser.msie){embed=embed.parentNode}var params=embed.getElementsByTagName("param");for(var i=0,attr;attr=attributes[i];i++)options[attr.name.toLowerCase()]=attr.value;for(var i=0,param;param=params[i];i++)options[param.name.toLowerCase()]=param.value}else if(embed.nodeName.toLowerCase()=="embed"){for(var i=0,attr;attr=attributes[i];i++){if(attr.name=="src")options.movie=attr.value;else options[attr.name.toLowerCase()]=attr.value}}else{return}return options};u.Flash.replaceEmbed=function(embed){var p=embed.parentNode;var options=this.buildOptions(embed);if(embed!=null)p.removeChild(embed);u.extend(options,{"wmode":"transparent"});var f=new u.Flash(p,options);return f.replace()};HuskyOptions=window.HuskyOptions?window.HuskyOptions:{};HuskyOptions=u.extend(HuskyOptions,{refresh_rate:"120",version:"2.0",debug:0,siteId:379,pubId:266,mediaURL:"http://www.huskymedia.com",rmSectionCode:"0",pullInterstitial:0,DARTPublisher:"hsk.afrojacks.afrojacks",DARTZone:"",availableCategories:["entertainment","humor","music","news-current-event","sports"],swfModTime:1258999549,intervalLength:99999999,imagesURL:"http://www.huskymedia.com/api/2.0/images",showVideoCommercial:1,shutdownMode:0,videoCommercialShowCount:0,adCallPos:"pre",allowVideoSkinRefresh:1,playerAreaWidth:500,playerAreaHeight:557,customPlayerWidth:0,customPlayerHeight:0});if(!HuskyOptions.autoplayVar)HuskyOptions.autoplayVar="autoplay";if(!HuskyOptions.autoplayValue)HuskyOptions.autoplayValue="1";HuskyOptions=u.extend(HuskyOptions,{DARTRoot:"http://ad.doubleclick.net/pfadx/",videoSkinPath:"/;sz=2x2;dcmt=text/html",interstitialPath:"/;sz=1x1;dcmt=text/html"});var Husky=Class.extend({init:function(){var self=this;var html='<# id="$-holder">';html+='<# id="$-overlay"></#><# id="$-container"><# id="$-handle-bar"><# id="$-close"></#><# id="$-handle-title"></#></#></#><# id="$-tracking"></#>';html+='</#>';html=html.replace(/\$/gi,"husky").replace(/\#/gi,"div").replace(/\s+(<|$)/gi,"$1");var css="#$-holder { position: absolute; width: 100%; height: 0; display: none; top: 0; left: 0; z-index: 10000; }";css+="#$-overlay { position: absolute; width: 100%; height: 100%; display: block; top: 0pt; left: 0pt; }";css+="#$-handle-bar { width: 990px; height: 25px; top: 0; left: 0; text-align: center; z-index: 2; }";css+="#$-handle-title { width: 500px; height: 25px; color: #fff; font-family: Arial; font-size: 10pt; margin: 0px auto; padding-top: 4px; z-index: 1 }";css+="#$-close {cursor:pointer; height:25px; position: absolute; right:0; top: 0px; width:75px; z-index: 3;}";css+="#$-container { overflow: hidden; background-color: transparent; position: absolute; width: 990px; height: 577px; }";css=css.replace(/\$/gi,"husky").replace(/(\})\s+/gi,"$1").match(/[^{]*\{([^}]*)*}/gi);this.data=new Data(this);this.data.set(HuskyOptions);this.data.set("html",html);this.data.set("css",css);this.sanitize();u.huskyStore=this;u.pixelRequest("comscore",null);u.executeCallbackFunction("callbackInit");u.event.ready(function(){self.build();self.parseDOM()});this.triggerEvent("init.base")},sanitize:function(){},build:function(){this.holder=u.html(this.data.get("html"));this.overlay=this.holder.firstChild;this.container=this.overlay.nextSibling;this.handlebar=this.container.firstChild;this.close=this.handlebar.firstChild;this.tracking=this.holder.lastChild;u.each(this.data.get("css"),function(){u.styles.insert(this)});switch(this.handlebarImage){case'drag':hbi='close_bar_drag.png';break;case'nodrag':default:hbi='close_bar_nodrag.png';break}if(u.browser.msie&&u.browser.version<7){u.css(this.handlebar,"filter","progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\""+this.data.get("imagesURL")+"/"+hbi+"\", sizingMethod=\"crop\")")}else{u.css(this.handlebar,"background","url('"+this.data.get("imagesURL")+"/"+hbi+"')")}this.triggerEvent("build.base");log("build base",this)},show:function(){var self=this;if(!u.$("husky-holder")){document.body.appendChild(this.holder)}this.data.set("shutdownMode",0);this.hideGarbage();u.css(this.holder,"display","block");u.event.add(this.close,"click",function(){self.data.set("shutdownMode",1);self.hide()});u.event.add(window,"keypress.husky",function(e){return(e.keyCode==27&&self.data.get("display")!="inpage")?self.hide():true});if(u.browser.mozilla&&!u.browser.os.windows)u.opacity.override();this.data.set("sitecensusCounter",0);u.pixelRequest("sitecensus",null);u.interval.create("sitecensus",60000,function(){self.data.set("sitecensusCounter",self.data.get("sitecensusCounter")+1);u.pixelRequest("sitecensus",null)});u.executeCallbackFunction("callbackShow");this.triggerEvent("show.husky");this.refreshOrdInterval=window.setInterval(function(){self.proxy.getObj().generateOrd()},3000)},hide:function(){u.interval.remove("sitecensus");u.css(this.holder,"display","none");u.event.remove(window,"keypress.husky");u.event.remove(this.handlebar.firstChild,"click");if(u.browser.mozilla&&u.browser.os!="windows")u.opacity.reset();this.showGarbage();this.triggerEvent("hide.husky");window.clearInterval(this.refreshOrdInterval);return false},parseDOM:function(){var self=this;this.embeds=typeof(document.getElementsByClassName)!=="undefined"?document.getElementsByClassName("husky"):u.getElementsByClassName("husky",null,document.body);if(this.embeds.length<=0)return;this.embeds=u.makeArray(this.embeds);u.each(this.embeds,function(index){var nn=this.nodeName.toLowerCase();var embed=null;if(nn!="object"&&nn!="embed"&&nn!='div'&&nn!='a')return;if(nn=="a"){return self.initializeElement(this)}else if(nn=="div"&&this.hasChildNodes()){for(var i=0,e;e=this.childNodes[i];i++){var eNodeName=e.nodeName.toLowerCase();if(eNodeName=="object"||eNodeName=="embed"){log("JS [Husky] :: Div First Child NodeName :: "+eNodeName);embed=self.embeds[index]=e;continue}}if(embed==null)log("JS [Husky] :: Div does not contain a embed or object will check again on window load ")}else{log("JS [Husky] :: Embed Node Name :: "+nn);embed=this};if(u.browser.mozilla||u.browser.safari&&embed!==null){if(nn=="embed"){if(this.parentNode.nodeName.toLowerCase()=="object"){log("JS [Husky] :: Embed inside a Object element. Returning.");this.className.replace(/\s*husky\s*/,"");return}}}try{if(nn=="div"&&embed===null){embed=this;return u.event.add(window,"load",function(){window.setTimeout(function(){self.embeds[index]=self.initializeElement(embed.firstChild)},300)})}else{return self.embeds[index]=self.initializeElement(embed)}}catch(err){self.triggerEvent("error",err);return false}});this.triggerEvent("domparsed")},initializeElement:function(element){var data=this.data;var self=this;var autolaunch=data.get("autolaunch"),autolaunchComplete=data.get("autolaunchComplete");if(element.nodeName.toLowerCase()!="object"&&element.nodeName.toLowerCase()!="embed"){var clk=function(){data.set("options",{movie:element.href||element.rel,width:550,height:550});self.collectGarbage();self.show();element.blur();return false};u.event.add(element,"click",clk);log("JS [Husky] :: Intitialized Anchor")}else{var options=u.Flash.buildOptions(element);var d=u.dimensions(element);var wrapper=u.createElement("span",{"className":"husky-span"},{"position":"relative","display":"block"});var p=element.parentNode;p.insertBefore(wrapper,element);wrapper.appendChild(element);if(!options.wmode||options.wmode!="transparent"){element=u.Flash.replaceEmbed(element);d=u.dimensions(element)}if(!u.browser.msie){var embedOffsetTop=0}else{var embedOffsetTop=element.offsetTop}var embedOffsetLeft=0;var a=u.createElement("a",{"className":"husky-link","href":"#"},{top:embedOffsetTop+"px",left:embedOffsetLeft+"px",width:d["width"]+"px",height:d["height"]+"px",position:"absolute",background:"none",border:"none"},wrapper);var properties=["float","position"];u.each(properties,function(){var val=u.css(element,this);if(this=="float"&&(val=="left"||val=="right")){u.css(a,'top',"0px");u.css(wrapper,this,val);u.css(element,this,"none")}if(this=="position"&&(val=="fixed"||val=="absolute")){u.css(a,'top',"0px");u.css(wrapper,this,val);u.css(wrapper,"top",u.css(element,"top"));u.css(wrapper,"left",u.css(element,"left"));u.css(element,this,"static")}});u.css(wrapper,"width",d.width);u.css(wrapper,"height",d.height);if(u.browser.msie){a.style.top="0px";a.style.background="#000";a.style.filter="alpha(opacity=0)"}var clk=function(){self.data.set("options",options);self.collectGarbage();self.show();a.blur();return false};u.event.add(a,"click",clk)}if(autolaunch&&!autolaunchComplete){data.set("autolaunchComplete",1);clk()}return element},hideGarbage:function(){u.each(this.garbage,function(){u.css(this,"visibility","hidden")})},showGarbage:function(){u.each(this.garbage,function(){u.css(this,"visibility","visible")})},collectGarbage:function(){var self=this;var garbage=this.garbage=this.garbage||[];var embeds=document.getElementsByTagName("embed"),objects=document.getElementsByTagName("object"),iframes=document.getElementsByTagName("iframe"),selects=document.getElementsByTagName("select");u.each([embeds,objects,iframes,selects],function(){for(var i=0;i<this.length;i++){var display=u.css(this[i],"display"),visibility=u.css(this[i],"visibility");if(display=="none"||visibility=="hidden"||u.inArray(this[i],garbage)){continue};if(this[i].nodeName.toLowerCase()=="object"||this[i].nodeName.toLowerCase()=="embed"){if(!this[i].hasChildNodes()||this[i].getElementsByTagName("embed").length===0){garbage.push(this[i])}}else{garbage.push(this[i])}}})},addEvent:function(type,handler){return u.event.add(arguments[2]||this,type,handler)},removeEvent:function(type){return u.event.remove(arguments[1]||this,type)},triggerEvent:function(type,data){return u.event.trigger(type,data||[],arguments[2]||this)},center:function(){var d=u.dimensions();u.css(this.holder,"height",d.height+"px");u.css(this.holder,"top",d.scrollTop+"px");u.css(this.container,"top",(577>d.height)?"0":((d.height/2)-(577/2))+"px");u.css(this.container,"left",(990>d.width)?"0":((d.width/2)-(990/2))+"px");if(u.browser.msie){u.css(this.overlay,"width",d.width)}},titleBar:{id:'husky-handle-title',set:function(title){this.getObj().innerHTML=title},clear:function(){this.set('')},getObj:function(){return u.$(this.id)}},helper:{notice:'notice',error:'error',alert:function(context,type,msgno,message){this.context=context;if(!this.context.data.get("help"))return;type=type?type:this.notice;msgno=msgno?msgno:'0';message=message?message:'No message specified.';if(type==this.notice){alert("Husky help mode\nInternal notice (#"+msgno+")\n\nMessage:\n"+message)}else if(type==this.error){alert("Husky help mode\nFatal error (#"+msgno+")\n\nMessage:\n"+message)}}}});Husky=Husky.extend({ads:{videoSkin:Class.extend({init:function(context){this.context=context;u.styles.insert("#husky-video-skin {position: absolute; top : 25px; left: 0; display: block;}");u.styles.insert("#husky-video-skin img {border: none;}");this.anchor=context.container.insertBefore(u.html("<a id=\"husky-video-skin\"></a>"),context.container.firstChild);if(context.ytplayer&&typeof(context.ytplayer.pauseVideo)=='function'){u.event.add(this.anchor,"click.videoSkin",function(){context.ytplayer.pauseVideo()})}context.triggerEvent("init.videoSkin",this)},create:function(options,context){if(context.data.get('target')=='under'){this.anchor.style.cursor="pointer";u.event.add(this.anchor,"click",function(){adWindow=window.open(options.clickTag,null,'location=1,status=1,toolbar=1,menubar=1,resizable=1');adWindow.blur();window.focus()})}else{this.anchor.href=options.clickTag;this.anchor.target=options.target}if(this.image){return this.image.src=options.adPath}this.image=this.anchor.appendChild(u.html("<img>"));u.event.add(this.image,"load.videoSkin",function(){context.triggerEvent("load.videoSkin")});this.image.src=options.adPath},destroy:function(){u.event.remove(this.anchor,"click.videoSkin");this.image=null;if(this.anchor.hasChildNodes())while(this.anchor.firstChild)this.anchor.removeChild(this.anchor.firstChild);this.context.triggerEvent("destroy.videoSkin")}}),interstitial:Class.extend({init:function(context){this.context=context;this.pause=800;u.styles.insert("#husky-interstitial-door-right {position: absolute; top: 25px; left: 0;  height: 557px; width: 495px; display: block; overflow: hidden; background: #000;}");u.styles.insert("#husky-interstitial-door-right img { border: none; position: absolute; right: -495px; }");u.styles.insert("#husky-interstitial-door-left  {position: absolute; top: 25px; right: 0; height: 557px; width: 495px; display: block; overflow: hidden; background: #000;}");u.styles.insert("#husky-interstitial-door-left  img { border: none; position: absolute; left:  -495px; }");this.rightDoor=context.container.appendChild(u.html("<a id=\"husky-interstitial-door-right\"><img></a>"));this.leftDoor=context.container.appendChild(u.html("<a id=\"husky-interstitial-door-left\"><img></a>"));this.rightImage=this.rightDoor.firstChild;this.leftImage=this.leftDoor.firstChild;context.triggerEvent("init.interstitial")},open:function(){var self=this;u.animate(this.leftDoor,{property:"width",to:0,duration:1000});u.animate(this.rightDoor,{property:"width",to:0,duration:1000,fn:function(){self.context.triggerEvent("open.interstitial")}})},create:function(options,context){var self=this;if(options.adPath==""){this.context.triggerEvent("load.interstitial");this.destroy();return false}this.rightDoor.href=this.leftDoor.href=options.clickTag;this.rightDoor.target=this.leftDoor.target=options.target;this.rightImage.src=this.leftImage.src=options.adPath;u.event.add(this.rightImage,"load",function(e){window.setTimeout(function(){self.open()},self.pause);self.context.triggerEvent("load.interstitial")})},destroy:function(){u.event.remove(this.rightImage,"load");this.context.interstitial=null;if(this.rightDoor!=null){this.context.container.removeChild(this.rightDoor)}if(this.leftDoor!=null){this.context.container.removeChild(this.leftDoor)}}}),videoCommercial:Class.extend({swfPlayer:"player.swf",flashvars:"mode=1&source=flv&pid=1&autoplay=true",init:function(context){this.context=context;var rootPath=this.context.data.get("mediaURL")+"/litePlayer/";this.swfPlayer=rootPath+this.swfPlayer;this.flashvars+="&assets="+rootPath+"assets/";this.callback=this.context.data.get("videoCommercialCallback")||"husky.videoCommercial.destroy";context.triggerEvent("init.videoCommercial")},create:function(options,context){var self=this;var t=window.setTimeout(function(){if(self.context.playerShell.hasChildNodes())while(self.context.playerShell.firstChild)self.context.playerShell.removeChild(self.context.playerShell.firstChild);self.context.data.set("options-original",self.context.data.get("options"));self.context.data.set("options",{id:'husky-video-commerical',movie:self.swfPlayer,width:480,height:395,allowfullscreen:false,allowscriptaccess:'always',flashvars:self.flashvars+'&onVideoComplete='+self.callback+'&cid='+escape(options.adPath)});self.context.data.set("allowVideoSkinRefresh",0);self.context.insertPlayer();context.triggerEvent("load.videoCommercial");self.context.data.set("options",self.context.data.get("options-original"));self.context.data.set("options-original",{})},0)},destroy:function(){this.context.removePlayer(1);if(this.context.data.get("showVideoCommercial")==1&&this.context.data.get("shutdownMode")!=1){this.context.data.set("showVideoCommercial",0);this.context.proxy.getObj().getAd("videoSkin")}this.context.insertPlayer();this.context.data.set("allowVideoSkinRefresh",1)}})},getVideoCommercialAdUrl:function(options){var url=this.data.get("customVideoCommercialURL");options["site_id"]=this.data.get("siteId");options["publisher_id"]=this.data.get("pubId");options["dfp_publisher"]=this.data.get("DARTPublisher");options["cb"]=Math.ceil(10000000*Math.random());if(this.data.get("DARTZone"))options["dfp_zone"]=this.data.get("DARTZone")+";";var ro=new Array("dfp_publisher","dfp_zone","video_id","zone","site_id","publisher_id","cb");var x;for(x in ro){var key=ro[x];var val=options[key]||"";url=url.replace("%"+key+"%",val)}return url},createAd:function(obj){if(obj.status&&obj.status=="invalidAd"){u.extend(obj,this.data.get("defaultAdUnits")[obj.type]);if(obj.type=="videoCommercial")return}try{if(!this[obj.type])this[obj.type]=new this.ads[obj.type](this);this[obj.type].create(obj,this);u.pixelRequest("dfp.impressionPixel",obj.impressionPixel);u.pixelRequest("dfp.thirdPartyTrackingPixel",obj.thirdPartyTrackingPixel);u.pixelRequest("dfp.thirdPartyTrackingPixel2",obj.thirdPartyTrackingPixel2)}catch(e){log("ad error",e);var type='videoSkin';u.extend(obj,{'type':type});u.extend(obj,this.data.get("defaultAdUnits")[type]);this.createAd(obj)}},cleanUpAds:function(){for(var ad in this.ads){if(this[ad]&&this[ad].destroy)this[ad].destroy()}},proxy:Class.extend({id:"proxyId",init:function(context){this.context=context;if(this.context.data.get("DARTZone")==(""||null)){var category=this.context.data.get("category");var availableCategories=this.context.data.get("availableCategories");if(category!=(""||null)&&u.inArray(category,availableCategories)){this.context.data.set("DARTZone",category)}}this.holder=context.holder.appendChild(u.html("<div id=\"husky-proxy\"></div>"));this.options={movie:context.data.get("mediaURL")+"/api/"+context.data.get("version")+"/flash/HuskyProxy.swf?cb="+context.data.get("swfModTime"),width:1,height:1,allowscriptaccess:"always"};this.flashvars={DARTRoot:this.context.data.get("DARTRoot")||"",DARTPublisher:this.context.data.get("DARTPublisher")||"",DARTZone:this.context.data.get("DARTZone")||"",rmSectionCode:this.context.data.get("rmSectionCode")||"",adInterval:this.context.data.get("intervalLength")||"",interstitial:this.context.data.get("pullInterstitial")||0,mediaURL:context.data.get("mediaURL")||"",debug:this.context.data.get("debug")||0,callback:"husky.createAd"}},insert:function(){var self=this;this.fo=new u.Flash(this.holder,this.options);this.fo.addFlashVars(this.flashvars);this.fo.replace();this.context.data.set(this.id,this.fo.swf.id)},getObj:function(){return u.$(this.context.data.get(this.id))},destroy:function(){var self=this;this.context.data.set(this.id,null);var t=window.setTimeout(function(){if(self.holder.hasChildNodes())while(self.holder.firstChild)self.holder.removeChild(self.holder.firstChild);window.clearTimeout(t)},0)}}),init:function(){this._super();this.data.set("defaultAdUnits",{videoSkin:{adPath:this.data.get("imagesURL")+'/husky_videoskin.jpg',clickTag:'http://www.huskymedia.com'},interstitial:{adPath:'',clickTag:'http://www.huskymedia.com'}})},show:function(){if(window.Husky.category){this.data.set("category",window.Husky.category);this.proxy.init(this)}this.proxy.insert();this._super();var interstitial=this.data.get("pullInterstitial");if(interstitial){this.addEvent("load.interstitial",function(){var timeout=window.setTimeout(function(){husky.proxy.getObj().getAd("videoCommercial");husky.data.set("videoCommercialShowCount",husky.data.get("videoCommercialShowCount")+1);husky.insertPlayer()},200)})}else{this.addEvent("load.videoSkin",function(){var timeout=window.setTimeout(function(){if(husky.data.get("showVideoCommercial")==1){husky.proxy.getObj().getAd("videoCommercial");window.setTimeout(function(){husky.data.set("adCallPos","")},2000);husky.data.set("videoCommercialShowCount",husky.data.get("videoCommercialShowCount")+1)}husky.data.set("showVideoCommercial",1);husky.insertPlayer()},200)})}u.pixelRequest("quantcast",null)},hide:function(){this.proxy.destroy();this.cleanUpAds();this.removePlayer();this.removeEvent("load.interstitial");this.removeEvent("load.videoSkin");this.data.set("adCallPos","pre");this.data.set("videoCommercialShowCount",0);this._super()},build:function(){this._super();u.styles.insert("#husky-player-shell {position: absolute; display: block;}");this.playerShell=this.container.appendChild(u.html("<div id=\"husky-player-shell\"></div>"));this.proxy=new this.proxy(this)},insertPlayer:function(bounds){var options=this.data.get("options"),bounds=bounds||{},minWidth=bounds.minWidth||420,maxWidth=bounds.maxWidth||500;if(this.playerShell.hasChildNodes())return;var fo=new u.Flash(this.playerShell,options);var layout=(options.width<options.height);if(this.data.get("customPlayerWidth")>0&&this.data.get("customPlayerHeight")>0){options=u.extend(options,{width:this.data.get("customPlayerWidth"),height:this.data.get("customPlayerHeight")})}else{if(parseInt(options.width)<minWidth)options=u.extend(options,this.setPlayerSize(minWidth,options));if(parseInt(options.width)>maxWidth)options=u.extend(options,this.setPlayerSize(maxWidth,options))}if(/heavy\.com|burlysports\.com/gi.exec(options.data)){fo.addFlashVars("version",this.data.get("version"));fo.addFlashVars("mediaURL",this.data.get("mediaURL"))}if(/youtube\.com/gi.exec(options.movie)){options.id='ytplayer';options.movie+='&enablejsapi=1&playerapiid=ytplayer'}var subtractHeight=0;if(this.data.get("sequence"))subtractHeight=this.data.get("sequencerHeight");var left=bounds.x||((990/2)-(options.width/2));var top=bounds.y||(((557-subtractHeight)/2)-(options.height/2));if(!bounds.y&&u.$("husky-close"))top+=u.$("husky-close").offsetHeight;this.setPlayerLayout({"left":left+"px","top":top+"px","width":options.width+"px","height":options.height+"px"});var autoplayVar=this.data.get("autoplayVar");var autoplayValue=this.data.get("autoplayValue");if(this.data.get("autoplayValueAS")!=undefined){autoplayVar=this.data.get("autoplayVarAS");autoplayValue=this.data.get("autoplayValueAS")}fo.addFlashVars(autoplayVar,autoplayValue);if(this.data.get("player")=="jw_flv_player"){fo.addFlashVars("width",options.width);fo.addFlashVars("height",options.height)}fo.addFlashVars("husky","true");fo.addFlashVars("DARTPublisher",this.data.get("DARTPublisher"));fo.replace();this.triggerEvent("insert.player")},removePlayer:function(reinsertPlayerWhenComplete){var self=this;var t=window.setTimeout(function(){if(self.playerShell.hasChildNodes())while(self.playerShell.firstChild)self.playerShell.removeChild(self.playerShell.firstChild);window.clearTimeout(t);if(reinsertPlayerWhenComplete)self.insertPlayer()},0)},setPlayerLayout:function(options){var ps=this.playerShell,fence=this.data.get("fence")||0,st;if(fence){fence=parseInt(fence.replace("px",""));st=this.data.get("sequence")?"#px #px 0px #px":"#px #px #px #px";st=st.replace(/#/gi,fence);u.css(ps,"padding",st);options.left=(parseInt(options.left.replace("px",""))-fence)+"px";options.top=(parseInt(options.top.replace("px",""))-fence)+"px"}u.css(ps,"left",options.left);u.css(ps,"top",options.top);u.css(ps,"width",options.width);u.css(ps,"height",options.height);u.css(ps,"display","block")},setPlayerSize:function(size,options){var tempW=parseInt(options.width);return{width:Math.round((size/tempW)*parseInt(options.width)),height:Math.round((size/tempW)*parseInt(options.height))}},setAutoPlayVars:function(name,value){this.data.set("autoplayVar",name);this.data.set("autoplayValue",value)},autoStart:function(bool){display=this.data.get('display');if(display!="fixed-window"&&display!="overlay"){this.helper.alert(this,this.helper.notice,400,"Husky.autoStart() is not available with in-page mode.\nThis method has been called in your code and should be removed.");return}}});if(!window.Husky){window.Husky={}}window.Husky=u.extend(window.Husky,{setAutoPlayVars:function(){return husky.setAutoPlayVars.apply(husky,arguments)},autoStart:function(){husky.data.set("autolaunch",true);husky.parseDOM();return true},setPlayerSizeByWidth:function(){return true},addWidthHeightToFlashVars:function(){husky.data.set("player","jw_flv_player");return true},playerSize:function(width,height){if(!width||!height)return false;husky.data.set("customPlayerWidth",parseInt(width));husky.data.set("customPlayerHeight",parseInt(height));return true}});Husky=Husky.extend({build:function(){this.data.set("display","overlay");this.handlebarImage="nodrag";this._super();if(u.browser.mozilla&&!u.browser.os.windows){u.css(this.overlay,"background","url("+this.data.get("imagesURL")+"/shade.png)")}else{u.css(this.overlay,"background","#000");if(u.browser.msie){u.css(this.overlay,"filter","alpha(opacity=80)")}else{u.css(this.overlay,"opacity",".8")}}},show:function(){var self=this;this._super();this.center();u.event.add(window,"resize.husky",function(){self.center()});u.event.add(window,"scroll.husky",function(){self.center()})},hide:function(){u.event.remove(window,"resize.husky");u.event.remove(window,"scroll.husky");this._super();u.executeCallbackFunction("callbackHide")}});window.husky=new Husky()})();function onYouTubePlayerReady(playerId){ytplayer=document.getElementById("ytplayer");ytplayer.addEventListener("onStateChange","onytplayerStateChange")}function onytplayerStateChange(newState){if(newState=="0"){if(husky){husky.data.set("adCallPos","post");husky.proxy.getObj().getAd("videoSkin");window.setTimeout(function(){husky.data.set("adCallPos","")},2000);husky.insertPlayer()}}}function huskyGetAdCallPos(){return husky?husky.data.get("adCallPos"):""}function huskyAllowVideoSkinRefresh(){return husky?husky.data.get("allowVideoSkinRefresh"):1}