//* Build breadcrumb path on page for navigation
//* Copyright 2004, Copperfield Publishing; http://www.copperfieldpub.com

function Crumb(Path, Name, Url) {
	this.Path	= Path;
	this.Name	= Name;
	this.Url	= Url;
}

BagOCrumbs = new Array();

// add new directories here.  the format:

// Path: the name of the directory
// Name: the text you want to display onscreen
// Url:  the URL to the parent page for this directory or book


BagOCrumbs[0] = new Crumb("sitemap", "Site Map", "http://www.sos.state.ga.us/archives/menu/sitemap/default.htm");
BagOCrumbs[1] = new Crumb("what_do_we_have", "What We Have", "http://www.sos.state.ga.us/archives/what_do_we_have/default.htm");
BagOCrumbs[2] = new Crumb("items_for_sale", "Items for Sale", "http://www.sos.state.ga.us/archives/what_do_we_have/items_for_sale/default.htm");
BagOCrumbs[3] = new Crumb("collections", "A General Description of our Collections", "http://www.sos.state.ga.us/archives/what_do_we_have/collections/default.htm");
BagOCrumbs[4] = new Crumb("land_lottery", "Land Lottery", "http://www.sos.state.ga.us/archives/what_do_we_have/land_lottery/default.htm");
BagOCrumbs[5] = new Crumb("online_indexes", "Online Indexes", "http://www.sos.state.ga.us/archives/what_do_we_have/online_indexes/default.htm");
BagOCrumbs[6] = new Crumb("gil", "Georgia Archives GIL", "http://www.sos.state.ga.us/archives/what_do_we_have/online_indexes/gil/default.htm");
BagOCrumbs[7] = new Crumb("gov_correspondence", "Governor’s Incoming Correspondence", "http://www.sos.state.ga.us/archives/what_do_we_have/online_indexes/gov_correspondence/default.htm");
BagOCrumbs[8] = new Crumb("pdi", "Online Descriptive Inventories", "http://www.sos.state.ga.us/archives/what_do_we_have/online_indexes/pdi/pdisearchadv.asp");
BagOCrumbs[9] = new Crumb("rev_war_veterans", "Revolutionary War Veterans' Land Lottery Records", "http://www.sos.state.ga.us/archives/what_do_we_have/online_indexes/rev_war_veterans/default.htm");
BagOCrumbs[10] = new Crumb("online_records", "Online Records", "http://www.sos.state.ga.us/archives/what_do_we_have/online_records/default.htm");
BagOCrumbs[11] = new Crumb("georgia_legislative_documents", "Georgia Legislative Documents", "http://www.sos.state.ga.us/archives/what_do_we_have/online_records/georgia_legislative_documents/default.htm");
BagOCrumbs[12] = new Crumb("historic_documents", "Historic Documents", "http://www.sos.state.ga.us/archives/what_do_we_have/online_records/historic_documents/default.htm");
BagOCrumbs[13] = new Crumb("1789_georgia_constitution", "1789 Constitution of the State of Georgia", "http://www.sos.state.ga.us/archives/what_do_we_have/online_records/historic_documents/1789_georgia_constitution/default.htm");
BagOCrumbs[14] = new Crumb("1798_georgia_constitution", "1798 Constitution of the State of Georgia", "http://www.sos.state.ga.us/archives/what_do_we_have/online_records/historic_documents/1798_georgia_constitution/default.htm");
BagOCrumbs[15] = new Crumb("1850_constitutional_convention", "Report of the Constitutional Convention of 1850", "http://www.sos.state.ga.us/archives/what_do_we_have/online_records/historic_documents/1850_constitutional_convention/default.htm");
BagOCrumbs[16] = new Crumb("1861_georgia_constitution", "1861 Constitution of the State of Georgia", "http://www.sos.state.ga.us/archives/what_do_we_have/online_records/historic_documents/1861_georgia_constitution/default.htm");
BagOCrumbs[17] = new Crumb("1865_georgia_constitution", "1865 Constitution of the State of Georgia", "http://www.sos.state.ga.us/archives/what_do_we_have/online_records/historic_documents/1865_georgia_constitution/default.htm");
BagOCrumbs[18] = new Crumb("1877_georgia_constitution", "1877 Constitution of the State of Georgia", "http://www.sos.state.ga.us/archives/what_do_we_have/online_records/historic_documents/1877_georgia_constitution/default.htm");
BagOCrumbs[19] = new Crumb("1945_georgia_constitution", "1945 Constitution of the State of Georgia", "http://www.sos.state.ga.us/archives/what_do_we_have/online_records/historic_documents/1945_georgia_constitution/default.htm");
BagOCrumbs[20] = new Crumb("1976_georgia_constitution", "1976 Constitution of the State of Georgia", "http://www.sos.state.ga.us/archives/what_do_we_have/online_records/historic_documents/1976_georgia_constitution/default.htm");
BagOCrumbs[21] = new Crumb("1983_georgia_constitution", "1983 Constitution of the State of Georgia", "http://www.sos.state.ga.us/archives/what_do_we_have/online_records/historic_documents/1983_georgia_constitution/default.htm");
BagOCrumbs[22] = new Crumb("address_of_general_washington", "Address of General Washington regarding the state of the country's affairs", "http://www.sos.state.ga.us/archives/what_do_we_have/online_records/historic_documents/address_of_general_washington/default.htm");
BagOCrumbs[23] = new Crumb("gov_ernest_vandivers_public_education_address", "Gov. Ernest Vandiver's Public Education Address", "http://www.sos.state.ga.us/archives/what_do_we_have/online_records/historic_documents/gov_ernest_vandivers_public_education_address/default.htm");
BagOCrumbs[24] = new Crumb("ordinance_of_seccession", "Ordinance of Secession", "http://www.sos.state.ga.us/archives/what_do_we_have/online_records/historic_documents/ordinance_of_seccession/default.htm");
BagOCrumbs[25] = new Crumb("possession_of_cherokee_lands", "Act to Authorize the Governor to take Possession of Cherokee Lands", "http://www.sos.state.ga.us/archives/what_do_we_have/online_records/historic_documents/possession_of_cherokee_lands/default.htm");
BagOCrumbs[26] = new Crumb("royal_charter_of_georgia", "Royal Charter of Georgia", "http://www.sos.state.ga.us/archives/what_do_we_have/online_records/historic_documents/royal_charter_of_georgia/default.htm");
BagOCrumbs[27] = new Crumb("western_lands_articles_of_agreement", "Articles of Agreement regarding Georgia's Western Lands", "http://www.sos.state.ga.us/archives/what_do_we_have/online_records/historic_documents/western_lands_articles_of_agreement/default.htm");
BagOCrumbs[28] = new Crumb("womens_suffrage_act", "Women's Suffrage Act", "http://www.sos.state.ga.us/archives/what_do_we_have/online_records/historic_documents/womens_suffrage_act/default.htm");
BagOCrumbs[29] = new Crumb("yazoo_land_fraud", "Yazoo Land Fraud Records", "http://www.sos.state.ga.us/archives/what_do_we_have/online_records/historic_documents/yazoo_land_fraud/default.htm");
BagOCrumbs[30] = new Crumb("leo_frank", "Leo Frank Clemency File", "http://www.sos.state.ga.us/archives/what_do_we_have/online_records/leo_frank/default.htm");
BagOCrumbs[31] = new Crumb("vanishing_georgia", "Vanishing Georgia", "http://www.sos.state.ga.us/archives/what_do_we_have/online_records/vanishing_georgia/default.htm");
BagOCrumbs[32] = new Crumb("other_family_history_research", "Other Places to go for Family History Research in Georgia", "http://www.sos.state.ga.us/archives/what_do_we_have/other_family_history_research/default.htm");
BagOCrumbs[33] = new Crumb("other_state_archives", "Other State Archives", "http://www.sos.state.ga.us/archives/what_do_we_have/other_state_archives/default.htm");
BagOCrumbs[34] = new Crumb("vital_records", "Vital Records", "http://www.sos.state.ga.us/archives/what_do_we_have/vital_records/default.htm");
BagOCrumbs[35] = new Crumb("birth", "Birth Records", "http://www.sos.state.ga.us/archives/what_do_we_have/vital_records/birth/default.htm");
BagOCrumbs[36] = new Crumb("death", "Death Records", "http://www.sos.state.ga.us/archives/what_do_we_have/vital_records/death/default.htm");
BagOCrumbs[37] = new Crumb("marriage", "Marriage Records", "http://www.sos.state.ga.us/archives/what_do_we_have/vital_records/marriage/default.htm");
BagOCrumbs[38] = new Crumb("where_are_we", "Where We Are Located", "http://www.sos.state.ga.us/archives/where_are_we/default.htm");
BagOCrumbs[39] = new Crumb("who_are_we", "Who We Are", "http://www.sos.state.ga.us/archives/who_are_we/default.htm");
BagOCrumbs[40] = new Crumb("how_may_we_help_you", "How We Can Help You", "http://www.sos.state.ga.us/archives/how_may_we_help_you/default.htm");
BagOCrumbs[41] = new Crumb("ask_an_archivist", "Ask An Archivist", "http://www.sos.state.ga.us/archives/how_may_we_help_you/ask_an_archivist/default.htm");
BagOCrumbs[42] = new Crumb("citations", "Citations", "http://www.sos.state.ga.us/archives/how_may_we_help_you/citations/default.htm");
BagOCrumbs[43] = new Crumb("educator", "Educator Resources", "http://www.sos.state.ga.us/archives/how_may_we_help_you/educator/default.htm");
BagOCrumbs[44] = new Crumb("emergency_advice", "Emergency Advice", "http://www.sos.state.ga.us/archives/how_may_we_help_you/emergency_advice/default.htm");
BagOCrumbs[45] = new Crumb("care_for_records", "Care for Records", "http://www.sos.state.ga.us/archives/how_may_we_help_you/care_for_records/default.htm");
BagOCrumbs[46] = new Crumb("rims", "Records and Information Management Services", "http://www.sos.state.ga.us/archives/who_are_we/rims/default.htm");
BagOCrumbs[47] = new Crumb("research_help", "Research Help", "http://www.sos.state.ga.us/archives/how_may_we_help_you/research_help/default.htm");
BagOCrumbs[48] = new Crumb("speakers", "Speakers", "http://www.sos.state.ga.us/archives/how_may_we_help_you/speakers/default.htm");
BagOCrumbs[49] = new Crumb("state_records_center", "State Records Center", "http://www.sos.state.ga.us/archives/who_are_we/rims/state_records_center/default.htm");
BagOCrumbs[50] = new Crumb("tours", "Tours", "http://www.sos.state.ga.us/archives/how_may_we_help_you/tours/default.htm");
BagOCrumbs[51] = new Crumb("want_to_be_involved", "How To Be Involved", "http://www.sos.state.ga.us/archives/want_to_be_involved/default.htm");
BagOCrumbs[52] = new Crumb("donate_materials", "Donate Materials", "http://www.sos.state.ga.us/archives/want_to_be_involved/donate_materials/default.htm");
BagOCrumbs[53] = new Crumb("internships", "Internships", "http://www.sos.state.ga.us/archives/want_to_be_involved/internships/default.htm");
BagOCrumbs[54] = new Crumb("volunteers", "Volunteers", "http://www.sos.state.ga.us/archives/want_to_be_involved/volunteers/default.htm");
BagOCrumbs[55] = new Crumb("ghrab", "Georgia Historical Records Advisory Board", "http://www.sos.state.ga.us/archives/who_are_we/ghrab/default.htm");
BagOCrumbs[56] = new Crumb("board_operations", "GHRAB Operations", "http://www.sos.state.ga.us/archives/who_are_we/ghrab/board_operations/default.htm");
BagOCrumbs[57] = new Crumb("board_projects", "Board Projects", "http://www.sos.state.ga.us/archives/who_are_we/ghrab/board_projects/default.htm");
BagOCrumbs[58] = new Crumb("presentation", "GHRAB", "http://www.sos.state.ga.us/archives/who_are_we/ghrab/presentation/ghrab.htm");
BagOCrumbs[59] = new Crumb("directory", "Georgia Historical Organizations and Resources Directory", "http://www.sos.state.ga.us/archives/who_are_we/ghrab/directory/default.htm");
BagOCrumbs[60] = new Crumb("resource_finder", "Georgia Historical Organizations and Resources Directory", "http://www.sos.state.ga.us/archives/who_are_we/ghrab/resource_finder/default.htm");
BagOCrumbs[61] = new Crumb("feedback", "Georgia Historical Records Advisory Board: Feedback", "http://www.sos.state.ga.us/archives/who_are_we/ghrab/feedback/default.htm");
BagOCrumbs[62] = new Crumb("grant_programs", "GHRAB Grant Programs", "http://www.sos.state.ga.us/archives/who_are_we/ghrab/grant_programs/default.htm");
BagOCrumbs[63] = new Crumb("grant_descriptions", "Grant Descriptions (1996-2001)", "http://www.sos.state.ga.us/archives/who_are_we/ghrab/grant_descriptions/default.htm");
BagOCrumbs[64] = new Crumb("publications", "Publications", "http://www.sos.state.ga.us/archives/who_are_we/rims/publications/default.htm");
BagOCrumbs[65] = new Crumb("managing_public_records", "Guide to Managing Public Records in Georgia", "http://www.sos.state.ga.us/archives/who_are_we/rims/publications/managing_public_records/default.htm");
BagOCrumbs[66] = new Crumb("electronic_document_imaging_systems_guidelines", "Electronic Document Imaging Systems Guidelines", "http://www.sos.state.ga.us/archives/who_are_we/rims/publications/electronic_document_imaging_systems_guidelines/default.htm");
BagOCrumbs[67] = new Crumb("best_practices_resources", "Best Practices and Resources", "http://www.sos.state.ga.us/archives/who_are_we/rims/best_practices_resources/default.htm");
BagOCrumbs[68] = new Crumb("georgia_archives", "Permanent Records Transfer", "http://www.sos.state.ga.us/archives/who_are_we/rims/georgia_archives/default.htm");
BagOCrumbs[69] = new Crumb("media_security_vault", "Media Security Vault", "http://www.sos.state.ga.us/archives/who_are_we/rims/media_security_vault/default.htm");
BagOCrumbs[70] = new Crumb("privacy_access_electronic_records", "Records and Information Management Services Privacy & Access to Electronic Records", "http://www.sos.state.ga.us/archives/who_are_we/rims/privacy_access_electronic_records/default.htm");
BagOCrumbs[71] = new Crumb("retention_schedules", "Retention Schedules", "http://www.sos.state.ga.us/archives/who_are_we/rims/retention_schedules/default.htm");
BagOCrumbs[72] = new Crumb("retsched", "Search the Local Retention Schedule Database", "http://www.sos.state.ga.us/archives/who_are_we/rims/retention_schedules/retsched/default.htm");
BagOCrumbs[73] = new Crumb("state_retention_schedule_database", "State Retention Schedule Search Page", "http://www.sos.state.ga.us/archives/who_are_we/rims/retention_schedules/state_retention_schedule_database/default.asp");
BagOCrumbs[74] = new Crumb("search", "Search the Archives", "http://www.sos.state.ga.us/archives/menu/search/default.htm");
BagOCrumbs[75] = new Crumb("contact_us", "Contact Us", "http://www.sos.state.ga.us/archives/menu/contact_us/default.htm");
BagOCrumbs[76] = new Crumb("closing", "Closing", "http://www.sos.state.ga.us/archives/closing/default.htm");
BagOCrumbs[77] = new Crumb("postcard", "Historic Postcard Collection", "http://www.sos.state.ga.us/archives/what_do_we_have/online_records/postcard/searchkeywords.aspx");
BagOCrumbs[78] = new Crumb("african_american_resources", "African American Resources", "http://www.sos.state.ga.us/archives/what_do_we_have/african_american_resources/default.htm");
BagOCrumbs[79] = new Crumb("enlistments", "Confederate Enlistment Oaths and Discharges", "http://www.sos.state.ga.us/archives/what_do_we_have/online_records/enlistments/searchkeywords.aspx");
BagOCrumbs[80] = new Crumb("pensions", "Confederate Pension", "http://www.sos.state.ga.us/archives/what_do_we_have/online_records/pensions/searchkeywords.aspx");
BagOCrumbs[81] = new Crumb("pensions", "Confederate Muster Rolls", "http://www.sos.state.ga.us/archives/what_do_we_have/online_records/confederate_muster_rolls/default.htm");
BagOCrumbs[82] = new Crumb("Records and Information Management", "Records Management Evaluation Tool for Local Governments", "http://www.sos.state.ga.us/archives/what_do_we_have/test_RIMS/local_gov_evaluation_tool/Local Government Records Management Evaluation Tool.htm");
BagOCrumbs[83] = new Crumb("ColonialWills_Books", "Colonial Wills Books", "http://www.sos.state.ga.us/archives/what_do_we_have/online_records/ColonialWills_Books/cwb_searchkeywords.aspx");
BagOCrumbs[84] = new Crumb("declaration_headline_page", "Georgia’s Declaration of Independence", "http://www.sos.state.ga.us/archives/declaration_headline_page/default.htm");
BagOCrumbs[85] = new Crumb("tell_us_your_story", "Tell us your story", "http://www.sos.state.ga.us/archives/want_to_be_involved/tell_us_your_story/Your_Stories.htm");
BagOCrumbs[86] = new Crumb("Celebrate_Georgia_Archives_Month", "Celebrate Georgia Archives Month", "http://www.sos.state.ga.us/archives/Celebrate_Georgia_Archives_Month.htm");
BagOCrumbs[87] = new Crumb("LunchandLearn", "Launch and Learn", "http://www.sos.ga.gov/archives/how_may_we_help_you/LunchandLearn/default.htm");




// ... we build the path and display it


var i, x, doctitle;
strConcat = " > ";
strUrl = document.location.href;
strList = "<a href='http://www.sos.state.ga.us/archives'>Georgia Archives</a>";
strDebug = "";
aryDirs = strUrl.split("/");
for (x=0; x < aryDirs.length; x++) {
	
	for(i = 0; i < BagOCrumbs.length; i++) {
	
		if (BagOCrumbs[i].Path.toLowerCase() == aryDirs[x].toLowerCase()) {
	
		if (document.title != BagOCrumbs[i].Name)
			{doctitle = " > " + document.title;		
		strList += strConcat + "<a href='" + BagOCrumbs[i].Url + "'>" + BagOCrumbs[i].Name + "</a>"};
		else 
		{doctitle = "";
		strList += strConcat + BagOCrumbs[i].Name};
			i = BagOCrumbs.length;
		}

	}

}

strList += doctitle;
document.write(strList);		