// JavaScript Document which when IE is used, assigns a class name to topnav li elements
//faking hover states for these elements

nodeArray2 = new Array();

//---------- top nav drop downs -------------------------------

top_navList = function()
{
	if (document.all&&document.getElementById)
	{	
		top_navRoot = document.getElementById("top_level_nav");
		z = 0;
	
		//this for loop puts li elements from top_level_nav into nodeArray2
		for (a = 0; a < top_navRoot.childNodes.length; a++)
		{
			if (top_navRoot.childNodes[a].nodeName=="LI")
			{
				nodeArray2[z] = top_navRoot.childNodes[a];
				++z;
			}
		}
	
		for (b=0; b<nodeArray2.length; ++b)
		{
			nodeArray2[b].onmouseover=function()
			{			
				this.className+=" over";
			}
		
			nodeArray2[b].onmouseout=function()
			{			
				this.className=this.className.replace(" over", "");
			}
		}
	}
}