<!-- Begin
/*----------------------------------------------------------------------------------------
|
|Menu Script by Josh Miller
|written for City of Elmira Website
|@ http://www.cityofelmira.net
|
-------------------------------------------------------------------------------------------*/ 

links=new Array();
title=new Array();
check=new Array();
x=0;

title[x]="Back to City Homepage"
links[x]="../index/index.html"
check[x]=""
x++;

title[x]="Pages in History Index"
links[x]="index.html"
check[x]="elmira"
x++;

title[x]="Brian Williams"
links[x]="brian_williams.html"
check[x]="anchor"
x++;

title[x]="Civil War Prison Camp"
links[x]="prison_camp.html"
check[x]="hellmira"
x++;

title[x]="Crystal Eastman"
links[x]="crystal_eastman.html"
check[x]="aclu"
x++;

title[x]="Eileen Collins"
links[x]="eileen_collins.html"
check[x]="hero"
x++;

title[x]="Ernie Davis"
links[x]="ernie_davis.html"
check[x]="express\""
x++;

title[x]="Flood of 1972"
links[x]="flood_of_72.html"
check[x]="'72"
x++;

title[x]="Hal Roach"
links[x]="hal_roach.html"
check[x]="producer"
x++;

title[x]="John W. Jones"
links[x]="john_jones.html"
check[x]="sexton"
x++;

title[x]="Mark Twain"
links[x]="mark_twain.html"
check[x]="storyteller"
x++;

title[x]="Postcards in History"
links[x]="postcards.html"
check[x]="history"
x++;

title[x]="Soaring in Elmira"
links[x]="soaring.html"
check[x]="skies"
x++;

title[x]="Thomas Beecher"
links[x]="thomas_beecher.html"
check[x]="minister"
x++;

title[x]="Underground Railroad"
links[x]="underground_railroad.html"
check[x]="past"
x++;

//Get the title to determine what page the user is viewing
x=document.title;       	//get the title and store as a string in x
x=x.toLowerCase();	//make the whole title lower case
y=x.lastIndexOf(' ');		//find the last space in the title and store in y
y=y+1;      //add 1 to y to find the letter after the last space
z=x.length; //get the length of the whole string and store in z
page=x.substring(y,z);		//store in page the last word of the html page's title

function mainnav(){
	document.write("<img src='pics/index_left_top.jpg'>");
	document.write("<table border='0' cellpadding='0' cellspacing='4' width='154'>");
	document.write("<tr><td><img src='pics/dot.gif' width='5' height='16' border='0'></td></tr>");
    for (i=1; i<title.length; i++){
		if(page==check[i]){
			document.write("<tr><td align='left'><span class='navhilite'>"+title[i]+"</span></td></tr>");
}
else{
			document.write("<tr><td align='left'><a href='"+links[i]+"' class='leftmenu'>"+title[i]+"</a></td></tr>");
		}   
	}

		document.write("<tr><td align='left'><br><a href='"+links[0]+"' class='leftmenu'>"+title[0]+"</a></td></tr>");
	
	document.write("</table>");
}

