// Parent functions

var lastDivId = '';
var justWait
var showId
var holdId

function showMe(myId) {
	
	showId = myId + 'Drop';
	
	if (showId != lastDivId && lastDivId == '') {
		document.getElementById(showId).className = 'level2ShowMe';
	}else if (showId == lastDivId) {
		document.getElementById(showId).className = 'level2ShowMe';
	}else if (showId != lastDivId && lastDivId > '') {
		document.getElementById(showId).className = 'level2ShowMe';
		document.getElementById(lastDivId).className = 'level2HideMe';
		killTimeMe();
	}
	
	lastDivId = showId;
	
}

function killTimeMe () {
	clearTimeout(justWait);
}	

function timeMe(holdThisId) {
	holdId = holdThisId + 'Drop';
	//alert(holdId);
	justWait = setTimeout ("hideMe()", 500);
}


function hideMe() {
	document.getElementById(holdId).className = 'level2HideMe';
}

