//*----------------------------------------------
//*  GLOBAL LANGUAGE SUFFIX - FRENCH
//*----------------------------------------------
	lang = "-f.asp;";
//*----------------------------------------------
//*  QUICK LINKS MENU
//*----------------------------------------------
	with(milonic=new menuname("QuickMenu")){	
  	style=quickMenuStyle; itemwidth=180; alwaysvisible=1; orientation="vertical"; position="relative";
 	aI("text=<center>Q U O I&nbsp;&nbsp;de&nbsp;&nbsp;N E U F</center>;fontweight=bold;type=header;");
 //   aI("text=Possibilités d'emploi;url=" + "dept-hr-jobs" + lang );	
     aI("text=We've just launched our new website! If you have suggestions or comments, please let us know. We value your feedback.;url=contact-feedbackform-e.asp");
 	 
 	aI("text=<center>H Ô T E L&nbsp;&nbsp;de&nbsp;&nbsp;V I L L E</center>;fontweight=bold;type=header;");
	aI("text=Message du maire;url=" + "cityhall-mayorsmessage" + lang );
	aI("text=Payez votre facture d'eau en ligne;url=" + "dept-finance-water-payments" + lang );

 	aI("text=<center>T O U R I S M E</center>;fontweight=bold;type=header;");	
	aI("text=Subventions annoncées pour des projets en tourisme;url=" + "visit-press" + lang );
	aI("text=Festivals et événements;url=" + "visit-festivals" + lang );		
	
	aI("text=<center>L O I S I R S</center>;fontweight=bold;type=header;");	
 	aI("text=Loisirs communautaires;url=" + pref + "rec" + lang + "showmenu=rec;");	
	aI("text=Horaires quotidiens des piscines;url=" + "dept-rec-poolsched" + lang );
	aI("text=Horaire de patinage du Centre civique de Miramichi;url=" + "dept-rec-skating-sched" + lang );
	}
	drawMenus(); //* This is required for the following statement.
	
	//* this spacer will put some vertical space between the Quick and Side menus/
	document.write ('<img src="../assets/spacer.gif" width=4 height=5 border=0>');

//*----------------------------------------------
//* CONTACT US - SIDE MENU
	pref="contact-";
//*----------------------------------------------
if (thefile.substring(0,"contact".length) == "contact")	{
	with(milonic=new menuname("QuickMenu")){	
  	style=sideMenuStyle;itemwidth=180;	alwaysvisible=1; orientation="vertical"; position="relative";
	aI("text=<b>Nous rejoindre</b>;url=contact");
	aI("text=Feedback Form;url=contact-feedbackform" + lang );
	}
}	//* end if	

//*----------------------------------------------
//* VISIT US - SIDE MENU
	pref="visit-";
//* countChar(thefile, "-") = 2  checks if filename has 2 hyphens (eg. comm-intro-e.asp)
//*----------------------------------------------

if (thefile.substring(0,"visit".length) == "visit"  &  countChar(thefile, "-") >= 2)	{
	with(milonic=new menuname("QuickMenu")){	
  	style=sideMenuStyle;itemwidth=180;	alwaysvisible=1; orientation="vertical"; position="relative";
	aI("text=<b>Visitez-nous</b>;url=visit" + lang );
	aI("text=Conditions climatiques et température;url=" + pref + "weather" + lang );
	aI("text=Festivals;url=" + pref + "festivals" + lang );
	aI("text=Sites historiques;url=" + pref + "historic" + lang );
	aI("text=Cartes;url=" + pref + "map" + lang );
	aI("text=Planificateurs de réunions;url=" + pref + "meeting" + lang );
//	aI("text=Miramichi - Port de départ;url=" + pref + "port" + lang );
	aI("text=Association touristique de la région de Miramichi;url=" + pref + "mrta" + lang )
	aI("text=Boîtes de nuit;url=" + pref + "nightlife" + lang );
	aI("text=Autres produits et services;url=" + pref + "other" + lang );
//	aI("text=Communiqués de presse ;url=" + pref + "press" + lang );
//	aI("text=Programmes et initiatives;url=" + pref + "programs" + lang );
	aI("text=Comment se rendre ici;url=" + pref + "howtogethere" + lang );
	aI("text=Demande d'information touristique;url=" + pref + "requestform" + lang );
	aI("text=Choses à voir et à faire;url=" + pref + "thingstosee" + lang );
	aI("text=Organisateurs de voyages;url=" + pref + "tours" + lang );
	aI("text=Rétroaction des visiteurs;url=" + pref + "feedbackform" + lang );
	aI("text=Où manger;url=" + pref + "eat" + lang );
	aI("text=Où héberger;url=" + pref + "stay" + lang );
	aI("text=Activités hivernales;url=" + pref + "winter" + lang );
	aI("text=Pêche au saumon à la ligne de niveau mondial;url=" + pref + "angling" + lang );
	aI("text=Liens;url=" + pref + "links" + lang );	
	}
}	//* end if	

