liHover = function() 
{
	var sfEls = document.getElementById("dropdown").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) 
	{
		sfEls[i].onmouseover=function() 
		{
			this.className+=" lihover";
		}
		sfEls[i].onmouseout=function() 
		{
			this.className=this.className.replace(new RegExp(" lihover\\b"), "");
		}
	}
}

if (window.attachEvent) 
	window.attachEvent("onload", liHover);
	
	
ulHover = function() 
{
	var sfEls = document.getElementById("dropdown").getElementsByTagName("UL");
	for (var i=0; i<sfEls.length; i++) 
	{
		sfEls[i].onmouseover=function() 
		{
			this.className+=" ulhover";
		}
		sfEls[i].onmouseout=function() 
		{
			this.className=this.className.replace(new RegExp(" ulhover\\b"), "");
		}
	}
}

if (window.attachEvent) 
	window.attachEvent("onload", ulHover);

