 var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-18455374-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();


function customizesylesheets(collectionname){

	if (collectionname == "HSC"){
	document.write('<link rel="stylesheet" type="text/css" href="/css/hsc.css" />')
	}

}


function sectionrecord(shortname, longname, url, subsectionexists){

this.shortname = shortname
this.longname = longname
this.url = url
this.subsectionexists = subsectionexists

}


function findsectionproperty (sectionname, propertyname, subsectionshortname){

eval('var sectionlist = ' + sectionname + 'sections')

	for (var i = 1; i < sectionlist.length; i++){
	
		if (sectionlist[i].shortname == subsectionshortname){
		eval ("var propertyvalue = sectionlist[i]." + propertyname)
		}
		
	}

return propertyvalue

}


var topsections = new Array()

topsections[1] = new sectionrecord("home","Overview","http://rmc.library.cornell.edu/index.html")
topsections[2] = new sectionrecord("collections","Collections","http://rmc.library.cornell.edu/collections/rmccollections.html","yes")
topsections[3] = new sectionrecord("visit","Visiting","http://rmc.library.cornell.edu/visit/visitor_information.html","yes")
topsections[4] = new sectionrecord("find","Finding Materials","http://rmc.library.cornell.edu/find/services_overview.html","yes")
topsections[5] = new sectionrecord("events","Exhibitions &amp; Events","http://rmc.library.cornell.edu/events/current_exhibitions.html","yes")



	var collectionssections = new Array()
	
	collectionssections.longname = "Collections"

	collectionssections[1] = new sectionrecord("rmccollections","Rare Book &amp; Manuscript Collections","http://rmc.library.cornell.edu/collections/rmccollections.html","yes")
	collectionssections[2] = new sectionrecord("digitalcollections","Digital Collections","http://rmc.library.cornell.edu/collections/digitalcollections.html","yes")
	collectionssections[3] = new sectionrecord("guides","Guides for Archival and Manuscript Collections","http://rmc.library.cornell.edu/collections/guides.html")
	collectionssections[4] = new sectionrecord("newacquisitions","Recent Acquisitions","http://rmc.library.cornell.edu/collections/new_acquisitions.html")
	collectionssections[5] = new sectionrecord("collectionhistory","Collection History","http://rmc.library.cornell.edu/collections/collection_history.html")
	collectionssections[6] = new sectionrecord("colldevpolicies","Collecting Policies","http://rmc.library.cornell.edu/collections/coldev_policies.html","yes")
	collectionssections[7] = new sectionrecord("instruction","Teaching Services","http://rmc.library.cornell.edu/collections/instruction.html")
	collectionssections[8] = new sectionrecord("fundingforresearch","Funding for Research","http://rmc.library.cornell.edu/collections/fundingforresearch.html","yes")
	
	
		var rmccollectionssections = new Array()
		
		rmccollectionssections.longname = "Rare &amp; Manuscript Collections"
	
		rmccollectionssections[1] = new sectionrecord("amerhist","American History &amp; Culture","http://rmc.library.cornell.edu/collections/amerhist.html","yes")
		rmccollectionssections[2] = new sectionrecord("amerindhist","American Indian History &amp; Culture","http://ebooks.library.cornell.edu/h/hunt/")
		rmccollectionssections[3] = new sectionrecord("archandplanning","Architecture &amp; Planning","http://rmc.library.cornell.edu/collections/archandplanning.html")
		rmccollectionssections[4] = new sectionrecord("cuhist","Cornell University History","http://rmc.library.cornell.edu/collections/cuhist.html","yes")
		rmccollectionssections[5] = new sectionrecord("eastasianhist","East Asian History &amp; Culture","http://rmc.library.cornell.edu/collections/eastasianhist.html")
		rmccollectionssections[6] = new sectionrecord("eurohist","European History &amp; Culture","http://rmc.library.cornell.edu/collections/eurohist.html","yes")
		rmccollectionssections[7] = new sectionrecord("foodwine","Food, Wine &amp; Culinary History","http://rmc.library.cornell.edu/collections/food_wine.html","yes")
		rmccollectionssections[8] = new sectionrecord("icelandichist","Icelandic History &amp; Culture","http://rmc.library.cornell.edu/collections/icelandic.html")
		rmccollectionssections[9] = new sectionrecord("literatureandtheater","Literature &amp; Theater","http://rmc.library.cornell.edu/collections/literatureandtheater.html","yes")
		rmccollectionssections[10] = new sectionrecord("media","Media &amp; Digital Collections","http://rmc.library.cornell.edu/collections/media.html","yes")
		rmccollectionssections[11] = new sectionrecord("music"," Music","http://rmc.library.cornell.edu/collections/music.html","yes")
		rmccollectionssections[12] = new sectionrecord("naturalhist","Natural History","http://rmc.library.cornell.edu/collections/naturalhist.html","yes")
		rmccollectionssections[13] = new sectionrecord("photosandvisual","Photographs &amp; Visual Materials","http://rmc.library.cornell.edu/collections/photosandvisual.html")
		rmccollectionssections[14] = new sectionrecord("scienceandtech","Science &amp; Technology","http://rmc.library.cornell.edu/collections/scienceandtech.html")
		rmccollectionssections[15] = new sectionrecord("sexandgender","Sexuality &amp; Gender","http://rmc.library.cornell.edu/collections/sexandgender.html","yes")
		rmccollectionssections[16] = new sectionrecord("seasiahist","Southeast Asian History &amp; Culture","http://rmc.library.cornell.edu/collections/seasiahist.html")
		rmccollectionssections[17] = new sectionrecord("travelandtour","Travel &amp; Tourism","http://rmc.library.cornell.edu/collections/travelandtour.html")

	
			var amerhistsections = new Array()
		
			amerhistsections.longname = "American History &amp; Culture"
	
			amerhistsections[1] = new sectionrecord("agriculture","Agriculture","http://rmc.library.cornell.edu/collections/agriculture.html")
			amerhistsections[2] = new sectionrecord("civilwar","Civil War","http://rmc.library.cornell.edu/collections/civilwar.html")
			amerhistsections[3] = new sectionrecord("gettysburg","Gettysburg Address","http://rmc.library.cornell.edu/gettysburg/")
			amerhistsections[4] = new sectionrecord("hiphop","Hip Hop Collection","http://rmc.library.cornell.edu/hiphop/index.html")
			amerhistsections[5] = new sectionrecord("politicalamericana","Cornell University Collection of Political Americana","http://cidc.library.cornell.edu/political/")
			amerhistsections[6] = new sectionrecord("popculture","Popular Culture","http://rmc.library.cornell.edu/collections/popculture.html")
			amerhistsections[7] = new sectionrecord("reghist","Regional History","http://rmc.library.cornell.edu/collections/reghist.html")
			amerhistsections[8] = new sectionrecord("samuelmay","Samuel J. May Anti-Slavery Collection","http://digital.library.cornell.edu/m/mayantislavery/")
			amerhistsections[9] = new sectionrecord("sexandgender","Sexuality and Gender","http://rmc.library.cornell.edu/collections/sexandgender.html")
			amerhistsections[10] = new sectionrecord("womensstudies","Women's Studies","http://rmc.library.cornell.edu/collections/ws.html")
			