//*----------------------------------------------
//* VISIT US - HISTORICAL SITES - SIDE MENU
//*----------------------------------------------
if (thefile.substring(0,"visit-historic".length) == "visit-historic")	{
	with(milonic=new menuname("QuickMenu")){	
  	style=sideMenuStyle;itemwidth=180;	alwaysvisible=1; orientation="vertical"; position="relative";
  	aI("text=<b>Sites historiques</b>;url=" + pref + "historic" + lang );
 	aI("text=Middle Island: Avant<br>et après la tragédie;url=" + pref + "historic-middleisland" + lang );
	}	
}	//* end if

//*----------------------------------------------
//* VISIT US - ANGLING - SIDE MENU
//*----------------------------------------------
if (thefile.substring(0,"visit-angling".length) == "visit-angling")	{
	with(milonic=new menuname("QuickMenu")){	
  	style=sideMenuStyle;itemwidth=180;	alwaysvisible=1; orientation="vertical"; position="relative";
  	aI("text=<b>Pêche au saumon à la<br>ligne de niveau mondial</b>;url=" + pref + "angling" + lang );
 	aI("text=Liste de pourvoyeurs;url=" + pref + "angling-outfitters" + lang );
	}	
}	//* end if

//*----------------------------------------------
//* VISIT US - WINTER ACTIVITIES - SIDE MENU
//*----------------------------------------------
if (thefile.substring(0,"visit-winter".length) == "visit-winter")	{
	with(milonic=new menuname("QuickMenu")){	
  	style=sideMenuStyle;itemwidth=180;	alwaysvisible=1; orientation="vertical"; position="relative";
  	aI("text=<b>Activités hivernales</b>;url=" + pref + "winter" + lang );
	aI("text=Services de motoneige;url=" + pref + "winter-snowmobile" + lang );
	}	
}	//* end if

//*----------------------------------------------
//* COMMUNITY - SIDE MENU
	pref="comm-";
//* countChar(thefile, "-") = 2  checks if filename has 2 hyphens (eg. comm-intro-e.asp)
//*----------------------------------------------

if (thefile.substring(0,"comm".length) == "comm"  &  countChar(thefile, "-") == 2)	{
	with(milonic=new menuname("QuickMenu")){	
  	style=sideMenuStyle;itemwidth=180;	alwaysvisible=1; orientation="vertical"; position="relative";

	aI("text=<b>Notre communauté</b>;url=" + pref + "intro" + lang );
	aI("text=Églises;url=" + pref + "churches" + lang );
	aI("text=Carte de la ville;url=" + pref + "citymap" + lang );
	aI("text=Activités communautaires;url=" + pref + "events" + lang );
	aI("text=Collectivités en fleurs;url=" + pref + "bloom" + lang );
	aI("text=Activités de loisir;url=" + pref + "leisure" + lang );
	aI("text=Librairies;url=" + pref + "libraries" + lang );
	aI("text=Services médicaux;url=" + pref + "medical" + lang );
	aI("text=Autres services;url=" + pref + "other" + lang );
	aI("text=Facilités récréatives;url=" + pref + "rec" + lang );
	aI("text=Écoles;url=" + pref + "schools" + lang );
	aI("text=Activités pour personnes âgées;url=" + pref + "seniors" + lang );
	aI("text=Cercles d'entraide;url=" + pref + "serviceclubs" + lang );						 
	aI("text=Agence d'accueil;url=" + pref + "welcomewagon" + lang );
	aI("text=Liens;url=" + pref + "links" + lang );
	}
}	//* end if	

//*----------------------------------------------
//* OPEN FOR BUSINESS - SIDE MENU
//* countChar(thefile, "-") > 2  checks if filename has more than 2 hyphens.
	  pref = "bus-";   // Filename prefix
//*----------------------------------------------

if (thefile.substring(0,"bus".length) == "bus" &  countChar(thefile, "-") == 2)	{
	with(milonic=new menuname("QuickMenu")){	
  	style=sideMenuStyle;itemwidth=180;	alwaysvisible=1; orientation="vertical"; position="relative";
	aI("text=<b>En affaires</b>;url=" + pref + "intro" + lang );
	aI("text=Aperçu;url=" + pref + "overview-intro" + lang );
	aI("text=Infrastructure;url=" + pref + "infra-intro" + lang );
	aI("text=Votre entreprise;url=" + pref + "yourbus-intro" + lang );
	aI("text=Agences;url=" + pref + "agencies-intro" + lang );
	aI("text=Information;url=" + pref + "info-intro" + lang );
 	aI("text=&nbsp;&nbsp;&nbsp;Téléchargements;url=" + pref + "info-downloads" + lang );
	aI("text=&nbsp;&nbsp;&nbsp;Liens utiles;url=" + pref + "info-links" + lang );	
	}
}	//* end if

