/* 

=============================================

DETERMINE WHICH PAGE IS BEING VIEWED

=============================================

*/

var rootPath = "";



// array of possible paths that the green campaign is in

// e.g. the live server is under /seeinggreen/, but the development directory is under /green_campaign/

// make sure that the web site structure doesn't duplicate any folders

// e.g.  having the home page as  /seeinggreen/seeinggreen/index.html

var validPaths = new Array("/seeinggreen/", "/green_campaign/", "/dev/green/");



var langID = "en";

var windowPath = window.location.pathname + "";

var windowURL = window.location.href + "";

if (windowURL.indexOf(".html") == -1) {

	windowURL = windowURL + "index.html";

}

if( windowURL.indexOf(".fr.")>0)

{

	langID = "fr";

}





var urlParameters = "";

if (windowURL.indexOf("?") > 0) {

	// we got a parameter in the url...

	urlParameters = stripSubPath(windowURL, "?");

}



var namedAnchor = "";

if (windowURL.indexOf("#") > 0) {

	// we got a named anchor...

	namedAnchor = stripSubPath(windowURL, "#");

}



// used in the page template...

var tempURL = windowURL;



var pagePath = "";

for (x = 0; x < validPaths.length; x++) {

	pagePath = stripSubPath(windowPath, validPaths[x]);

	if (pagePath == false) {

	} else {

		x = validPaths.length;

	}

}

// if for some reason the browser can't figure out the page we're on, default to index.html

if (pagePath == false) {

	pagePath = "index.html";

}



// if there is no .html extension in the current URL, it means we're browsing the folder

// so append index.html.

if (pagePath.indexOf(".html") == -1) {

	pagePath = pagePath + "index.html";

}



// figure out where the root of the site is, based on number of slashes

var num_slashes = pagePath.split("/");

for (x = 1; x < num_slashes.length; x++) {

	rootPath = rootPath + "../";

}



/*

=============================================

FUNCTIONS ARE DEFINED BELOW

=============================================

*/



// removes all portions of the path except for 

function stripSubPath(path, find) {

	var ret;

	var mypath = path;

	ret = false;

	if (path.indexOf("\\")) {

		mypath = mypath.replace(/\\/g, "/");

	}

	if (mypath.indexOf(find) > -1) {

		ret = mypath.substr(mypath.indexOf(find) + find.length);

	}



	return ret;

}



  		function arrangeMenus()

  		{

  			var k=0;

  			var maxLevel = 0;

  			for( var i=0; i<arrMenu.length; i++)

  			{

				if (arrMenu[i]["level"] > maxLevel) {

					maxLevel = arrMenu[i]["level"];

				}

  				if( pagePath + "" == arrMenu[i]["url_"+langID] + "")

  				{

  					arrMenu[i]["active"] = true;

  					arrMenu[i]["show"] = true;

  					arrMenu[i]["expand"] = true;

  					

  					// move up and set the parent to expand...

  					var curdepth = arrMenu[i]["level"];

  					for (ii = i; ii > 0; ii--) {

  						if (curdepth > arrMenu[ii]["level"]) {

  							arrMenu[ii]["expand"] = true;

		  					arrMenu[ii]["active"] = true;

	  						curdepth = arrMenu[ii]["level"];

  						}

  					}

  					k  = i;

  					kk = i;

  				}

  				else

  				{

  					arrMenu[i]["active"] = false;

  					arrMenu[i]["show"] = false;

  					arrMenu[i]["expand"] = false;

  				}



  			}



			

			// loop through the array "maxLevel" times to properly expand the entries

			// basically we only expand the immediate children of that entry... it will naturally expand...





			// always show top level menus

			for( var i=0; i<arrMenu.length; i++)

			{

				if (arrMenu[i]["level"] == 0) {

					arrMenu[i]["show"] = true;

				}

			}

			var expanding = false;

			for (var currentLevel = 0; currentLevel <= maxLevel; currentLevel++) {

				expanding = false;

				for( var i=0; i<arrMenu.length; i++)

				{

					if (arrMenu[i]["expand"] == true) {

						// show immediate children..

						for( var ii=i+1; ii<arrMenu.length; ii++)

						{

							if (arrMenu[ii]["level"] == currentLevel + 1) {

								arrMenu[ii]["show"] = true;

							}  else {

								if (arrMenu[ii]["level"] == currentLevel) {

									break;

								}

							}

						}

					}

				}

			}





  			return;

  		}









