/*
==========================================================================
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("/mit/psb/");
var validPaths = new Array("/psb_root/");
*/
var validPaths = new Array("/psb/");

// *********************************

// =======================================================================
// 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"] = "Site Map";
	arrHeaderLink[x]["text_fr"] = "Carte du site";
	arrHeaderLink[x]["url_en"] = "sitemap.html";
	arrHeaderLink[x]["url_fr"] = "sitemap.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"] = "contact/whotocall.html";
	arrHeaderLink[x]["url_fr"] = "contact/whotocall.html";


// ==========================================================================
// *********************************
// 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"] = "Home";
	arrCrumb[x]["text_fr"] = "Page d'accueil";
	arrCrumb[x]["url_en"] = "http://www.gov.mb.ca/index.html";
	arrCrumb[x]["url_fr"] = "http://www.gov.mb.ca/index.fr.html";
// --- 	

	x++;
	arrCrumb[x] = new Array();
	arrCrumb[x]["folder"] = "";
	arrCrumb[x]["text_en"] = "Manitoba Infrastructure & Transportation";
	arrCrumb[x]["text_fr"] = "Infrastructure et transports Manitoba";
	arrCrumb[x]["url_en"] = "http://www.gov.mb.ca/mit/index.html";
	arrCrumb[x]["url_fr"] = "http://www.gov.mb.ca/mit/index.fr.html";	
	

	x++;
	arrCrumb[x] = new Array();
	arrCrumb[x]["folder"] = "";
	arrCrumb[x]["text_en"] = "Procurement Services Branch";
	arrCrumb[x]["text_fr"] = "Services d'approvisionnement ";
	arrCrumb[x]["url_en"] = "http://www.gov.mb.ca/mit/psb/index.html";
	arrCrumb[x]["url_fr"] = "http://www.gov.mb.ca/mit/psb/index.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.  
//
/*

OTHER INTERESTING TRICKS:

If you have a side menu link that also exists lower in its tree, make the top level link using javascript.

e.g.

javascript:window.location.href='http://www.gov.mb.ca/folder_name/filename.html';

This way, the top menu does not conflict with the actual location lower down.


*/


//
//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"] = "PSB Home";
	arrMenu[x]["text_fr"] = "Page d'accueil";
	arrMenu[x]["url_en"] = "index.html";
	arrMenu[x]["url_fr"] = "";
	arrMenu[x]["hidden_en"] = "0";
	arrMenu[x]["hidden_fr"] = "1";
	
