/*
==========================================================================
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";

// the following two elements are optional and should only be used when the link is 

arrMenu[x]["alt_link_en"] = 1;
arrMenu[x]["alt_link_fr"] = 1;

==========================================================================
*/


// array of possible paths that the web site is in
// e.g. the live server root is might be under http://www.gov.mb.ca/department/, but your local development root directory is under c:/webs/dev_department/
// make sure that the web site structure doesn't duplicate the folder name
// e.g.  having the home page as  /department/department/index.html
var validPaths = new Array("/dev/travel_french/", "/www/", "/fr/","/French/");

// the languages available for toggling between
var LANGUAGE_IDS = new Array("en", "fr");
var LANGUAGE_LABELS = new Array("English", "Fran&ccedil;ais");

// if your site has special logic to determine what language the page is, then place it here.
// set the variable langID to the correct LANGUAGE_ID value.
// by default, if the extension of the page is .html, then langID is 'en', if '.fr.html' then langID is 'fr'



// =======================================================================
// 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
// =======================================================================


	arrHeaderLink = new Array();
//********
	x=0;

	arrHeaderLink[x] = new Array();
	arrHeaderLink[x]["text_en"] = "Site Map";
	arrHeaderLink[x]["text_fr"] = "Carte du site";
	arrHeaderLink[x]["url_en"] = "http://www.gov.mb.ca/sitemap.html";
	arrHeaderLink[x]["url_fr"] = "http://www.gov.mb.ca/sitemap.fr.html";
//********

	x++;
	arrHeaderLink[x] = new Array();
	arrHeaderLink[x]["text_en"] = "Contact Us (1-866-MANITOBA)";
	arrHeaderLink[x]["text_fr"] = "Pour nous joindre (1-866-626-4862)";
	arrHeaderLink[x]["url_en"] = "http://www.gov.mb.ca/contact/index.html";
	arrHeaderLink[x]["url_fr"] = "http://www.gov.mb.ca/contact/index.fr.html";


	





// =======================================================================
// BREADCRUMB NAVIGATION
// arrCrumb is basically an array of all the unique folders in the site map
// you use the text_{lang} and url_{lang} values to 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
// ["text_{lang}"] is the text to show on the breadcrumb trail
// ["url_{lang}"] is the link on the breadcrumb trail
// =======================================================================

	arrCrumb = new Array();
	
// --- 
	x=0;
	arrCrumb[x] = new Array();
	arrCrumb[x]["folder"] = "";
	arrCrumb[x]["text_en"] = "Home";
	arrCrumb[x]["text_fr"] = "Accueil";
	arrCrumb[x]["url_en"] = "index.html";
	arrCrumb[x]["url_fr"] = "index.fr.html";