/*

	showMenus();

	

	This is the routine which outputs the actual menu structure. 

	Modify the appropriate levels HTML to adjust the style as necessary

*/

  		function showMenus()

  		{



  			for( var i=0; i<arrMenu.length; i++)

  			{



  				if(arrMenu[i]["level"]==0)

  				{

  					

// ##################### Change Background Image ################################

// #

// # Look for i == and set ID to appropriate nav.

// # ID is generated through each navigation item added

// # Search for: background-image:url("+rootPath+"  the image path is located here

// ################################################################################

  					if(arrMenu[i]["active"] || arrMenu[i]["expand"])

  					{

  						if(i==19)

  						{

							// show arrow pointing down

							document.write("<tr><td valign='middle' class='LeftHandMenus_l0_on' style='padding-left:5px; padding-right:5px;'><img src='"+rootPath+"images/nav/top_arrow_down.gif' border='0'alt=''/></td><td class='LeftHandMenus_l0_on' style='padding-right:5px;background-image:url("+rootPath+"images/nav/what_can_do_gradient.gif);'  valign='top'>");

  						}

  						else

  						{

  							// show arrow pointing down

						  	document.write("<tr><td valign='middle' class='LeftHandMenus_l0_on' style='padding-left:5px; padding-right:5px;'><img src='"+rootPath+"images/nav/top_arrow_down.gif' border='0'alt=''/></td><td class='LeftHandMenus_l0_on' style='padding-right:5px;' valign='top'>");

  						}

  					

  					}

  					else

  					{

  						if(i==19)

  						{

  							// show arrow pointing right

  							document.write("<tr><td valign='middle' class='LeftHandMenus_l0_off' style='padding-left:5px;  padding-right:5px;'><img src='"+rootPath+"images/nav/top_level_arrow.gif' border='0' alt=''/></td><td class='LeftHandMenus_l0_off' style='padding-right:5px;background-image:url("+rootPath+"images/nav/what_can_do_gradient.gif);' valign='top'>");

  						}

  						else

						{

  							// show arrow pointing right

					  		document.write("<tr><td valign='middle' class='LeftHandMenus_l0_off' style='padding-left:5px;  padding-right:5px;'><img src='"+rootPath+"images/nav/top_level_arrow.gif' border='0' alt=''/></td><td class='LeftHandMenus_l0_off' style='padding-right:5px;' valign='top'>");

  						}

  					

  					

  					}



  					arrMenu[i]["show"] = true;



  				}

  				if(arrMenu[i]["level"]==1)

  				{

  					if(arrMenu[i]["show"])

  					{

  						if(arrMenu[i]["active"])

  						{

  							document.write('<tr><td colspan="2" style="padding-left:20px;" class="LeftHandMenus_l1_on">');

  						}

  						else

  						{

  							document.write('<tr><td colspan="2" style="padding-left:20px;" class="LeftHandMenus_l1_off"" onMouseover="this.className=\'LeftHandMenus_l1_on\';" onMouseout="this.className=\'LeftHandMenus_l1_off\';">');

  						}



  					}

  				}

  				if(arrMenu[i]["level"]==2)

  				{

  					if(arrMenu[i]["show"])

  					{

  						if(arrMenu[i]["active"])

  						{

  							document.write('<tr><td colspan="2" style="padding-left:30px;" class="LeftHandMenus_l2_on">');

  						}

  						else

  						{

  							document.write('<tr><td colspan="2" style="padding-left:30px;" class="LeftHandMenus_l2_off"" onMouseover="this.className=\'LeftHandMenus_l2_on\';" onMouseout="this.className=\'LeftHandMenus_l2_off\';">');

  						}



  					}

  				}





  				if(arrMenu[i]["show"])

  				{

					document.write("<a href='");

					document.write(rootPath+arrMenu[i]["url_"+langID]);

					document.write("' title='");

					document.write(arrMenu[i]["text_"+langID]);

					document.write("'>");

					document.write(arrMenu[i]["text_"+langID]);

					document.write("</a>");



  					document.write("</td></tr>");

  					if(i<arrMenu.length-1)

  					{

  						document.write("<tr><td colspan='2' class='white_line'><img src='"+rootPath+"images/spacer.gif' border='0' width='1' height='1' alt=''/></td></tr>");

					}

  				}



  			}



  			return false;

  		}







/*

generateSiteMap()

- creates a site map using the contents of the arrMenu





*/

		function generateSiteMap()

		{

			document.write("<br>");

			for( var i=0; i<arrMenu.length; i++)

			{

				if(arrMenu[i]["level"]==2)

				{

					document.write("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");

				}

				if(arrMenu[i]["level"]==1)

				{

					document.write("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");

				}

				

				if(arrMenu[i]["level"]==0)

				{

					document.write("<br>");

				}



				document.write("<a href='");

				document.write(rootPath+arrMenu[i]["url_"+langID]);

				document.write("' title='");

				document.write(arrMenu[i]["text_"+langID]);

				document.write("'>");

				document.write(arrMenu[i]["text_"+langID]);

				document.write("</a>");



				if(i<arrMenu.length-1)

				{

					document.write("<br>");

				}

			}

			return false;

		}









