menu = new Array();
menu[[0]] = ["home", "Home"]
menu[[1]] = ["review", "Year&nbsp;in&nbsp;Review"]
menu[[2]] = ["programs", "Programs"]
	menu[[2,1]] = ["global", "Global&nbsp;Health"]
	menu[[2,2]] = ["education", "Education"]
	menu[[2,3]] = ["libraries", "Libraries"]
	menu[[2,4]] = ["giving", "Pacific&nbsp;Northwest"]
	menu[[2,5]] = ["special", "Special&nbsp;Projects"]
menu[[3]] = ["financials", "Financials"]
	menu[[3,0]] = ["financials", "Financials"]
	menu[[3,1]] = ["expenditures", "Grants Paid"]
	menu[[3,2]] = ["position", "Financial&nbsp;Position"]
	menu[[3,3]] = ["activities", "Statement&nbsp;of&nbsp;Activities"]
menu[[4]] = ["leadership", "Leadership"]
menu[[5]] = ["grants", "Grant&nbsp;Index"]


function getMenus() {
		html = '<table width="270" height="1" border="0" cellpadding="0" cellspacing="0">';
		html += '<tr><td colspan="3"><br>';
		html += '<img src="./images/page_banner.gif" width="270" height="100" border="0" ismap usemap="#gatesmap">';
		html += '<map name="gatesmap">';
		html += '	<area shape="rect" coords="25,5,245,60" href="http://www.gatesfoundation.org">';
		html += '	<area shape="rect" coords="10,65,255,100" href="./home.htm">';
		html += '</map><ilayer height="100"></ilayer></td></tr>';
		for (i = 1; menu[[i]]; ++i) {
		  if (i == menu.active) {
			html += '<tr><td rowspan="2" width="5"><table border="0" cellspacing="0" cellpadding="0" width="5"><tr><td></td></tr></table></td><td colspan="2" class="menutext">';
			html += '<a href="' + (menu[[i,0]] ? menu[[i,0]][0] : menu[[i,1]] ? menu[[i,1]][0] : menu[[i]][0]) + '.htm">';
			html += '<img src="./images/menu_' + menu[[i]][0] + '.gif" vspace="2" border=0></td></tr>';
			html += '<tr><td width="20"><table border="0" cellspacing="0" cellpadding="0" width="20"><tr><td></td></tr></table></td><td width="250" class="menutext">';
			for (j = 1; menu[[i,j]]; ++j) {
				html += '<i><a href="' + menu[[i,j]][0] + '.htm">';
				if (j == menu[[i]].active) {
					html += '<b>' + menu[[i,j]][1] + '</b>';
				}
				else {
					html += menu[[i,j]][1];
				}
				html += '</a></i><br>';
			}
			html += '</a></td></tr>';
		  }
		  else {
			html += '<tr><td width="5"><table border="0" cellspacing="0" cellpadding="0" width="5"><tr><td></td></tr></table></td><td colspan="2" class="menutext">';
			html += '<a href="' + (menu[[i,0]] ? menu[[i,0]][0] : menu[[i,1]] ? menu[[i,1]][0] : menu[[i]][0]) + '.htm">';
			html += '<img src="./images/menu_' + menu[[i]][0] + '.gif" vspace="2" border=0>';
			html += '</a></td></tr>';
		  }
		}
		menu.width = i;
		html += '</table>';
		return html;
}