<!--

// Declare an array of section CSS IDs to be used by the navbar code.
var area_focus = new Array("overview","current","workshop","outcomes","community","sponsors","contact");

// Browser detection.
W3C = false;
if (document.getElementById) { W3C = true; }

function closepopups(e) {
	if (!W3C) { return; }

	for (i=0; i<(area_focus.length); i++) {
		document.getElementById(area_focus[i]).style.visibility = "hidden";
	}
}

// when script is called from master area, turns all popups off, otherwise, cycles
// through popups, turning off all but itself, turning on itself
function popMenu(which) {
	if (!W3C) { return; }

	for (i=0; i<(area_focus.length); i++) {
		area = area_focus[i];
		if (area == which) {
			document.getElementById(area).style.visibility = "visible"; // show myself
		} else { 
			document.getElementById(area).style.visibility = "hidden";  // close other
		}
	}
}

//-->
