function hoverMenu()
{
	if(document.all&&document.getElementById) 
	{
		var navRoot = document.getElementById("topmenulist");
		for (i=0; i<navRoot.childNodes.length; i++) 
		{
			var nodeLI = navRoot.childNodes[i];
			if(nodeLI.id != "topmenulist_lastli" && nodeLI.id != "searchinput")
			{
				var elem = nodeLI;
				if ((nodeLI.nodeName=="LI")&&(nodeLI.className!="current"))
				{
					elem.li = nodeLI;
					for (j=0; j<nodeLI.childNodes.length; j++) 
					{
						var nodeDIV = nodeLI.childNodes[j];
						if (nodeDIV.nodeName == "DIV")
							elem.div = nodeDIV; 
					}
					elem.onmouseover = hoverLI;
					elem.onmouseout = nohoverLI; 
				}
			}
		}
	}
	return;
}

function hoverLI(event)
{
	this.li.className = "topmenulistlihover";
	this.div.className = "topmenulistlihoverdiv";
	return;
}

function nohoverLI(event)
{
	this.li.className = "";
	this.div.className = "";
	return;
}

function hoverButton(hclass)
{
	if(document.all&&document.getElementById) 
	{
		var items = document.getElementsByTagName("input");
		for(var i=0; i<items.length; i++)
		{
			var hbutton = items[i];
			if(hbutton.className == hclass)
			{
				hbutton.onmouseover = function(){this.className = hclass+"hover"}
				hbutton.onmouseout = function(){this.className = hclass}
			}
		}
	}
	return;
}
