/* Позволяет обойти баг в IE с неработающим :hover для тэгов, отличных от <a> */

function Hoverize (root)
{
	for (var childItem in root.childNodes)
	{
		node = root.childNodes[childItem];
		if (node.nodeName == "LI")
		{
			node.onmouseover = function ()
			{
				this.className += " over";
			}
			
			node.onmouseout = function ()
			{
				this.className = this.className.replace (" over", "");
			}
		}
		Hoverize (node);
	}
}
 
window.onload = function ()
{
	if (document.all && document.getElementById)
	{
		Hoverize (document.getElementById ("topmenu"));
	}
}