/*

	flipLanguage()

	- switches between the languages of the current page based on the parameter

*/

function flipLanguage(new_lang_id)

{



	// text to search

	var searchExp = /\.html/gi;

	if (langID== "en") {

		searchExp = /\.html/gi;

	}

	if (langID == "fr") {

		searchExp = /\.fr\.html/gi;

	}



	// text to replace with

	var repExp = ".html";

	if (new_lang_id == "en") {

		repExp = ".html";

	}

	if (new_lang_id == "fr") {

		repExp = ".fr.html";

	}

	windowURL = windowURL.replace(searchExp, repExp);



	window.location=windowURL;

	return false;

}





// reloads page with printer friendly version  		

function showPrinterFriendly()

{

	var newLocation = windowURL;

	if (newLocation.indexOf("?") > -1) {

		newLocation = newLocation.substr(0,  newLocation.indexOf("?"));

	} else {

		if (newLocation.indexOf("#") > -1) {

			newLocation = newLocation.substr(0,  newLocation.indexOf("#"));

		}

	}

	if (urlParameters != "") {

		// automatically includes named anchor...

		newLocation = newLocation + "?print&" + urlParameters;

	} else {

		if (namedAnchor != "") {

			newLocation = newLocation + "?print#" + namedAnchor;

		} else {

			newLocation = newLocation + "?print";

		}

	}

	// launch printer version in new window...

	newwin = window.open(newLocation);

	

	if (newwin) {

	} else {

		alert("Please enable popups for the printer friendly page to show.");

	}

	return false;

}





// sets appropriate stylesheet

function setActiveStyleSheet(title) 

{

   var i, a, main;

   for(i=0; (a = document.getElementsByTagName("link")[i]); i++) 

   {

	 if(a.getAttribute("rel").indexOf("style") != -1

		&& a.getAttribute("title")) {

	   a.disabled = true;

	   if(a.getAttribute("title") == title) a.disabled = false;

	 }

   }

}

		

		

		

// used to determine which stylesheet to use when the page loads.

function checkPrint()

{

	if (windowURL.indexOf("?print") > -1) {

		setActiveStyleSheet("print");

	} else {

		setActiveStyleSheet("web");

	}

	return false;

}





// misc. rollover image code



function MM_swapImgRestore() { //v3.0

  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;

}



function MM_preloadImages() { //v3.0

  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();

    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)

    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}

}



function MM_findObj(n, d) { //v4.01

  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {

    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}

  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];

  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);

  if(!x && d.getElementById) x=d.getElementById(n); return x;

}



function MM_swapImage() { //v3.0

  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)

   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}

}









/*

==========================================================================

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";



==========================================================================

*/





	arrMenu = new Array();