// --- 	
/*x++;
	arrCrumb[x] = new Array();
	arrCrumb[x]["page"] = "Pour la famille";
	arrCrumb[x]["text_en"] = "Family";
	arrCrumb[x]["text_fr"] = "POUR LA FAMILLE";
	arrCrumb[x]["url_en"] = "family.fr.html";
	arrCrumb[x]["url_fr"] = "family.fr.html";

x++;
	arrCrumb[x] = new Array();
	arrCrumb[x]["folder"] = "Pour les couples";
	arrCrumb[x]["text_en"] = "Couples";
	arrCrumb[x]["text_fr"] = "POUR LES COUPLES";
	arrCrumb[x]["url_en"] = "couples.fr.html";
	arrCrumb[x]["url_fr"] = "couples.fr.html";

x++;
	arrCrumb[x] = new Array();
	arrCrumb[x]["folder"] = "Arts & culture";
	arrCrumb[x]["text_en"] = "arts & culture";
	arrCrumb[x]["text_fr"] = "ARTS ET CULTURE";
	arrCrumb[x]["url_en"] = "arts_culture.fr.html";
	arrCrumb[x]["url_fr"] = "arts_culture.fr.html";

x++;
	arrCrumb[x] = new Array();
	arrCrumb[x]["folder"] = "Aventures en plein air";
	arrCrumb[x]["text_en"] = "outdoors";
	arrCrumb[x]["text_fr"] = "AVENTURES EN PLEIN<br>AIR";
	arrCrumb[x]["url_en"] = "outdoors.fr.html";
	arrCrumb[x]["url_fr"] = "outdoors.fr.html";

x++;
	arrCrumb[x] = new Array();
	arrCrumb[x]["folder"] = "pêche";
	arrCrumb[x]["text_en"] = "Fishing";
	arrCrumb[x]["text_fr"] = "PÊCHE";
	arrCrumb[x]["url_en"] = "fishing.fr.html";
	arrCrumb[x]["url_fr"] = "fishing.fr.html";

*/
	x++;
	arrCrumb[x] = new Array();
	arrCrumb[x]["folder"] = "regions";
	arrCrumb[x]["text_en"] = "Regions";
	arrCrumb[x]["text_fr"] = "Régions";
	arrCrumb[x]["url_en"] = "regions/index.html";
	arrCrumb[x]["url_fr"] = "regions/index.fr.html";

	x++;
	arrCrumb[x] = new Array();
	arrCrumb[x]["folder"] = "festivals_and_events";
	arrCrumb[x]["text_en"] = "Festivals and Events";
	arrCrumb[x]["text_fr"] = "Festivals et manifestations";
	arrCrumb[x]["url_en"] = "festivals_and_events/index.html";
	arrCrumb[x]["url_fr"] = "festivals_and_events/index.fr.html";


	x++;
	arrCrumb[x] = new Array();
	arrCrumb[x]["folder"] = "maps";
	arrCrumb[x]["text_en"] = "Maps";
	arrCrumb[x]["text_fr"] = "Cartes";
	arrCrumb[x]["url_en"] = "maps/index.html";
	arrCrumb[x]["url_fr"] = "maps/index.fr.html";

	x++;
	arrCrumb[x] = new Array();
	arrCrumb[x]["folder"] = "manitoba_in_brief";
	arrCrumb[x]["text_en"] = "Manitoba In Brief";
	arrCrumb[x]["text_fr"] = "Le Manitoba en bref";
	arrCrumb[x]["url_en"] = "manitoba_in_brief/index.html";
	arrCrumb[x]["url_fr"] = "manitoba_in_brief/index.fr.html";

	x++;
	arrCrumb[x] = new Array();
	arrCrumb[x]["folder"] = "students";
	arrCrumb[x]["text_en"] = "students";
	arrCrumb[x]["text_fr"] = "Centre de documentation pour les étudiants";
	arrCrumb[x]["url_en"] = "students/index.html";
	arrCrumb[x]["url_fr"] = "students/index.fr.html";

        x++;
	arrCrumb[x] = new Array();
	arrCrumb[x]["folder"] = "links";
	arrCrumb[x]["text_en"] = "Links";
	arrCrumb[x]["text_fr"] = "Liens";
	arrCrumb[x]["url_en"] = "links.html";
	arrCrumb[x]["url_fr"] = "links.fr.html";


// =======================================================================
// PAGE MENUS
// =======================================================================

	arrMenu = new Array();
//********
	x=0;

	arrMenu[x] = new Array();
	arrMenu[x]["level"] = 0;
	arrMenu[x]["text_en"] = "Home Page";
	arrMenu[x]["text_fr"] = "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"] = "Family";
	arrMenu[x]["text_fr"] = "POUR LA FAMILLE";
	arrMenu[x]["url_en"] = "family.fr.html";
	arrMenu[x]["url_fr"] = "family.fr.html";

x++;
	arrMenu[x] = new Array();
	arrMenu[x]["level"] = 0;
	arrMenu[x]["text_en"] = "Couples";
	arrMenu[x]["text_fr"] = "POUR LES COUPLES";
	arrMenu[x]["url_en"] = "couples.fr.html";
	arrMenu[x]["url_fr"] = "couples.fr.html";

x++;
	arrMenu[x] = new Array();
	arrMenu[x]["level"] = 0;
	arrMenu[x]["text_en"] = "arts & culture";
	arrMenu[x]["text_fr"] = "ARTS ET CULTURE";
	arrMenu[x]["url_en"] = "arts_culture.fr.html";
	arrMenu[x]["url_fr"] = "arts_culture.fr.html";

x++;
	arrMenu[x] = new Array();
	arrMenu[x]["level"] = 0;
	arrMenu[x]["text_en"] = "outdoors";
	arrMenu[x]["text_fr"] = "AVENTURES EN PLEIN<br>AIR";
	arrMenu[x]["url_en"] = "outdoors.fr.html";
	arrMenu[x]["url_fr"] = "outdoors.fr.html";

