var hideTimeOutID;

function showLayer(hiddenElement) {
	window.clearTimeout(hideTimeOutID);
	document.getElementById(hiddenElement).style.display='block';
}

function hideLayer(shownElement) {
	document.getElementById(shownElement).style.display='none';
}

function hideDropdownMenu() {
	hideLayer('service_dropdown_outer');
}

function hideDelayed() {
	hideTimeOutID = window.setTimeout('hideDropdownMenu()',1000);
}