function ShowHide (id) {
	var vis = isVisId(id);
	if (vis) hideId(id); else showId(id);
}

function showObj (obj)	{
	obj.style.visibility = 'visible';
	obj.style.display = 'inline';
}

function hideObj (obj) {
	obj.style.visibility = 'hidden';
	obj.style.display = 'none';
}

function getVisObj (obj) { return (obj.style.visibility); }

function getVisId (id)	 { return getVisObj(document.getElementById(id)); }

function isVisObj (obj)	 { return (obj.style.visibility == 'visible'); }

function isVisId (id)	 { return isVisObj(document.getElementById(id)); }

function disableId (id)	 { disableObj(document.getElementById(id)); }

function showId (id)	 { showObj(document.getElementById(id)); }

function hideId (id)	 { hideObj(document.getElementById(id)); }

function ocultaelmenu (nesconde) {
if (nesconde!=1) {hideId('menu01')};
if (nesconde!=2) {hideId('menu02')};
if (nesconde!=3) {hideId('menu03')};
if (nesconde!=4) {hideId('menu04')};
if (nesconde!=5) {hideId('menu05')};
if (nesconde!=6) {hideId('menu06')};
if (nesconde!=7) {hideId('menu07')};
if (nesconde!=8) {hideId('menu08')};
}
