function initPage()
{
	var nav = document.getElementById("main");
	if (nav)
	{
		var uls = nav.getElementsByTagName("ul");
		for (var j = 0; j < uls.length; j++)
		{
			if (uls[j].className.indexOf("navigation") != -1) {
				var nodes = uls[j].getElementsByTagName("li");
				for (var i = 0; i < nodes.length; i++)
				{
					nodes[i].onmouseover = function () 
					{
						if (this.className.indexOf("hover") == -1)
						{
							this.className += " hover";
						}
					}
					nodes[i].onmouseout = function ()
					{
						if (this.parentNode.className.indexOf("left navigation") != -1) {
							_obj = this;
							_navTime = setTimeout(function(){
								_obj.className = _obj.className.replace("hover", "");
							}, 200);
						} else {
							this.className = this.className.replace("hover", "");
						}
					}
				}
			}
		}
	}
}
if (window.attachEvent && !window.opera)
	window.attachEvent("onload", initPage);