//============


	x++;
	arrMenu[x] = new Array();
	arrMenu[x]["level"] = 0;
	arrMenu[x]["text_en"] = "Buying and Selling";
	arrMenu[x]["text_fr"] = "";
	arrMenu[x]["url_en"] = "buysell/how_gov_buys.html";
	arrMenu[x]["url_fr"] = "";
	arrMenu[x]["hidden_en"] = "0";
	arrMenu[x]["hidden_fr"] = "1";
	
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Delegated Purchasing";
		arrMenu[x]["text_fr"] = "Delegated Purchasing";
		arrMenu[x]["url_en"] = "buysell/delpurch.html";
		arrMenu[x]["url_fr"] = "";
		arrMenu[x]["hidden_en"] = "0";
		arrMenu[x]["hidden_fr"] = "1";
		
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "What We Buy";
		arrMenu[x]["text_fr"] = "What We Buy";
		arrMenu[x]["url_en"] = "buysell/whatwebuy.html";
		arrMenu[x]["url_fr"] = "";
		arrMenu[x]["hidden_en"] = "0";
		arrMenu[x]["hidden_fr"] = "1";
		
				x++;
				arrMenu[x] = new Array();
				arrMenu[x]["level"] = 2;
				arrMenu[x]["text_en"] = "Electronic Tendering";
				arrMenu[x]["text_fr"] = "Electronic Tendering";
				arrMenu[x]["url_en"] = "buysell/electend.html#what_we_buy";
				arrMenu[x]["url_fr"] = "";
				arrMenu[x]["hidden_en"] = "0";
				arrMenu[x]["hidden_fr"] = "1";
		
				x++;
				arrMenu[x] = new Array();
				arrMenu[x]["level"] = 2;
				arrMenu[x]["text_en"] = "Trade Agreements";
				arrMenu[x]["text_fr"] = "Trade Agreements";
				arrMenu[x]["url_en"] = "buysell/tradeagree.html#what_we_buy";
				arrMenu[x]["url_fr"] = "";
				arrMenu[x]["hidden_en"] = "0";
				arrMenu[x]["hidden_fr"] = "1";
				
				x++;
				arrMenu[x] = new Array();
				arrMenu[x]["level"] = 2;
				arrMenu[x]["text_en"] = "Request for Quotation - Terms and Conditions";
				arrMenu[x]["text_fr"] = "Request for Quotation - Terms and Conditions";
				arrMenu[x]["url_en"] = "buysell/conditions.html#what_we_buy";
				arrMenu[x]["url_fr"] = "";
				arrMenu[x]["hidden_en"] = "0";	
				arrMenu[x]["hidden_fr"] = "1";
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Selling to Government";
		arrMenu[x]["text_fr"] = "Selling to Government";
		arrMenu[x]["url_en"] = "buysell/selltogov.html";
		arrMenu[x]["url_fr"] = "";
		arrMenu[x]["hidden_en"] = "0";
		arrMenu[x]["hidden_fr"] = "1";
		

				x++;
				arrMenu[x] = new Array();
				arrMenu[x]["level"] = 2;
				arrMenu[x]["text_en"] = "Electronic Tendering";
				arrMenu[x]["text_fr"] = "Electronic Tendering";
				arrMenu[x]["url_en"] = "buysell/electend.html#selltogov";
				arrMenu[x]["url_fr"] = "";
				arrMenu[x]["hidden_en"] = "0";
				arrMenu[x]["hidden_fr"] = "1";
		
				x++;
				arrMenu[x] = new Array();
				arrMenu[x]["level"] = 2;
				arrMenu[x]["text_en"] = "Trade Agreements";
				arrMenu[x]["text_fr"] = "Trade Agreements";
				arrMenu[x]["url_en"] = "buysell/tradeagree.html#selltogov";
				arrMenu[x]["url_fr"] = "";
				arrMenu[x]["hidden_en"] = "0";
				arrMenu[x]["hidden_fr"] = "1";
				
				x++;
				arrMenu[x] = new Array();
				arrMenu[x]["level"] = 2;
				arrMenu[x]["text_en"] = "Request for Quotation - Terms and Conditions";
				arrMenu[x]["text_fr"] = "Request for Quotation - Terms and Conditions";
				arrMenu[x]["url_en"] = "buysell/conditions.html#selltogov";
				arrMenu[x]["url_fr"] = "";
				arrMenu[x]["hidden_en"] = "0";
				arrMenu[x]["hidden_fr"] = "1";
				
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "How Government Buys";
		arrMenu[x]["text_fr"] = "How Government Buys";
		arrMenu[x]["url_en"] = "buysell/how_gov_buys.html";
		arrMenu[x]["url_fr"] = "";
		arrMenu[x]["hidden_en"] = "0";
		arrMenu[x]["hidden_fr"] = "1";

				x++;
				arrMenu[x] = new Array();
				arrMenu[x]["level"] = 2;
				arrMenu[x]["text_en"] = "Electronic Tendering";
				arrMenu[x]["text_fr"] = "Electronic Tendering";
				arrMenu[x]["url_en"] = "buysell/electend.html#how_gov_buys";
				arrMenu[x]["url_fr"] = "";
				arrMenu[x]["hidden_en"] = "0";
				arrMenu[x]["hidden_fr"] = "1";
		
				x++;
				arrMenu[x] = new Array();
				arrMenu[x]["level"] = 2;
				arrMenu[x]["text_en"] = "Trade Agreements";
				arrMenu[x]["text_fr"] = "Trade Agreements";
				arrMenu[x]["url_en"] = "buysell/tradeagree.html#how_gov_buys";
				arrMenu[x]["url_fr"] = "";
				arrMenu[x]["hidden_en"] = "0";
				arrMenu[x]["hidden_fr"] = "1";
				
				x++;
				arrMenu[x] = new Array();
				arrMenu[x]["level"] = 2;
				arrMenu[x]["text_en"] = "Request for Quotation - Terms and Conditions";
				arrMenu[x]["text_fr"] = "Request for Quotation - Terms and Conditions";
				arrMenu[x]["url_en"] = "buysell/conditions.html#how_gov_buys";
				arrMenu[x]["url_fr"] = "";
				arrMenu[x]["hidden_en"] = "0";
				arrMenu[x]["hidden_fr"] = "1";
				
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Government Buyers";
		arrMenu[x]["text_fr"] = "Government Buyers";
		arrMenu[x]["url_en"] = "buysell/gov_buyers.html";
		arrMenu[x]["url_fr"] = "";
		arrMenu[x]["hidden_en"] = "0";
		arrMenu[x]["hidden_fr"] = "1";

	x++;
	arrMenu[x] = new Array();
	arrMenu[x]["level"] = 0;
	arrMenu[x]["text_en"] = "Aboriginal Procurement Initiative";
	arrMenu[x]["text_fr"] = "Aboriginal Procurement Initiative";
	arrMenu[x]["url_en"] = "api/ab_proc.html";
	arrMenu[x]["url_fr"] = "";
	arrMenu[x]["hidden_en"] = "0";
	arrMenu[x]["hidden_fr"] = "1";
	
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Aboriginal Business Directory";
		arrMenu[x]["text_fr"] = "Aboriginal Business Directory";
		arrMenu[x]["url_en"] = "api/api_bd.html";
		arrMenu[x]["url_fr"] = "";
		arrMenu[x]["hidden_en"] = "0";

		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "API Purchasing Guidelines";
		arrMenu[x]["text_fr"] = "API Purchasing Guidelines";
		arrMenu[x]["url_en"] = "api/api_tools_gl.html";
		arrMenu[x]["url_fr"] = "";
		arrMenu[x]["hidden_en"] = "0";

		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "API Definitions";
		arrMenu[x]["text_fr"] = "API Definitions";
		arrMenu[x]["url_en"] = "api/api_defin.html";
		arrMenu[x]["url_fr"] = "";
		arrMenu[x]["hidden_en"] = "0";
		arrMenu[x]["hidden_fr"] = "1";

		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "API Frequently Asked Questions";
		arrMenu[x]["text_fr"] = "API Frequently Asked Questions";
		arrMenu[x]["url_en"] = "api/api_faq.html";
		arrMenu[x]["url_fr"] = "";
		arrMenu[x]["hidden_en"] = "0";
		arrMenu[x]["hidden_fr"] = "1";
		
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Aboriginal Business Organizations";
		arrMenu[x]["text_fr"] = "Aboriginal Business Organizations";
		arrMenu[x]["url_en"] = "api/api_bus_links.html";
		arrMenu[x]["url_fr"] = "";
		arrMenu[x]["hidden_en"] = "0";
		arrMenu[x]["hidden_fr"] = "1";
	
		x++;
		arrMenu[x] = new Array();
		arrMenu[x]["level"] = 1;
		arrMenu[x]["text_en"] = "Supporting Aboriginal Business";
		arrMenu[x]["text_fr"] = "Supporting Aboriginal Business";
		arrMenu[x]["url_en"] = "api/api_bus_gov.html";
		arrMenu[x]["url_fr"] = "";
		arrMenu[x]["hidden_en"] = "0";
		arrMenu[x]["hidden_fr"] = "1";
				

	x++;
	arrMenu[x] = new Array();
	arrMenu[x]["level"] = 0;
	arrMenu[x]["text_en"] = "Vendor Request for Direct Deposit Payment";
	arrMenu[x]["text_fr"] = "Demande du fournisseur de paiement par virement automatique";
	arrMenu[x]["url_en"] = "vendor_direct_pay.html";
	arrMenu[x]["url_fr"] = "vendor_direct_pay.fr.html";
	arrMenu[x]["hidden_en"] = "0";
	arrMenu[x]["hidden_fr"] = "1";
	
	x++;
	arrMenu[x] = new Array();
	arrMenu[x]["level"] = 0;
	arrMenu[x]["text_en"] = "Responsible Manufacturing";
	arrMenu[x]["text_fr"] = "Responsible Manufacturing";
	arrMenu[x]["url_en"] = "rm.html";
	arrMenu[x]["url_fr"] = "";
	arrMenu[x]["hidden_en"] = "0";
	arrMenu[x]["hidden_fr"] = "1";

	x++;
	arrMenu[x] = new Array();
	arrMenu[x]["level"] = 0;
	arrMenu[x]["text_en"] = "How to Do Business With The Manitoba Government";
	arrMenu[x]["text_fr"] = "How to Do Business With The Manitoba Government";
	arrMenu[x]["url_en"] = "api/api_bus_gov2.html";
	arrMenu[x]["url_fr"] = "";
	arrMenu[x]["hidden_en"] = "0";
	arrMenu[x]["hidden_fr"] = "1";
	
	x++;
	arrMenu[x] = new Array();
	arrMenu[x]["level"] = 0;
	arrMenu[x]["text_en"] = "Frequently Asked Questions";
	arrMenu[x]["text_fr"] = "Frequently Asked Questions";
	arrMenu[x]["url_en"] = "faq.html";
	arrMenu[x]["url_fr"] = "";
	arrMenu[x]["hidden_en"] = "0";
	arrMenu[x]["hidden_fr"] = "1";

	x++;
	arrMenu[x] = new Array();
	arrMenu[x]["level"] = 0;
	arrMenu[x]["text_en"] = "Green Procurement";
	arrMenu[x]["text_fr"] = "Green Procurement";
	arrMenu[x]["url_en"] = "green.html";
	arrMenu[x]["url_fr"] = "";
	arrMenu[x]["hidden_en"] = "0";
	arrMenu[x]["hidden_fr"] = "1";
	
	x++;
	arrMenu[x] = new Array();
	arrMenu[x]["level"] = 0;
	arrMenu[x]["text_en"] = "Manitoba Business Links";
	arrMenu[x]["text_fr"] = "Manitoba Business Links";
	arrMenu[x]["url_en"] = "bus_links.html";
	arrMenu[x]["url_fr"] = "";
	arrMenu[x]["hidden_en"] = "0";
	arrMenu[x]["hidden_fr"] = "1";
	
	x++;
	arrMenu[x] = new Array();
	arrMenu[x]["level"] = 0;
	arrMenu[x]["text_en"] = "Public Sector Organizations";
	arrMenu[x]["text_fr"] = "Public Sector Organizations";
	arrMenu[x]["url_en"] = "publicsec_org.html";
	arrMenu[x]["url_fr"] = "";
	arrMenu[x]["hidden_en"] = "0";
	arrMenu[x]["hidden_fr"] = "1";
	
	x++;
	arrMenu[x] = new Array();
	arrMenu[x]["level"] = 0;
	arrMenu[x]["text_en"] = "Mission Statement";
	arrMenu[x]["text_fr"] = "Mission Statement";
	arrMenu[x]["url_en"] = "mission.html";
	arrMenu[x]["url_fr"] = "";
	arrMenu[x]["hidden_en"] = "1";	
	arrMenu[x]["hidden_fr"] = "1";
	
	x++;
	arrMenu[x] = new Array();
	arrMenu[x]["level"] = 0;
	arrMenu[x]["text_en"] = "Mandate";
	arrMenu[x]["text_fr"] = "Mandate";
	arrMenu[x]["url_en"] = "mission.html";
	arrMenu[x]["url_fr"] = "";
	arrMenu[x]["hidden_en"] = "1";
	arrMenu[x]["hidden_fr"] = "1";
	
	x++;
	arrMenu[x] = new Array();
	arrMenu[x]["level"] = 0;
	arrMenu[x]["text_en"] = "Vision Statement";
	arrMenu[x]["text_fr"] = "Vision Statement";
	arrMenu[x]["url_en"] = "mission.html";
	arrMenu[x]["url_fr"] = "";
	arrMenu[x]["hidden_en"] = "1";	
	arrMenu[x]["hidden_fr"] = "1";
	
	x++;
	arrMenu[x] = new Array();
	arrMenu[x]["level"] = 0;
	arrMenu[x]["text_en"] = "Contact Us";
	arrMenu[x]["text_fr"] = "Contact Us";
	arrMenu[x]["url_en"] = "contact/whotocall.html";
	arrMenu[x]["url_fr"] = "";
	arrMenu[x]["hidden_en"] = "1";	
	arrMenu[x]["hidden_fr"] = "1";

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


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