//*----------------------------------------------
//* OPEN FOR BUSINESS - OVERVIEW - SIDE MENU
//*----------------------------------------------
if (thefile.substring(0,"bus-overview".length) == "bus-overview")	{
	with(milonic=new menuname("QuickMenu")){	
  	style=sideMenuStyle;itemwidth=180;	alwaysvisible=1; orientation="vertical"; position="relative";
  	aI("text=<b>En affaires</b>;url=" + pref + "intro" + lang );
  	aI("text=<b>Aperçu</b>;url=" + pref + "overview-intro" + lang );
	aI("text=Statistiques;url=" + pref + "overview-statistics" + lang );
	aI("text=Profil de la collectivité;url=" + pref + "overview-profile" + lang );	
 	aI("text=Secteurs clés;url=" + pref +	"keysectors-intro" + lang );
 	aI("text=Employeurs;url=" + pref + "overview-employers" + lang );
 	aI("text=Force ouvrière;url=" + pref + "overview-labour" + lang );
 	aI("text=Écoles;url=" + pref + "overview-schools" + lang );
 	aI("text=Hôpital;url=" + pref + "overview-hospital" + lang );
 	aI("text=Analyse F.F.P.M.;url=" + pref + "overview-swot" + lang );
// 	aI("text=Prospectus d'investissement;url=" + pref + "overview-prospectus" + lang );
	}
}	//* end if

//*----------------------------------------------
//* OPEN FOR BUSINESS - INFRASTRUCTURE - SIDE MENU
//*----------------------------------------------
if (thefile.substring(0,"bus-infra".length) == "bus-infra")	{
	with(milonic=new menuname("QuickMenu")){	
  	style=sideMenuStyle;itemwidth=180;	alwaysvisible=1; orientation="vertical"; position="relative";
  	aI("text=<b>En affaires</b>;url=" + pref + "intro" + lang );
	aI("text=<b>Infrastructure</b>;url=" + pref + "infra-intro" + lang );
	aI("text=Immobilier commercial;url=" + pref + "infra-realestate" + lang );
	aI("text=Parcs industriels;url=" + pref + "infra-industrialparks" + lang );
	aI("text=Accès par voie aérienne, terrestre et maritime;url=" + pref + "infra-transport" + lang );
	aI("text=Télécommunications;url=" + pref + "infra-telecom" + lang );	
	}
}	//* end if

//*----------------------------------------------
//* OPEN FOR BUSINESS - YOUR BUSINESS - SIDE MENU
//*----------------------------------------------
if (thefile.substring(0,"bus-yourbus".length) == "bus-yourbus"  &  countChar(thefile, "-") <= 3)	{
	with(milonic=new menuname("QuickMenu")){	
  	style=sideMenuStyle;itemwidth=180;	alwaysvisible=1; orientation="vertical"; position="relative";
  	aI("text=<b>En affaires</b>;url=" + pref + "intro" + lang );
  	aI("text=<b>Votre entreprise</b>;url=" + pref + "yourbus-intro" + lang );
	aI("text=Taux d'imposition;url=" + pref + "yourbus-taxerates" + lang ); 
	aI("text=Information de permis;url=" + pref + "yourbus-permits" + lang );
	aI("text=Construction et investissement;url=" + pref + "yourbus-construct" + lang );
	aI("text=Arrêtés municipaux;url=" + pref + "yourbus-bylaws" + lang );
	aI("text=Données démographiques;url=" + pref + "yourbus-demographics" + lang );
	aI("text=Coût des avantages sociaux;url=" + pref + "yourbus-costs" + lang );
	aI("text=Agences immobilières;url=" + pref + "yourbus-rebrokers" + lang );
	}
}	//* end if
	
//*----------------------------------------------
//* OPEN FOR BUSINESS - YOUR BUSINESS/AGENCIES - SIDE MENU
//*----------------------------------------------
//if (thefile.substring(0,"bus-yourbus-agencies".length) == "bus-yourbus-agencies")	{
if (thefile.substring(0,"bus-agencies".length) == "bus-agencies" &  countChar(thefile, "-") > 2)	{	
	with(milonic=new menuname("QuickMenu")){	
  	style=sideMenuStyle;itemwidth=180;	alwaysvisible=1; orientation="vertical"; position="relative";
  	aI("text=<b>En affaires</b>;url=" + pref + "intro" + lang );
  	aI("text=<b>Votre entreprise</b>;url=" + pref + "yourbus-intro" + lang );	
	aI("text=<b>Agences</b>;url=" + pref + "agencies-intro" + lang );
	aI("text=Services d'aide aux entreprises;url=" + pref + "agencies-bus_support" + lang );	
	aI("text=&nbsp;&nbsp;Agence de promotion<br>&nbsp;&nbsp;économique du Canada<br>&nbsp;&nbsp;atlantique;url=" + pref + "agencies-acoa" + lang );
	aI("text=&nbsp;&nbsp;Formation et développement<br>&nbsp;&nbsp;de l'emploi;url=" + pref + "agencies-ted" + lang );
	aI("text=&nbsp;&nbsp;Développement des ressources<br>&nbsp;&nbsp;humaines Canada;url=" + pref +"agencies-hrdc" + lang );
	aI("text=&nbsp;&nbsp;Entreprise Miramichi;url=" + pref + "agencies-enterprise_mir" + lang );
	aI("text=&nbsp;&nbsp;Corporation de développement<br>&nbsp;&nbsp;communautaire;url=" + pref + "agencies-cbdc" + lang );
	aI("text=Entreprises Nouveau-Brunswick;url=" + pref + "agencies-business_nb" + lang );		
	}
}	//* end if

