/*
==========================================================================
DEFINE MENU ARRAYS BELOW:

- english pages use the ".html" extension
- french pages use the ".fr.html" extension
- make sure that the english and equivalent french page are in the same folder
- define the menus as if you were creating a site map page.
- make sure to escape double quotes with a backslash (\")
e.g.  


x++;  // always increment x for each menu item
arrMenu[x] = new Array();
arrMenu[x]["level"] = 0;  // 0 - top level, 1 - second level, 2 - third level
arrMenu[x]["text_en"] = 'The English Label';
arrMenu[x]["text_fr"] = 'The French Label';
arrMenu[x]["url_en"] = "introduction/index.html";
arrMenu[x]["url_fr"] = "introduction/index.fr.html";

==========================================================================
*/


// =======================================================================
// array of possible paths that the web site root is in
// e.g. the live server is might be under /department/, but the development directory is under /dev_department/
// make sure that the web site structure doesn't duplicate the folder name
// make sure to have preceding and trailing slashes
// e.g.  having the home page as  /department/department/index.html
// *********************************
var validPaths = new Array("/archives/");
// *********************************

// =======================================================================
// Enter the path for the website which is relative to the _resources folder on the server
// be sure to have a trailing slash if the website is in a subfolder
// it's used for generating the side menu for dreamweaver
// Example entries are:
// var siteRootFolder = "";                            // _resources folder is in same folder as sidemenu.js
// var siteRootFolder = "agriculture/";                // _resources folder one level higher than sidemenu.js
// var siteRootFolder = "agriculture/livestock/";      // _resources folder two levels higher than sidemenu.js
// var siteRootFolder = "agriculture/livestock/pork/"; // _resources folder three levels higher than sidemenu.js
// *********************************
var siteRootFolder = ""; 
// *********************************
// =======================================================================



// =======================================================================
// the languages available for toggling between
// use the ISO 639-1 standard for entering the LANGUAGE_IDS entries.
// e.g. fr=French, de=German, xh=Chinese
var LANGUAGE_IDS = new Array("en", "fr");
// =======================================================================


// =======================================================================
// language labels should be written in the language that is being spoken
// - be sure to use the HTML code for special characters
// - for example, the French label should be Fran&ccedil;ais
// *********************************
var LANGUAGE_LABELS = new Array("English", "Fran&ccedil;ais");
// *********************************





var REPLACE_BREADCRUMB = 1;  // true/false to replace the breadcrumb DIV
var REPLACE_SIDEMENU = 0;    // true/false to replace the side menu DIV
var REPLACE_IFR = 1;         // true/false to replace with Inman Flash
var REPLACE_LANG = 1;        // true/false to replace language toggle DIV
var REPLACE_LINKS = 1;       // true/false to replace header links DIV


// =======================================================================
// HEADER LINKS
// arrHeaderLinks is an array containing the text links that should appear in
// the top header. It will be displayed in the order that the array entries are in.
// by default it is Site Map and Contact Us (the English/French language toggle 
// is controlled by a different function
// NOTE: if the url is empty, the header link will not appear
// =======================================================================


	var arrHeaderLink = new Array();
/* BY DEFAULT, THE HEADER LINKS ARE ENTERED MANUALLY...
//============
	var x=0;

	arrHeaderLink[x] = new Array();
	arrHeaderLink[x]["text_en"] = "Enter First Link English Text";
	arrHeaderLink[x]["text_fr"] = "Enter First Link French Text";
	arrHeaderLink[x]["url_en"] = "Enter First Link English URL";
	arrHeaderLink[x]["url_fr"] = "Enter First Link French URL";
//============

	x++;
	arrHeaderLink[x] = new Array();
	arrHeaderLink[x]["text_en"] = "Enter Second Link English Text";
	arrHeaderLink[x]["text_fr"] = "Enter Second Link French Text";
	arrHeaderLink[x]["url_en"] = "Enter Second Link English URL";
	arrHeaderLink[x]["url_fr"] = "Enter Second Link French URL";
*/


