function dropDownSubNavShow(id)
{
	document.getElementById(id+"_link").style.visibility = "visible";
	//document.getElementById(id+"_link").style.display = "block";
	document.getElementById(id+"_link").style.overflow = "hidden";
	document.getElementById(id+"_link").style.position = "absolute";
}

function dropDownSubNavHide(id)
{
	//document.getElementById(id+"_link").style.display = "none";
	document.getElementById(id+"_link").style.visibility = "hidden";
}


function navHighlight(id)

{
	  
    	var imageName = "NAV-PRIM-" + id + "-on.gif";
     	var urlPath= (document.getElementById('cDNManagerURL')).value;
     	 var imagePath = urlPath+"/data_root/images/primaryNavigation/"+imageName;
        document.getElementById(id).getElementsByTagName('img')[0].src = imagePath;
	document.getElementById(id).getElementsByTagName('img')[0].alt = ""; 
  }

      

function navHighlightOff(id)

{		
	 var imageName = "NAV-PRIM-" + id + "-off.gif";
	 var urlPath= (document.getElementById('cDNManagerURL')).value;
	 var imagePath = urlPath+"/data_root/images/primaryNavigation/"+imageName;
     document.getElementById(id).getElementsByTagName('img')[0].src = imagePath;
     document.getElementById(id).getElementsByTagName('img')[0].alt = "";

   selectedNavHighlight(); 
    
}
function selectedNavHighlight()
{	
	 if(document.getElementById("selectedPrimaryNav"))
	 {
	 var id=(document.getElementById("selectedPrimaryNav")).value;
		 if((id=="prod")||(id=="pupwrld")||(id=="supnutr")||(id=="lrngcntr")||(id=="eukadvsr")||(id=="cats")){
	 
    	var imageName = "NAV-PRIM-" + id + "-on.gif";
     	var urlPath= (document.getElementById('cDNManagerURL')).value;
     	 var imagePath = urlPath+"/data_root/images/primaryNavigation/"+imageName;
        (document.getElementById(id)).getElementsByTagName('img')[0].src = imagePath;
	    (document.getElementById(id)).getElementsByTagName('img')[0].alt = ""; 
  }
  }
  }
