// TOP MENU FUNCTIONS

var turn = 0;

function setTurn(t) {
	turn = t;
}

function clearMenus() {

	if (turn == 1) {
		MM_showHideLayers('topmenu_about_sub','','hide');
		MM_showHideLayers('topmenu_locations_sub','','hide');
		turn = 0;
	}
}


function showMenu(m) {
	turn = 1;
	clearMenus();
	MM_showHideLayers(m,'','show');
}

function hideMenu(m) {
	MM_showHideLayers(m,'','hide');
}

function timeoutMenus(tm) {
	turn = 1;
	tom = setTimeout("clearMenus()", tm);
}
