startList = function() 
{
	if (document.all&&document.getElementById) 
	{
		navRoot = document.getElementById("navlinks");
		for (i=0; i<navRoot.childNodes.length; i++) 
		{
			node = navRoot.childNodes[i];
			if (node.nodeName=="LI") 
			{
				node.onmouseover=function() 
				{
					this.className+=" over";
			 	}
			  	node.onmouseout=function() 
			  	{
					this.className=this.className.replace(" over", "");
				}
				recurse(node);		
			}
				
	  	}
	}
}

function recurse(node)
{
	for (j=0; j<node.childNodes.length; j++) 
	{			
		node2 = node.childNodes[j];
		if (node2.className=="dropdown")
		{
			for (h=0; h<node2.childNodes.length; h++) 
			{				
				node3 = node2.childNodes[h];
				if (node3.nodeName=="UL")
				{ 
					for (m=0; m<node3.childNodes.length; m++) 
					{										
						node4 = node3.childNodes[m];
						if (node4.nodeName=="LI") 
						{
							node4.onmouseover=function() 
							{
								this.className+=" over";
						 	}
						  	node4.onmouseout=function() 
						  	{
								this.className=this.className.replace(" over", "");
							}
							recurse(node4);
						}
				  	}
			  	}
		  	}
	  	}
  	}
}
window.onload=startList;