//*----------------------------------------------
//* OPEN FOR BUSINESS - KEY SECTORS - SIDE MENU
//*----------------------------------------------
//if (thefile.substring(0,"bus-yourbus-agencies".length) == "bus-yourbus-agencies")	{
if (thefile.substring(0,"bus-keysectors".length) == "bus-keysectors" &  countChar(thefile, "-") > 2)	{	
	with(milonic=new menuname("QuickMenu")){	
  	style=sideMenuStyle;itemwidth=180;	alwaysvisible=1; orientation="vertical"; position="relative";
  	aI("text=<b>En affaires</b>;url=" + pref + "intro" + lang );
  	aI("text=<b>Aperçu</b>;url=" + pref + "overview-intro" + lang );	
  	aI("text=<b>Secteurs clés</b>;url=" + pref +	"keysectors-intro" + lang );
	aI("text=Foresterie;url=" + pref + "keysectors-forestry" + lang );
	aI("text=Fabrication à valeur ajoutée;url=" + pref +"keysectors-manuf" + lang );
	aI("text=Industries fondées sur les connaissances / Centres de service à la clientèle;url=" + pref + "keysectors-kbi" + lang );
	aI("text=Tourisme;url=" + pref + "keysectors-tourism" + lang );
	}
}	//* end if

//*----------------------------------------------
//* OPEN FOR BUSINESS - INFORMATION - SIDE MENU
//*----------------------------------------------
if (thefile.substring(0,"bus-info".length) == "bus-info")	{
	with(milonic=new menuname("QuickMenu")){	
  	style=sideMenuStyle;itemwidth=180;	alwaysvisible=1; orientation="vertical"; position="relative";
  	aI("text=<b>En affaires</b>;url=" + pref + "intro" + lang );
	aI("text=<b>Information</b>;url=" + pref + "info-intro" + lang );
// 	aI("text=Téléchargements;url=" + pref + "info-downloads" + lang );
	aI("text=Liens utiles;url=" + pref + "info-links" + lang );	
	}
}	//* end if

//*----------------------------------------------
//* CITYHALL - SIDE MENU
	pref="cityhall-";
//* countChar(thefile, "-") = 2  checks if filename has 2 hyphens (eg. cityhall-intro-e.asp)
//*----------------------------------------------

if (thefile.substring(0,"cityhall".length) == "cityhall"  &  countChar(thefile, "-") == 2)	{
	with(milonic=new menuname("QuickMenu")){	
  	style=sideMenuStyle;itemwidth=180;	alwaysvisible=1; orientation="vertical"; position="relative";
  	
	aI("text=<b>À l’Hôtel de Ville</b>;url=" + pref + "intro" + lang );
	aI("text=Message du maire;url=" + pref +	"mayorsmessage" + lang );
	aI("text=Maire et Conseil;url=" + pref +	"mayor" + lang );
	aI("text=Profil de la municipalité;url=" + pref + "municipal" + lang );
	aI("text=Réunions et ordres du jour des comités et du Conseil;url=" + pref + "agendas" + lang );
	aI("text=Arrêtés municipaux;url=" + pref + "bylaws" + lang );
	aI("text=Politiques;url=" + pref + "policies" + lang );
	aI("text=Études municipales;url=" + pref + "studies" + lang );
	aI("text=Possibilités de soumission;url=" + pref + "tender" + lang );
	aI("text=Présentations;url=" + pref + "pres-intro" + lang );
	}
}	//* end if	

//*----------------------------------------------
//* CITYHALL - PRESENTATIONS - SIDE MENU
//* countChar(thefile, "-") > 2  checks if filename has more than 2 hyphens.
//*----------------------------------------------
if (thefile.substring(0,"cityhall-pres".length) == "cityhall-pres" &  countChar(thefile, "-") > 2)	{
	with(milonic=new menuname("QuickMenu")){	
  	style=sideMenuStyle;itemwidth=180;	alwaysvisible=1; orientation="vertical"; position="relative";
	aI("text=<b>À l’Hôtel de Ville</b>;url=" + pref + "intro" + lang );
	aI("text=<b>Présentations</b>;url=" + pref + "pres-intro" + lang );
	aI("text=Peter McLean - Intronisation au Temple de la renommée du softball du Canada;url=" + pref + "pres-petermclean" + lang );
	aI("text=Jumelage (Événement spécial);url=" + pref + "pres-twinning" + lang );
	aI("text=Annonce - Subventions fédérales pour des initiatives en tourisme;url=" + pref + "pres-funding" + lang );
	aI("text=Association canadienne des vétérans pour le maintien de la paix;url=" + pref + "pres-veterans" + lang );
	aI("text=Commémoration du jubilé d'or de la reine Elisabeth II;url=" + pref + "pres-jubilee" + lang );
	aI("text=Paul Dawson - Intronisation au Temple de la renommée du softball du Canada;url=" + pref + "pres-softball" + lang );
	aI("text=Hommage de citoyenneté d'honneur de la Ville à Matilda Murdoch;url=" + pref + "pres-matildamurdoch" + lang );
	}
}	//* end if	

