menu1 = new Array(
);

menu2 = new Array(
);

menu3 = new Array(
);

menu4 = new Array(
);

menu5 = new Array(
);

var 	ns = (navigator.appName == "Netscape") ? true : false;

function makeMenu(menu) { 
	menu_table = (ns) ? "<table cellspacing=0 cellpadding=0 border=0 width=180>" : "<table cellspacing=0 cellpadding=0 border=0 width=180>";
	num_items = eval(menu + ".length");
	if (ns) {
		for (x = 0; x < num_items; x += 3) { 
			menu_table += "<tr bgColor='#000066' onMouseOver=\"this.bgColor='#cccccc'\" " +
			"onMouseOut=\"this.bgColor='#000066'\">" +
			"<td style=\"cursor: hand; color: #ffffff; font-family: arial; font-size: 9pt\">&nbsp;" +
			"<a href=\"" + eval(menu + "[x+1]") + "\" style=\"color:#ffffff; line-height:1.5; text-decoration:none\"  " +
			"onMouseOver=\"this.style.color='#000066'\" " + 
			"onMouseOut=\"this.style.color='#ffffff'\">" + 
			eval(menu + "[x]") + "</a>&nbsp;&nbsp;</td>" +
			"</tr>";
		}
	} else {
		for (x = 0; x < num_items; x += 3) { 
			menu_table += "<tr bgColor='#000066' onMouseOver=\"this.bgColor='#cccccc'\" " +
			"onMouseOut=\"this.bgColor='#000066'\">" +
			"<a href=\"" + eval(menu + "[x+1]") + "\">" +
			"<td style=\"cursor: hand; color: #ffffff; font-family: arial; font-size: 9pt; text-decoration:none\" " +
			"onMouseOver=\"this.style.color='#000066'\" onMouseOut=\"this.style.color='#ffffff'\">" +
			eval(menu + "[x]") + "</td></a></tr>";
		}
	}
	menu_table += "</table>";
	document.write(menu_table);
}


function show(menu) { 
	hideAll();
	document.getElementById(menu).style.visibility = 'visible';
}

function hideAll() { 
	if (document.getElementById('menu1_div')) {
		for (x = 1; x <= 5; x++) { 
			eval("document.getElementById('menu" + x + "_div').style.visibility = 'hidden'")
		}
	}
}
