
DOM = (document.getElementById) ? 1 : 0;
NS4 = (document.layers) ? 1 : 0;
IE4 = (document.all) ? 1 : 0;


function showHide(theID,on) {

	if (on) {
		if (DOM) { document.getElementById(theID).style.visibility = "visible"; }
		else if (NS4) { document.layers[theID].visibility = "show"; }
		else { document.all[theID].style.visibility = "visible"; }
	}
	else {
		if (DOM) { document.getElementById(theID).style.visibility = "hidden"; }
		else if (NS4) { document.layers[theID].visibility = "hide"; }
		else { document.all[theID].style.visibility = "hidden"; }
	}
}

function swapItemOver(item) {
	if(document.getElementById) {
		aObj = document.getElementById(item);
		aObj.className = "subMenuHomeOver";
		}
}

function swapItemOff(item) {
	if(document.getElementById) {
		aObj = document.getElementById(item);
		aObj.className = "subMenuHome";
	}
}