// 			var amerindhistsections = new Array()
// 		
// 			amerindhistsections.longname = "American Indian History &amp; Culture"
// 	
// 			amerindhistsections[1] = new sectionrecord("hfl","HFL Native American Collection","http://ebooks.library.cornell.edu/h/hunt/")
// 			
// 			
// 				var hflsections = new Array()
// 		
// 				hflsections.longname = "HFL Native American Collection"
// 	
// 				hflsections[1] = new sectionrecord("fielding","Fidelia Fielding Diaries","http://rmc.library.cornell.edu/collections/fielding.html")
			
			
			var cuhistsections = new Array()
		
			cuhistsections.longname = "Cornell University History"
	
			cuhistsections[1] = new sectionrecord("apa","Alpha Phi Alpha Fraternity: A Centennial Celebration","http://rmc.library.cornell.edu/alpha/index.html")
			cuhistsections[2] = new sectionrecord("ezra","Ezra Cornell","http://historical.library.cornell.edu/ezra/")
			cuhistsections[3] = new sectionrecord("vetarchives","Archives of the College of Veterinary Medicine","http://www.vet.cornell.edu/library/archives/")
			cuhistsections[4] = new sectionrecord("libhist","Cornell University Library History","http://rmc.library.cornell.edu/collections/culibhist.html")
			//cuhistsections[5] = new sectionrecord("cuinfodatabase","Cornell University Information Database","http://www.people.cornell.edu/pages/cre8/cudb/")
			
			
			var eurohistsections = new Array()
		
			eurohistsections.longname = "European History &amp; Culture"
	
			eurohistsections[1] = new sectionrecord("dante","The Fiske Dante Collection","http://rmc.library.cornell.edu/collections/dante.html")
			eurohistsections[2] = new sectionrecord("petrarch","The Fiske Petrarch Collection","http://rmc.library.cornell.edu/collections/petrarch.html")
			eurohistsections[3] = new sectionrecord("france","Eighteenth-Century France","http://rmc.library.cornell.edu/collections/france.html","yes")
			eurohistsections[4] = new sectionrecord("medieval","Medieval &amp; Renaissance Manuscripts","http://rmc.library.cornell.edu/collections/medieval.html")
			eurohistsections[5] = new sectionrecord("rhaeto","The Rhaeto-Romance Collection","http://rmc.library.cornell.edu/collections/rhaeto.html")
			eurohistsections[6] = new sectionrecord("witchcraft","The Cornell Witchcraft Collection","http://ebooks.library.cornell.edu/w/witch/index.html")
			
				
				var francesections = new Array()
		
				francesections.longname = "Eighteenth-Century France"
	
				francesections[1] = new sectionrecord("frenchrev","French Revolution","http://rmc.library.cornell.edu/collections/frenchrev.html")
				francesections[2] = new sectionrecord("lafayette","Lafayette","http://rmc.library.cornell.edu/collections/lafayette.html")
				francesections[3] = new sectionrecord("lavoisier","Lavoisier","http://rmc.library.cornell.edu/collections/lavoisier.html")
				
			
			var foodwinesections = new Array()
		
			foodwinesections.longname = "Food, Wine &amp; Culinary History"
	
			foodwinesections[1] = new sectionrecord("rarecookery","Rare Cookery Book Collection","http://rmc.library.cornell.edu/collections/rarecookery.html")
			foodwinesections[2] = new sectionrecord("winegrape","Eastern Wine and Grape Archive ","http://rmc.library.cornell.edu/collections/winegrape.html","yes")
			foodwinesections[3] = new sectionrecord("menus","Menu Collection","http://rmc.library.cornell.edu/collections/menus.html")
			foodwinesections[4] = new sectionrecord("foodarchive","Archival Collections on Food History","http://rmc.library.cornell.edu/collections/foodarchive.html")
			
				var winegrapesections = new Array()
		
				winegrapesections.longname = "Eastern Wine and Grape Press Releases"
	
				winegrapesections[1] = new sectionrecord("pr1","Press Release - 12/7/2005","http://rmc.library.cornell.edu/collections/winegrape_pr1.html")
			
			
			var literatureandtheatersections = new Array()
		
			literatureandtheatersections.longname = "Literature &amp; Theater"
	
			literatureandtheatersections[1] = new sectionrecord("anglolit","Anglo-American Literature","http://rmc.library.cornell.edu/collections/anglolit.html")
			literatureandtheatersections[2] = new sectionrecord("dante","The Fiske Dante Collection","http://rmc.library.cornell.edu/collections/dante.html")
			literatureandtheatersections[3] = new sectionrecord("petrarch","The Fiske Petrarch Collection","http://rmc.library.cornell.edu/collections/petrarch.html")
			literatureandtheatersections[4] = new sectionrecord("joyce","James Joyce","http://rmc.library.cornell.edu/collections/joyce.html")
			literatureandtheatersections[5] = new sectionrecord("shaw","George Bernard Shaw","http://rmc.library.cornell.edu/collections/shaw.html")
			literatureandtheatersections[6] = new sectionrecord("ebwhite","E. B. White","http://rmc.library.cornell.edu/collections/ebwhite.html")
			literatureandtheatersections[7] = new sectionrecord("wordsworth","William Wordsworth","http://rmc.library.cornell.edu/collections/wordsworth.html")
	
			
			var mediasections = new Array()
		
			mediasections.longname = "Media &amp; Digital Collections"
			
			mediasections[1] = new sectionrecord("goldsen","Rose Goldsen Archive of New Media Art","http://rmc.library.cornell.edu/collections/goldsen.html")
			
			
			var musicsections = new Array()
		
			musicsections.longname = "Music"
			
			musicsections[1] = new sectionrecord("hiphop","Hip Hop Collection","http://rmc.library.cornell.edu/hiphop/index.html")
			
			
			var naturalhistsections = new Array()
		
			naturalhistsections.longname = "Natural History"
	
			naturalhistsections[1] = new sectionrecord("ornith","Ornithology","http://rmc.library.cornell.edu/collections/ornith.html")
					
		
			var sexandgendersections = new Array()
			
			sexandgendersections.longname = "Sexuality &amp; Gender"
			
			sexandgendersections[1] = new sectionrecord("humansexuality","Human Sexuality Collection","http://rmc.library.cornell.edu/HSC/","yes")	
			sexandgendersections[2] = new sectionrecord("womensstudies","Women's Studies","http://rmc.library.cornell.edu/collections/ws.html")
			
				var humansexualitysections = new Array()
				
				humansexualitysections.longname = "Human Sexuality Collection"
				
				humansexualitysections[1] = new sectionrecord("overview","Overview","http://rmc.library.cornell.edu/HSC/")
				humansexualitysections[2] = new sectionrecord("hsccontents","What's in the HSC","http://rmc.library.cornell.edu/HSC/collections.html","yes")
				humansexualitysections[3] = new sectionrecord("use","Using the HSC","http://rmc.library.cornell.edu/HSC/using.html","yes")
				humansexualitysections[4] = new sectionrecord("zwickler","Zwickler Memorial Research Grants","http://rmc.library.cornell.edu/HSC/zwickler.html","yes")
				humansexualitysections[5] = new sectionrecord("abouthsc","About the HSC","http://rmc.library.cornell.edu/HSC/mission.html","yes")
				humansexualitysections[6] = new sectionrecord("donate","Donating to the HSC","http://rmc.library.cornell.edu/HSC/donatingtohsc.html")
				
				
					var hsccontentssections = new Array()
					
					hsccontentssections.longname = "What's in the HSC"
					
					hsccontentssections[1] = new sectionrecord("manuscripts","Manuscripts","http://rmc.library.cornell.edu/EAD/browselists/humsx.html")
					hsccontentssections[2] = new sectionrecord("books","Books","http://rmc.library.cornell.edu/HSC/bks.html")
					hsccontentssections[3] = new sectionrecord("periodicals","Periodicals","http://rmc.library.cornell.edu/HSC/per.html")
					
					
					var usesections = new Array()
					
					usesections.longname = "Using the HSC"
					
					usesections[1] = new sectionrecord("researchguide","Sexuality Research Guide","http://rmc.library.cornell.edu/HSC/hsc_guide.html")
					
					
					var zwicklersections = new Array()
					
					zwicklersections.longname = "Zwickler Memorial Research Grants"
					
					zwicklersections[1] = new sectionrecord("news","Zwickler Grant News","http://rmc.library.cornell.edu/HSC/zwicklernews.html")
					
					
					var abouthscsections = new Array()
					
					abouthscsections.longname = "About the HSC"
					
					abouthscsections[1] = new sectionrecord("mission","Mission &amp; History","http://rmc.library.cornell.edu/HSC/mission.html")
					abouthscsections[2] = new sectionrecord("mariposa","Mariposa Education and Research Foundation","http://rmc.library.cornell.edu/HSC/mariposa.html")
					abouthscsections[3] = new sectionrecord("advisory","Advisory Committee","http://rmc.library.cornell.edu/HSC/advisory.html")
					abouthscsections[4] = new sectionrecord("news","News","http://rmc.library.cornell.edu/HSC/news.html")
		
		
		var digitalcollectionssections = new Array()
		
		digitalcollectionssections.longname = "Digital Collections"
	
		digitalcollectionssections[1] = new sectionrecord("photohub","CU Archives Photo Hub Search","http://rmc.library.cornell.edu/collections/photohub/keyword_search.php")
		
		
		
		var fundingforresearchsections = new Array()
		
		fundingforresearchsections.longname = "Funding for Research"

		fundingforresearchsections[1] = new sectionrecord("johnnolenresearchfund","The John Nolen Research Fund","http://rmc.library.cornell.edu/collections/john_nolen_research_fund.html")
		fundingforresearchsections[2] = new sectionrecord("deansfellowshiphomeec","Dean's Fellowship in the History of Home Economics","http://www.human.cornell.edu/Fellowship/index.cfm")
		fundingforresearchsections[3] = new sectionrecord("test","The Phil Zwickler Memorial Research Grants","http://rmc.library.cornell.edu/HSC/zwickler.htm")
		fundingforresearchsections[4] = new sectionrecord("grantbudgettaxinfo","Budget and Tax Information for Research Grant Applicants","http://rmc.library.cornell.edu/collections/grantbudgettaxinfo.html")

	
			
		var colldevpoliciessections = new Array()
	
		colldevpoliciessections.longname = "Collecting Policies"
	
		colldevpoliciessections[1] = new sectionrecord("transferguidelines","Policy on Transfer of General Collection Materials","http://www.library.cornell.edu/colldev/RMCTransGuidelines.html")
		colldevpoliciessections[2] = new sectionrecord("nationalpolicies","National Policy Documents","http://rmc.library.cornell.edu/collections/national_policies.html")



	var visitsections = new Array()
	
	visitsections.longname = "Visiting"

	visitsections[1] = new sectionrecord("visitorinfo","Information for Visitors","http://rmc.library.cornell.edu/visit/visitor_information.html")
	visitsections[2] = new sectionrecord("aboutkroch","The Carl A. Kroch Library","http://rmc.library.cornell.edu/visit/kroch.html")
	visitsections[3] = new sectionrecord("staffdir","Staff Directory","http://rmc.library.cornell.edu/visit/primary_staff.html")
	visitsections[4] = new sectionrecord("faq","Frequently Asked Questions","http://rmc.library.cornell.edu/find/faq.html")
	visitsections[5] = new sectionrecord("givingopportunities","Making a Gift to RMC","http://rmc.library.cornell.edu/visit/giving_opportunities.html")
	
	
	var findsections = new Array()
	
	findsections.longname = "Finding Materials"

	findsections[1] = new sectionrecord("overview","Research Services Overview","http://rmc.library.cornell.edu/find/services_overview.html")
	findsections[2] = new sectionrecord("materialssearch","How to Find Rare Books &amp; Manuscripts","http://rmc.library.cornell.edu/find/materials_search.html")
	findsections[3] = new sectionrecord("registration","Registration &amp; Guidelines for Use","http://rmc.library.cornell.edu/find/registration.html")
	findsections[4] = new sectionrecord("reproductions","Reproductions &amp; Permissions","http://rmc.library.cornell.edu/find/reproductions.html","yes")
	findsections[5] = new sectionrecord("searchrmc","Search the RMC Website","http://rmc.library.cornell.edu/find/search.html","yes")
	findsections[6] = new sectionrecord("faq","Frequently Asked Questions","http://rmc.library.cornell.edu/find/faq.html")
	findsections[7] = new sectionrecord("reference","Ask a Question","http://rmc.library.cornell.edu/find/reference.php","yes")
	
	
	
		var reproductionssections = new Array()
	
		reproductionssections.longname = "Reproductions &amp; Permissions"

		reproductionssections[1] = new sectionrecord("repropricelist","Reproduction Services Price List","http://rmc.library.cornell.edu/find/repro_pricelist.html")
		reproductionssections[2] = new sectionrecord("reproorder","Request a Reproduction","http://rmc.library.cornell.edu/find/repro_request.php")
		
		
		var searchrmcsections = new Array()
	
		searchrmcsections.longname = "Search the RMC Website"

		searchrmcsections[1] = new sectionrecord("sitemap","RMC Website Map","http://rmc.library.cornell.edu/find/sitemap.html")
		
		
		var referencesections = new Array()
	
		referencesections.longname = "Ask a Question"

		referencesections[1] = new sectionrecord("privacy","Privacy Statement","http://rmc.library.cornell.edu/find/privacy_statement.html")
	




