startList = function() 
{
	if (document.all&&document.getElementById) 
	{
		/* navRoot = document.getElementById("nav"); */
		navRoot = document.getElementById("nav").getElementsByTagName('LI');
		
		for (i=0; i<navRoot.length; i++) 
		{
			if (navRoot[i].nodeName=="LI") 
			{
				navRoot[i].onmouseover = function() 
				{
					this.className+=" over";
				}
				
				navRoot[i].onmouseout=function() 
				{
					this.className=this.className.replace(" over", "");
				}
			}
		}
	}
}

window.onload = startList;

function addOnload(newFunction) 
{
	//alert('addOnload(' + newFunction + ')');
	
	var oldOnload = window.onload;
	
	if (typeof oldOnload == "function") 
	{
		window.onload = function() 
		{
			if (oldOnload) 
			{
				oldOnload();
			}
			
			eval(newFunction);
		}
	}
	else 
	{
		window.onload = newFunction;
	} 
}

