function initPage()
{
	var nav = document.getElementById("navigation");
	var shad = document.getElementById("white-shad");
	var main = document.getElementById("page").offsetHeight;
	if (nav)
	{
		var nodes = nav.getElementsByTagName("li");
		for (var i = 0; i < nodes.length; i++)
		{
			nodes[i].onmouseover = function () 
			{
				if (shad)
				{
					if (this.getElementsByTagName("div")[0])
						shad.className += " show-shad";
						shad.style.height = main + "px"
				}
				if (this.className.indexOf("hover") == -1)
				{
					this.className += " hover";
					this.style.zIndex = (500)
				}
			}
			nodes[i].onmouseout = function ()
			{
				shad.className = shad.className.replace("show-shad", "");
				this.className = this.className.replace("hover", "");
			}
		}
	}
	
}
if (window.addEventListener) window.addEventListener("load", initPage, false);
else if (window.attachEvent) window.attachEvent("onload", initPage);