wtrHover = function()
{
	var wtrEls = document.getElementById("TopNav").getElementsByTagName("li");

	for (var i = 0; i < wtrEls.length; i++)
	{
		wtrEls[i].onmouseover = function()
		{
			this.className += " wtrhover";
		}

		wtrEls[i].onmouseout = function()
		{
			this.className = this.className.replace(new RegExp(" wtrhover\\b"), "");
		}
	}
}

if (window.attachEvent)
	window.attachEvent("onload", wtrHover);