function rightHistory(){
		document.write("<table border='0' cellpadding='0' cellspacing='0' width='150'>");


		document.write("<tr><td class='righttext'><a href='javascript:alert(\"Hi\")'><img src='pics/historical_sign.jpg' border='0'></a></td></tr>");
document.write("<tr><td class='rightbar' >Historical Resources</td></tr>");

		document.write("<tr><td class='righttext'><b>Chemung County Historical Society</b></td></tr>");
		document.write("<tr><td class='righttext'>&nbsp;415 E. Water Street</td></tr>");
		document.write("<tr><td class='righttext'>&nbsp;Elmira, NY 14901</td></tr>");
		document.write("<tr><td class='righttext'>&nbsp;(607) 734-4167</td></tr>");
		document.write("<tr><td class='righttext'>&nbsp;<a href='http://www.chemungvalleymuseum.org' target='_blank'>»website</a></td></tr>");
		document.write("<tr><td class='righttext'><img src='pics/dot.gif'height='3' width='5'></td></tr>");

		document.write("<tr><td class='righttext'><b>Steele Memorial Library</b></td></tr>");
		document.write("<tr><td class='righttext'>&nbsp;101 E. Church Street</td></tr>");
		document.write("<tr><td class='righttext'>&nbsp;Elmira, NY 14901</td></tr>");
		document.write("<tr><td class='righttext'>&nbsp;(607) 733-9176</td></tr>");
		document.write("<tr><td class='righttext'>&nbsp;<a href='http://www.steele.lib.ny.us' target='_blank'>»website</a></td></tr>");
		document.write("<tr><td class='righttext'><img src='pics/dot.gif'height='3' width='5'></td></tr>			");

		document.write("<tr><td class='righttext'><b>Center for Mark Twain Studies at Elmira College</b></td></tr>");
		document.write("<tr><td class='righttext'>&nbsp;One Park Place</td></tr>");
		document.write("<tr><td class='righttext'>&nbsp;Elmira, NY 14901</td></tr>");
		document.write("<tr><td class='righttext'>&nbsp;(607) 735-1941</td></tr>");
		document.write("<tr><td class='righttext'>&nbsp;<a href='http://www.elmira.edu/academics/ar_marktwain.shtml' target='_blank'>»website</a></td></tr>	");
		document.write("<tr><td class='righttext'><img src='pics/dot.gif'height='3' width='5'></td></tr>");

		document.write("<tr><td class='righttext'><b>John Jones Museum</b></td></tr>");
		document.write("<tr><td class='righttext'>&nbsp;1250 Davis Street</td></tr>");
		document.write("<tr><td class='righttext'>&nbsp;Elmira, NY 14901</td></tr>");
		document.write("<tr><td class='righttext'>&nbsp;(607) 733-6162</td></tr>");
		document.write("<tr><td class='righttext'>&nbsp;<a href='http://johnwjonesmuseum.org/index.html' target='_blank'>»website</a></td></tr>	");
		document.write("<tr><td class='righttext'><img src='pics/dot.gif'height='3' width='5'></td></tr>");

		document.write("<tr><td class='righttext'><b>Near Westside Neighborhood Association</b></td></tr>");
		document.write("<tr><td class='righttext'>&nbsp;353 Davis Street</td></tr>");
		document.write("<tr><td class='righttext'>&nbsp;Elmira, NY 14901</td></tr>");
		document.write("<tr><td class='righttext'>&nbsp;(607) 733-4924</td></tr>");
		document.write("<tr><td class='righttext'>&nbsp;<a href='http://www.nwnainc.com/' target='_blank'>»website</a></td></tr>	");
		document.write("<tr><td class='righttext'><img src='pics/dot.gif'height='3' width='5'></td></tr>");

		document.write("<tr><td class='righttext'><b>Woodlawn Cemetery</b></td></tr>");
		document.write("<tr><td class='righttext'>&nbsp;1200 Walnust Street</td></tr>");
		document.write("<tr><td class='righttext'>&nbsp;Elmira, NY 14901</td></tr>");
		document.write("<tr><td class='righttext'>&nbsp;(607) 732-0151</td></tr>");
		document.write("<tr><td class='righttext'>&nbsp;<a href='http://www.friendsofwoodlawnelmira.org/' target='_blank'>»website</a></td></tr>");
		document.write("<tr><td class='righttext'><img src='pics/dot.gif'height='3' width='5'></td></tr>");

		document.write("<tr><td class='righttext'><b>Chemung Valley<br>Living History Center</b></td></tr>");
		document.write("<tr><td class='righttext'>&nbsp;PO Box 475</td></tr>");
		document.write("<tr><td class='righttext'>&nbsp;Wellsburg, NY 14894</td></tr>");
		document.write("<tr><td class='righttext'>&nbsp;(607) 733-0950</td></tr>");
		document.write("<tr><td class='righttext'>&nbsp;<a href='http://www.chemungvalley.org' target='_blank'>»website</a></td></tr>");
		document.write("<tr><td class='righttext'><img src='pics/dot.gif'height='3' width='5'></td></tr>");

		document.write("<tr><td class='righttext'><b>Chemung County Clerk</b></td></tr>");
		document.write("<tr><td class='righttext'>&nbsp;210 Lake Street</td></tr>");
		document.write("<tr><td class='righttext'>&nbsp;Elmira, NY 14902</td></tr>");
		document.write("<tr><td class='righttext'>&nbsp;(607) 737-2920</td></tr>");
		document.write("<tr><td class='righttext'>&nbsp;<a href='http://www.chemungcounty.com/index.asp?pageId=115' target='_blank'>»website</a></td></tr>");

		document.write("<tr><td class='righttext'><br><b>The City of Elmira wishes to thank the following people and organizations for their contributions to the Pages in History:</b></td></tr>");
		document.write("<tr><td class='righttext'>•&nbsp;Heather Wade</td></tr>");
		document.write("<tr><td class='righttext'>•&nbsp;Maureen Reynolds</td></tr>");
		document.write("<tr><td class='righttext'>•&nbsp;Jason Harmon</td></tr>");
		document.write("<tr><td class='righttext'>•&nbsp;Kimberly Richards</td></tr>");
		document.write("<tr><td class='righttext'>•&nbsp;Amy Wilson</td></tr>");
		document.write("<tr><td class='righttext'>•&nbsp;Connie Barone</td></tr>");
		document.write("<tr><td class='righttext'>•&nbsp;Gretchen Sharlow</td></tr>");
		document.write("<tr><td class='righttext'>•&nbsp;Lynne Rusinko</td></tr>");
		document.write("<tr><td class='righttext'>•&nbsp;J. Arthur Kieffer</td></tr>");
		document.write("<tr><td class='righttext'>•&nbsp;Mark Woodhouse</td></tr>");
		document.write("<tr><td class='righttext'>•&nbsp;J.S. Aber</td></tr>");
		document.write("<tr><td class='righttext'>•&nbsp;EC Office of Counseling<br>&nbsp;&nbsp;&nbsp;and Career Services</td></tr>");
		document.write("<tr><td class='righttext'>•&nbsp;Center for Mark Twain<br>&nbsp;&nbsp;&nbsp;Studies at Elmira College</td></tr>");
		document.write("<tr><td class='righttext'>•&nbsp;Chemung County<br>&nbsp;&nbsp;&nbsp;Historical Society</td></tr>");
		document.write("<tr><td class='righttext'>•&nbsp;Chemung Valley<br>&nbsp;&nbsp;&nbsp;History Museum</td></tr>");

		document.write("<tr><td class='righttext'><br><b>Authors and Editors</b></td></tr>");
		document.write("<tr><td class='righttext'>•&nbsp;Joshua Miller</td></tr>");
		document.write("<tr><td class='righttext'>•&nbsp;Michael Usselman</td></tr>");
		document.write("<tr><td class='righttext'>•&nbsp;Ginger DiChiara</td></tr>");
		document.write("<tr><td class='righttext'>•&nbsp;Chelsea Dunlap</td></tr>");
		document.write("<tr><td class='righttext'>•&nbsp;Lynsay Reeder</td></tr>");
		document.write("<tr><td class='righttext'>•&nbsp;Patrick Rice</td></tr>");
		document.write("<tr><td class='righttext'>•&nbsp;Courtney Supple</td></tr>");
		document.write("<tr><td class='righttext'>•&nbsp;James Swinnich</td></tr>");
		document.write("<tr><td class='righttext'><img src='pics/dot.gif'height='3' width='5'></td></tr>");
		document.write("</table>");
}

function rightWeather(){
	document.write("<table border='0' cellpadding='0' cellspacing='0' width='150'>");
	document.write("<tr><td class='rightbar'>Elmira Weather</td></tr>");
	document.write("<tr><td><a href='http://english.wunderground.com/US/NY/Elmira.html'>");
	document.write("<img src='http://banners.wunderground.com/banner/infoboxtr_both/language/www/US/NY/Elmira.gif' alt='Click for Elmira, New York Forecast' height='108' width='144' border='0'></a></td></tr>");
	document.write("</table>");
}

function validateVolunteerSubmission(theForm){

	name=theForm.Name.value;
	if (name == ""){
		alert("Please select your name.");
		theForm.Name.focus();
		return (false);
	}

	hourstotal=theForm.hourstotal.value;
	if (hourstotal == ""){
		alert("Please select your hours completed");
		theForm.hourstotal.focus();
		return (false);
	}

	minutestotal=theForm.minutestotal.value;
	if (minutestotal == ""){
		alert("Please select your minutes completed");
		theForm.minutestotal.focus();
		return (false);
	}
	return (true);
}

//-->
