function loadNHNav(){
	var nav_menu=document.getElementById('portal_nav_menu');
	var links=nav_menu.getElementsByTagName('li');
	for(var i=0;i<links.length;i++){
			links[i].onmouseover=function(){

			this.className=this.className.replace(' hover','');

			this.className+=' hover';

			fixMargin(this);

			
			var imgtag2 = new Array();
			imgtag2 = this.getElementsByTagName('img');			

			if(imgtag2.length>0)
			{
				var url_array = imgtag2[0].src.split('_');
		       		var sp_char = url_array[url_array.length-1];
				if (sp_char.charAt(0)!='o')
				{
					imgtag2[0].src=imgtag2[0].src.replace('.jpg','_o.jpg');
				}

			}
			}
			links[i].onmouseout=function(){
			this.className=this.className.replace(' hover','');

			var imgtag2 = new Array();
			imgtag2 = this.getElementsByTagName('img');
			if(imgtag2.length>0 && this.id!="current_channel_li")
			{
				imgtag2[0].src=imgtag2[0].src.replace('_o.jpg','.jpg');
			}
			}
		}
/*
var signinLink=document.getElementById('5297').getElementsByTagName('a');
signinLink[0].setAttribute('id','hd_signinLink');
var JS_TRACK_SWITCH_LOCAL;
var JS_TRACK_SWITCH;
var JS_SITEID;
var JS_SECTIONID;
var JS_SUB_SECTIONID;
JS_TRACK_SWITCH_LOCAL=JS_TRACK_SWITCH;
if(JS_TRACK_SWITCH_LOCAL==undefined||JS_TRACK_SWITCH_LOCAL==''||JS_TRACK_SWITCH_LOCAL.toLowerCase()=='off'){
	JS_TRACK_SWITCH_LOCAL='False';
	}
else if(JS_TRACK_SWITCH_LOCAL.toLowerCase()=='on'){
	JS_TRACK_SWITCH_LOCAL='True';
	}*/
}

function fixNHNavSpacing(){
	
	var signinLink=document.getElementById('hd_signinLink');
	if(signinLink.innerText=='Sign Out'){
		signinLink.style.paddingLeft='11px';signinLink.style.paddingRight='10px';
		}

	}

function fixMargin(control){
	if(control&&control.childNodes.length>2&&navigator.appName=="Microsoft Internet Explorer"){
		control.childNodes[2].style.marginLeft=0;//-(control.offsetWidth);
		}
	}
