	var buttons_loaded = false;
	
	popout_item.prototype.show = function() {
		if(this) {
			window.clearTimeout(this.timer);
			eval("document.getElementById('"+this.id+"').style.visibility='visible'");
		}
	}
	popout_item.prototype.hide = function(){
		if(this)
			this.timer = window.setTimeout("document.getElementById('"+this.id+"').style.visibility='hidden'",200);
	}

	function popout_item (id) {
		this.id = id;
		this.timer=false;
	}
	
	
	
	var buttons = new Array("team","mission","vision","events","programs","programs_ov","programs_ma","programs_ta","programs_cc","programs_re","programs_ws", "press","gallery","donors","help","help_ov","help_fn","help_ti","help_ma","contact","links","calendar","home");
	
	function load_img() {

		for (c=0;c<buttons.length;c++) {
			eval("img_"+buttons[c]+"_r = new Image();");
			eval("img_"+buttons[c]+"_r.src = './gfx/nav_"+buttons[c]+".gif';");
			eval("img_"+buttons[c]+"_o = new Image();");
			eval("img_"+buttons[c]+"_o.src = './gfx/nav_"+buttons[c]+"_o.gif';");
		}
		buttons_loaded=true;
	}
	function flip (name) {
		if (buttons_loaded)
			document[name].src = eval(name+"_o.src");
	}

	function flop (name) {
		if (buttons_loaded)
			document[name].src = eval(name+"_r.src");
	}