function get_cookie(A){return GetCookieUtil(A);}function delete_cookie(A){DeleteCookieUtil(A,"/","espn.go.com");}function set_cookie(C,D){var B=new Date();var A=new Date(B.getTime()+365*24*60*60*1000);SetCookieUtil(C,D,A);}function nonBeta(){delete_cookie("ESPN360beta");setTimeout("redirectPage()",1000);}function redirectPage(){window.location=insertServer+"index";}var betaCookie=get_cookie("ESPN360beta");if(betaCookie==null){set_cookie("ESPN360beta","betaSet");}function openLightBox(){var B=document.getElementById("lightbox1Link");if(B!=null){if(document.dispatchEvent){var A=document.createEvent("MouseEvents");A.initMouseEvent("click",true,true,window,1,1,1,1,1,false,false,false,false,0,B);B.dispatchEvent(A);}else{if(document.fireEvent){B.fireEvent("onclick");}}}}function clickLink(C){var B=document.getElementById(C);if(B!=null){if(document.dispatchEvent){var A=document.createEvent("MouseEvents");A.initMouseEvent("click",true,true,window,1,1,1,1,1,false,false,false,false,0,B);B.dispatchEvent(A);}else{if(document.fireEvent){B.fireEvent("onclick");}}}}function writeAffiliate(A){if(A!=null&&A!=""&&A!="null"){writeElement=document.getElementById("affiliateDiv");writeElement.style.display="block";if(navigator.appVersion.indexOf("MSIE")==-1){if(ud.aweb!=""&&ud.aweb!="null"){writeElement.innerHTML='<a target="_blank" href="'+ud.aweb+'"><img src="'+assetURL+"/espn360/2.0/images/affiliates/landing/"+A+'" border="0" class="ie-hide" style="position:relative;"></a>';}else{writeElement.innerHTML='<img src="'+assetURL+"/espn360/2.0/images/affiliates/landing/"+A+'" border="0" class="ie-hide" style="position:relative;">';}}document.write('<style type="text/css">');document.write(".ie-png-affiliate {");document.write("filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<%config.assetURL%>/espn360/2.0/images/affiliates/landing/"+A+"',sizingMethod='image')");document.write("}");document.write("</style>");}}function showChannels(){document.getElementById("dropdown").style.display="block";}function hideChannels(){document.getElementById("dropdown").style.display="none";}