function hideMenu() {
	if (arguments.length > 0) {
		for (i=0; i<arguments.length; i++)
			document.getElementById(arguments[i]).style.display="none";
	}
}

function hideMenus(){
	hideMenu('m2','m3','m4','m6');
}

function showMenu() {
	hideMenus();
	if (arguments.length > 0) {
		for (i=0; i<arguments.length; i++)
			document.getElementById(arguments[i]).style.display="block";
	}
}

var b = document.getElementsByTagName("body");
for(var i = 0; i < b.length; i++){
b[i].onmouseover = function(){hideMenus()};
b[i].onload =  function(){hideMenus()};
}
