
function hmenuhover()
{
	if(!document.getElementById("nav"))
		return;
	var lis = document.getElementById("nav").getElementsByTagName("li");
	for (var i=0;i<lis.length;i++)
	{
		lis[i].onmouseover=function(){this.className+=" over";}
		lis[i].onmouseout=function() {this.className=this.className.replace(new RegExp(" over\\b"), "");}
	}

}
if (window.attachEvent)	window.attachEvent("onload", hmenuhover);

