// JavaScript Document
startList = function() 
{
	//Internet Explorer 4 introduced the document.all DOM (document object model) to allow access to the various parts of the web page. 
	//Soon after that the standard DOM method getElementById was introduced and is therefore available in all version 5+ browsers. 
	//This means that the document.all references are only needed to support IE4.
	//if (document.all&&document.getElementById) 
	//if (document.getElementById("navcontainer")) 
	//{

	var navRoot = document.getElementById("nav");

	for (i=0; i<navRoot.childNodes.length; i++) 
	{			
		var node = navRoot.childNodes[i];
		
		if (node.nodeName=="LI"||node.nodeName=="li") 
		{
			node.onmouseover=function()
			{
				this.className+=" over";
			}
		
			node.onmouseout=function() 
			{
				this.className=this.className.replace(" over", "");
			}
		}
	}
}

window.onload=startList;