var shown;

function showMenu(MenuID)
{
	var menu;
	var shownMenu;
	if(MenuID > 0)
	{
		menu = document.getElementById("Menu" + MenuID);
	}

	if(menu)
	{
		menu.style.visibility = 'visible';
		menu.style.display = 'block';
	}

	if(shown && shown > 0 && shown != MenuID)
	{
		shownMenu = document.getElementById("Menu" + shown);
	}

	if(shownMenu)
	{
		shownMenu.style.visibility = 'hidden';
		shownMenu.style.display = 'none';
	}

	shown = MenuID;
}