var eventssections = new Array()
	
eventssections.longname = "Events & Exhibitions"

eventssections[1] = new sectionrecord("currentexhibitions","Current Exhibition Schedule","http://rmc.library.cornell.edu/events/current_exhibitions.html")
eventssections[2] = new sectionrecord("previousexhibitions","Previous Exhibitions","http://rmc.library.cornell.edu/events/previous_exhibitions.html","yes")
eventssections[3] = new sectionrecord("rmcnews","RMC News","http://rmc.library.cornell.edu/events/press_releases.html")
eventssections[4] = new sectionrecord("culcnews","Cornell Library News","http://news.library.cornell.edu/")



		
			
				var previousexhibitionssections = new Array()
				
				previousexhibitionssections[1] = new sectionrecord("animallegends","Animal Legends: From the Trojan Horse to Godzilla","http://rmc.library.cornell.edu/AnimalLegends/")	
				previousexhibitionssections[2] = new sectionrecord("wernerpfeiffer","Werner Pfeiffer:  Book-Objects and Artist Books","http://rmc.library.cornell.edu/wernerpfeiffer/")	
				previousexhibitionssections[3] = new sectionrecord("amk","The Art &amp; Life of Alison Mason Kingsbury","http://rmc.library.cornell.edu/alisonmasonkingsbury/index.html")	
				previousexhibitionssections[4] = new sectionrecord("androids","Android Dreams: Philip K. Dick and Ridley Scott's Replicant Futures","http://rmc.library.cornell.edu/androids/")	
				previousexhibitionssections[5] = new sectionrecord("twain","Known to Everyone - Liked by All: The Business of Being Mark Twain","http://rmc.library.cornell.edu/twain/")	
				previousexhibitionssections[6] = new sectionrecord("lincoln","The Lincoln Presidency: Last Full Measure of Devotion","http://rmc.library.cornell.edu/lincoln/")	
				previousexhibitionssections[7] = new sectionrecord("darwin","Charles Darwin: After the <i>Origin</i>","http://rmc.library.cornell.edu/darwin/")	
				previousexhibitionssections[8] = new sectionrecord("ewga","Song of the Vine: A History of Wine","http://rmc.library.cornell.edu/ewga/")				
				previousexhibitionssections[9] = new sectionrecord("lafayette","LaFayette: Citizen of Two Worlds","http://rmc.library.cornell.edu/lafayette/")
				previousexhibitionssections[10] = new sectionrecord("ezra","&ldquo;I Would Found an Institution&rdquo;: The Ezra Cornell Bicentennial","http://rmc.library.cornell.edu/ezra/")
				previousexhibitionssections[11] = new sectionrecord("hrc","25 Years of Political Influence: The Records of the Human Rights Campaign","http://rmc.library.cornell.edu/HRC/")
				previousexhibitionssections[12] = new sectionrecord("poe","Nevermore: The Edgar Allan Poe Collection of Susan Jaffe Tane","http://rmc.library.cornell.edu/poe/")
				previousexhibitionssections[13] = new sectionrecord("baldwin","Baldwin Memorial Stairway","http://rmc.library.cornell.edu/baldwin/")
				previousexhibitionssections[14] = new sectionrecord("footsteps","In the Founders' Footsteps: Builders of the Cornell University Library","http://rmc.library.cornell.edu/footsteps/")
				previousexhibitionssections[15] = new sectionrecord("vanished","Vanished Worlds, Enduring People: Cornell University Library's Native American Collection","http://nac.library.cornell.edu/")
				previousexhibitionssections[16] = new sectionrecord("apa","Alpha Phi Alpha Fraternity: A Centennial Celebration","http://rmc.library.cornell.edu/alpha/index.html")
				previousexhibitionssections[17] = new sectionrecord("lolita","Nabokov at Cornell: Celebrating Lolita's Fiftieth Anniversary","http://rmc.library.cornell.edu/lolita/")
				previousexhibitionssections[18] = new sectionrecord("joyce","From Dublin to Ithaca: Cornell's James Joyce Collection","http://rmc.library.cornell.edu/joyce/")
				previousexhibitionssections[19] = new sectionrecord("fiske","The Passionate Collector: Willard Fiske and his Libraries","http://rmc.library.cornell.edu/collector/")
				previousexhibitionssections[20] = new sectionrecord("vote","Get Out the Vote!","http://rmc.library.cornell.edu/vote/")
				previousexhibitionssections[21] = new sectionrecord("bailey","Liberty Hyde Bailey: A Man for All Seasons","http://rmc.library.cornell.edu/bailey/")
				previousexhibitionssections[22] = new sectionrecord("cornellolympians","Cornell Olympic Medalists","http://rmc.library.cornell.edu/events/previous_exhibitions.html#cornellolympians")
				previousexhibitionssections[23] = new sectionrecord("tianjin","600 Years of Urban Planning and Development in and around Tianjin","http://wason.library.cornell.edu/Tianjin/")
				previousexhibitionssections[24] = new sectionrecord("earlybw","Early Black Women at Cornell: Part and Apart, 1890s-1930s","http://rmc.library.cornell.edu/earlyblackwomen/")
				previousexhibitionssections[25] = new sectionrecord("cornellpresidents","Legacy of Leadership | Cornell's Presidents","http://rmc.library.cornell.edu/presidents/")
				previousexhibitionssections[26] = new sectionrecord("pastimes","Pastimes &amp; Paradigms","http://rmc.library.cornell.edu/games/")
				previousexhibitionssections[27] = new sectionrecord("artifex","Artifex","http://rmc.library.cornell.edu/baskin/")
				previousexhibitionssections[28] = new sectionrecord("abolitionism","&#8220;I will be heard!&#8221;","http://rmc.library.cornell.edu/abolitionism/")
				previousexhibitionssections[29] = new sectionrecord("mozart","Mozart and the Keyboard Culture of His Time","http://rmc.library.cornell.edu/mozart/default.htm")
				previousexhibitionssections[30] = new sectionrecord("medievalbook","From Manuscript to Print","http://rmc.library.cornell.edu/medievalbook/default.htm")
				previousexhibitionssections[31] = new sectionrecord("breadalone","Not by Bread Alone","http://rmc.library.cornell.edu/food/default.htm")
				previousexhibitionssections[32] = new sectionrecord("womenlit","Women in the Literary Marketplace","http://rmc.library.cornell.edu/womenLit/default.htm")
				previousexhibitionssections[33] = new sectionrecord("asiatreasures","Treasures of the Asia Collections","http://rmc.library.cornell.edu/asiaTreasures/default.htm")
				previousexhibitionssections[34] = new sectionrecord("homeec","From Domesticity to Modernity","http://rmc.library.cornell.edu/homeEc/default.html")
				previousexhibitionssections[35] = new sectionrecord("vote","Vote!","http://rmc.library.cornell.edu/exhibits/vote/vote.html")
				previousexhibitionssections[36] = new sectionrecord("sagas","Living and Reliving the Icelandic Sagas","http://rmc.library.cornell.edu/exhibits/sagas/saga1.html")
				previousexhibitionssections[37] = new sectionrecord("naturegarland","Nature&#8217;s Garland","http://rmc.library.cornell.edu/exhibits/nature_garland/garland.htm")
				previousexhibitionssections[38] = new sectionrecord("tianjin","William Wordsworth and the Romantic Imagination","http://rmc.library.cornell.edu/exhibits/wdw/wordsworth.htm")
				previousexhibitionssections[39] = new sectionrecord("lurie","Alison Lurie","http://rmc.library.cornell.edu/events/lurie.html")
				previousexhibitionssections[40] = new sectionrecord("beautifulbirds","Beautiful Birds","http://rmc.library.cornell.edu/events/beautifulbirds.html")
				previousexhibitionssections[41] = new sectionrecord("artofthebook","The Art of the Book","http://rmc.library.cornell.edu/events/artofthebook.html")
				previousexhibitionssections[42] = new sectionrecord("lrjackson","Laura (Riding) Jackson &amp; the Promise of Language","http://rmc.library.cornell.edu/events/lrjackson.html")
				previousexhibitionssections[43] = new sectionrecord("nabokov","Vladimir Nabokov Centenary","http://rmc.library.cornell.edu/events/nabokov.html")
				previousexhibitionssections[44] = new sectionrecord("ammons","A. R. Ammons","http://rmc.library.cornell.edu/events/ammons.html")
				previousexhibitionssections[45] = new sectionrecord("music","The Well-Tempered Collection","http://rmc.library.cornell.edu/events/music.html")
				previousexhibitionssections[46] = new sectionrecord("letters","I Take This Pen in Hand","http://rmc.library.cornell.edu/events/letters.html")
				previousexhibitionssections[47] = new sectionrecord("shaw","The Instinct of an Artist","http://rmc.library.cornell.edu/events/previous_exhibitions.html#shaw")
				previousexhibitionssections[48] = new sectionrecord("prize","The Prize","http://rmc.library.cornell.edu/events/prize.html")
				previousexhibitionssections[49] = new sectionrecord("cals125","125 Years of Achievement","http://rmc.library.cornell.edu/Aap-exhibit/")
				previousexhibitionssections[50] = new sectionrecord("libraryfounding","A Legacy of Ideas","http://rmc.library.cornell.edu/events/previous_exhibitions.html#libraryfounding")
				previousexhibitionssections[51] = new sectionrecord("ezra","Invention &amp; Enterprise","http://rmc.library.cornell.edu/ezra-exhibit/entrance.html")
				previousexhibitionssections[52] = new sectionrecord("abbe","The Artistry of Elfriede Abbe","http://rmc.library.cornell.edu/events/previous_exhibitions.html#abbe")
				previousexhibitionssections[53] = new sectionrecord("paper","Paper, Leather, Clay, &amp; Stone","http://rmc.library.cornell.edu/Paper-exhibit/default.html")
				previousexhibitionssections[54] = new sectionrecord("rhaeto","The Rhaeto-Romance Collection","http://rmc.library.cornell.edu/events/rhaeto.html")
				previousexhibitionssections[55] = new sectionrecord("gender","Women Challenging Gender","http://rmc.library.cornell.edu/events/previous_exhibitions.html#gender")
				
				
		

