

function hfSideBar(bNFirst)
 {var oS=new UberSniff();if(oS.ie||oS.nn>=5)
 {if(!bNFirst){if(oS.ie>=5&&!oS.mac){window.attachEvent("onresize",hfSideBar);}
else
{window.onresize=hfSideBar;}}setTimeout("hfSideBar2()",100);}}

function hfSideBar2()
 {var oS=new UberSniff();if(oS.ie||oS.nn>=5)
 {var oSBar=document.getElementById("hfSideBar");var bWid=(((oS.ie)?document.body.clientWidth:self.innerWidth)>935);if(bWid){var oSC=document.getElementById("siteCal");
 if((oSC!=null)&&(oSC.src=="about:blank"))oSC.src=oSC.getAttribute("hideSrc");}
 if(oS.nn>=5&&bWid&&oSBar.style.display=="none")
{oSBar.style.display="block";oSBar.style.display="none";}oSBar.style.display=bWid?"block":"none";}}

function tryCatch(sTry,sCatch)
{this.trycatch=new Function("try{"+sTry+"}catch(e){"+sCatch+"}");this.trycatchV=new Function("s1","try{"+sTry+"}catch(e){"+sCatch+"}");}

function UberSniff(sUndefined)
{var ua=navigator.userAgent.toLowerCase();this.webtv=(ua.indexOf("webtv")>-1);this.ie=(parseFloat(ua.slice(ua.indexOf("msie")+5)));this.nn=(this.ie)?(-1):(parseFloat(ua.slice(ua.indexOf("mozilla/")+8)));this.mac=(ua.indexOf("mac")>-1);if(navigator.MSNBCFlashVer==sUndefined){if(this.nn<=0&&this.ie<5){navigator.MSNBCFlashVer=6;}else{if(!this.mac&&this.ie>4)
{var oTestVersion=new tryCatch("oWMPlayer=new ActiveXObject('ShockwaveFlash.ShockwaveFlash.'+s1);return s1;","return 0;");navigator.MSNBCFlashVer=-1;for(var nCheckVersion=7;nCheckVersion>2;--nCheckVersion){if(oTestVersion.trycatchV(nCheckVersion))
{navigator.MSNBCFlashVer=nCheckVersion;break;}}}
else
{if(navigator.plugins['Shockwave Flash'])
{navigator.MSNBCFlashVer=(parseInt(navigator.plugins['Shockwave Flash'].description.substr(16)));}else{navigator.MSNBCFlashVer=-1;}}}}this.flash=navigator.MSNBCFlashVer;if(navigator.MSNBCMPlayer==sUndefined)
{if((this.nn<=0&&this.ie<5)||this.mac){navigator.MSNBCMPlayer=true;}else{if(!this.mac&&this.ie>4){var oTestVersion=new tryCatch("oWMPlayer=new ActiveXObject('WMPlayer.OCX');return oWMPlayer.versionInfo;","return 0;");if(oTestVersion.trycatch())
{navigator.MSNBCMPlayer=oTestVersion.trycatch();}else{for(itest=0;itest<9;++itest)
{oTestVersion=new tryCatch("oWMPlayer=new ActiveXObject('MediaPlayer.MediaPlayer.'+itest);return 1;","return 0;");navigator.MSNBCMPlayer=(oTestVersion.trycatch());
if(navigator.MSNBCMPlayer){itest=100;}}}}else{navigator.MSNBCMPlayer=!!(navigator.mimeTypes&&navigator.mimeTypes["video/x-ms-wm"]&&navigator.mimeTypes["video/x-ms-wm"].enabledPlugin);}}}this.mplayer=navigator.MSNBCMPlayer;this.screenHeight=screen.height;this.screenWidth=screen.width;this.colorDepth=(this.nn>=4)?screen.pixelDepth:screen.colorDepth;}
