/* 
=============================================
DETERMINE WHICH PAGE IS BEING VIEWED
=============================================
*/
var rootPath = "";

// array of possible paths that budget 2007 is in
// e.g. the live server is under /budget07/, the development directory is under /budget07/
// make sure that the web site structure doesn't duplicate any folders
// e.g.  having the home page as  /budget07/budget07/index.html
// var validPaths = new Array("/seeinggreen/", "/green_campaign/", "/dev/green/");
var validPaths = new Array("/budget07/");

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==1)
  						{
							// 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
  						{
  							// 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==1)
  						{
  							// 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'>");
  						}
  						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"] = "Minister's Budget Message";
	arrMenu[x]["text_fr"] = "Message du ministre";
	arrMenu[x]["url_en"] = "min_msg.html";
	arrMenu[x]["url_fr"] = "min_msg.fr.html";
	
	x++;
	arrMenu[x] = new Array();
	arrMenu[x]["level"] = 0;
	arrMenu[x]["text_en"] = "Speech";
	arrMenu[x]["text_fr"] = "Discours du Budget";
	arrMenu[x]["url_en"] = "speech/index.html";
	arrMenu[x]["url_fr"] = "speech/index.fr.html";
	
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Building our Province";
		arrMenu[x]["text_fr"] = "Bâtir notre province";
		arrMenu[x]["url_en"] = "speech/speech02.html";
		arrMenu[x]["url_fr"] = "speech/speech02.fr.html";

		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Moving Forward on Health Care";
		arrMenu[x]["text_fr"] = "Faire avancer les soins de santé";
		arrMenu[x]["url_en"] = "speech/speech03.html";
		arrMenu[x]["url_fr"] = "speech/speech03.fr.html";

		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Healthy Living for Healthy Futures";
		arrMenu[x]["text_fr"] = "Vivre en santé pour un avenir en santé";
		arrMenu[x]["url_en"] = "speech/speech04.html";
		arrMenu[x]["url_fr"] = "speech/speech04.fr.html";

		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Education";
		arrMenu[x]["text_fr"] = "Éducation";
		arrMenu[x]["url_en"] = "speech/speech05.html";
		arrMenu[x]["url_fr"] = "speech/speech05.fr.html";

		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Growing our Population and Workforce";
		arrMenu[x]["text_fr"] = "Accroître notre population et notre main-d’oeuvre";
		arrMenu[x]["url_en"] = "speech/speech06.html";
		arrMenu[x]["url_fr"] = "speech/speech06.fr.html";

		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Manitoba's Arts and Culture Advantage";
		arrMenu[x]["text_fr"] = "L’avantage du Manitoba sur le plan des arts et de la culture";
		arrMenu[x]["url_en"] = "speech/speech07.html";
		arrMenu[x]["url_fr"] = "speech/speech07.fr.html";

		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Investment and Innovation";
		arrMenu[x]["text_fr"] = "Investissements et innovations";
		arrMenu[x]["url_en"] = "speech/speech08.html";
		arrMenu[x]["url_fr"] = "speech/speech08.fr.html";

		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Workplace Safety";
		arrMenu[x]["text_fr"] = "Sécurité au travail";
		arrMenu[x]["url_en"] = "speech/speech09.html";
		arrMenu[x]["url_fr"] = "speech/speech09.fr.html";
		
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Rural Opportunities";
		arrMenu[x]["text_fr"] = "Mettre à profit les possibilités rurales";
		arrMenu[x]["url_en"] = "speech/speech10.html";
		arrMenu[x]["url_fr"] = "speech/speech10.fr.html";
		
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Northern Development";
		arrMenu[x]["text_fr"] = "Développement du Nord";
		arrMenu[x]["url_en"] = "speech/speech11.html";
		arrMenu[x]["url_fr"] = "speech/speech11.fr.html";
		
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Investing in our Urban Centres";
		arrMenu[x]["text_fr"] = "Investir dans nos centres urbains";
		arrMenu[x]["url_en"] = "speech/speech12.html";
		arrMenu[x]["url_fr"] = "speech/speech12.fr.html";
		
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Supporting Children and Families";
		arrMenu[x]["text_fr"] = "Soutenir les enfants et les familles";
		arrMenu[x]["url_en"] = "speech/speech13.html";
		arrMenu[x]["url_fr"] = "speech/speech13.fr.html";
		
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Safer Communities";
		arrMenu[x]["text_fr"] = "Des collectivités plus sûres";
		arrMenu[x]["url_en"] = "speech/speech14.html";
		arrMenu[x]["url_fr"] = "speech/speech14.fr.html";
		
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Powering Our Future and Taking Action on Climate Change";
		arrMenu[x]["text_fr"] = "Donner de l’énergie à notre avenir et lutter contre le changement climatique";
		arrMenu[x]["url_en"] = "speech/speech15.html";
		arrMenu[x]["url_fr"] = "speech/speech15.fr.html";
		
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Protecting our Environment";
		arrMenu[x]["text_fr"] = "Protéger notre environnement";
		arrMenu[x]["url_en"] = "speech/speech16.html";
		arrMenu[x]["url_fr"] = "speech/speech16.fr.html";
		
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Water Protection";
		arrMenu[x]["text_fr"] = "Protéger nos ressources hydriques";
		arrMenu[x]["url_en"] = "speech/speech17.html";
		arrMenu[x]["url_fr"] = "speech/speech17.fr.html";
		
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Summary Budgeting and Reporting";
		arrMenu[x]["text_fr"] = "Production d’états récapitulatifs et de budgets sommaires";
		arrMenu[x]["url_en"] = "speech/speech18.html";
		arrMenu[x]["url_fr"] = "speech/speech18.fr.html";
		
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Long-term Plan on Tax Reductions";
		arrMenu[x]["text_fr"] = "Plan à long terme de réduction des impôts et des taxes";
		arrMenu[x]["url_en"] = "speech/speech19.html";
		arrMenu[x]["url_fr"] = "speech/speech19.fr.html";
		
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Conclusion";
		arrMenu[x]["text_fr"] = "Conclusion";
		arrMenu[x]["url_en"] = "speech/speech20.html";
		arrMenu[x]["url_fr"] = "speech/speech20.fr.html";
		
		
		
//********

	x++;
	arrMenu[x] = new Array();
	arrMenu[x]["level"] = 0;
	arrMenu[x]["text_en"] = "Budget In Brief";
	arrMenu[x]["text_fr"] = "Budget en bref";
	arrMenu[x]["url_en"] = "b_in_b/index.html";
	arrMenu[x]["url_fr"] = "b_in_b/index.fr.html";
	

		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Building a Green and Growing Economy";
		arrMenu[x]["text_fr"] = "Bâtir une économie verte et croissante";
		arrMenu[x]["url_en"] = "b_in_b/brief02.html";
		arrMenu[x]["url_fr"] = "b_in_b/brief02.fr.html";

		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Building Safe and Strong Communities";
		arrMenu[x]["text_fr"] = "Bâtir des collectivités sûres et solides";
		arrMenu[x]["url_en"] = "b_in_b/brief03.html";
		arrMenu[x]["url_fr"] = "b_in_b/brief03.fr.html";

		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Building and Improving Health Care";
		arrMenu[x]["text_fr"] = "Bâtir un meilleur système de soins de santé";
		arrMenu[x]["url_en"] = "b_in_b/brief04.html";
		arrMenu[x]["url_fr"] = "b_in_b/brief04.fr.html";

		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Building Support for Children and Families";
		arrMenu[x]["text_fr"] = "Soutenir les enfants et les familles";
		arrMenu[x]["url_en"] = "b_in_b/brief05.html";
		arrMenu[x]["url_fr"] = "b_in_b/brief05.fr.html";
		
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Building Opportunities for Manitoba Youth";
		arrMenu[x]["text_fr"] = "Des possibilités pour les jeunes du Manitoba";
		arrMenu[x]["url_en"] = "b_in_b/brief06.html";
		arrMenu[x]["url_fr"] = "b_in_b/brief06.fr.html";


		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Building Protection for our Water and Environment";
		arrMenu[x]["text_fr"] = "Protéger l’eau et l’environnement";
		arrMenu[x]["url_en"] = "b_in_b/brief07.html";
		arrMenu[x]["url_fr"] = "b_in_b/brief07.fr.html";

		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Building Tax Savings for Manitobans";
		arrMenu[x]["text_fr"] = "Réduire les impôts des Manitobains et des Manitobaines";
		arrMenu[x]["url_en"] = "b_in_b/brief08.html";
		arrMenu[x]["url_fr"] = "b_in_b/brief08.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"] = "b_in_b/brief09.html";
		arrMenu[x]["url_fr"] = "b_in_b/brief09.fr.html";
		
		

//********

	x++;
	arrMenu[x] = new Array();
	arrMenu[x]["level"] = 0;
	arrMenu[x]["text_en"] = "The Summary Budget";
	arrMenu[x]["text_fr"] = "Budget sommaire";
	arrMenu[x]["url_en"] = "summary/index.html";
	arrMenu[x]["url_fr"] = "summary/index.fr.html";

		
//********
	x++;
	arrMenu[x] = new Array();
	arrMenu[x]["level"] = 0;
	arrMenu[x]["text_en"] = "Budget Papers";
	arrMenu[x]["text_fr"] = "Documents budgétaires";
	arrMenu[x]["url_en"] = "papers/index.html";
	arrMenu[x]["url_fr"] = "papers/index.fr.html";

		

//********
	x++;
	arrMenu[x] = new Array();
	arrMenu[x]["level"] = 0;
	arrMenu[x]["text_en"] = "The Manitoba Advantage";
	arrMenu[x]["text_fr"] = "Les avantages du Manitoba";
	arrMenu[x]["url_en"] = "advantage/index.html";
	arrMenu[x]["url_fr"] = "advantage/index.fr.html";


		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "The Manitoba Arts and Culture Advantage";
		arrMenu[x]["text_fr"] = "Les avantages du Manitoba dans le domaine des arts et de la culture";
		arrMenu[x]["url_en"] = "advantage/culture.html";
		arrMenu[x]["url_fr"] = "advantage/culture.fr.html";


		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Appendix 1: 2007 Interprovincial Comparison of Personal Costs and Taxes";
		arrMenu[x]["text_fr"] = "Annexe 1 : Comparaison interprovinciale des dépenses, des taxes et des impôts personnels en 2007";
		arrMenu[x]["url_en"] = "advantage/appendix1.html";
		arrMenu[x]["url_fr"] = "advantage/appendix1.fr.html";


		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Appendix 2: Manitoba&#39;s Competitive Environment for Manufacturing";
		arrMenu[x]["text_fr"] = "Annexe 2 : Le Manitoba : Un environnement concurrentiel pour le secteur manufacturier";
		arrMenu[x]["url_en"] = "advantage/appendix2.html";
		arrMenu[x]["url_fr"] = "advantage/appendix2.fr.html";


//********
	x++;
	arrMenu[x] = new Array();
	arrMenu[x]["level"] = 0;
	arrMenu[x]["text_en"] = "Manitoba's Action Strategy for Economic Growth";
	arrMenu[x]["text_fr"] = "Plan stratégique de croissance économique du Manitoba";
	arrMenu[x]["url_en"] = "economic_strategy/index.html";
	arrMenu[x]["url_fr"] = "economic_strategy/index.fr.html";


		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Education and Skills";
		arrMenu[x]["text_fr"] = "Éducation et compétences";
		arrMenu[x]["url_en"] = "economic_strategy/strategy01.html";
		arrMenu[x]["url_fr"] = "economic_strategy/strategy01.fr.html";


		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Research and Innovation";
		arrMenu[x]["text_fr"] = "Recherche et innovation";
		arrMenu[x]["url_en"] = "economic_strategy/strategy02.html";
		arrMenu[x]["url_fr"] = "economic_strategy/strategy02.fr.html";


		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Supporting Investment";
		arrMenu[x]["text_fr"] = "Appui à l’investissement";
		arrMenu[x]["url_en"] = "economic_strategy/strategy03.html";
		arrMenu[x]["url_fr"] = "economic_strategy/strategy03.fr.html";


		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Affordable Government";
		arrMenu[x]["text_fr"] = "Un gouvernement à la mesure de nos moyens";
		arrMenu[x]["url_en"] = "economic_strategy/strategy04.html";
		arrMenu[x]["url_fr"] = "economic_strategy/strategy04.fr.html";


		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Growing Immigration";
		arrMenu[x]["text_fr"] = "Croissance de l’immigration";
		arrMenu[x]["url_en"] = "economic_strategy/strategy05.html";
		arrMenu[x]["url_fr"] = "economic_strategy/strategy05.fr.html";


		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Manitoba's Green Energy Advantage";
		arrMenu[x]["text_fr"] = "L’atout du Manitoba en termes d’énergie propre";
		arrMenu[x]["url_en"] = "economic_strategy/strategy06.html";
		arrMenu[x]["url_fr"] = "economic_strategy/strategy06.fr.html";


		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Building Communities";
		arrMenu[x]["text_fr"] = "Bâtir nos collectivités";
		arrMenu[x]["url_en"] = "economic_strategy/strategy07.html";
		arrMenu[x]["url_fr"] = "economic_strategy/strategy07.fr.html";
		
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Conclusion";
		arrMenu[x]["text_fr"] = "Conclusion";
		arrMenu[x]["url_en"] = "economic_strategy/strategy08.html";
		arrMenu[x]["url_fr"] = "economic_strategy/strategy08.fr.html";
		
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Appendix - Premier's Economic Advisory Council";
		arrMenu[x]["text_fr"] = "Annexe - conseil consultatif économique du Premier ministre";
		arrMenu[x]["url_en"] = "economic_strategy/strategy09.html";
		arrMenu[x]["url_fr"] = "economic_strategy/strategy09.fr.html";
		
 //********

	x++;
	arrMenu[x] = new Array();
	arrMenu[x]["level"] = 0;
	arrMenu[x]["text_en"] = "Estimates of Expenditure and Revenue";
	arrMenu[x]["text_fr"] = "Budget des dépenses et des recettes";
	arrMenu[x]["url_en"] = "r_and_e/index.html";
	arrMenu[x]["url_fr"] = "r_and_e/index.fr.html";
	
//********

	x++;
	arrMenu[x] = new Array();
	arrMenu[x]["level"] = 0;
	arrMenu[x]["text_en"] = "Tax Savings Estimator";
	arrMenu[x]["text_fr"] = "Calculateur d'économies d'impôt personnel";
	arrMenu[x]["url_en"] = "estimator/calc07.html";
	arrMenu[x]["url_fr"] = "estimator/calc07.fr.html";
	
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Instructions";
		arrMenu[x]["text_fr"] = "Directives";
		arrMenu[x]["url_en"] = "estimator/instructions.html";
		arrMenu[x]["url_fr"] = "estimator/instructions.fr.html";
		
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Assumptions";
		arrMenu[x]["text_fr"] = "Hypothèse";
		arrMenu[x]["url_en"] = "estimator/assumptions.html";
		arrMenu[x]["url_fr"] = "estimator/assumptions.fr.html";
	
//********

	x++;
	arrMenu[x] = new Array();
	arrMenu[x]["level"] = 0;
	arrMenu[x]["text_en"] = "News Releases";
	arrMenu[x]["text_fr"] = "Communiqués budgétaires";
	arrMenu[x]["url_en"] = "news/index.html";
	arrMenu[x]["url_fr"] = "news/index.fr.html";
	
	
//********

	x++;
	arrMenu[x] = new Array();
	arrMenu[x]["level"] = 0;
	arrMenu[x]["text_en"] = "2007 Budget Documents Request Form";
	arrMenu[x]["text_fr"] = "Renseignements sur le budget provincial de 2007";
	arrMenu[x]["url_en"] = "request.pdf";
	arrMenu[x]["url_fr"] = "request.fr.pdf";
	


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