x++;
	arrMenu[x] = new Array();
	arrMenu[x]["level"] = 0;
	arrMenu[x]["text_en"] = "Fishing";
	arrMenu[x]["text_fr"] = "PÊCHE";
	arrMenu[x]["url_en"] = "fishing.fr.html";
	arrMenu[x]["url_fr"] = "fishing.fr.html";


	x++;
	arrMenu[x] = new Array();
	arrMenu[x]["level"] = 0;
	arrMenu[x]["text_en"] = "Regions";
	arrMenu[x]["text_fr"] = "RÉGIONS";
	arrMenu[x]["url_en"] = "regions/index.html";
	arrMenu[x]["url_fr"] = "regions/index.fr.html";


		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Pembina Valley";
		arrMenu[x]["text_fr"] = "VALLÉE DU PEMBINA";
		arrMenu[x]["url_en"] = "regions/pembina_valley.html";
		arrMenu[x]["url_fr"] = "regions/pembina_valley.fr.html";

		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Eastern";
		arrMenu[x]["text_fr"] = "RÉGION DE L'EST";
		arrMenu[x]["url_en"] = "regions/eastern.html";
		arrMenu[x]["url_fr"] = "regions/eastern.fr.html";
		
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Central Plains";
		arrMenu[x]["text_fr"] = "PLAINES DU CENTRE";
		arrMenu[x]["url_en"] = "regions/central_plains.html";
		arrMenu[x]["url_fr"] = "regions/central_plains.fr.html";
		
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Western";
		arrMenu[x]["text_fr"] = "RÉGION DE L'OUEST";
		arrMenu[x]["url_en"] = "regions/western.html";
		arrMenu[x]["url_fr"] = "regions/western.fr.html";
		
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Parkland";
		arrMenu[x]["text_fr"] = "RÉGION DES PARCS";
		arrMenu[x]["url_en"] = "regions/parkland.html";
		arrMenu[x]["url_fr"] = "regions/parkland.fr.html";
		
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Interlake";
		arrMenu[x]["text_fr"] = "ENTRE-LES-LACS";
		arrMenu[x]["url_en"] = "regions/interlake.html";
		arrMenu[x]["url_fr"] = "regions/interlake.fr.html";
		
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Northern";
		arrMenu[x]["text_fr"] = "RÉGION DU NORD";
		arrMenu[x]["url_en"] = "regions/northern.html";
		arrMenu[x]["url_fr"] = "regions/northern.fr.html";
		
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Winnipeg";
		arrMenu[x]["text_fr"] = "WINNIPEG";
		arrMenu[x]["url_en"] = "regions/winnipeg.html";
		arrMenu[x]["url_fr"] = "regions/winnipeg.fr.html";
		
//********
	x++;
	arrMenu[x] = new Array();
	arrMenu[x]["level"] = 0;
	arrMenu[x]["text_en"] = "Festivals And Events";
	arrMenu[x]["text_fr"] = "FESTIVALS ET <br>&Eacute;V&Eacute;NEMENTS";
	arrMenu[x]["url_en"] = "festivals_and_events/index.html";
	arrMenu[x]["url_fr"] = "festivals_and_events/index.fr.html";