//*----------------------------------------------
//* DEPARTMENTS - SIDE MENU
	  pref = "dept-";   // Filename prefix
//*----------------------------------------------
if (thefile.substring(0,"dept".length) == "dept" &  countChar(thefile, "-") == 2)	{
	with(milonic=new menuname("QuickMenu")){	
  	style=sideMenuStyle;itemwidth=180;	alwaysvisible=1; orientation="vertical"; position="relative";
  	
	aI("text=<b>Services</b>;url=" + pref + "intro" + lang );
	aI("text=Structure organisationnelle;url=" + pref + "chart-structure" + lang );
	aI("text=Secrétaire municipal;url=" + pref + "clerks" + lang );
	aI("text=Développement communautaire et tourisme;url=" + pref + "dev" + lang );
	aI("text=Loisirs communautaires;url=" + pref + "rec" + lang );
	aI("text=Développement économique;url=" + pref + "econdev" + lang );
	aI("text=Travaux publics et ingénierie;url=" + pref + "works" + lang );	
	aI("text=Service des finances;url=" + pref + "finance" + lang );
	aI("text=Service des incendies;url=" + pref + "fire" + lang );
	aI("text=Service des ressources humainest;url=" + pref + "hr" + lang );
	aI("text=Bureau du directeur municipal ;url=" + pref + "manager" + lang );
	aI("text=Service de police;url=" + pref + "police" + lang );
}
}	//* end if
	
//*----------------------------------------------
//* PUBLIC WORKS FAQ - SIDE MENU
	pref="dept-";
//*----------------------------------------------
//
if (thefile.substring(0,"dept-works".length) == "dept-works" || thefile.substring(0,"dept-chart-works".length) == "dept-chart-works")	{
	with(milonic=new menuname("QuickMenu")){	
  	style=sideMenuStyle;itemwidth=180;	alwaysvisible=1; orientation="vertical"; position="relative";
  	aI("text=<b>Services</b>;url=" + pref + "intro" + lang );
  	aI("text=<b>Travaux publics et ingénierie</b>;url=" + pref + "works" + lang );
	aI("text=Projets de travaux d'immobilisations;url=" + pref + "works-projects" + lang );
  	aI("text=Structure organisationnelle;url=" + pref + "chart-works" + lang );
  	aI("text=A W A R D S&nbsp;&nbsp;O F&nbsp;&nbsp;M E R I T;fontweight=bold;type=header;");
	aI("text=Prix canadien du génie-conseil pour l'étang aéré du côté nord;url=" + pref + "works-award-northside" + lang );
	aI("text=Prix canadiens du génie-conseil;url=" + pref + "works-award-wastewater" + lang );
	aI("text=<b>Foire aux questions  (FAQ)</b>;type=header" );
	aI("text=D'où provient notre eau et comment se rend-elle à nos demeures?;url=" + pref + "works-faq1" + lang );
	aI("text=Comment la ville dispose-t-elle des ordures?;url=" + pref + "works-faq2" + lang );
	aI("text=Comment la ville réglemente la circulation?;url=" + pref + "works-faq3" + lang );
	}
}	//* end if	 

//*----------------------------------------------
//* DEPT - CLERKS - SIDE MENU   *** NOT ACTIVE ***
//*----------------------------------------------
if (thefile.substring(0,"xxxdept-clerks".length) == "dept-clerks" || thefile.substring(0,"xxxdept-chart-clerks".length) == "dept-chart-clerks")	{
	with(milonic=new menuname("QuickMenu")){	
  	style=sideMenuStyle;itemwidth=180;	alwaysvisible=1; orientation="vertical"; position="relative";
	aI("text=<b>Services</b>;url=" + pref + "intro" + lang );
	aI("text=<b>Secrétaire municipal</b>;url=" + pref + "dev" + lang );
	aI("text=Structure organisationnelle;url=" + pref + "chart-clerks" + lang );
	}
}	//* end if	

 
//*----------------------------------------------
//* DEPT - DEV & TOURISM - SIDE MENU  *** NOT ACTIVE ***
//*----------------------------------------------
if (thefile.substring(0,"xxxdept-dev".length) == "dept-dev" || thefile.substring(0,"xxxdept-chart-dev".length) == "dept-chart-dev")	{
	with(milonic=new menuname("QuickMenu")){	
  	style=sideMenuStyle;itemwidth=180;	alwaysvisible=1; orientation="vertical"; position="relative";
	aI("text=<b>Services</b>;url=" + pref + "intro" + lang );
	aI("text=<b>Development & Tourism Dept.</b>;url=" + pref + "dev" + lang );
	aI("text=Structure organisationnelle;url=" + pref + "chart-dev" + lang );
	}
}	//* end if	 
 
