start = function() 
{
	addRollOver("nav"); // Element IDs
}
function addRollOver(id) 
{
	if (document.all&&document.getElementById) // Internet Explorer-only functions
	{
		rollLI = document.getElementById(id).getElementsByTagName("li"); // get an array of LI items
		for (i=0; i<rollLI.length; i++) 
		{
			node = rollLI[i];
			// Add appropriate class name extensions
			node.onmouseover=function() 
			{
				this.className+="O";
			}
			node.onmouseout=function() 
			{
				this.className=this.className.replace("O","");
			}	
		}	
	}	
}

window.onload = start;