//********
	x++;
	arrMenu[x] = new Array();
	arrMenu[x]["level"] = 0;
	arrMenu[x]["text_en"] = "Maps";
	arrMenu[x]["text_fr"] = "CARTES";
	arrMenu[x]["url_en"] = "maps/index.html";
	arrMenu[x]["url_fr"] = "maps/index.fr.html";


		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Pembina Valley";
		arrMenu[x]["text_fr"] = "VALLÉE DE LA PEMBINA";
		arrMenu[x]["url_en"] = "maps/pembina_valley.html";
		arrMenu[x]["url_fr"] = "maps/pembina_valley.fr.html";

		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Eastern";
		arrMenu[x]["text_fr"] = "RÉGION DE L'EST";
		arrMenu[x]["url_en"] = "maps/eastern.html";
		arrMenu[x]["url_fr"] = "maps/eastern.fr.html";
		
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Central Plains";
		arrMenu[x]["text_fr"] = "PLAINES DU CENTRE";
		arrMenu[x]["url_en"] = "maps/central_plains.html";
		arrMenu[x]["url_fr"] = "maps/central_plains.fr.html";
		
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Western";
		arrMenu[x]["text_fr"] = "RÉGION DE L'OUEST";
		arrMenu[x]["url_en"] = "maps/western.html";
		arrMenu[x]["url_fr"] = "maps/western.fr.html";
		
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Parkland";
		arrMenu[x]["text_fr"] = "RÉGION DES PARCS";
		arrMenu[x]["url_en"] = "maps/parkland.html";
		arrMenu[x]["url_fr"] = "maps/parkland.fr.html";
		
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Interlake";
		arrMenu[x]["text_fr"] = "ENTRE-LES-LACS";
		arrMenu[x]["url_en"] = "maps/interlake.html";
		arrMenu[x]["url_fr"] = "maps/interlake.fr.html";
		
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Northern";
		arrMenu[x]["text_fr"] = "RÉGION DU NORD";
		arrMenu[x]["url_en"] = "maps/northern.html";
		arrMenu[x]["url_fr"] = "maps/northern.fr.html";
		
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Winnipeg";
		arrMenu[x]["text_fr"] = "WINNIPEG";
		arrMenu[x]["url_en"] = "maps/winnipeg.html";
		arrMenu[x]["url_fr"] = "maps/winnipeg.fr.html";
//********		
	x++;
	arrMenu[x] = new Array();
	arrMenu[x]["level"] = 0;
	arrMenu[x]["text_en"] = "Maintoba In Brief";
	arrMenu[x]["text_fr"] = "LE MANITOBA EN BREF";
	arrMenu[x]["url_en"] = "manitoba_in_brief/index.html";
	arrMenu[x]["url_fr"] = "manitoba_in_brief/index.fr.html";


		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Population";
		arrMenu[x]["text_fr"] = "POPULATION";
		arrMenu[x]["url_en"] = "manitoba_in_brief/population.html";
		arrMenu[x]["url_fr"] = "manitoba_in_brief/population.fr.html";

		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Governement";
		arrMenu[x]["text_fr"] = "GOUVERNEMENT";
		arrMenu[x]["url_en"] = "manitoba_in_brief/government.html";
		arrMenu[x]["url_fr"] = "manitoba_in_brief/government.fr.html";

		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Geography";
		arrMenu[x]["text_fr"] = "GÉOGRAPHIE";
		arrMenu[x]["url_en"] = "manitoba_in_brief/geography.html";
		arrMenu[x]["url_fr"] = "manitoba_in_brief/geography.fr.html";

		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Tableau des distances";
		arrMenu[x]["text_fr"] = "TABLEAU DES DISTANCES";
		arrMenu[x]["url_en"] = "manitoba_in_brief/distances.fr.html";
		arrMenu[x]["url_fr"] = "manitoba_in_brief/distances.fr.html";

		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Nature";
		arrMenu[x]["text_fr"] = "NATURE";
		arrMenu[x]["url_en"] = "manitoba_in_brief/nature.html";
		arrMenu[x]["url_fr"] = "manitoba_in_brief/nature.fr.html";

		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "History";
		arrMenu[x]["text_fr"] = "HISTOIRE";
		arrMenu[x]["url_en"] = "manitoba_in_brief/history.html";
		arrMenu[x]["url_fr"] = "manitoba_in_brief/history.fr.html";
		
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Holidays";
		arrMenu[x]["text_fr"] = "JOURS FÉRIÉS";
		arrMenu[x]["url_en"] = "manitoba_in_brief/holidays.html";
		arrMenu[x]["url_fr"] = "manitoba_in_brief/holidays.fr.html";
		
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Climate";
		arrMenu[x]["text_fr"] = "CLIMAT";
		arrMenu[x]["url_en"] = "manitoba_in_brief/cliamte.html";
		arrMenu[x]["url_fr"] = "manitoba_in_brief/climate.fr.html";
		
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Border and Customs Regulations";
		arrMenu[x]["text_fr"] = "RÉGLEMENTATION DOUANIÈRE ET FRONTALIÈRE";
		arrMenu[x]["url_en"] = "manitoba_in_brief/border_and_customs_regulations.html";
		arrMenu[x]["url_fr"] = "manitoba_in_brief/border_and_customs_regulations.fr.html";
		
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Metric Conversions";
		arrMenu[x]["text_fr"] = "CONVERSION AU SYSTÈME MÉTRIQUE";
		arrMenu[x]["url_en"] = "manitoba_in_brief/metric_conversions.html";
		arrMenu[x]["url_fr"] = "manitoba_in_brief/metric_conversions.fr.html";
		
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Les emblèms officiels du Manitoba";
		arrMenu[x]["text_fr"] = "LES EMBLÈMS OFFICIELS DU MANITOBA";
		arrMenu[x]["url_en"] = "manitoba_in_brief/emblems.fr.html";
		arrMenu[x]["url_fr"] = "manitoba_in_brief/emblems.fr.html";
		
		
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Did You Know";
		arrMenu[x]["text_fr"] = "LE SAVIEZ-VOUS?";
		arrMenu[x]["url_en"] = "manitoba_in_brief/did_you_know.html";
		arrMenu[x]["url_fr"] = "manitoba_in_brief/did_you_know.fr.html";
