var timeOutEvent;

function MenuShow(objId)
{
	MenuHideAll();
	
	if (objId != "") {
		document.getElementById(objId).style.display = "inline";
	}
}
function MenuHide(objId)
{
	var timeOutEvent = 'MenuHideTimeout("' + objId + '")'

	// create a timer to hide this menu
	window.clearInterval();
	timeOutEvent = window.setInterval(timeOutEvent, 10000);
}
function MenuHideTimeout(objId) {
	document.getElementById(objId).style.display = "none";

	// clear our timer
	window.clearInterval();
	timeOutEvent = null;
}

function ToggleActive(sender, cssClass) {
	sender.className = cssClass;
}