//********

	x=0;



	arrMenu[x] = new Array();

	arrMenu[x]["level"] = 0;

	arrMenu[x]["text_en"] = "Home Page";

	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"] = "WaterSmart Manitoba";

	arrMenu[x]["text_fr"] = "&Eacute;coleau Manitoba";

	arrMenu[x]["url_en"] = "watersmart.html";

	arrMenu[x]["url_fr"] = "watersmart.fr.html";



	x++;

	arrMenu[x] = new Array();

	arrMenu[x]["level"] = 0;

	arrMenu[x]["text_en"] = "See What You Can Do";

	arrMenu[x]["text_fr"] = "Voyez ce que vous pouvez faire";

	arrMenu[x]["url_en"] = "what_can_you_do/index.html";

	arrMenu[x]["url_fr"] = "what_can_you_do/index.fr.html";



		x++;

		arrMenu[x] = new Array();

		arrMenu[x]["level"] = 1;

		arrMenu[x]["text_en"] = "Choose To Be Phosphorus Free";

		arrMenu[x]["text_fr"] = "Apprenez à vivre sans phosphate";

		arrMenu[x]["url_en"] = "what_can_you_do/phosphate_free.html";

		arrMenu[x]["url_fr"] = "what_can_you_do/phosphate_free.fr.html";



		x++;

		arrMenu[x] = new Array();

		arrMenu[x]["level"] = 1;

		arrMenu[x]["text_en"] = "Choose To Know How To Grow";

		arrMenu[x]["text_fr"] = "Apprenez à jardiner vert";

		arrMenu[x]["url_en"] = "what_can_you_do/how_to_grow.html";

		arrMenu[x]["url_fr"] = "what_can_you_do/how_to_grow.fr.html";



		x++;

		arrMenu[x] = new Array();

		arrMenu[x]["level"] = 1;

		arrMenu[x]["text_en"] = "Seeing Green to Reduce Energy Consumption";

		arrMenu[x]["text_fr"] = "Voir la vie en vert pour réduire la consommation d'énergie";

		arrMenu[x]["url_en"] = "what_can_you_do/energy_consumption.html";

		arrMenu[x]["url_fr"] = "what_can_you_do/energy_consumption.fr.html";



		x++;

		arrMenu[x] = new Array();

		arrMenu[x]["level"] = 1;

		arrMenu[x]["text_en"] = "Seeing Green by Being WaterSmart";

		arrMenu[x]["text_fr"] = "Voir la vie en vert en étant Écoleau";

		arrMenu[x]["url_en"] = "what_can_you_do/water_consumption.html";

		arrMenu[x]["url_fr"] = "what_can_you_do/water_consumption.fr.html";

		x++;

		arrMenu[x] = new Array();

		arrMenu[x]["level"] = 2;

		arrMenu[x]["text_en"] = "Water Saving Tips";

		arrMenu[x]["text_fr"] = "Conseils d’économie d’eau";

		arrMenu[x]["url_en"] = "what_can_you_do/water_save.html";

		arrMenu[x]["url_fr"] = "what_can_you_do/water_save.fr.html";

		x++;

		arrMenu[x] = new Array();

		arrMenu[x]["level"] = 2;

		arrMenu[x]["text_en"] = "Money Saving Opportunities";

		arrMenu[x]["text_fr"] = "Possibilités d’économie financière";

		arrMenu[x]["url_en"] = "what_can_you_do/water_money.html";

		arrMenu[x]["url_fr"] = "what_can_you_do/water_money.fr.html";

		x++;

		arrMenu[x] = new Array();

		arrMenu[x]["level"] = 2;

		arrMenu[x]["text_en"] = "Fascinating Facts About Water";

		arrMenu[x]["text_fr"] = "Faits fascinants sur l'eau";

		arrMenu[x]["url_en"] = "what_can_you_do/water_facts.html";

		arrMenu[x]["url_fr"] = "what_can_you_do/water_facts.fr.html";



		x++;

		arrMenu[x] = new Array();

		arrMenu[x]["level"] = 1;

		arrMenu[x]["text_en"] = "Seeing Green to Reduce Waste";

		arrMenu[x]["text_fr"] = "Voir la vie en vert pour réduire la production de déchets";

		arrMenu[x]["url_en"] = "what_can_you_do/waste.html";

		arrMenu[x]["url_fr"] = "what_can_you_do/waste.fr.html";



		x++;

		arrMenu[x] = new Array();

		arrMenu[x]["level"] = 1;

		arrMenu[x]["text_en"] = "Seeing Green to Protect Our Lakes and Rivers";

		arrMenu[x]["text_fr"] = "Voir la vie en vert pour protéger nos lacs et nos cours d’eau";

		arrMenu[x]["url_en"] = "what_can_you_do/lakes_rivers.html";

		arrMenu[x]["url_fr"] = "what_can_you_do/lakes_rivers.fr.html";



		x++;

		arrMenu[x] = new Array();

		arrMenu[x]["level"] = 1;

		arrMenu[x]["text_en"] = "Seeing Green in your Yard and Garden";

		arrMenu[x]["text_fr"] = "Voir la vie en vert pour votre pelouse et votre jardin";

		arrMenu[x]["url_en"] = "what_can_you_do/yard_garden.html";

		arrMenu[x]["url_fr"] = "what_can_you_do/yard_garden.fr.html";



		x++;

		arrMenu[x] = new Array();

		arrMenu[x]["level"] = 1;

		arrMenu[x]["text_en"] = "Seeing Green in your Car";

		arrMenu[x]["text_fr"] = "Voir la vie en vert en voiture";

		arrMenu[x]["url_en"] = "what_can_you_do/car.html";

		arrMenu[x]["url_fr"] = "what_can_you_do/car.fr.html";



		x++;

		arrMenu[x] = new Array();

		arrMenu[x]["level"] = 1;

		arrMenu[x]["text_en"] = "Seeing Green as a Consumer";

		arrMenu[x]["text_fr"] = "Voir la vie en vert en tant que consommatrice ou consommateur";

		arrMenu[x]["url_en"] = "what_can_you_do/consumer.html";

		arrMenu[x]["url_fr"] = "what_can_you_do/consumer.fr.html";



		x++;

		arrMenu[x] = new Array();

		arrMenu[x]["level"] = 1;

		arrMenu[x]["text_en"] = "Seeing Green at Work";

		arrMenu[x]["text_fr"] = "Voir la vie en vert au travail";

		arrMenu[x]["url_en"] = "what_can_you_do/work.html";

		arrMenu[x]["url_fr"] = "what_can_you_do/work.fr.html";



		x++;

		arrMenu[x] = new Array();

		arrMenu[x]["level"] = 1;

		arrMenu[x]["text_en"] = "Seeing Green in your Community Facilities";

		arrMenu[x]["text_fr"] = "Voir la vie en vert dans vos installations communautaires";

		arrMenu[x]["url_en"] = "what_can_you_do/community.html";

		arrMenu[x]["url_fr"] = "what_can_you_do/community.fr.html";



