var showmenu = false;

function resurList(navCur) {
	for (i=0; i < navCur.childNodes.length; i++) {
		node = navCur.childNodes[i];
		if(node.nodeName=="DIV") {
			node.onmouseover=function() {
				this.className+=" over";
				showmenu = true;
			}
			node.onmouseout=function() {
				this.className=this.className.replace(" over", "");
				showmenu = false;
			}
		}
	}

return false;
}

function startList() {
	if(document.all && document.getElementById) {
		for(k = 1;; k++) {
			navRoot = document.getElementById("fake"+k);
			if(navRoot==null) break;
			resurList(navRoot);
		}
	}

return false;
}

addLoadHandler(startList);

function addLoadHandler(handler)
{
	if(window.addEventListener)
	{
		window.addEventListener("load",handler,false);
	}
	else if(window.attachEvent)
	{
		window.attachEvent("onload",handler);
	}
	else if(window.onload)
	{
		var oldHandler = window.onload;
		window.onload = function piggyback()
		{
		    oldHandler();
		    handler();
		};
	}
	else
	{
		window.onload = handler;
	}
}