// ==========================================================================
// *********************************
// BREADCRUMB NAVIGATION
// *********************************
// - arrCrumb is basically an array of all the unique folders in the site map
// - the text_{lang} and url_{lang} values determine what is shown
//   on the bread crumb and the url it's supposed to go to.
// ["folder"] is the actual folder name.  multiple entries of the same folder 
//            will be displayed in the order they appear in the array
//            - set to empty if it should always be shown
//            - a deep subfolder should include all of its parents
//              e.g. things_to_do/seasonal/spring
//            - do not have a slash at the beginning or end of this value
// ["text_{lang}"] is the text to show on the breadcrumb trail
// ["url_{lang}"] is the link on the breadcrumb trail
//
// ==========================================================================

	var arrCrumb = new Array();
	

// EXAMPLE BREADCRUMBS
//============
/*
	var x=0;
	arrCrumb[x] = new Array();
	arrCrumb[x]["folder"] = "";
	arrCrumb[x]["text_en"] = "Gov Home";
	arrCrumb[x]["text_fr"] = "Page d'accueil";
	arrCrumb[x]["url_en"] = "http://www.gov.mb.ca/index.html";
	arrCrumb[x]["url_fr"] = "http://www.gov.mb.ca/index.fr.html";
// --- 	

	x++;
	arrCrumb[x] = new Array();
	arrCrumb[x]["folder"] = "";
	arrCrumb[x]["text_en"] = "Department";
	arrCrumb[x]["text_fr"] = "FR Department";
	arrCrumb[x]["url_en"] = "http://www.gov.mb.ca/department/index.html";
	arrCrumb[x]["url_fr"] = "http://www.gov.mb.ca/department/index.fr.html";

	x++;
	arrCrumb[x] = new Array();
	arrCrumb[x]["folder"] = "";
	arrCrumb[x]["text_en"] = "Branch";
	arrCrumb[x]["text_fr"] = "FR Branch";
	arrCrumb[x]["url_en"] = "http://www.gov.mb.ca/department/branch/index.html";
	arrCrumb[x]["url_fr"] = "http://www.gov.mb.ca/department/branch/index.fr.html";


	x++;
	arrCrumb[x] = new Array();
	arrCrumb[x]["folder"] = "";
	arrCrumb[x]["text_en"] = "Organization";
	arrCrumb[x]["text_fr"] = "FR Organization";
	arrCrumb[x]["url_en"] = "http://www.gov.mb.ca/department/branch/division/index.html";
	arrCrumb[x]["url_fr"] = "http://www.gov.mb.ca/department/branch/division/index.fr.html";
*/


// =======================================================================
// PAGE MENUS
// relative links should be relative from where sidemenu.js is located.
// if a link is going to a depth higher than sidemenu.js, put the 
// absolute server URL instead.
// - english pages use the ".html" extension
// - french pages use the ".fr.html" extension
// - make sure that the english and equivalent french page are in the same folder
// - define the menus as if you were creating a site map page.
// - make sure to escape double quotes with a backslash (\")
// e.g.  
//
//
//x++;  // always increment x for each menu item, the first menu x = 0
//arrMenu[x] = new Array();
//arrMenu[x]["level"] = 0;  // 0 - top level, 1 - second level, 2 - third level
//arrMenu[x]["text_en"] = 'The English Label';
//arrMenu[x]["text_fr"] = 'The French Label';
//arrMenu[x]["url_en"] = "introduction/index.html";
//arrMenu[x]["url_fr"] = "introduction/index.fr.html";

// If the menu item is an duplicate link to the same page, but should not be shown when visiting that page,
// set the following parameters, otherwise delete them or set to "0";
//arrMenu[x]["alt_link_en"] = 1; 
//arrMenu[x]["alt_link_fr"] = 1; 
// =======================================================================

	var arrMenu = new Array();
//============
	var x=0;

	arrMenu[x] = new Array();
	arrMenu[x]["level"] = 0;
	arrMenu[x]["text_en"] = "Archives Home";
	arrMenu[x]["text_fr"] = "Page d'accueil";
	arrMenu[x]["url_en"] = "index.html";
	arrMenu[x]["url_fr"] = "index.fr.html";