//********



	x++;

	arrMenu[x] = new Array();

	arrMenu[x]["level"] = 0;

	arrMenu[x]["text_en"] = "Introduction<br>What is Seeing Green";

	arrMenu[x]["text_fr"] = "Que signifie «Voir la vie en vert»";

	arrMenu[x]["url_en"] = "introduction/index.html";

	arrMenu[x]["url_fr"] = "introduction/index.fr.html";





		x++;

		arrMenu[x] = new Array();

		arrMenu[x]["level"] = 1;

		arrMenu[x]["text_en"] = "Minister's Message";

		arrMenu[x]["text_fr"] = "Message du ministre";

		arrMenu[x]["url_en"] = "introduction/ministers_message.html";

		arrMenu[x]["url_fr"] = "introduction/ministers_message.fr.html";



//********

	x++;

	arrMenu[x] = new Array();

	arrMenu[x]["level"] = 0;

	arrMenu[x]["text_en"] = "Seeing Green for Economic Growth and Prosperity";

	arrMenu[x]["text_fr"] = "Voir la vie en vert pour assurer la croissance économique et la prospérité";

	arrMenu[x]["url_en"] = "economic_growth/index.html";

	arrMenu[x]["url_fr"] = "economic_growth/index.fr.html";





		x++;

		arrMenu[x] = new Array();

		arrMenu[x]["level"] = 1;

		arrMenu[x]["text_en"] = "Agriculture Initiatives";

		arrMenu[x]["text_fr"] = "Agriculture";

		arrMenu[x]["url_en"] = "economic_growth/initiatives/agricultural.html";

		arrMenu[x]["url_fr"] = "economic_growth/initiatives/agricultural.fr.html";







		x++;

		arrMenu[x] = new Array();

		arrMenu[x]["level"] = 1;

		arrMenu[x]["text_en"] = "Fishing Industries";

		arrMenu[x]["text_fr"] = "Pêche";

		arrMenu[x]["url_en"] = "economic_growth/initiatives/fishing.html";

		arrMenu[x]["url_fr"] = "economic_growth/initiatives/fishing.fr.html";





		x++;

		arrMenu[x] = new Array();

		arrMenu[x]["level"] = 1;

		arrMenu[x]["text_en"] = "Tourism \/ Ecotourism";

		arrMenu[x]["text_fr"] = "Tourisme et écotourisme";

		arrMenu[x]["url_en"] = "economic_growth/initiatives/tourism.html";

		arrMenu[x]["url_fr"] = "economic_growth/initiatives/tourism.fr.html";





		x++;

		arrMenu[x] = new Array();

		arrMenu[x]["level"] = 1;

		arrMenu[x]["text_en"] = "Energy Efficiency";

		arrMenu[x]["text_fr"] = "Efficacité énergétique";

		arrMenu[x]["url_en"] = "economic_growth/initiatives/energy_efficiency.html";

		arrMenu[x]["url_fr"] = "economic_growth/initiatives/energy_efficiency.fr.html";





		x++;

		arrMenu[x] = new Array();

		arrMenu[x]["level"] = 1;

		arrMenu[x]["text_en"] = "Hydro Power";

		arrMenu[x]["text_fr"] = "Énergie hydro-électrique";

		arrMenu[x]["url_en"] = "economic_growth/initiatives/hydro.html";

		arrMenu[x]["url_fr"] = "economic_growth/initiatives/hydro.fr.html";





		x++;

		arrMenu[x] = new Array();

		arrMenu[x]["level"] = 1;

		arrMenu[x]["text_en"] = "Wind Energy";

		arrMenu[x]["text_fr"] = "Énergie éolienne";

		arrMenu[x]["url_en"] = "economic_growth/initiatives/wind_energy.html";

		arrMenu[x]["url_fr"] = "economic_growth/initiatives/wind_energy.fr.html";





		x++;

		arrMenu[x] = new Array();

		arrMenu[x]["level"] = 1;

		arrMenu[x]["text_en"] = "Biofuels";

		arrMenu[x]["text_fr"] = "Biocarburants";

		arrMenu[x]["url_en"] = "economic_growth/initiatives/biofuels.html";

		arrMenu[x]["url_fr"] = "economic_growth/initiatives/biofuels.fr.html";





			x++;

			arrMenu[x] = new Array();

			arrMenu[x]["level"] = 2;

			arrMenu[x]["text_en"] = "Biodiesel";

			arrMenu[x]["text_fr"] = "Biodiésel";

			arrMenu[x]["url_en"] = "economic_growth/initiatives/biodiesel.html";

			arrMenu[x]["url_fr"] = "economic_growth/initiatives/biodiesel.fr.html";





			x++;

			arrMenu[x] = new Array();

			arrMenu[x]["level"] = 2;

			arrMenu[x]["text_en"] = "Ethanol";

			arrMenu[x]["text_fr"] = "Éthanol";

			arrMenu[x]["url_en"] = "economic_growth/initiatives/ethanol.html";

			arrMenu[x]["url_fr"] = "economic_growth/initiatives/ethanol.fr.html";





			x++;

			arrMenu[x] = new Array();

			arrMenu[x]["level"] = 2;

			arrMenu[x]["text_en"] = "Biogas";

			arrMenu[x]["text_fr"] = "Biogaz";

			arrMenu[x]["url_en"] = "economic_growth/initiatives/biogas.html";

			arrMenu[x]["url_fr"] = "economic_growth/initiatives/biogas.fr.html";





		x++;

		arrMenu[x] = new Array();

		arrMenu[x]["level"] = 1;

		arrMenu[x]["text_en"] = "Geothermal Energy";

		arrMenu[x]["text_fr"] = "Énergie géothermique";

		arrMenu[x]["url_en"] = "economic_growth/initiatives/geothermal.html";

		arrMenu[x]["url_fr"] = "economic_growth/initiatives/geothermal.fr.html";





		x++;

		arrMenu[x] = new Array();

		arrMenu[x]["level"] = 1;

		arrMenu[x]["text_en"] = "Hydrogen";

		arrMenu[x]["text_fr"] = "Hydrogène";

		arrMenu[x]["url_en"] = "economic_growth/initiatives/hydrogen.html";

		arrMenu[x]["url_fr"] = "economic_growth/initiatives/hydrogen.fr.html";