//*----------------------------------------------
//* DEPT - FINANCE - SIDE MENU
//*----------------------------------------------
if (thefile.substring(0,"dept-fin".length) == "dept-fin" || thefile.substring(0,"dept-chart-finance".length) == "dept-chart-finance")	{
	with(milonic=new menuname("QuickMenu")){	
  	style=sideMenuStyle;itemwidth=180;	alwaysvisible=1; orientation="vertical"; position="relative";
	aI("text=<b>Services</b>;url=" + pref + "intro" + lang );
	aI("text=<b>Service des finances</b>;url=" + pref + "finance" + lang );
	aI("text=Informations sur les dépôts de paiement d'eau et d'égouts;url=" + pref + "finance-water-payments" + lang );
	aI("text=Tableau des taux et des frais de raccordement d'eau et d'égouts;url=" + pref + "finance-water-hookup" + lang );
	aI("text=Structure organisationnelle;url=" + pref + "chart-finance" + lang );
	}
}	//* end if	

//*----------------------------------------------
//* DEPT - FIRE Dept - SIDE MENU
//*----------------------------------------------
if (thefile.substring(0,"dept-fire".length) == "dept-fire" || thefile.substring(0,"dept-chart-fire".length) == "dept-chart-fire")	{
	with(milonic=new menuname("QuickMenu")){	
  	style=sideMenuStyle;itemwidth=180;	alwaysvisible=1; orientation="vertical"; position="relative";
  	aI("text=<b>Services</b>;url=" + pref + "intro" + lang );
  	aI("text=<b>Service des incendies </b>;url=" + pref + "fire" + lang );
	aI("text=Énoncé de valeurs;url=" + pref + "fire-values" + lang );
	aI("text=Maison de sécurité des incendies;url=" + pref + "fire-safety" + lang );
	aI("text=Installations et équipement;url=" + pref + "fire-facilities" + lang );
	aI("text=Événement spéciaux/Annonces;url=" + pref + "fire-special" + lang );
	aI("text=Structure organisationnelle;url=" + pref + "chart-fire" + lang ); 
	}	
}	//* end if

//*----------------------------------------------
//* DEPT - HR Dept - SIDE MENU
//*----------------------------------------------
if (thefile.substring(0,"dept-hr".length) == "dept-hr" || thefile.substring(0,"dept-chart-hr".length) == "dept-chart-hr")	{
	with(milonic=new menuname("QuickMenu")){	
  	style=sideMenuStyle;itemwidth=180;	alwaysvisible=1; orientation="vertical"; position="relative";
  	aI("text=<b>Services</b>;url=" + pref + "intro" + lang );
  	aI("text=<b>Service des ressources humaines</b>;url=" + pref + "hr" + lang );
	aI("text=Possibilités d'emploi et de volontariat;url=" + pref + "hr-jobs" + lang );
	aI("text=Demande d'emploi;url=" + pref + "hr-jobapp" + lang );
	aI("text=Structure organisationnelle;url=" + pref + "chart-hr" + lang ); 
	}	
}	//* end if

//*----------------------------------------------
//* DEPT - POLICE - SIDE MENU  *** NOT ACTIVATED ****
//*----------------------------------------------
if (thefile.substring(0,"xxxdept-police".length) == "dept-police" || thefile.substring(0,"dept-chart-police".length) == "dept-chart-police")	{
	with(milonic=new menuname("QuickMenu")){	
  	style=sideMenuStyle;itemwidth=180;	alwaysvisible=1; orientation="vertical"; position="relative";
	aI("text=<b>Services</b>;url=" + pref + "intro" + lang );
	aI("text=<b>Police Department</b>;url=" + pref + "dev" + lang );
	aI("text=Structure organisationnelle;url=" + pref + "chart-police" + lang );
	}
}	//* end if	 

//*----------------------------------------------
//* DEPT RECREATION - SIDE MENU
//*----------------------------------------------
//* Check for 2 hyphens
 
