function init() 
{
	var navRoot = document.getElementById("nav");
	for (var i=0; i < navRoot.childNodes.length; i++)
	{
		var node = navRoot.childNodes[i];
		if (node.nodeName == "LI")
		{
			node.onmouseover = function()
			{
				this.className += "-selected over";
				//document.getElementById(this.id + "-end").className += "-selected";
			}
			node.onmouseout = function() 
			{
				this.className = this.className.replace("-selected over", "");
				//document.getElementById(this.id + "-end").className = "menubutton-end";
			}
		}
	}
}

