// JavaScript Document

function doOver ( elemID, state )
{
	elem = document.getElementById(elemID);
	if (elem)
	{
		if (state) elem.className += " over";
		else       elem.className = elem.className.replace (" over", "");
	}
}

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

initJS = function ()
{
	startList ();
}

// overwrite onLoad: save commonOnLoad
/*
var commonOnLoad = window.onload;
window.onload = function () 
//{
  commonOnLoad();
	initJS ();
}
*/
if (onLoadCalls) onLoadCalls.push( initJS );