//alert(countChar(thefile, "-"));
if ((thefile.substring(0,"dept-rec".length) == "dept-rec" & countChar(thefile, "-") == 2) ||
	thefile.substring(0,"dept-rec-mission".length) == "dept-rec-mission" ||
	 thefile.substring(0,"dept-rec-employment".length) == "dept-rec-employment" ||
	 thefile.substring(0,"dept-rec-faq".length) == "dept-rec-faq" ||
	 thefile.substring(0,"dept-rec-skating-sched".length) == "dept-rec-skating-sched" ||
	 thefile.substring(0,"dept-rec-timberwolves".length) == "dept-rec-timberwolves" ||
	 thefile.substring(0,"dept-rec-volunteer".length) == "dept-rec-volunteer" ||
	 thefile.substring(0,"dept-rec-upevents".length) == "dept-rec-upevents" ||
	 thefile.substring(0,"dept-chart-rec".length) == "dept-chart-rec")	{
	with(milonic=new menuname("QuickMenu")){	
  	style=sideMenuStyle;itemwidth=180;	alwaysvisible=1; orientation="vertical"; position="relative";
  	aI("text=<b>Services</b>;url=" + pref + "intro" + lang );
  	aI("text=<b>Loisirs communautaires</b>;url=" + pref + "rec" + lang );
  	aI("text=Mission Statement;url=" + pref + "rec-mission" + lang );
	aI("text=Installations;url=" + pref + "rec-facilities" + lang );
	aI("text=Horaires quotidiens des piscines;url=" + pref + "rec-poolsched" + lang );
	aI("text=Divertissements;url=" + pref + "rec-entertain" + lang );
	aI("text=Programmes;url=" + pref + "rec-programs" + lang );
	aI("text=Sentiers et parcs;url=" + pref + "rec-trailsparks" + lang );
	aI("text=Possibilités d'emploi;url=" + pref + "rec-employment" + lang );
	aI("text=FAQ des loisirs;url=" + pref + "rec-faq" + lang );
	aI("text=Horaire de patinage du Centre civique de Miramichi;url=" + pref + "rec-skating-sched" + lang );
	aI("text=Horaire des Timber Wolves;url=" + pref + "rec-timberwolves" + lang );
	aI("text=Événements à venir;url=" + pref + "rec-upevents" + lang );
	aI("text=Possibilités de volontariat;url=" + pref + "rec-volunteer" + lang );
	}	
}	//* end if

//*----------------------------------------------
//* DEPT REC - FACILITIES - SIDE MENU
//*----------------------------------------------
if (thefile.substring(0,"dept-rec-fac".length) == "dept-rec-fac")	{
	with(milonic=new menuname("QuickMenu")){	
  	style=sideMenuStyle;itemwidth=180;	alwaysvisible=1; orientation="vertical"; position="relative";
  	aI("text=<b>Services</b>;url=" + pref + "intro" + lang );
  	aI("text=<b>Loisirs communautaires</b>;url=" + pref + "rec" + lang );
	aI("text=<b>Installations</b>;url=" + pref + "rec-facilities" + lang );  	
	aI("text=Arénas;url=" + pref + "rec-fac-arenas" + lang );
	aI("text=Champs de balle;url=" + pref + "rec-fac-ballfields" + lang );
	aI("text=Courts de basket-ball;url=" + pref + "rec-fac-basketball" + lang );
	aI("text=Centres communautaires;url=" + pref + "rec-fac-centres" + lang );
	aI("text=Terrains de jeux;url=" + pref + "rec-fac-playgrounds" + lang );
	aI("text=Installations scolaires de loisirs;url=" + pref + "rec-fac-school" + lang );
	aI("text=Terrains de soccer;url=" + pref + "rec-fac-soccer" + lang );
	aI("text=Piscines;url=" + pref + "rec-fac-pools" + lang );
	aI("text=Courts de tennis;url=" + pref + "rec-fac-tennis" + lang );
	aI("text=Installations d'athlétisme;url=" + pref + "rec-fac-track" + lang );
	}	
}	//* end if

//*----------------------------------------------
//* REC - ENTERTAINMENT - SIDE MENU
//*----------------------------------------------
if (thefile.substring(0,"dept-rec-ent".length) == "dept-rec-ent")	{
	with(milonic=new menuname("QuickMenu")){	
  	style=sideMenuStyle;itemwidth=180;	alwaysvisible=1; orientation="vertical"; position="relative";
	aI("text=<b>Services</b>;url=" + pref + "intro" + lang );
	aI("text=<b>Loisirs communautaires</b>;url=" + pref + "rec" + lang );
  	aI("text=<b>Divertissements</b>;url=" + pref + "rec-entertain" + lang );
	aI("text=Divertissements des Fêtes;url=" + pref + "rec-ent-holiday" + lang );
	aI("text=Waterford Green;url=" + pref + "rec-ent-waterford" + lang );
	aI("text=Ritchie Wharf;url=" + pref + "rec-ent-ritchie" + lang );
	}
}	//* end if

