


function showFullSchedule(past_gigs) {
	document.getElementById('past_gigs').style.display = "block";
	document.getElementById('view_all_gigs').innerHTML = "Hide the full schedule";
}

function toggleMenu(currMenu) {
	if (document.getElementById) {
		thisMenu = document.getElementById(currMenu).style
		if (thisMenu.display == "block") {
			thisMenu.display = "none"
		}
		else {
			thisMenu.display = "block"
		}
		return false
	}
	else {
		return true
	}
}




/////////////////////////////////////////////////////////////////
// This script creates the drop-down menu	

var timer;
var lastMenuId; // stores the id of the last drop-down menu that was activated

// create a function to display the drop-down menus


function showMenu(currMenuId) {
	document.getElementById(currMenuId).style.display = "block";
} // closes showMenu function

function hideMenu() {
	document.getElementById(lastMenuId).style.display = "none";
	lastMenuId = null;
} // closes the hideMenu function

function menuMouseOver(currMenuId) {
	if (lastMenuId) {
	clearTimeout(timer);
		if (lastMenuId != currMenuId) {
			hideMenu(lastMenuId);
			showMenu(currMenuId);
			lastMenuId = currMenuId;
		} // closes if (lastMenuId != currMenuID...
	} else {// closes if(lastMenuId...
		showMenu(currMenuId);
		lastMenuId = currMenuId;
	} // closes else statement
} // closes the menuMouseOver function


function menuMouseOut() {
	timer = setTimeout('hideMenu()',100);
} // closes the menuMouseOut function



