// JavaScript Document

navHover = function() {
	var lis = document.getElementsByTagName('UL');
	
	for(var i=0; i<lis.length; i++)
	{
		currentNode = lis[i];
		if(currentNode.className == 'navmenu')
		{
			for (var j=0; j<currentNode.childNodes.length; j++)
			{
				subNode = currentNode.childNodes[j];
				if(subNode.nodeName == 'LI') 
				{ 
					subNode.onmouseover=function() 
					{
						this.className+=" iehover";
					}
					subNode.onmouseout=function() 
					{
						this.className=this.className.replace(new RegExp(" iehover\\b"), "");
					}
				}
			}
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", navHover);