//this page shows and hides javascript dropdown menus
function showCurrentDropDown(currentDropDown, currID){ 
	$(currID).makePositioned();
	var currLeft = $(currID).positionedOffset().left;
	for(var i = 0; i < dropDownArray.length; i++) { 
		if(dropDownArray[i] == currentDropDown){
			$(dropDownArray[i]).style.display = 'block';
			$(dropDownArray[i]).style.left = currLeft + 'px';
		}else{
			$(dropDownArray[i]).style.display = 'none';
		}
	} 	
} 

var hideDropDownTimeout; 

function hideCurrentDropDown(currentDropDown) { 
	hideDropDownTimeout = setTimeout('$("' + currentDropDown + '").style.display = "none";', 500);	
} 

function hideCurrentDropDownFast() { 
	for (var i = 0; i < dropDownArray.length; i++) {
		$(dropDownArray[i]).style.display = "none"; 
	} 
}

function clearHideTimeout(){ 
	clearTimeout(hideDropDownTimeout); 
} 

