/*
==========================================================================
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("/youth/");
// *********************************

// =======================================================================
// 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"] = "Education";
	//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"] = "MB4Youth";
		//arrCrumb[x]["text_fr"] = "FR Branch";
		//arrCrumb[x]["url_en"] = "index.html";
		//arrCrumb[x]["url_fr"] = "http://www.gov.mb.ca/department/branch/index.fr.html";


			//x++;
			//arrCrumb[x] = new Array(1);
			//arrCrumb[x]["folder"] = "employers";
			//arrCrumb[x]["text_en"] = "Employers";
			//arrCrumb[x]["text_fr"] = "FR Organization";
			//arrCrumb[x]["url_en"] = "index.html";
			//arrCrumb[x]["url_fr"] = "http://www.gov.mb.ca/department/branch/division/index.fr.html";
			
	//			x++;
		//		arrCrumb[x] = new Array(2);
			//	arrCrumb[x]["folder"] = "employers";
				//arrCrumb[x]["text_en"] = "CareerFocus";
			//	arrCrumb[x]["text_fr"] = "FR Organization";
				//arrCrumb[x]["url_en"] = "..employers/careerfocus.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"] = "Manitoba Healthy Living, Youth and Seniors Home";
	arrMenu[x]["text_fr"] = "Vie saine, Jeunesse et Aînés d'accueil";
	arrMenu[x]["url_en"] = "http://www.gov.mb.ca/healthyliving/index.html";
	arrMenu[x]["url_fr"] = "http://www.gov.mb.ca/healthyliving/index.fr.html";
	
	var x=0;

	arrMenu[x] = new Array();
	arrMenu[x]["level"] = 0;
	arrMenu[x]["text_en"] = "MB4Youth Home";
	arrMenu[x]["text_fr"] = "Jeunesse Manitoba 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"] = "Glossary of Terms";
		arrMenu[x]["text_fr"] = "Glossaire";
		arrMenu[x]["url_en"] = "glossary.html";
		arrMenu[x]["url_fr"] = "glossary.fr.html";

		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 0;
		arrMenu[x]["text_en"] = "Employers";
		arrMenu[x]["text_fr"] = "Employeurs";
		arrMenu[x]["url_en"] = "employers/index.html";
		arrMenu[x]["url_fr"] = "employers/index.fr.html";

			x++;
			arrMenu[x] = new Array();
			arrMenu[x]["level"] = 1;
			arrMenu[x]["text_en"] = "Aboriginal Youth Internship Program";
			arrMenu[x]["text_fr"] = "Programme de stages pour les jeunes Autochtones";
			arrMenu[x]["url_en"] = "employers/aboriginalinternship.html";
			arrMenu[x]["url_fr"] = "employers/aboriginalinternship.fr.html";
			
			x++;
			arrMenu[x] = new Array();
			arrMenu[x]["level"] = 1;
			arrMenu[x]["text_en"] = "Black Youth Internship Program";
			arrMenu[x]["text_fr"] = "Programme de stages pour les jeunes Noirs";
			arrMenu[x]["url_en"] = "employers/blackyouthinternship.html";
			arrMenu[x]["url_fr"] = "employers/blackyouthinternship.fr.html";
			
			x++;
			arrMenu[x] = new Array();
			arrMenu[x]["level"] = 1;
			arrMenu[x]["text_en"] = "Career Focus";
			arrMenu[x]["text_fr"] = "Objectif Carrière";
			arrMenu[x]["url_en"] = "employers/careerfocus.html";
			arrMenu[x]["url_fr"] = "employers/careerfocus.fr.html";

			x++;
			arrMenu[x] = new Array();
			arrMenu[x]["level"] = 1;
			arrMenu[x]["text_en"] = "Urban/Hometown Green Team";
			arrMenu[x]["text_fr"] = "Équipe verte - milieu urbain/locale";
			arrMenu[x]["url_en"] = "employers/greenteam.html";
			arrMenu[x]["url_fr"] = "employers/greenteam.fr.html";

			x++;
			arrMenu[x] = new Array();
			arrMenu[x]["level"] = 1;
			arrMenu[x]["text_en"] = "Manitoba Mentorships";
			arrMenu[x]["text_fr"] = "Mentorat au Manitoba";
			arrMenu[x]["url_en"] = "employers/manitobamentorships.html";
			arrMenu[x]["url_fr"] = "employers/manitobamentorships.fr.html";
			
			x++;
			arrMenu[x] = new Array();
			arrMenu[x]["level"] = 1;
			arrMenu[x]["text_en"] = "Northern Aboriginal Youth Internship Program";
			arrMenu[x]["text_fr"] = "Programme de stages pour les jeunes Autochtones du Nord";
			arrMenu[x]["url_en"] = "employers/northernaboriginalinternship.html";
			arrMenu[x]["url_fr"] = "employers/northernaboriginalinternship.fr.html";
			
			x++;
			arrMenu[x] = new Array();
			arrMenu[x]["level"] = 1;
			arrMenu[x]["text_en"] = "High School Apprenticeship Option";
			arrMenu[x]["text_fr"] = "Option Métiers au secondaire";
			arrMenu[x]["url_en"] = "http://www.gov.mb.ca/tce/apprent/apprentice/apprenticeship_hs.html";
			arrMenu[x]["url_fr"] = "http://www.gov.mb.ca/tce/apprent/apprentice/apprenticeship_hs.html";
			
			x++;
			arrMenu[x] = new Array();
			arrMenu[x]["level"] = 1;
			arrMenu[x]["text_en"] = "Youth Serves Manitoba";
			arrMenu[x]["text_fr"] = "Les jeunes au service du Manitoba";
			arrMenu[x]["url_en"] = "employers/youthserves.html";
			arrMenu[x]["url_fr"] = "employers/youthserves.fr.html";
			
			x++;
			arrMenu[x] = new Array();
			arrMenu[x]["level"] = 1;
			arrMenu[x]["text_en"] = "Youth Transition";
			arrMenu[x]["text_fr"] = "Transition jeunesse";
			arrMenu[x]["url_en"] = "employers/youthtransition.html";
			arrMenu[x]["url_fr"] = "employers/youthtransition.fr.html";


		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 0;
		arrMenu[x]["text_en"] = "Future Business Leaders";
		arrMenu[x]["text_fr"] = "Futurs chefs d'entreprises";
		arrMenu[x]["url_en"] = "businesses/index.html";
		arrMenu[x]["url_fr"] = "businesses/index.fr.html";

			x++;
			arrMenu[x] = new Array();
			arrMenu[x]["level"] = 1;
			arrMenu[x]["text_en"] = "Aboriginal Youth Mean Business!";
			arrMenu[x]["text_fr"] = "« Aboriginal Youth Mean Business! »";
			arrMenu[x]["url_en"] = "http://www.aymb.ca/";
			arrMenu[x]["url_fr"] = "http://www.aymb.ca/";
			
			x++;
			arrMenu[x] = new Array();
			arrMenu[x]["level"] = 1;
			arrMenu[x]["text_en"] = "Skill Development for Young Entrepreneurs";
			arrMenu[x]["text_fr"] = "Perfectionnement de compétences des jeunes entrepreneurs";
			arrMenu[x]["url_en"] = "businesses/skilldevelopment.html";
			arrMenu[x]["url_fr"] = "businesses/skilldevelopment.fr.html";

			x++;
			arrMenu[x] = new Array();
			arrMenu[x]["level"] = 1;
			arrMenu[x]["text_en"] = "Young Entrepreneurs";
			arrMenu[x]["text_fr"] = "Jeunes entrepreneurs";
			arrMenu[x]["url_en"] = "businesses/youngentrepreneurs.html";
			arrMenu[x]["url_fr"] = "businesses/youngentrepreneurs.fr.html";

			
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 0;
		arrMenu[x]["text_en"] = "Leadership/Citizenship Initiatives";
		arrMenu[x]["text_fr"] = "Initiatives de leadership et de citoyenneté";
		arrMenu[x]["url_en"] = "leadership/index.html";
		arrMenu[x]["url_fr"] = "leadership/index.fr.html";
		
			x++;
			arrMenu[x] = new Array();
			arrMenu[x]["level"] = 1;
			arrMenu[x]["text_en"] = "MB4Youth Advisory Council";
			arrMenu[x]["text_fr"] = "Conseil consultatif sur la jeunesse";
			arrMenu[x]["url_en"] = "leadership/advisorycouncil.html";
			arrMenu[x]["url_fr"] = "leadership/advisorycouncil.fr.html";
			
			x++;
			arrMenu[x] = new Array();
			arrMenu[x]["level"] = 1;
			arrMenu[x]["text_en"] = "Youth Citizenship Events";
			arrMenu[x]["text_fr"] = "Activités d'éducation des jeunes à la citoyenneté";
			arrMenu[x]["url_en"] = "leadership/citizenshipevents.html";
			arrMenu[x]["url_fr"] = "leadership/citizenshipevents.fr.html";
			
			x++;
			arrMenu[x] = new Array();
			arrMenu[x]["level"] = 1;
			arrMenu[x]["text_en"] = "Volunteers in Public Service";
			arrMenu[x]["text_fr"] = "Programme de bénévolet dans la fonction publique";
			arrMenu[x]["url_en"] = "leadership/vips.html";
			arrMenu[x]["url_fr"] = "leadership/vips.fr.html";

			x++;
			arrMenu[x] = new Array();
			arrMenu[x]["level"] = 1;
			arrMenu[x]["text_en"] = "Manitoba Youth Leadership Scholarship";
			arrMenu[x]["text_fr"] = "Bourse de leadership de Jeunesse Manitoba";
			arrMenu[x]["url_en"] = "leadership/youthleadershipscholarship.html";
			arrMenu[x]["url_fr"] = "leadership/youthleadershipscholarship.fr.html"; 

			x++;
			arrMenu[x] = new Array();
			arrMenu[x]["level"] = 1;
			arrMenu[x]["text_en"] = "Youth Making a Difference";
			arrMenu[x]["text_fr"] = "Les jeunes agents de changement";
			arrMenu[x]["url_en"] = "leadership/youthmakingadifference.html";
			arrMenu[x]["url_fr"] = "leadership/youthmakingadifference.fr.html";
						
			x++;
			arrMenu[x] = new Array();
			arrMenu[x]["level"] = 1;
			arrMenu[x]["text_en"] = "Youth Serves Manitoba";
			arrMenu[x]["text_fr"] = "Les jeunes au service du Manitoba";
			arrMenu[x]["url_en"] = "leadership/youthserves.html";
			arrMenu[x]["url_fr"] = "leadership/youthserves.fr.html";
		
				
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 0;
		arrMenu[x]["text_en"] = "Students/Youth Services";
		arrMenu[x]["text_fr"] = "Services de soutien aux jeunes";
		arrMenu[x]["url_en"] = "services/index.html";
		arrMenu[x]["url_fr"] = "services/index.fr.html";
		
			x++;
			arrMenu[x] = new Array();
			arrMenu[x]["level"] = 1;
			arrMenu[x]["text_en"] = "Job Preparation Resources";
			arrMenu[x]["text_fr"] = "Ressources de préparation à l'emploi";
			arrMenu[x]["url_en"] = "services/jobpreparation.html";
			arrMenu[x]["url_fr"] = "services/jobpreparation.fr.html";
			
			x++;
			arrMenu[x] = new Array();
			arrMenu[x]["level"] = 2;
			arrMenu[x]["text_en"] = "The Road to a Successful Interview";
			arrMenu[x]["text_fr"] = "Comment réussir une entrevue";
			arrMenu[x]["url_en"] = "services/successful_interview.html";
			arrMenu[x]["url_fr"] = "services/successful_interview.fr.html";
			
			x++;
			arrMenu[x] = new Array();
			arrMenu[x]["level"] = 2;
			arrMenu[x]["text_en"] = "What Kind of Resume do you need?";
			arrMenu[x]["text_fr"] = "De quel genre de curriculum vitae avez-vous besoin?";
			arrMenu[x]["url_en"] = "services/what_kind_of_resume.html";
			arrMenu[x]["url_fr"] = "services/what_kind_of_resume.fr.html";
			
			x++;
			arrMenu[x] = new Array();
			arrMenu[x]["level"] = 2;
			arrMenu[x]["text_en"] = "15 ways to kill your chances at a job?";
			arrMenu[x]["text_fr"] = "15 Façons de garantir que vous n'obtiendrez pas l'emploi visé";
			arrMenu[x]["url_en"] = "services/15_ways.html";
			arrMenu[x]["url_fr"] = "services/15_ways.fr.html";
			
			x++;
			arrMenu[x] = new Array();
			arrMenu[x]["level"] = 2;
			arrMenu[x]["text_en"] = "Common questions about resumés";
			arrMenu[x]["text_fr"] = "Questions courantes relatives aux curriculum vitae";
			arrMenu[x]["url_en"] = "services/common_questions.html";
			arrMenu[x]["url_fr"] = "services/common_questions.fr.html";
			
			x++;
			arrMenu[x] = new Array();
			arrMenu[x]["level"] = 2;
			arrMenu[x]["text_en"] = "Dressing for the Interview";
			arrMenu[x]["text_fr"] = "Comment s'habiller pour l'entrevue";
			arrMenu[x]["url_en"] = "services/dressing.html";
			arrMenu[x]["url_fr"] = "services/dressing.fr.html";
			
						x++;
			arrMenu[x] = new Array();
			arrMenu[x]["level"] = 2;
			arrMenu[x]["text_en"] = "Preparing for the Interview";
			arrMenu[x]["text_fr"] = "Préparation en vue de l'entrevue";
			arrMenu[x]["url_en"] = "services/interview_preparing.html";
			arrMenu[x]["url_fr"] = "services/interview_preparing.fr.html";
			
			
			x++;
			arrMenu[x] = new Array();
			arrMenu[x]["level"] = 1;
			arrMenu[x]["text_en"] = "Manitoba Youth Job Centres";
			arrMenu[x]["text_fr"] = "Centres d'emploi jeunesse du Manitoba";
			arrMenu[x]["url_en"] = "services/manitobayouthjobcentres.html";
			arrMenu[x]["url_fr"] = "services/manitobayouthjobcentres.fr.html";
			
			x++;
			arrMenu[x] = new Array();
			arrMenu[x]["level"] = 1;
			arrMenu[x]["text_en"] = "Partners for Careers";
			arrMenu[x]["text_fr"] = "« Partners for Careers »";
			arrMenu[x]["url_en"] = "http://www.partnersforcareers.mb.ca/";
			arrMenu[x]["url_fr"] = "http://www.partnersforcareers.mb.ca/";

			x++;
			arrMenu[x] = new Array();
			arrMenu[x]["level"] = 1;
			arrMenu[x]["text_en"] = "STEP Services";
			arrMenu[x]["text_fr"] = "Le service STEP";
			arrMenu[x]["url_en"] = "http://www.gov.mb.ca/educate/studentjobs/";
			arrMenu[x]["url_fr"] = "http://www.gov.mb.ca/educate/studentjobs/index.fr.html";
			
			x++;
			arrMenu[x] = new Array();
			arrMenu[x]["level"] = 1;
			arrMenu[x]["text_en"] = "Youth Transition:  From Work to Post-Secondary Education";
			arrMenu[x]["text_fr"] = "Transition jeunesse : du travail aux études postsecondaires";
			arrMenu[x]["url_en"] = "services/transition.html";
			arrMenu[x]["url_fr"] = "services/transition.fr.html";
			
			
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 0;
		arrMenu[x]["text_en"] = "Youth Serving Agencies";
		arrMenu[x]["text_fr"] = "Organismes au service de la jeunesse";
		arrMenu[x]["url_en"] = "agencies/index.html";
		arrMenu[x]["url_fr"] = "agencies/index.fr.html";
		
			x++;
			arrMenu[x] = new Array();
			arrMenu[x]["level"] = 1;
			arrMenu[x]["text_en"] = "Partners With youth";
			arrMenu[x]["text_fr"] = "Partenaires des jeunes";
			arrMenu[x]["url_en"] = "agencies/partnerswithyouth.html";
			arrMenu[x]["url_fr"] = "agencies/partnerswithyouth.fr.html";
			
			x++;
			arrMenu[x] = new Array();
			arrMenu[x]["level"] = 1;
			arrMenu[x]["text_en"] = "Youth Build";
			arrMenu[x]["text_fr"] = "Programme Jeunes bâtisseurs";
			arrMenu[x]["url_en"] = "agencies/youthbuild.html";
			arrMenu[x]["url_fr"] = "agencies/youthbuild.fr.html";

			x++;
			arrMenu[x] = new Array();
			arrMenu[x]["level"] = 1;
			arrMenu[x]["text_en"] = "Youth NOW";
			arrMenu[x]["text_fr"] = "Nouveaux débouchés Jeunesse";
			arrMenu[x]["url_en"] = "agencies/youthnow.html";
			arrMenu[x]["url_fr"] = "agencies/youthnow.fr.html";

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


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