//********

x++;
	arrMenu[x] = new Array();
	arrMenu[x]["level"] = 0;
	arrMenu[x]["text_en"] = "Visitor Centre";
	arrMenu[x]["text_fr"] = "CENTRES DE RENSEIGNEMENTS";
	arrMenu[x]["url_en"] = "visitor_centres.fr.html";
	arrMenu[x]["url_fr"] = "visitor_centres.fr.html";
	
//********

x++;
	arrMenu[x] = new Array();
	arrMenu[x]["level"] = 0;
	arrMenu[x]["text_en"] = "RÉUNIONS ET CONGRÈS";
	arrMenu[x]["text_fr"] = "RÉUNIONS ET CONGRÈS";
	arrMenu[x]["url_en"] = "meetings_conventions.fr.html";
	arrMenu[x]["url_fr"] = "meetings_conventions.fr.html";
		
//********
/*x++;
	arrMenu[x] = new Array();
	arrMenu[x]["level"] = 0;
	arrMenu[x]["text_en"] = "Students";
	arrMenu[x]["text_fr"] = "CENTRE DE DOCUMENTATION POUR LES ÉTUDIANTS";
	arrMenu[x]["url_en"] = "students/index.html";
	arrMenu[x]["url_fr"] = "students/index.fr.html";


		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Manitoba In Brief";
		arrMenu[x]["text_fr"] = "LE MANITOBA EN BREF";
		arrMenu[x]["url_en"] = "students/manitoba_in_brief.html";
		arrMenu[x]["url_fr"] = "manitoba_in_brief/index.fr.html";
		arrMenu[x]["alt_link_en"] = 1;
		arrMenu[x]["alt_link_fr"] = 1;
		

		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Official Emblems of Manitoba";
		arrMenu[x]["text_fr"] = "LES EMBLÈMES OFFICIELS DU MANITOBA";
		arrMenu[x]["url_en"] = "students/emblems_of_manitoba.html";
		arrMenu[x]["url_fr"] = "students/emblems_of_manitoba.fr.html";

		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Online Provincial Highway Map";
		arrMenu[x]["text_fr"] = "CARTE ROUTIÈRE OFFICIELLE DE LA PROVINCE";
		arrMenu[x]["url_en"] = "http://www.gov.mb.ca/tgs/map/index.html";
		arrMenu[x]["url_fr"] = "http://www.gov.mb.ca/tgs/map/index.fr.html";
		arrMenu[x]["attributes_en"] = "";
		arrMenu[x]["attributes_fr"] = 'target="_blank"';
		
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Legislative Assembly";
		arrMenu[x]["text_fr"] = "ASSEMBLÉE LÉGISLATIVE";
		arrMenu[x]["url_en"] = "http://www.gov.mb.ca/legislature/homepage.html";
		arrMenu[x]["url_fr"] = "http://www.gov.mb.ca/legislature/homepage.fr.html";
		arrMenu[x]["attributes_en"] = "";
		arrMenu[x]["attributes_fr"] = 'target="_blank"';
		
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Lieutenant Governor Web Site";
		arrMenu[x]["text_fr"] = "SITE WEB DU LIETENANT-GOVERNEUR";
		arrMenu[x]["url_en"] = "students/governor_site.html";
		arrMenu[x]["url_fr"] = "http://www.lg.gov.mb.ca/index.fr.html";
		arrMenu[x]["attributes_en"] = "";
		arrMenu[x]["attributes_fr"] = 'target="_blank"';
		
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Travel Manitoba Image Library";
		arrMenu[x]["text_fr"] = "BIBLIOTHÈQUE VIRTUELLE DE VOYAGE MANITOBA";
		arrMenu[x]["url_en"] = "http://www.travelmanitoba.com/fr/student/imagelibrary.html";
		arrMenu[x]["url_fr"] = "javascript:void(0);";
		arrMenu[x]["attributes_en"] = "";
		arrMenu[x]["attributes_fr"] = "onClick=\"showVousAllez('http://www.travelmanitoba.com/default.asp?page=307&menu=646');\"";

		*/
		/* backup
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Travel Manitoba Image Library";
		arrMenu[x]["text_fr"] = "BIBLIOTHÈQUE VIRTUELLE DE VOYAGE MANITOBA";
		arrMenu[x]["url_en"] = "http://www.travelmanitoba.com/fr/student/imagelibrary.html";
		arrMenu[x]["url_fr"] = "http://www.travelmanitoba.com/default.asp?page=307&menu=646";
		arrMenu[x]["attributes_en"] = "";
		arrMenu[x]["attributes_fr"] = "onClick=\"alert('Vous allez Vous allez maintenant être redirigé automatiquement à notre site web anglophone. \\n\\nAfin de recevoir des renseignements additionnels en français, s\\\'il vous plaît contactez un de nos conseillers de voyage bilingue au 1-800-665-0040 ou au 204-927-7838.  \\n\\nMerci.')\" target=\"_blank\"";
		*/
		
		/*
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Manitoba Government Home Page";
		arrMenu[x]["text_fr"] = "PAGE D'ACCUEIL DU GOUVERNEMENT DU MANITOBA";
		arrMenu[x]["url_en"] = "http://www.gov.mb.ca/index.html";
		arrMenu[x]["url_fr"] = "http://www.gov.mb.ca/index.fr.html";
		arrMenu[x]["attributes_en"] = "";
		arrMenu[x]["attributes_fr"] = 'target="_blank"';
		*/
		//********
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 0;
		arrMenu[x]["text_en"] = "Links";
		arrMenu[x]["text_fr"] = "LIENS";
		arrMenu[x]["url_en"] = "links.fr.html";
		arrMenu[x]["url_fr"] = "links.fr.html";	


