menu_status = new Array();

function showHide(theid){
	var m="mymenu";
	for(var i=1; i<6; i++)
	{
		var switch_id = document.getElementById(theid);
		var curMenu = document.getElementById(m+i);
		if(switch_id == curMenu)
		{
			if(menu_status[theid] != 'show') {
			   switch_id.className = 'show';
			}else{
			   switch_id.className = 'hide';
			}
		}
		else{
			curMenu.className = 'hide';
		}
		//alert(menu_status[theid] +" - "+menu_status[curMenu]);

	}
}

