
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);

function switchVisible(id) {
	var block = document.getElementById(id);
	if(block.style.display == "block") block.style.display = "none";
	else block.style.display = "block";
	return false;
}