//********

	x++;

	arrMenu[x] = new Array();

	arrMenu[x]["level"] = 0;

	arrMenu[x]["text_en"] = "Seeing Green for Clean, Healthy Rivers & Lakes";

	arrMenu[x]["text_fr"] = "Voir la vie en vert pour une eau propre et salubre";

	arrMenu[x]["url_en"] = "water/index.html";

	arrMenu[x]["url_fr"] = "water/index.fr.html";





		x++;

		arrMenu[x] = new Array();

		arrMenu[x]["level"] = 1;

		arrMenu[x]["text_en"] = "NEW Legislation";

		arrMenu[x]["text_fr"] = "NOUVELLES mesures législatives";

		arrMenu[x]["url_en"] = "water/legislation.html";

		arrMenu[x]["url_fr"] = "water/legislation.fr.html";





		x++;

		arrMenu[x] = new Array();

		arrMenu[x]["level"] = 1;

		arrMenu[x]["text_en"] = "Understanding Water";

		arrMenu[x]["text_fr"] = "La compréhension de l’eau";

		arrMenu[x]["url_en"] = "water/understand_water.html";

		arrMenu[x]["url_fr"] = "water/understand_water.fr.html";





		x++;

		arrMenu[x] = new Array();

		arrMenu[x]["level"] = 1;

		arrMenu[x]["text_en"] = "Threats to Manitoba\'s Water";

		arrMenu[x]["text_fr"] = "Les menaces qui pèsent sur l’eau du Manitoba";

		arrMenu[x]["url_en"] = "water/threats_water.html";

		arrMenu[x]["url_fr"] = "water/threats_water.fr.html";





		x++;

		arrMenu[x] = new Array();

		arrMenu[x]["level"] = 1;

		arrMenu[x]["text_en"] = "Working to Protect<br>Manitoba\'s Water";

		arrMenu[x]["text_fr"] = "Les efforts pour protéger<br>l’eau du Manitoba";

		arrMenu[x]["url_en"] = "water/protect_water.html";

		arrMenu[x]["url_fr"] = "water/protect_water.fr.html";





		x++;

		arrMenu[x] = new Array();

		arrMenu[x]["level"] = 1;

		arrMenu[x]["text_en"] = "Protecting Our Lakes and Rivers";

		arrMenu[x]["text_fr"] = "La protection de nos lacs et cours d'eau";

		arrMenu[x]["url_en"] = "water/protect_lakes_rivers.html";

		arrMenu[x]["url_fr"] = "water/protect_lakes_rivers.fr.html";





		x++;

		arrMenu[x] = new Array();

		arrMenu[x]["level"] = 1;

		arrMenu[x]["text_en"] = "Manitoba\'s Fascinating Water Facts";

		arrMenu[x]["text_fr"] = "Des faits fascinants sur l’eau du Manitoba";

		arrMenu[x]["url_en"] = "water/water_facts.html";

		arrMenu[x]["url_fr"] = "water/water_facts.fr.html";





		x++;

		arrMenu[x] = new Array();

		arrMenu[x]["level"] = 1;

		arrMenu[x]["text_en"] = "Seeing Green Means Taking Action";

		arrMenu[x]["text_fr"] = "Voir la vie en vert signifie qu’il faut agir";

		arrMenu[x]["url_en"] = "water/taking_action.html";

		arrMenu[x]["url_fr"] = "water/taking_action.fr.html";



 //********



	x++;

	arrMenu[x] = new Array();

	arrMenu[x]["level"] = 0;

	arrMenu[x]["text_en"] = "Seeing Green to Protect Our Natural Areas";

	arrMenu[x]["text_fr"] = "Voir la vie en vert pour protéger nos zones naturelles";

	arrMenu[x]["url_en"] = "protect/index.html";

	arrMenu[x]["url_fr"] = "protect/index.fr.html";





		x++;

		arrMenu[x] = new Array();

		arrMenu[x]["level"] = 1;

		arrMenu[x]["text_en"] = "Parks, Protected Areas,<br>Recreational Spaces";

		arrMenu[x]["text_fr"] = "Parcs, zones protégées et espaces récréatifs";

		arrMenu[x]["url_en"] = "protect/nature/parks_and_areas.html";

		arrMenu[x]["url_fr"] = "protect/nature/parks_and_areas.fr.html";



		x++;

		arrMenu[x] = new Array();

		arrMenu[x]["level"] = 1;

		arrMenu[x]["text_en"] = "Sustaining Our Forests";

		arrMenu[x]["text_fr"] = "Soutenir nos forêts";

		arrMenu[x]["url_en"] = "protect/nature/forests.html";

		arrMenu[x]["url_fr"] = "protect/nature/forests.fr.html";



 //********



	x++;

	arrMenu[x] = new Array();

	arrMenu[x]["level"] = 0;

	arrMenu[x]["text_en"] = "Seeing Green by Reducing Waste and Preventing Pollution";

	arrMenu[x]["text_fr"] = "Voir la vie en vert en réduisant les déchets et en prévenant la pollution";

	arrMenu[x]["url_en"] = "reduce_and_prevent/index.html";

	arrMenu[x]["url_fr"] = "reduce_and_prevent/index.fr.html";





		x++;

		arrMenu[x] = new Array();

		arrMenu[x]["level"] = 1;

		arrMenu[x]["text_en"] = "Recycling";

		arrMenu[x]["text_fr"] = "Recyclage de nombreux matériaux";

		arrMenu[x]["url_en"] = "reduce_and_prevent/initiatives/recycling.html";

		arrMenu[x]["url_fr"] = "reduce_and_prevent/initiatives/recycling.fr.html";



		x++;

		arrMenu[x] = new Array();

		arrMenu[x]["level"] = 1;

		arrMenu[x]["text_en"] = "Used Oil Recovery";

		arrMenu[x]["text_fr"] = "Récupération des ressources pour l'huile de rebut";

		arrMenu[x]["url_en"] = "reduce_and_prevent/initiatives/used_oil_recovery.html";

		arrMenu[x]["url_fr"] = "reduce_and_prevent/initiatives/used_oil_recovery.fr.html";



		x++;

		arrMenu[x] = new Array();

		arrMenu[x]["level"] = 1;

		arrMenu[x]["text_en"] = "Tire Stewardship";

		arrMenu[x]["text_fr"] = "Gestion des pneus";

		arrMenu[x]["url_en"] = "reduce_and_prevent/initiatives/tire_stewardship.html";

		arrMenu[x]["url_fr"] = "reduce_and_prevent/initiatives/tire_stewardship.fr.html";



		x++;

		arrMenu[x] = new Array();

		arrMenu[x]["level"] = 1;

		arrMenu[x]["text_en"] = "WRAPP Fund";

		arrMenu[x]["text_fr"] = "Fonds RVDPP";

		arrMenu[x]["url_en"] = "reduce_and_prevent/initiatives/wrapp_fund.html";

		arrMenu[x]["url_fr"] = "reduce_and_prevent/initiatives/wrapp_fund.fr.html";



		x++;

		arrMenu[x] = new Array();

		arrMenu[x]["level"] = 1;

		arrMenu[x]["text_en"] = "Cleaning up for the future";

		arrMenu[x]["text_fr"] = "Recycler pour assurer l'avenir";

		arrMenu[x]["url_en"] = "reduce_and_prevent/initiatives/cleaning_up.html";

		arrMenu[x]["url_fr"] = "reduce_and_prevent/initiatives/cleaning_up.fr.html";