//*----------------------------------------------
//* DEPT REC - POOL SCHED - SIDE MENU
//*----------------------------------------------
if (thefile.substring(0,"dept-rec-poolsched".length) == "dept-rec-poolsched")	{
	with(milonic=new menuname("QuickMenu")){	
  	style=sideMenuStyle;itemwidth=180;	alwaysvisible=1; orientation="vertical"; position="relative";
  	aI("text=<b>Services</b>;url=" + pref + "intro" + lang );
	aI("text=<b>Loisirs communautaires</b>;url=" + pref + "rec" + lang );
  	aI("text=<b>Horaires quotidiens des piscines</b>;url=" + pref + "rec-poolsched" + lang );
	aI("text=Piscine intérieure de MVHS;url=" + pref + "rec-poolsched-mvhs" + lang );
	aI("text=Piscine intérieure de Golden Hawk;url=" + pref + "rec-poolsched-golden" + lang );
	aI("text=Piscine extérieure Kinsmen;url=" + pref + "rec-poolsched-kinsmen" + lang );
	aI("text=Piscine extérieure de Chatham;url=" + pref + "rec-poolsched-chatham" + lang );
	aI("text=--- <b><i>More info</i></b> ---;type=header;headercolor=#000000;headerbgcolor=#FFFFFF;");
	aI("text=New Swim for Life Program;url=" + pref + "rec-poolsched-swimforlife" + lang );
	aI("text=Swim Class Pre-requisites;url=" + pref + "rec-poolsched-prereq" + lang );
	}
}	//* end if

//*----------------------------------------------
//* DEPT REC - TRAILS & PARKS - SIDE MENU
//*----------------------------------------------
if (thefile.substring(0,"dept-rec-trailsparks".length) == "dept-rec-trailsparks")	{
	with(milonic=new menuname("QuickMenu")){	
  	style=sideMenuStyle;itemwidth=180;	alwaysvisible=1; orientation="vertical"; position="relative";
	aI("text=<b>Services</b>;url=" + pref + "intro" + lang );
	aI("text=<b>Loisirs communautaires</b>;url=" + pref + "rec" + lang );
  	aI("text=<b>Sentiers et Parcs</b>;url=" + pref + "rec-trailsparks" + lang );
	aI("text=Sentiers;url=" + pref + "rec-trailsparks-trails" + lang );
	aI("text=Parcs;url=" + pref + "rec-trailsparks-parks" + lang );
	aI("text=Millbank Trail Map;url=" + pref + "rec-trailsparks-millbank" + lang );
	}	
}	//* end if

//*----------------------------------------------
//* DEPT- REC - PROGRAMS - SIDE MENU
//*----------------------------------------------
if (thefile.substring(0,"dept-rec-prog".length) == "dept-rec-prog")	{
	pref = "dept-"; 
	with(milonic=new menuname("QuickMenu")){	
  	style=sideMenuStyle;itemwidth=180;	alwaysvisible=1; orientation="vertical"; position="relative";
  	aI("text=<b>Services</b>;url=" + pref + "intro" + lang );
  	aI("text=<b>Loisirs communautaires</b>;url=" + pref + "rec" + lang );
	aI("text=<b>Programmes</b>;url=" + pref + "rec-programs" + lang );  	
	aI("text=Programmes aquatiques;url=" + pref + "rec-prog-aquatic" + lang );
	aI("text=Programmes pour enfants;url=" + pref + "rec-prog-children" + lang );
	aI("text=Programmes de conditionnement physique;url=" + pref + "rec-prog-fitness" + lang );
	aI("text=Programmes préscolaires;url=" + pref + "rec-prog-preschool" + lang );
	aI("text=Sorties pour les personnes âgées;url=" + pref + "rec-prog-seniors" + lang );
	aI("text=Événements spéciaux;url=" + pref + "rec-prog-specialevents" + lang );
	aI("text=Programmes adaptés;url=" + pref + "rec-prog-specialneeds" + lang );
	aI("text=Programmes pour les jeunes;url=" + pref + "rec-prog-youth" + lang );
	}	
}	//* end if

//*----------------------------------------------
//* DEPT ORG CHARTS - SIDE MENU --- KEEP THIS AT THE END OF THE FILE.
//*----------------------------------------------
if (thefile.substring(0,"dept-chart".length) == "dept-chart")	{
	with(milonic=new menuname("QuickMenu")){	
  	style=sideMenuStyle;itemwidth=180;	alwaysvisible=1; orientation="vertical"; position="relative";
  	aI("text=<b>Services</b>;url=" + pref + "intro" + lang );
	aI("text=<b>Structure organisationnelle</b>;url=" + pref + "chart-structure" + lang );
	aI("text=Secrétaire municipal;url=" + pref + "chart-clerks" + lang );
	aI("text=Développement communautaire et tourisme;url=" + pref + "chart-dev" + lang );
	aI("text=Loisirs communautaires;url=" + pref + "chart-rec" + lang );
	aI("text=Travaux publics et ingénierie;url=" + pref + "chart-works" + lang );
	aI("text=Service des finances ;url=" + pref + "chart-finance" + lang );
	aI("text=Service des incendies ;url=" + pref + "chart-fire" + lang );
	aI("text=Service des ressources humaines;url=" + pref + "chart-hr" + lang );
	aI("text=Service de police;url=" + pref + "chart-police" + lang );
	}
}	//* end if	
  
drawMenus();