var winpath=window.location.pathname;
winpath=winpath.substring(1 ,winpath.length);
path_start=winpath.indexOf("/");
var section=winpath.substring(0 ,path_start);

var sectionName = new Array('', 'intro', 'org', 'app', 'project', 'news', 'pub', 'links', 'contact');
var butPath = new Array(sectionName.length);
var onButPath = new Array(sectionName.length);

for(i=1;i<=sectionName.length;i++) {
	onButPath[i] = "../images/menu_on_0" + i + ".gif";
	if (section == sectionName[i]) {
		butPath[i] = "../images/s_menu_0" + i + ".gif";		
	} else {
		butPath[i] = "../images/menu_0" + i + ".gif";		
	}
}

if (cookieval != GetCookie(cookiename)) {

if (NS4) {
	document.write ("<LAYER ID=\"mainlay\" VISIBILITY=\"show\" TOP=\"180\" LEFT=\"1\" WIDTH=\"200\" HEIGHT=\"100\">");
} else {
	document.write ("<DIV ID=\"mainlay\" STYLE=\"POSITION: absolute; Z-INDEX: 20; VISIBILITY: visible; TOP: 180px; LEFT: 1px; width: 200px; height: 100px;\">");
}
document.write ("<TABLE WIDTH=165 BORDER=0 CELLPADDING=0 CELLSPACING=0>");
document.write ("	<TR>");
document.write ("		<TD><a href=\"../front.html\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('menu','','../images/menu_on.gif',1)\"><IMG SRC=\"/images/menu.gif\" WIDTH=165 HEIGHT=18 name=\"menu\" border=0 alt=\"Home\"></a></TD>");
document.write ("	</TR>");
document.write ("	<TR>");
document.write ("		<TD><a href=\"../intro/index.htm\" onMouseOut=\"popUp(1,false); MM_swapImgRestore()\" onMouseOver=\"popUp(1,true); MM_swapImage('menu1','',onButPath[1],1)\"><IMG SRC=\"" + butPath[1] + "\" WIDTH=165 HEIGHT=18 name=\"menu1\" border=0 alt=\"Introduction\"></a></TD>");
document.write ("	</TR>");
document.write ("	<TR>");
document.write ("		<TD><a href=\"../org/index.htm\" onMouseOut=\"popUp(2,false); MM_swapImgRestore()\" onMouseOver=\"popUp(2,true); MM_swapImage('menu2','',onButPath[2],1)\"><IMG SRC=\"" + butPath[2] + "\" + GetImgBut(2,false) + \"\" WIDTH=165 HEIGHT=19 name=\"menu2\" border=0 alt=\"Organization\"></a></TD>");
document.write ("	</TR>");
document.write ("	<TR>");
document.write ("		<TD><a href=\"../app/index.htm\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('menu3','',onButPath[3],1)\"><IMG SRC=\"" + butPath[3] + "\" WIDTH=165 HEIGHT=19 name=\"menu3\" border=0 alt=\"Application for Grants\"></a></TD>");
document.write ("	</TR>");
document.write ("	<TR>");
document.write ("		<TD><a href=\"../project/index.htm\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('menu4','',onButPath[4],1)\"><IMG SRC=\"" + butPath[4] + "\" WIDTH=165 HEIGHT=19 name=\"menu4\" border=0 alt=\"Projects Approved\"></a></TD>");
document.write ("	</TR>");
document.write ("	<TR>");
document.write ("		<TD><a href=\"../news/index.htm\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('menu5','',onButPath[5],1)\"><IMG SRC=\"" + butPath[5] + "\" WIDTH=165 HEIGHT=20 name=\"menu5\" border=0 alt=\"What's New\"></a></TD>");
document.write ("	</TR>");
document.write ("	<TR>");
document.write ("		<TD><a href=\"../pub/index.htm\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('menu6','',onButPath[6],1)\"><IMG SRC=\"" + butPath[6] + "\" WIDTH=165 HEIGHT=17 name=\"menu6\" border=0 alt=\"Publications\"></a></TD>");
document.write ("	</TR>");
document.write ("	<TR>");
document.write ("		<TD><a href=\"../links/index.htm\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('menu7','',onButPath[7],1)\"><IMG SRC=\"" + butPath[7] + "\" WIDTH=165 HEIGHT=21 name=\"menu7\" border=0 alt=\"Related Links\"></a></TD>");
document.write ("	</TR>");
document.write ("	<TR>");
document.write ("		<TD><a href=\"../contact/index.htm\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('menu8','',onButPath[8],1)\"><IMG SRC=\"" + butPath[8] + "\" WIDTH=165 HEIGHT=19 name=\"menu8\" border=0 alt=\"Contact Us\"></a></TD>");
document.write ("	</TR>");
document.write ("</TABLE>");
if (NS4) {
	document.write ("</table></LAYER>");
} else {
	document.write ("</table></DIV>");
}

if (NS4) {
	document.write ("<LAYER ID=\"menulay1\" VISIBILITY=\"hide\" TOP=\"175\" LEFT=\"110\" WIDTH=\"200\" HEIGHT=\"300\">");
} else {
	document.write ("<DIV ID=\"menulay1\" STYLE=\"POSITION: absolute; Z-INDEX: 20; VISIBILITY: hidden; TOP: 175px; LEFT: 110px; width: 200px; height: 300px;\">");
}
document.write ("<table cellpadding=\"0\" cellspacing=\"0\" border=0>");
document.write ("<tr>");
document.write ("	<td><a href=\"../intro/index.htm\" onMouseOut=\"popUp(1,false); MM_swapImgRestore()\" onMouseOver=\"popUp(1,true); MM_swapImage('menua1','','../images/menua_on_01.gif',1)\"><img src=\"../images/menua_01.gif\" width=181 height=16 alt=\"Welcome Message\" border=\"0\" name=menua1></a></td>");
document.write ("</tr>");
document.write ("<tr>");
document.write ("	<td><a href=\"../intro/background.htm\" onMouseOut=\"popUp(1,false); MM_swapImgRestore()\" onMouseOver=\"popUp(1,true); MM_swapImage('menua2','','../images/menua_on_02.gif',1)\"><img src=\"../images/menua_02.gif\" width=181 height=13 alt=\"Background\" border=\"0\" name=menua2></a></td>");
document.write ("</tr>");
document.write ("<tr>");
document.write ("	<td><a href=\"../intro/objective.htm\" onMouseOut=\"popUp(1,false); MM_swapImgRestore()\" onMouseOver=\"popUp(1,true); MM_swapImage('menua3','','../images/menua_on_03.gif',1)\"><img src=\"../images/menua_03.gif\" width=181 height=19 alt=\"Objectives\" border=\"0\" name=menua3></a></td>");
document.write ("</tr>");
document.write ("</table>");
if (NS4) {
	document.write ("</table></LAYER>");
} else {
	document.write ("</table></DIV>");
}

if (NS4) {
	document.write ("<LAYER ID=\"menulay2\" VISIBILITY=\"hide\" TOP=\"180\" LEFT=\"110\" WIDTH=\"200\" HEIGHT=\"300\">");
} else {
	document.write ("<DIV ID=\"menulay2\" STYLE=\"POSITION: absolute; Z-INDEX: 20; VISIBILITY: hidden; TOP: 180px; LEFT: 110px; width: 200px; height: 300px;\">");
}
document.write ("<table cellpadding=\"0\" cellspacing=\"0\" border=0>");
document.write ("<tr>");
document.write ("	<td><a href=\"../org/index.htm\" onMouseOut=\"popUp(2,false); MM_swapImgRestore()\" onMouseOver=\"popUp(2,true); MM_swapImage('menub1','','../images/menub_on_01.gif',1)\"><img src=\"../images/menub_01.gif\" alt=\"Board of Trustees and Council\" border=\"0\" name=menub1></a></td>");
document.write ("</tr>");
document.write ("<tr>");
document.write ("	<td><a href=\"../org/board.htm\" onMouseOut=\"popUp(2,false); MM_swapImgRestore()\" onMouseOver=\"popUp(2,true); MM_swapImage('menub2','','../images/menub_on_02.gif',1)\"><img src=\"../images/menub_02.gif\" alt=\"Board of Trustees\" border=\"0\" name=menub2></a></td>");
document.write ("</tr>");
document.write ("<tr>");
document.write ("	<td><a href=\"../org/council.htm\" onMouseOut=\"popUp(2,false); MM_swapImgRestore()\" onMouseOver=\"popUp(2,true); MM_swapImage('menub3','','../images/menub_on_03.gif',1)\"><img src=\"../images/menub_03.gif\" alt=\"Council\" border=\"0\" name=menub3></a></td>");
document.write ("</tr>");
document.write ("</table>");
if (NS4) {
	document.write ("</table></LAYER>");
} else {
	document.write ("</table></DIV>");
}

if (NS4) {
	document.write ("<LAYER ID=\"menulay3\" VISIBILITY=\"hide\" TOP=\"228\" LEFT=\"140\" WIDTH=\"200\" HEIGHT=\"300\">");
} else {
	document.write ("<DIV ID=\"menulay3\" STYLE=\"POSITION: absolute; Z-INDEX: 20; VISIBILITY: hidden; TOP: 228px; LEFT: 140px; width: 200px; height: 300px;\">");
}
document.write ("<table cellpadding=\"0\" cellspacing=\"0\" border=0>");
document.write ("<tr>");
document.write ("	<td><a href=\"../project/index.htm\" onMouseOut=\"popUp(3,false); MM_swapImgRestore()\" onMouseOver=\"popUp(3,true); MM_swapImage('menua4','','../images/menua_on_04.gif',1)\"><img src=\"../images/menua_04.gif\" width=181 height=18 alt=\"Projects Completed\" border=\"0\" name=menua4></a></td>");
document.write ("</tr>");
document.write ("<tr>");
document.write ("	<td><a href=\"../project/progress.htm\" onMouseOut=\"popUp(3,false); MM_swapImgRestore()\" onMouseOver=\"popUp(3,true); MM_swapImage('menua5','','../images/menua_on_05.gif',1)\"><img src=\"../images/menua_05.gif\" width=181 height=17 alt=\"Projects in Progress\" border=\"0\" name=menua5></a></td>");
document.write ("</tr>");
document.write ("</table>");
if (NS4) {
	document.write ("</table></LAYER>");
} else {
	document.write ("</table></DIV>");
}

if (NS4) {
	document.write ("<LAYER ID=\"menulay4\" VISIBILITY=\"hide\" TOP=\"248\" LEFT=\"90\" WIDTH=\"200\" HEIGHT=\"300\">");
} else {
	document.write ("<DIV ID=\"menulay4\" STYLE=\"POSITION: absolute; Z-INDEX: 20; VISIBILITY: hidden; TOP: 248px; LEFT: 90px; width: 200px; height: 300px;\">");
}
document.write ("<table cellpadding=\"0\" cellspacing=\"0\" border=0>");
document.write ("<tr>");
document.write ("	<td><a href=\"../news/index.htm\" onMouseOut=\"popUp(4,false); MM_swapImgRestore()\" onMouseOver=\"popUp(4,true); MM_swapImage('menua6','','../images/menua_on_06.gif',1)\"><img src=\"../images/menua_06.gif\" width=181 height=17 alt=\"Upcoming Events\" border=\"0\" name=menua6></a></td>");
document.write ("</tr>");
document.write ("<tr>");
document.write ("	<td><a href=\"../news/new.htm\" onMouseOut=\"popUp(4,false); MM_swapImgRestore()\" onMouseOver=\"popUp(4,true); MM_swapImage('menua7','','../images/menua_on_07.gif',1)\"><img src=\"../images/menua_07.gif\" width=181 height=18 alt=\"Projects Newly Approved\" border=\"0\" name=menua7></a></td>");
document.write ("</tr>");
document.write ("</table>");
if (NS4) {
	document.write ("</table></LAYER>");
} else {
	document.write ("</table></DIV>");
}

}