// Define global variables
var timerID = null;
var timerOn = false;
// Change this to the time delay that you desire
var timecount = 1000;
function hideAll() {
hide_close_btn("subMenu1");
hide_close_btn("subMenu2");
//Put all layers used in the nav here.
//Copy the hideLayer() function above.
}

function startTime() {
if (timerOn == false) {
timerID=setTimeout( "hideAll()" , timecount);
timerOn = true;
}
}

function stopTime() {

if (timerOn) {
clearTimeout(timerID);
timerID = null;
timerOn = false;
}
}

function hideDrop(){
	hide_close_btn("jumpMenu");
	hide_close_btn("loc");
}
function showDrop(){
	show_close_btn("jumpMenu");
	show_close_btn("loc");

}