// =======================================
// END OF MENU ARRAYS
// =======================================

document.write('<div id="val_message" style=" position:absolute; top:300px; left:100px; width:440px; height:150px;border:1px solid black; margin: 30px 50px; z-index:120;background-color:#FFFFFF;visibility:hidden;">');

document.write('<table cellpadding="10" cellspacing="0" border="0"  style="background-color:#FFFFFF;">');
document.write('<tr>');
document.write('<td >');
	document.write('<table cellpadding="0" cellspacing="0" border="0" style="background-color:#fff;">');
	document.write('<tr>');
	document.write('<td >');
	//document.write('<img src="/images/french_site_going_to_englis.jpg" >');
	document.write('</td>');
	document.write('</tr>');
	document.write('<tr>');
	document.write('<td style="color:#000000;padding-left:10px; padding-right:10px;padding-bottom:10px;">');
	document.write('Vous allez maintenant être redirigé automatiquement à notre site web anglophone. Afin de recevoir des renseignements additionnels en français, s\'il vous plaît contactez un de nos conseillers de voyage bilingue au 1-800-665-0040 ou au 204-927-7838.<b> Merci</b>');
	document.write('</td>');
	document.write('</tr>');
	document.write('<tr>');
	document.write('<td style="font-weight:900;color:#FF3300;padding-bottom:10px;background-color:#fff;text-align:center;">');
	document.write('<span id="proceed"></span>');
	document.write('</td>');
	document.write('</tr>');
	document.write('</table>');
document.write('</td>');
document.write('</tr>');
document.write('</table>');
document.write('</div>');

document.write('<div id="val_shadow" style=" position:absolute; top:0px; left:0px; height:1000px;width:1000px; z-index:100;background-color: #ffffff; -moz-opacity:0.6; opacity:0.6;filter:alpha(opacity=40);visibility:hidden;">');
document.write('</div>');



//define reference to the body object in IE
var iebody=(document.compatMode && document.compatMode != "BackCompat")? document.documentElement : document.body;