//********

	x++;

	arrMenu[x] = new Array();

	arrMenu[x]["level"] = 0;

	arrMenu[x]["text_en"] = "Seeing Green for a Healthy Society";

	arrMenu[x]["text_fr"] = "Voir la vie en vert pour une société en santé";

	arrMenu[x]["url_en"] = "healthy_society/index.html";

	arrMenu[x]["url_fr"] = "healthy_society/index.fr.html";





		x++;

		arrMenu[x] = new Array();

		arrMenu[x]["level"] = 1;

		arrMenu[x]["text_en"] = "Environmental Education";

		arrMenu[x]["text_fr"] = "Sensibilisation à l'environnement";

		arrMenu[x]["url_en"] = "healthy_society/initiatives/environmental_education.html";

		arrMenu[x]["url_fr"] = "healthy_society/initiatives/environmental_education.fr.html";



		x++;

		arrMenu[x] = new Array();

		arrMenu[x]["level"] = 1;

		arrMenu[x]["text_en"] = "Neighbourhoods Alive!";

		arrMenu[x]["text_fr"] = "Quartiers vivants!";

		arrMenu[x]["url_en"] = "healthy_society/initiatives/neighbourhoods_alive.html";

		arrMenu[x]["url_fr"] = "healthy_society/initiatives/neighbourhoods_alive.fr.html";



		x++;

		arrMenu[x] = new Array();

		arrMenu[x]["level"] = 1;

		arrMenu[x]["text_en"] = "Sustainable Development";

		arrMenu[x]["text_fr"] = "Développement durable";

		arrMenu[x]["url_en"] = "healthy_society/initiatives/sustainable_development.html";

		arrMenu[x]["url_fr"] = "healthy_society/initiatives/sustainable_development.fr.html";

