//var n;
var s;

function showNav(theID,topVal) {
	//clearTimeout(n);
	//alert(navigator.appName);
	
	if(navigator.appName=='Microsoft Internet Explorer'){
		//alert("You are using IE");
		//alert('this'+topVal);
		if(document.getElementById('this'+topVal)){
			//alert(document.getElementById('this'+topVal).height);
			//document.getElementById('this'+topVal).style.border-collapse = 'collapse';
		}
	}
	document.getElementById(theID).style.display = 'block';
	document.getElementById(theID).style.top = topVal;
}
//altered 11/14/2006 bruce williams
function hideNav(theID) {
	//n = setTimeout("hideNavNow('" + theID + "')", 500);
	document.getElementById(theID).style.display = 'none';
}
function showNavChild(theIDPar,topValPar,theID,topVal) {
	//clearTimeout(s);
	showNav(theIDPar,topValPar);
	document.getElementById(theID).style.display = 'block';
	document.getElementById(theID).style.visibility = 'visible';
	document.getElementById(theID).style.top = topVal;
}
//altered 11/14/2006 bruce williams
function hideNavChild(theIDPar,theID) {
	//clearTimeout(s);
	hideNav(theIDPar);
	//s = setTimeout("hideNavChildNow('" + theID + "')", 250);
	document.getElementById(theID).style.display = 'none';
	document.getElementById(theID).style.visibility = 'hidden';
}
function deleteItem() {
	if (confirm("Are you sure you want to delete this?")) {
		return true;
	} else {
		return false;	
	}
}

//added 11/14/2006 bruce williams
//needed to slow down the hiding of the menus------------------
function hideNavChildNow(theID){
	document.getElementById(theID).style.display = 'none';
	document.getElementById(theID).style.visibility = 'hidden';
	
}

function hideNavNow(theID){
	
	document.getElementById(theID).style.display = 'none';
	
}