function positionit1()
{
	//define universal dsoc left point
	var dsocleft=document.all? iebody.scrollLeft : pageXOffset;
	//define universal dsoc top point
	var dsoctop=document.all? iebody.scrollTop : pageYOffset;

	//if the user is using IE 4+ or Firefox/ NS6+
	document.getElementById("val_message").style.left=parseInt( dsocleft )+ 150 +"px";
	document.getElementById("val_message").style.top =parseInt( dsoctop )+ 150 +"px";
	
}


function positionit()
{
	//define universal dsoc left point
	var dsocleft=document.all? iebody.scrollLeft : pageXOffset;

	//define universal dsoc top point
	var dsoctop=document.all? iebody.scrollTop : pageYOffset;

	var screenW = 640;
	var screenH = 480;
	if (parseInt(navigator.appVersion)>3) {
	 screenW = screen.width;
	 screenH = screen.height;
	}
	else if (navigator.appName == "Netscape" 
	    && parseInt(navigator.appVersion)==3
	    && navigator.javaEnabled()
	   ) 
	{
	 var jToolkit = java.awt.Toolkit.getDefaultToolkit();
	 var jScreenSize = jToolkit.getScreenSize();
	 screenW = jScreenSize.width;
	 screenH = jScreenSize.height;
	}

	var xx = (screenW/2)-320;
	var yy = (screenH/2)-280;

	//if the user is using IE 4+ or Firefox/ NS6+
	document.getElementById("val_message").style.left = parseInt(parseInt( dsocleft )+ xx) +"px";
	document.getElementById("val_message").style.top  = parseInt(parseInt( dsoctop )+ yy) +"px";

}




function showVousAllez(goTo)
{
	
	document.getElementById("proceed").innerHTML  = '<a href="javascript:void(0);" onClick=\'openEngWindow("'+goTo+'");\'  style="font-weight:900;">Continuer</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:void(0);" onClick="showCloseOut();" style="font-weight:900;">Je désire demeurer dans le site francophonne</a>' ;
	
	
	var shadowHeight = parseInt(document.body.clientHeight) + 100;
	var shadowWidth = parseInt(document.body.clientWidth) + 100;
	
	document.getElementById("val_shadow").style.height = shadowHeight + "px";
	document.getElementById("val_shadow").style.width = shadowWidth + "px";
	
	positionit();
	
	document.getElementById("val_message").style.visibility = "visible";
	document.getElementById("val_shadow").style.visibility = "visible";
	
	showFadeOut();
	

	return;
}



function showVousAllez2()
{
	
	document.getElementById("proceed").innerHTML  = '<img src="/images/spacer.gif" height="14">' ;
	
	
	var shadowHeight = parseInt(document.body.clientHeight) + 100;
	var shadowWidth = parseInt(document.body.clientWidth) + 100;
	
	document.getElementById("val_shadow").style.height = shadowHeight + "px";
	document.getElementById("val_shadow").style.width = shadowWidth + "px";
	
	positionit();
	
	document.getElementById("val_message").style.visibility = "visible";
	document.getElementById("val_shadow").style.visibility = "visible";
	
	showFadeOut();
	

	return;
}



function showFadeOut()
{
	document.getElementById("val_message").style.opacity = 1;
	document.getElementById("val_message").style.filter = "alpha(opacity=100)";
	var k=0.01;
	
	for( var myTime=30000; myTime<=180000; myTime=myTime + 500  )
	{
		var m= 100- ( k * 100 );
		
		setTimeout('document.getElementById("val_message").style.opacity=1-'+k+'; ',myTime);
		setTimeout('document.getElementById("val_message").style.filter = "alpha(opacity=' + m +')"; ',myTime);
		
		
		if(myTime<=180000)
		{}
		else
		{
			myTime = myTime + 1000;
			setTimeout('showCloseOut()',myTime);
			break;
		}
		
		if(k <= 0.4 )
		{}
		else
		{
		 	myTime = myTime + 1000;
			setTimeout('showCloseOut()',myTime);
			break;
		}
		
		k=k+0.01;
		
		
	}
	
	return;
}



function showCloseOut()
{
 	document.getElementById("val_message").style.visibility = "hidden"; 
 	document.getElementById("val_shadow").style.visibility = "hidden"; 

	return;
}



function openEngWindow(goTo)
{
	window.open(goTo,"TravelManitoba");
	showCloseOut();
	return;
}