function fixchars(name){

name = name.replace(/&amp;/g,"&")
name = name.replace(/&#8217;/g,"\u0027")
name = name.replace(/&#8220;/g,"\u0022")
name = name.replace(/&#8221;/g,"\u0022")

return name

}


function showheader(currenttopsection){

document.write('<div id="cu-identity">')
document.write('<div id="cu-logo">')
document.write('<a id="insignia-link" href="http://www.cornell.edu/"><img src="/images/cul_logo.gif" alt="Cornell University" width="350" height="75" border="0" /></a>')
document.write('<div id="unit-signature-links">')
document.write('<a id="cornell-link" href="http://www.cornell.edu/">Cornell University</a>')
document.write('<a id="unit-link1" href="http://www.library.cornell.edu/">Library</a>')
document.write('</div>')
document.write('</div>')	

document.write('<div id="search-form">')
document.write('<form id="searchbox" method="get" action="http://www.cornell.edu/search/" name="gs">')
document.write('<div id="search-input">')
document.write('<label for="search-form-query">Search: </label>')
document.write('<input id="search-form-query" type="text" class="textinput" name="q" size="20" maxlength="255" value="" />')
document.write('<input id="search-form-submit" type="submit" class="inputsubmit"  name="sa" value="go" />')
document.write('<input type="hidden" name="output" value="xml_no_dtd" />')
document.write('<input type="hidden" name="client" value="default_frontend" />')
document.write('<input type="hidden" name="proxystylesheet" value="default_frontend" />')
document.write('</div>')
document.write('<div id="search-filters">')
document.write('<input id="search-filters1" checked="checked" name="sitesearch" type="radio" value="rmc.library.cornell.edu" />')
document.write('<label for="search-filters1"> RMC</label>')
document.write('<input id="search-filters2" name="sitesearch" type="radio" value="library.cornell.edu" />')
document.write('<label for="search-filters2"> Cornell Library</label>')
document.write('<input id="search-filters3" name="sitesearch" type="radio" value="cornell.edu" />')
document.write('<label for="search-filters3"> Cornell</label>')
document.write('</div>')
document.write('</form>')
document.write('</div>')

document.write('</div>')

document.write('<p id="navbar">')

	for (var i = 1; i < topsections.length; i++){
	
		if (topsections[i].shortname == currenttopsection){
		document.write('<span class="selectednavtab"><a href="' + topsections[i].url + '">' + topsections[i].longname + '</a></span>')
		}
		else{
		document.write('<span class="unselectednavtab"><a href="' + topsections[i].url + '">' + topsections[i].longname + '</a></span>')
		}
	
	}

document.write('</p>')


}




function showtree(topsection, sublevel1, sublevel2, sublevel3){

var pagetitle = ""

document.write('<form style="float: right;" name="querybox" action="http://www.library.cornell.edu/script/opac-redirect.php" method="get" autocomplete="OFF">')
document.write('<a href="http://catalog.library.cornell.edu/">Library Catalog</a>: ')
document.write('<input style="font-size: 10px;" size=10 maxlength="100" name="Search_Arg" id=searchInput>')
document.write('<select style="font-size: 10px; margin-left: 5px;" name="Search_Code" size="1">')
document.write('<option selected value="TALL">Title</option>')
document.write('<option value="NAME_">Author</option>')
document.write('<option value="SUBJ_">Subject</option>')
document.write('<option value="FT*">Keyword</option>')
document.write('</select>')
document.write(' <input style="font-size: 10px;" type="submit" border="0" value="Go" name="Go"></form>')

document.write('<div id="navtree">')

	for (var i = 0; i < showtree.arguments.length; i++){
	
		if (i == 0){
		document.write('<a href="' + findsectionproperty("top", "url", showtree.arguments[i]) + '">' + findsectionproperty("top", "longname", showtree.arguments[i]) + '</a>')
		
		pagetitle =  "RMC - " + findsectionproperty("top", "longname", showtree.arguments[i])
		
		}
		else{
		
			pagetitle = pagetitle + " > " + findsectionproperty(showtree.arguments[i-1], "longname", showtree.arguments[i])
		
			if (i == showtree.arguments.length-1){
		
			document.write(' <img style="vertical-align: text-top; padding: 0px;" src="http://rmc.library.cornell.edu/images/rightarrow_new.gif" width="15" height="13" alt="" /> ' + findsectionproperty(showtree.arguments[i-1], "longname", showtree.arguments[i]))
			}
			else{
	
			document.write(' <img style="vertical-align: text-top; padding: 0px;" src="http://rmc.library.cornell.edu/images/rightarrow_new.gif" width="15" height="13" alt="" /> <a href="' + findsectionproperty(showtree.arguments[i-1], "url", showtree.arguments[i]) + '">' + findsectionproperty(showtree.arguments[i-1], "longname", showtree.arguments[i]) + '</a>')	
		
			}
		
		}
		
	}
	

document.write('</div>')

document.title = fixchars(pagetitle)


}





function showsidebarsections(section, currentsublevel1, currentsublevel2, currentsublevel3){

eval('var sectionlist = ' + section + 'sections')

	for (var i = 1; i < sectionlist.length; i++){
	
	
		if (sectionlist[i].shortname == "-"){
		document.write('</ul><hr size="1" width="84%" color="#E5DBB8" style="margin-top: 2px; margin-bottom: 0px; padding: 0px;"/><ul>')
		}
		
		else{
	
			if (sectionlist[i].shortname == currentsublevel1){
			document.write('<li id="selectedtocitem"><a href="' + sectionlist[i].url + '">' + sectionlist[i].longname + '</a></li>')
			
				if (sectionlist[i].subsectionexists){
				
				document.write('<ul class="sidebartocsublist">')
				
				showsidebarsections(sectionlist[i].shortname, currentsublevel2, currentsublevel3)
				
				document.write('</ul>')
				}
				
			}
			else{
			document.write('<li id="unselectedtocitem"><a href="' + sectionlist[i].url + '">' + sectionlist[i].longname + '</a></li>')
			}
			
		}
	
	}

}




function showsidebarmenu(section, currentsublevel1, currentsublevel2, currentsublevel3){


eval('var sectionlist = ' + section + 'sections')

document.write('<h3 style="margin-bottom: 5px;">' + sectionlist.longname + ' Contents</h3>')



document.write('<ul style="margin-bottom: 5px;">')

showsidebarsections(section, currentsublevel1, currentsublevel2, currentsublevel3)
	
document.write('</ul>')

document.write('<div id="hours">')

showkrochhours()
showcontactinfo()

document.write('</div>')

}



function showsections(section, omitsection){

eval('var sectionlist = ' + section + 'sections')

document.write('<ul>')


	for (var i = 1; i < sectionlist.length; i++){
		if (sectionlist[i].shortname != omitsection && sectionlist[i].shortname != "-"){
		document.write('<li><a href="' + sectionlist[i].url + '">' + sectionlist[i].longname + '</a></li>')
		}		
	}
	
document.write('</ul>')

}



function showrelatedsections(section, currentsection){

eval('var sectionlist = ' + section + 'sections')


document.write('<h3>Other ' + sectionlist.longname + ' Sections</h3>')
document.write('<ul>')


	for (var i = 1; i < sectionlist.length; i++){
		
		if (sectionlist[i].shortname != currentsection && sectionlist[i].shortname != "-"){
		document.write('<li><a href="' + sectionlist[i].url + '">' + sectionlist[i].longname + '</a></li>')
		}
		
	}
	
document.write('</ul>')

}




function showsitemap(section){

document.write('<ul>')

if(!section){
var section = "top"
var markupopen = "<b>"
var markupclose = "</b>"
}
else{
var markupopen = ""
var markupclose = ""
}

eval('var sectionlist = ' + section + 'sections')
	
	for (var i = 1; i < sectionlist.length; i++){
	
		if (sectionlist[i].shortname != "-"){
	
		document.write('<li><a href="' + sectionlist[i].url + '">' + markupopen + sectionlist[i].longname + markupclose + '</a></li>')
			
			if (sectionlist[i].subsectionexists){
				
			showsitemap(sectionlist[i].shortname)
				
			}
		}
	
	}
	
document.write('</ul>')

}



var sidebarimages=new Array()

sidebarimages[0]='<p><a href="javascript:cycleimage()" title="Click to View Another Image"><img src="/images/actup.jpg" height="284" width="250" alt="ACT UP Demonstration" /></a><br/>ACT UP Demonstration, New York City.<p><a href="/HSC/">Human Sexuality Collection</a>'

sidebarimages[1]='<p><a href="javascript:cycleimage()" title="Click to View Another Image"><img src="/images/LavoisierTravelCase_250.jpg" height="228" width="250" alt="Travel Case" /></a><br/>Madame Lavoisier&#8217;s traveling case,<br/>late-eighteenth century.<p>History of Science Collections'

sidebarimages[2]='<p><a href="javascript:cycleimage()" title="Click to View Another Image"><img src="/images/lombard_gradual_new.jpg" height="315" width="250" alt="Lombard Gradual" /></a><br/>Lombard Gradual.<br/>Northern Italy, mid-fifteenth century.<p>Rare Book Collections'

sidebarimages[3]='<p><a href="javascript:cycleimage()" title="Click to View Another Image"><img src="/images/sojourner_truth.jpg" height="314" width="250" alt="Sojourner Truth" /></a><br/>Sojourner Truth, 1850.<p>Samuel J. May Anti-Slavery Collection'

sidebarimages[4]='<p><a href="javascript:cycleimage()" title="Click to View Another Image"><img src="/images/nightbloomingcereus_250.jpg" height="319" width="250" alt="Night-Blooming Cereus" /></a><br/><i>Night-Blooming Cereus,<br/>Temple of Flora</i>, 1799.<p>History of Science Collections'

sidebarimages[5]='<p><a href="javascript:cycleimage()" title="Click to View Another Image"><img src="/images/petrach_250.jpg" height="211" width="250" alt="Trionfi, sonnetti e canzoni" /></a><br/>Francesco Petrarca. <i>Trionfi, sonnetti e canzoni</i> Italy (Florence), ca. 1465-70. <p>Petrarch Collection'

sidebarimages[6]='<p><a href="javascript:cycleimage()" title="Click to View Another Image"><img src="/images/zulu_hiphop.jpg" height="325" width="250" alt="Hip Hop Collection" /></a><br/>Zulu Nation Anniversary, Bronx River Projects, 1981. <p>Cornell Hip Hop Collection<br/>(Photograph by Joe Conzo)'

sidebarimages[7]='<p><a href="javascript:cycleimage()" title="Click to View Another Image"><img src="/images/great_western_250.jpg" height="252" width="250" alt="Great Western Champagne Ad" /></a><br/>Publicity for Great Western Champagne.<p>Wine and Grape Archive'

sidebarimages[8]='<p><a href="javascript:cycleimage()" title="Click to View Another Image"><img src="/images/travel_map_250.jpg" height="260" width="250" alt="Travel Map" /></a><br/>Travel Map, 1954.<p>Travel Brochure and Map Collection'

sidebarimages[9]='<p><a href="javascript:cycleimage()" title="Click to View Another Image"><img src="/images/bethe_synchrotron_250.jpg" height="298" width="250" alt="Hans Bethe" /></a><br/>Hans Bethe and Boyce McDaniel<br/>bicycling in the Wilson Synchrotron, 1968.<p>University Archives'

sidebarimages[10]='<p><a href="javascript:cycleimage()" title="Click to View Another Image"><img src="/images/presidents_tray_250.jpg" height="183" width="250" alt="Presidential Portrait Tray" /></a><br/>Presidential Portrait Tray, ca. 1897.<p>Susan H. Douglas Political Americana Collection'

sidebarimages[11]='<p><a href="javascript:cycleimage()" title="Click to View Another Image"><img src="/images/REX0022_026_003.jpg" height="283" width="250" alt="Loewentheil Collection of American Gift Annuals" /></a><br/>Loewentheil Collection of<br/>American Gift Annuals'

sidebarimages[12]='<p><a href="javascript:cycleimage()" title="Click to View Another Image"><img src="/images/Inez_Milholland_250.jpg" height="308" width="250" alt="Poster of Inez Milholland" /></a><br/>Poster of Inez Milholland (1917).<p>Jon Lindseth Woman Suffrage Collection'



var imagenumber



function showcollectionimage(){


	imagenumber = Math.round(Math.random()*(sidebarimages.length-1))

	document.write('<div id="sidebarcollectionitem">From one of the many <a href="http://rmc.library.cornell.edu/collections/rmccollections.html" style="color: #FFF;">collections</a> in<br/>Cornell&#8217;s Rare and Manuscript Division:' + sidebarimages[imagenumber] + '</div>')

}




function cycleimage(){

if(imagenumber < sidebarimages.length-1){
imagenumber++
}
else{
imagenumber = 0
}

document.getElementById("sidebarcollectionitem").innerHTML = 'From one of the many <a href="http://rmc.library.cornell.edu/collections/rmccollections.html"  style="color: #FFF;">collections</a><br/>in Cornell&#8217;s Rare and Manuscript Division:' + sidebarimages[imagenumber]

}


function showkrochhours(){

document.write('<h3 style="margin: 20px 0px 10px 0px; color: #5d7dac; background-color: #e8e2ca;">Winter & Spring 2012 Hours</h3>')

document.write('<p style="margin: 8px 0px 0px 0px;">Open Monday - Friday, 10:00 am - 5:00 pm')
 
document.write('<p style="margin: 8px 0px 0px 0px;">Open the following Saturdays:<br/>1:00 p.m. - 5:00 p.m.<br/>March 3, 10, 31 & April 7, 14, 21, 28')   

document.write('<p style="margin: 8px 0px 0px 0px;"><b>CLOSED Sundays</b></p>')


}


function showcontactinfo(){

document.write('<h3 style="margin-top: 15px; color: #5d7dac; background-color: #e8e2ca;">Contact Information</h3>')
document.write('<p style="margin: 8px 0px 0px 0px;"><b><a href="/visit/primary_staff.html">Staff Directory</a></b></p>')
document.write('<p style="margin: 8px 0px 0px 0px;"><b>Address:</b></td><br/>')
document.write('Division of Rare and Manuscript Collections<br/>')
document.write('2B <a href="/visit/kroch.html">Carl A. Kroch Library</a>, Cornell University<br/>')
document.write('Ithaca, NY 14853</p>')
document.write('<p style="margin: 8px 0px 0px 0px;"><b>Phone:</b> 607-255-3530 | <b>Fax:</b> 607-255-9524<br/>')
document.write('<b>Email:</b> Complete our <a href="/find/reference.php">form</a></p>')

}

function showrelevantwebsites(){

// document.write('<div id="sidebarbottom"><h3>Related Cornell Websites</h3><ul><li><a href="http://catalog.library.cornell.edu/">Cornell Library Catalog</a></li><li><a href="http://www.library.cornell.edu/">Cornell Library Gateway</a></li><li><a href="http://www.cornell.edu/">Cornell University Home</a></li></ul></div>')

}




function showspecialnotice() {

//document.write('<h3>Notice:</h3>')

//document.write('<p><b>The Division will close at 3 p.m. on Friday, July 15.</b></p>')

}




function showfooter(){

var myDate = new Date()

document.write('&copy;' + myDate.getFullYear() + ' <a href="/">Division of Rare &amp; Manuscript Collections</a>, 2B Carl A. Kroch Library, <a href="http://www.cornell.edu/">Cornell University</a>, Ithaca, NY 14853.<br/>')
document.write('Phone: (607) 255-3530. Fax: (607) 255-9524.')
document.write('<p>If you have a question or comment you&rsquo;d like to submit online, please complete our <a href="/find/reference.php">form</a>.')

}



function refformvalidator(theForm){

	if (theForm.QuestionSubject.value == ""){
    alert("Please enter the subject of your question in the \"Subject of Your Question\" field.")
    theForm.QuestionSubject.focus()
    return (false)
  	}

	if (theForm.Question.value == ""){
    alert("Please enter your question in the \"Your Question\" field.")
    theForm.Question.focus()
    return (false)
  	}

	if (theForm.Name.value == ""){
	alert("Please enter your first AND last name in the \"Name\" field.")
	theForm.Name.focus()
	return (false)
	}
	
	space = new RegExp(" ")

	if (!space.test(theForm.Name.value)){
	alert("Please enter your first AND last name in the \"Name\" field.")
	theForm.Name.focus()
	return (false)
	}

	if (theForm.Name.value.length < 6){
	alert("please enter at least 6 characters in the \"name\" field.")
	theform.name.focus()
	return (false)
	}
	
	if (theform.email.value == ""){
    alert("Please enter your E-mail address (e.g., abc1@cornell.edu) in the \"E-mail\" field.");
    theForm.Email.focus()
    return (false)
  	}

	if(theForm.Email.value.indexOf("@") == "-1" || theForm.Email.value.indexOf(".") == "-1"){
    alert("Please enter your COMPLETE E-mail address (e.g., abc1@cornell.edu) in the \"E-mail\" field.");
    theForm.Email.focus()
    return (false)
  	}

	if(theForm.Address.value ==""){
    alert("Please enter your address in the \"Address\" field.");
    theForm.Address.focus()
    return (false)
  	}
	
var statuschecked = false

	for (i=0;i<6;i++) {
		if (theForm.Status[i].checked) statuschecked = true
	}
	
	if (!statuschecked){
    alert("Please select your status.")
    return (false)
  	}

theForm.subject.value = "RMC Reference Form: " +  theForm.QuestionSubject.value + ":"

return (true);

}