//============

    x++;
    arrMenu[x] = new Array();
	arrMenu[x]["level"] = 0;
	arrMenu[x]["text_en"] = "About Us";
	arrMenu[x]["text_fr"] = "À notre sujet";
	arrMenu[x]["url_en"] = "about.html";
	arrMenu[x]["url_fr"] = "about.fr.html";
	
	x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Definitions of Archival Terms";
		arrMenu[x]["text_fr"] = "Définitions des termes reliés aux archives";
		arrMenu[x]["url_en"] = "http://www.gov.mb.ca/chc/archives/hbca/info/definitions.html";
		arrMenu[x]["url_fr"] = "http://www.gov.mb.ca/chc/archives/hbca/info/definitions.fr.html";
	
	x++;
    arrMenu[x] = new Array();
	arrMenu[x]["level"] = 0;
	arrMenu[x]["text_en"] = "Search";
	arrMenu[x]["text_fr"] = "Recherche";
	arrMenu[x]["url_en"] = "search.html";
	arrMenu[x]["url_fr"] = "search.fr.html";
		
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Keystone Archives Descriptive Database";
		arrMenu[x]["text_fr"] = "Base de données descriptive des archives Keystone";
		arrMenu[x]["url_en"] = "keystone/index.html";
		arrMenu[x]["url_fr"] = "keystone/index.fr.html";
		
		   x++;
		   arrMenu[x] = new Array();
		   arrMenu[x]["level"] = 2;
		   arrMenu[x]["text_en"] = "Orientation";
		   arrMenu[x]["text_fr"] = "Orientation";
		   arrMenu[x]["url_en"] = "keystone/orient.html";
		   arrMenu[x]["url_fr"] = "keystone/orient.fr.html";
		
		   x++;
		   arrMenu[x] = new Array();
		   arrMenu[x]["level"] = 2;
		   arrMenu[x]["text_en"] = "What's Available";
		   arrMenu[x]["text_fr"] = "Que contient la base de données?";
		   arrMenu[x]["url_en"] = "keystone/available.html";
		   arrMenu[x]["url_fr"] = "keystone/available.fr.html";
		   
		   x++;
		   arrMenu[x] = new Array();
		   arrMenu[x]["level"] = 2;
		   arrMenu[x]["text_en"] = "Search Archival Descriptions";
		   arrMenu[x]["text_fr"] = "Recherche de descriptions d'archives";
		   arrMenu[x]["url_en"] = "http://isis64.minisisinc.com/scripts/mwimain.dll/144/PAM_DESCRIPTION?DIRECTSEARCH";
		   arrMenu[x]["url_fr"] = "http://isis64.minisisinc.com/scripts/mwimain.dll/144/PAM_DESCRIPTION?DIRECTSEARCH";
		   
		   x++;
		   arrMenu[x] = new Array();
		   arrMenu[x]["level"] = 2;
		   arrMenu[x]["text_en"] = "Search Listings";
		   arrMenu[x]["text_fr"] = "Recherche de descriptions de dossiers et d'articles";
		   arrMenu[x]["url_en"] = "http://isis64.minisisinc.com/scripts/mwimain.dll/144/PAM_LISTINGS?DIRECTSEARCH";
		   arrMenu[x]["url_fr"] = "http://isis64.minisisinc.com/scripts/mwimain.dll/144/PAM_LISTINGS?DIRECTSEARCH";
		   
		   x++;
		   arrMenu[x] = new Array();
		   arrMenu[x]["level"] = 2;
		   arrMenu[x]["text_en"] = "Search Record Creators";
		   arrMenu[x]["text_fr"] = "Recherche des descriptions de créateurs de documents";
		   arrMenu[x]["url_en"] = "http://isis64.minisisinc.com/scripts/mwimain.dll/144/PAM_AUTHORITY?DIRECTSEARCH";
		   arrMenu[x]["url_fr"] = "http://isis64.minisisinc.com/scripts/mwimain.dll/144/PAM_AUTHORITY?DIRECTSEARCH";

		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Manitoba Probate Records";
		arrMenu[x]["text_fr"] = "Registres des homologations du Manitoba";
		arrMenu[x]["url_en"] = "probate/index.html";
		arrMenu[x]["url_fr"] = "probate/index.fr.html";
		
		   x++;
		   arrMenu[x] = new Array();
		   arrMenu[x]["level"] = 2;
		   arrMenu[x]["text_en"] = "Guide to Probate Records";
		   arrMenu[x]["text_fr"] = "Guide d’utilisation des registres des homologations conservés";
		   arrMenu[x]["url_en"] = "probate/guide.html";
		   arrMenu[x]["url_fr"] = "probate/guide.fr.html";
		
		   x++;
		   arrMenu[x] = new Array();
		   arrMenu[x]["level"] = 2;
		   arrMenu[x]["text_en"] = "Winnipeg Estate Indexes";
		   arrMenu[x]["text_fr"] = "Répertoire des dossiers de succession de Winnipeg";
		   arrMenu[x]["url_en"] = "probate/wpg_estate.html";
		   arrMenu[x]["url_fr"] = "probate/wpg_estate.fr.html";
		   
		   x++;
		   arrMenu[x] = new Array();
		   arrMenu[x]["level"] = 2;
		   arrMenu[x]["text_en"] = "FAQs";
		   arrMenu[x]["text_fr"] = "Foire aux questions";
		   arrMenu[x]["url_en"] = "probate/faq.html";
		   arrMenu[x]["url_fr"] = "probate/faq.fr.html";
		   
		   x++;
		   arrMenu[x] = new Array();
		   arrMenu[x]["level"] = 2;
		   arrMenu[x]["text_en"] = "Glossary of Terms";
		   arrMenu[x]["text_fr"] = "Glossaire des homologations";
		   arrMenu[x]["url_en"] = "probate/glossary.html";
		   arrMenu[x]["url_fr"] = "probate/glossary.fr.html";
		   
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "HBCA Library";
		arrMenu[x]["text_fr"] = "Bibliothèque des ACBH";
		arrMenu[x]["url_en"] = "http://www.gov.mb.ca/chc/archives/hbca/holdings/hbca_library.html";
		arrMenu[x]["url_fr"] = "http://www.gov.mb.ca/chc/archives/hbca/holdings/hbca_library.fr.html";
		
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "HBCA Online Finding Aids";
		arrMenu[x]["text_fr"] = "Instruments de recherche en ligne des ACBH (anglais seulement)";
		arrMenu[x]["url_en"] = "http://www.gov.mb.ca/chc/archives/hbca/resource/index.html";
		arrMenu[x]["url_fr"] = "http://www.gov.mb.ca/chc/archives/hbca/resource/index.html";
		
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "HBCA Biographical Sheets";
		arrMenu[x]["text_fr"] = "Feuillets biographiques des ACBH";
		arrMenu[x]["url_en"] = "http://www.gov.mb.ca/chc/archives/hbca/biographical/index.html";
		arrMenu[x]["url_fr"] = "http://www.gov.mb.ca/chc/archives/hbca/biographical/index.fr.html";
		
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "HBCA Post Maps";
		arrMenu[x]["text_fr"] = "Cartes des postes des ACBH";
		arrMenu[x]["url_en"] = "http://www.gov.mb.ca/chc/archives/hbca/resource/cart_rec/postmap/hbc_c.html";
		arrMenu[x]["url_fr"] = "http://www.gov.mb.ca/chc/archives/hbca/resource/cart_rec/postmap/hbc_c.html";
		
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "HBCA Information Sheets";
		arrMenu[x]["text_fr"] = "Feuillets de renseignements";
		arrMenu[x]["url_en"] = "http://www.gov.mb.ca/chc/archives/hbca/info_sheets/index.html";
		arrMenu[x]["url_fr"] = "http://www.gov.mb.ca/chc/archives/hbca/info_sheets/index.fr.html";
		   	   
		
	x++;
	arrMenu[x] = new Array();
	arrMenu[x]["level"] = 0;
	arrMenu[x]["text_en"] = "Visiting the Archives";
	arrMenu[x]["text_fr"] = "Visiter les Archives";
	arrMenu[x]["url_en"] = "visiting/index.html";
	arrMenu[x]["url_fr"] = "visiting/index.fr.html";
	
	    x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Preparing for a Visit to the Archives";
		arrMenu[x]["text_fr"] = "Préparation de votre visite aux Archives";
		arrMenu[x]["url_en"] = "visiting/preparing.html";
		arrMenu[x]["url_fr"] = "visiting/preparing.fr.html";
		
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "The Archives Research Room";
		arrMenu[x]["text_fr"] = "La salle de lecture des Archives";
		arrMenu[x]["url_en"] = "visiting/research_room.html";
		arrMenu[x]["url_fr"] = "visiting/research_room.fr.html";
		
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Tours";
		arrMenu[x]["text_fr"] = "Visites guidées";
		arrMenu[x]["url_en"] = "visiting/tours.html";
		arrMenu[x]["url_fr"] = "visiting/tours.fr.html";
		
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Hours of Operation";
		arrMenu[x]["text_fr"] = "Heures d'ouverture";
		arrMenu[x]["url_en"] = "hours.html";
		arrMenu[x]["url_fr"] = "hours.fr.html";
		
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Where to Find Us";
		arrMenu[x]["text_fr"] = "Où nous trouver";
		arrMenu[x]["url_en"] = "where.html";
		arrMenu[x]["url_fr"] = "where.fr.html";
		
	x++;
	arrMenu[x] = new Array();
	arrMenu[x]["level"] = 0;
	arrMenu[x]["text_en"] = "Research From a Distance";
	arrMenu[x]["text_fr"] = "Recherche à distance";
	arrMenu[x]["url_en"] = "research.html";
	arrMenu[x]["url_fr"] = "research.fr.html";
	 
		
	x++;
	arrMenu[x] = new Array();
	arrMenu[x]["level"] = 0;
	arrMenu[x]["text_en"] = "Copy and Reproduction Services";
	arrMenu[x]["text_fr"] = "Services des copies et des reproductions";
	arrMenu[x]["url_en"] = "copy_services/index.html";
	arrMenu[x]["url_fr"] = "copy_services/index.fr.html";
	
	   	
    x++;
	arrMenu[x] = new Array();
	arrMenu[x]["level"] = 0;
	arrMenu[x]["text_en"] = "Microfilm Program";
	arrMenu[x]["text_fr"] = "Programme de microfilms";
	arrMenu[x]["url_en"] = "microfilm/index.html";
	arrMenu[x]["url_fr"] = "microfilm/index.fr.html";


	x++;
	arrMenu[x] = new Array();
	arrMenu[x]["level"] = 0;
	arrMenu[x]["text_en"] = "Family History Research";
	arrMenu[x]["text_fr"] = "Reserche d’histoire de famille";
	arrMenu[x]["url_en"] = "family_history/index.html";
	arrMenu[x]["url_fr"] = "family_history/index.fr.html";
	
	
	x++;
	arrMenu[x] = new Array();
	arrMenu[x]["level"] = 0;
	arrMenu[x]["text_en"] = "Donating Records";
	arrMenu[x]["text_fr"] = "Dons de ressources documentaires";
	arrMenu[x]["url_en"] = "donate/index.html";
	arrMenu[x]["url_fr"] = "donate/index.fr.html";
	
	
	x++;
	arrMenu[x] = new Array();
	arrMenu[x]["level"] = 0;
	arrMenu[x]["text_en"] = "Hudson's Bay Company Archives";
	arrMenu[x]["text_fr"] = "Archives de la Compagnie de la Baie d'Hudson";
	arrMenu[x]["url_en"] = "hbca/index.html";
	arrMenu[x]["url_fr"] = "hbca/index.fr.html";
	
	x++;
	arrMenu[x] = new Array();
	arrMenu[x]["level"] = 0;
	arrMenu[x]["text_en"] = "Government Recordkeeping";
	arrMenu[x]["text_fr"] = "Tenue des dossiers du gouvernement";
	arrMenu[x]["url_en"] = "gro/index.html";
	arrMenu[x]["url_fr"] = "gro/index.fr.html";
	

		

//============


// =======================================
// END OF MENU ARRAYS
// =======================================