//********	

	x++;

	arrMenu[x] = new Array();

	arrMenu[x]["level"] = 0;

	arrMenu[x]["text_en"] = "Seeing Green in the Provincial Government";

	arrMenu[x]["text_fr"] = "Conversion au vert du gouvernement provincial";

	arrMenu[x]["url_en"] = "provincial_gov/index.html";

	arrMenu[x]["url_fr"] = "provincial_gov/index.fr.html";

//********	

	x++;

	arrMenu[x] = new Array();

	arrMenu[x]["level"] = 0;

	arrMenu[x]["text_en"] = "Award Winning Green Ideas";

	arrMenu[x]["text_fr"] = "Des idées vertes gagnantes";

	arrMenu[x]["url_en"] = "mb_recognized/index.html";

	arrMenu[x]["url_fr"] = "mb_recognized/index.fr.html";



		x++;

		arrMenu[x] = new Array();

		arrMenu[x]["level"] = 1;

		arrMenu[x]["text_en"] = "Manitoba noticed for<br>Seeing Green";

		arrMenu[x]["text_fr"] = "Se faire remarquer pour Voir la vie en vert";

		arrMenu[x]["url_en"] = "mb_recognized/index.html#noticed";

		arrMenu[x]["url_fr"] = "mb_recognized/index.fr.html#noticed";



		x++;

		 arrMenu[x] = new Array();

		 arrMenu[x]["level"] = 1;

		 arrMenu[x]["text_en"] = "Manitobans are showing leadership";

		 arrMenu[x]["text_fr"] = "Les Manitobains et les Manitobaines font preuve de leadership";

		 arrMenu[x]["url_en"] = "mb_recognized/index.html#leadership";

		 arrMenu[x]["url_fr"] = "mb_recognized/index.fr.html#leadership";





		x++;

		arrMenu[x] = new Array();

		arrMenu[x]["level"] = 1;

		arrMenu[x]["text_en"] = "Seeing Green means business";

		arrMenu[x]["text_fr"] = "Voir la vie en vert... c'est payant";

		arrMenu[x]["url_en"] = "mb_recognized/index.html#business";

		arrMenu[x]["url_fr"] = "mb_recognized/index.fr.html#business";



		x++;

		arrMenu[x] = new Array();

		arrMenu[x]["level"] = 1;

		arrMenu[x]["text_en"] = "Seeing Green Means Acting on Climate Change";

		arrMenu[x]["text_fr"] = "Voir la vie en vert signifie agir dès aujourd'hui en ce qui concerne le Changement Climatique";

		arrMenu[x]["url_en"] = "mb_recognized/acting_on_climate_change.html";

		arrMenu[x]["url_fr"] = "mb_recognized/acting_on_climate_change.fr.html";



//********

	x++;

	arrMenu[x] = new Array();

	arrMenu[x]["level"] = 0;

	arrMenu[x]["text_en"] = "Contact";

	arrMenu[x]["text_fr"] = "Pour nous joindre";

	arrMenu[x]["url_en"] = "contact/index.html";

	arrMenu[x]["url_fr"] = "contact/index.fr.html";







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

// END OF MENU ARRAYS

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