//*----------------------------------------------
//*  Update Log
//*  2006-04-20 Remove quick link to "List of certified CTCs and CTMs"
//*  2006-04-21 Display English natdir-locator-e page until French is ready [ Never implemented, unhooked ]
//*  2006-05-19 Change 2005 to 2006-Catalogue-e.pdf
//*  2006-08-21 Hilary tweaked some French.
//*  2006-08-28 Remove Publication: Customer Service and Business Management pages.
//*  2006-10-27 Change link for mem-reg-form to new membership-form and remove renewal form
//*  2006-12-08 Change title of secure membership form
//*  2006-12-22 Add Coralie's Major Changes for CTC Certification
//*  2007-02-12 Add Endorsed full Quebec course. train-rec-endor-full-qu-f.asp
//*  2007-07-13 Tweak train-citccert items.
//*  2007-12-16 TICO FAQs French
//*  2008-01-02 Add ani-arrows to TICO FAQs header
//*  2008-01-15 Events Restructuring
//*  2008-02-01 Add Calendar to Events
//*  2008-11-28 Add TICO Overview & Registration pages
//*  2009-02-04 Podcasts
//*  2009-02-11 rename telesem-form to telesem-archive
//*  2009-06-09 about-vision-ethics-f.asp Correct label: code d'éthique  to code dépontologie
//*  2009-08-12 Change Cours par télé-séminaires to Cours pay séminaire
//*  2009-09-24 - 2006 Trainng Catalog removed from quick links
//*  2009-10-08 Remove Secure Advanced Exam Form link
//*  2010-05-17 - Remove train-ed-corp-e.asp
//*----------------------------------------------
	var dir = location.href.substring(0,location.href.lastIndexOf('/')+1);
	var thefile = location.href.substring(dir.length,location.href.length+1);
	
//	alert(thefile);
//*----------------------------------------------
//*  GLOBAL LANGUAGE SUFFIX
//*----------------------------------------------
	lang = "-f.asp;";
	pdficon = "image=../images/pdf-icon-red.gif;imageposition=baseline;imagepadding=2;";
	webicon = "image=../images/web-icon.gif;imageposition=baseline;imagepadding=2;";
//*----------------------------------------------
//*  QUICK LINKS MENU
//*----------------------------------------------
	with(milonic=new menuname("QuickMenu")){	
  	style=quickMenuStyle; itemwidth=170; alwaysvisible=1; orientation="vertical"; position="relative";
 	aI("text=<center>L I E N S&nbsp;&nbsp;&nbsp;R A P I D E S</center>;fontweight=bold;type=header;");
 	
	if (thefile.substring(0,"train-stand-intro".length) == "train-stand-intro" )	{
		aI(pdficon + "text=Foire aux questions concernant les normes minimales de formation TICO;url=../download/FAQTICO-f.pdf;target=blank;" );		
	}
	if (thefile.substring(0,"train-rec-endor-intro".length) == "train-rec-endor-intro" )	{
		aI(webicon + "text=Système de parrainage des programmes du voyage;url=http://www.travelcertification.com/endorse.html#endprocedures;target=blank;" );		
	}	
//	if (thefile.substring(0,"train-ed".length) == "train-ed" )	{
//		aI(pdficon + "text=Catalogue 2006 des produits de formation en stage (en anglais seulement);url=../download/2006-Catalogue-e.pdf;target=blank;" );				
//	}	

	aI("text=Formulaire de membre;url=https://secure.chargegateway.com/citc/membership-form" + lang + ";target=blank;" );	
//	aI("text=Demande d’adhésion de membre;url=https://secure.chargegateway.com/citc/mem-reg-form" + lang + ";target=blank;" );		
//	aI("text=Renouvelez votre adhésion;url=" + "https://secure.chargegateway.com/citc/mem-renewal-form" + lang + ";target=blank;" );
	aI("text=Entrée en session des membres;url=" + "mem-login" + lang );	
	aI("text=Les meilleurs professionnels du voyage accrédités;url=about-natdir-locator-f.asp");
//  Display English page until French is ready 2006-04-21
//	aI("text=Localisateur des professionnels<br>de voyages accrédités;url=../en/about-natdir-locator-e.cfm");	
	}
	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="../images/spacer.gif" width=4 height=5 border=0>');

//*----------------------------------------------
//* ABOUT - SIDE MENU
	pref="about-";
//* countChar(thefile, "-") = 2  checks if filename has 2 hyphens (eg. comm-intro-e.asp)
//*----------------------------------------------

if (thefile.substring(0,"about".length) == "about" & thefile.substring(0,"about-vision-ethics".length) != "about-vision-ethics" )	{
	with(milonic=new menuname("SideMenu")){	
  	style=sideMenuStyle;itemwidth=170;	alwaysvisible=1; orientation="vertical"; position="relative";
	aI("text=<b>À propos du CITC</b>;url=" + pref + "intro" + lang );
	aI("text=Vision et valeurs;url=" + pref + "vision" + lang + "showmenu=about-vision2;" );
	aI("text=Nos membres;url=" + pref + "ourmembers" + lang );
	aI("text=Histoire;url=" + pref + "history" + lang );
	aI("text=Occasions d’emploi;url=" + pref + "employment" + lang  + "showmenu=about-empl2;" );
	aI("text=Organization;url=" + pref + "organization" + lang + "showmenu=about-org2;" );
	aI("text=Répertoire national;url=" + pref + "natdir" + lang + "showmenu=about-locator2;" );
	aI("text=Partenaires;url=" + pref + "partners" + lang  + "showmenu=about-partners2;" );
	aI("text=Témoignages;url=" + pref + "testimonials" + lang );
	aI("text=Recherche;url=" + pref + "research" + lang );
//	aI("text=Conférences;url=" + pref + "conferences" + lang );
//	aI("text=Événements;url=" + pref + "events" + lang + "showmenu=calendar2;" );
	aI("text=Bulletin des membres<br>du CITC - <i>The Buzz</i>;url=" + pref + "newsletter" + lang );
	}

	with(milonic=new menuname("about-vision2")){
	style=sideMenuStyle; openstyle="rtl"; itemwidth=100;
	aI("text=Code d'éthique to code dépontologie;url=" + pref + "vision-ethics" + lang );
	aI("text=Protection des renseignements personnels;url=" + pref + "vision-privacy" + lang );
	}
 
	with(milonic=new menuname("about-empl2")){
	style=sideMenuStyle; openstyle="rtl"; itemwidth=100;
 	aI("text=Afficher un c.v.;url=" + pref + "empl-postresume" + lang );
 	aI("text=Afficher un emploi;url=" + pref + "empl-postjob" + lang );
	}
 
	with(milonic=new menuname("about-org2")){
	style=sideMenuStyle; openstyle="rtl"; 
	aI("text=Conseils régionaux;url=" + pref + "org-councils" + lang );
	aI("text=Personnel du CITC;url=" + pref + "org-staff" + lang );
	} 
	
	with(milonic=new menuname("about-partners2")){
	style=sideMenuStyle; openstyle="rtl"; itemwidth=75;
	aI("text=Entreprises;url=" + pref + "partners-corporate" + lang );
	aI("text=Loyauté;url=" + pref + "partners-loyalty" + lang );
	}
	
	with(milonic=new menuname("about-locator2")){
	style=sideMenuStyle; openstyle="rtl"; 
 	aI("text=Localisateur des professionnels de voyages accrédités;url=" + pref + "natdir-locator" + lang );
//  Display English page until French is ready 2006-04-21
//	aI("text=Localisateur des professionnels de voyages accrédités;url=../en/about-natdir-locator-e.cfm");	
	}
	
	with(milonic=new menuname("calendar2")){
	style=sideMenuStyle; openstyle="rtl";  itemwidth=59;
	aI("text=Calendrier;url=" + pref + "calendar" + lang );
	}	
	
}	//* end if	
 
//*----------------------------------------------
//*  ABOUT VISION CODE OF ETHICS
//*----------------------------------------------
if (thefile.substring(0,"about-vision-ethics".length) == "about-vision-ethics" )	{
	with(milonic=new menuname("SideMenu")){	
  	style=sideMenuStyle;itemwidth=170;	alwaysvisible=1; orientation="vertical"; position="relative";
	aI("text=<b>Å propos du CITC</b>;url=" + pref + "intro" + lang );
	aI("text=<b>Vision et valeurs</b>;url=" + pref + "vision" + lang );
	aI("text=<b>Code d'éthique to code dépontologie</b>;url=" + pref + "vision-ethics" + lang );	
	aI("text=Consommateurs;url=" + pref + "vision-ethics-consumer" + lang );
	aI("text=Clients;url=" + pref + "vision-ethics-client" + lang );
	aI("text=Membres du CITC;url=" + pref + "vision-ethics-member" + lang );
	aI("text=Employeur;url=" + pref + "vision-ethics-employer" + lang );	
	aI("text=Fournisseurs;url=" + pref + "vision-ethics-supplier" + lang );
	aI("text=Excursions;url=" + pref + "vision-ethics-excursions" + lang );	
	} 
 }

 
//*----------------------------------------------
//*  TRAINING MENU 
	pref = "train-";   // Filename prefix
//*----------------------------------------------
if (thefile.substring(0,"train".length) == "train"  &  countChar(thefile, "-") == 2 ||
	thefile.substring(0,"train-citccert".length) == "train-citccert")	
{
	with(milonic=new menuname("SideMenu")){	
  	style=sideMenuStyle; itemwidth=170;	alwaysvisible=1; orientation="vertical"; position="relative";
  	aI("text=<b>Formation</b>;url=" + pref + "intro" + lang );
  	aI("text=Éducation;url=" + pref + "ed-intro" + lang );
//	aI("text=BC Insurance;url=" + pref + "bci-intro" + lang );

//***********************	
//**** TTICO MENU CHECK	
//***********************
if (ticomenu == 1) {
	aI("text=Normes d’éducation du TICO;url=" + pref + "tico-intro" + lang );	
}
else if (ticomenu  == 2) {
	aI("text=Normes d’éducation du TICO;url=" + pref + "tico-intro" + lang );
}
else {
	aI("text=TICO Minimum Standards;url=" + pref + "stand-intro" + lang );
}

	aI("text=Normes minimales de TICO;url=" + pref + "stand-intro" + lang );
	aI("text=Carrières dans le voyage;url=" + pref + "careers" + lang );
	aI("text=Accréditation du CITC;url=" + pref + "citccert" + lang );	
    aI("text=&nbsp;&nbsp;&nbsp;Reconnaissance<br>&nbsp;&nbsp;&nbsp;professionnelle des<br>&nbsp;&nbsp;&nbsp;conseillers en voyages (CTC);url=" + pref + "citccert-ctc" + lang  );
    aI("text=&nbsp;&nbsp;&nbsp;L'accréditation des<br>&nbsp;&nbsp;&nbsp;gestionnaires en voyages<br>&nbsp;&nbsp;&nbsp;(CTM);url=mem-faq-ctm" + lang  );
    aI("text=&nbsp;&nbsp;&nbsp;Les normes de compétence;url=" + pref + "citccert-occstand" + lang  );    				
	aI("text=Recommandé par le CITC;url=" + pref + "rec-intro" + lang );
	}
}

//* BC Insurance  -  DOES NOT APPLY TO FRENCH
if (thefile.substring(0,"train-bci".length) == "train-bci")	{
	with(milonic=new menuname("SideMenu")){	
  	style=sideMenuStyle; itemwidth=170;	alwaysvisible=1; orientation="vertical"; position="relative";
  	aI("text=<b>Training</b>;url=" + pref + "intro" + lang );
  	aI("text=<b>BC Insurance</b>;url=" + pref + "bci-intro" + lang );
    aI("text=<b>BC Insurance Exam</b>;url=" + pref + "bci-exam" + lang );
    aI(pdficon + "text=Study Manual & Exam FAQ;url=../download/FAQ030305-e.pdf;target=blank;");   //**** Change to -f for French
    aI("text=On-Campus Exam Schedule;url=" + pref + "bci-oncampus" + lang );
    aI("text=Off-Campus Exam Schedule;url=" + pref + "bci-offcampus" + lang );
    aI("text=Exam Registration;url=" + pref + "bci-reg" + lang + "showmenu=bcireg2;" );
    aI("text=Proctors;url=" + pref + "bci-proctors" + lang );
    aI("text=Preparation;url=" + pref + "bci-examprep" + lang );
    aI("text=Re-writes;url=" + pref + "bci-rewrites" + lang );
    aI("text=Rescheduling/cancellations;url=" + pref + "bci-resched" + lang );
    aI("text=Fees;url=" + pref + "bci-examfees" + lang );
	}
	
	with(milonic=new menuname("bcireg2")){
	style=sideMenuStyle; openstyle="rtl"; 
	    aI("text=On-Campus Registration;url=" + pref + "bci-reg-oncampus" + lang );
	    aI("text=Off-Campus Registration;url=" + pref + "bci-reg-offcampus" + lang );;
	}
}

//* Minimum Standards  	
if (thefile.substring(0,"train-stand".length) == "train-stand")	{
	with(milonic=new menuname("SideMenu")){	
  	style=sideMenuStyle; itemwidth=170;	alwaysvisible=1; orientation="vertical"; position="relative";
  	aI("text=<b>Formation</b>;url=" + pref + "intro" + lang );
  	aI("text=<b>Normes minimales de TICO</b>;url=" + pref + "stand-intro" + lang );
    aI("text=<b>FAQ</b>;type=header" );
//  aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Questions essentielles;url=" + pref + "stand-keyissues" + lang );
    aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Enjeux-clés;url=" + pref + "stand-keyissues" + lang );
    aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Participation du CITC;url=" + pref + "stand-involve" + lang );
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Écoles de voyage;url=" + pref + "stand-schools" + lang );
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Matériel de cours;url=" + pref + "stand-course" + lang );
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;L'examen;url=" + pref + "stand-exam" + lang );	
	}
} 

//*---------------------------------
//* TICO Education Standards NEW
//*---------------------------------  	
if (thefile.substring(0,"train-tico".length) == "train-tico")	{
	with(milonic=new menuname("SideMenu")){	
  	style=sideMenuStyle; itemwidth=170;	alwaysvisible=1; orientation="vertical"; position="relative";
  	aI("text=<b>Training</b>;url=" + pref + "intro" + lang );
  	aI("text=<b>Normes d’éducation du TICO</b>;url=" + pref + "tico-intro" + lang );
  	if (ticomenu == 1) {
	  	aI("text=Overview of the Process;url=" + pref + "tico-overview" + lang );
	  	aI("text=Registration;url=" + pref + "tico-register" + lang );
	  	aI("text=Study Manual;url=" + pref + "tico-studymanual" + lang );
	  	aI("text=<b>Proctors</b>;url=" + pref + "tico-proctors" + lang );
	  	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Proctored Venues for writing<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the TICO Exam(s);url=" + pref + "tico-proctors-schools" + lang );
	  	aI("text=Exam Preparation;url=" + pref + "tico-examprep" + lang );
	  	aI("text=The Exam;url=" + pref + "tico-exam" + lang );
	  	aI("text=Rescheduling / Cancellations;url=" + pref + "tico-resched" + lang );
	  	aI("text=Rewrites;url=" + pref + "tico-rewrites" + lang );
	  	aI("text=Fees;url=" + pref + "tico-fees" + lang );
	  	aI("text=<b>TICO FAQs</b>;url=" + pref + "tico-faq-intro" + lang );
	}
	//* 2 - Display FAQ Header
	if (ticomenu == 2) {
	  	aI("text=Présentation générale;url=" + pref + "tico-overview" + lang );
	  	aI("text=Modalités d’inscription ;url=" + pref + "tico-register-intro" + lang );		
		aI("text=<img src='../images/ani-arrows.gif' width=29 height=9 border=0> &nbsp;TICO FAQs;type=header" );
	}
	if (ticomenu == 1 || ticomenu == 2) {
    	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Le manuel d’étude;url=" + pref + "tico-studymanual" + lang );
    	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Enjeux clé;url=" + pref + "tico-faq-keyissues" + lang );
    	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Participation du CITC;url=" + pref + "tico-faq-involve" + lang );
		aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;École de voyage;url=" + pref + "tico-faq-schools" + lang );
		aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Matériel de cours;url=" + pref + "tico-faq-course" + lang );
		aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;L’examen;url=" + pref + "tico-faq-exam" + lang );			
	}
  } //* with milonic
} //* if thefile = train-tico



//* Education  
if (thefile.substring(0,"train-ed".length) == "train-ed" &  countChar(thefile, "-") == 3)	{
	with(milonic=new menuname("SideMenu")){	
  	style=sideMenuStyle; itemwidth=170;	alwaysvisible=1; orientation="vertical"; position="relative";
  	aI("text=<b>Formation</b>;url=" + pref + "intro" + lang );
  	aI("text=<b>Éducation</b>;url=" + pref + "ed-intro" + lang );
	aI("text=Télé-séminaires;url=" + pref + "ed-tele-intro" + lang );
	aI("text=Podcasts;url=" + pref + "ed-podcasts" + lang );
	aI("text=Séminaires sur CD;url=" + pref + "ed-sem-intro" + lang );
   	aI("text=Télé-apprentissage;url=" + pref + "ed-dist-intro" + lang );
   	aI("text=Publications;url=" + pref + "ed-pub-intro" + lang );
//   	aI("text=Formation en agence;url=" + pref + "ed-corp" + lang );	
   	aI("text=Formation à l’interne;url=" + pref + "ed-inhouse" + lang );  	
	}
}

//* Education SEMINARS ON CD
if (thefile.substring(0,"train-ed-sem".length) == "train-ed-sem")	{
	with(milonic=new menuname("SideMenu")){	
  	style=sideMenuStyle; itemwidth=170;	alwaysvisible=1; orientation="vertical"; position="relative";
  	aI("text=<b>Formation</b>;url=" + pref + "intro" + lang );
  	aI("text=<b>Éducation</b>;url=" + pref + "ed-intro" + lang );
   	aI("text=<b>Séminaires sur CD</b>;url=" + pref + "ed-sem-intro" + lang );
	aI("text=Ventes;url=" + pref + "ed-sem-sales" + lang );	
	aI("text=Marketing et service à la clientèle;url=" + pref + "ed-sem-mark" + lang );	
	aI("text=Gestion du temps;url=" + pref + "ed-sem-time" + lang );	
	aI("text=Aptitudes en gestion;url=" + pref + "ed-sem-manskills" + lang );
	aI("text=Formation en agence;url=" + pref + "ed-sem-corp" + lang );		
	}
}
//* Education DISTANCE LEARNING
if (thefile.substring(0,"train-ed-dist".length) == "train-ed-dist")	{
	with(milonic=new menuname("SideMenu")){	
  	style=sideMenuStyle; itemwidth=170;	alwaysvisible=1; orientation="vertical"; position="relative";
  	aI("text=<b>Formation</b>;url=" + pref + "intro" + lang );
  	aI("text=<b>Éducation</b>;url=" + pref + "ed-intro" + lang );
   	aI("text=<b>Télé-apprentissage</b>;url=" + pref + "ed-dist-intro" + lang );
   	aI("text=Spécialiste en destinations;url=" + pref + "ed-dist-destspec" + lang );
   	aI("text=Spécialiste en mode de vie;url=" + pref + "ed-dist-lifestyle" + lang );		
	aI("text=Compétences et aptitudes;url=" + pref + "ed-dist-skills" + lang );
	aI("text=Planification des voyages;url=" + pref + "ed-dist-travplan" + lang );
	aI("text=Programmes d’institut du voyage;url=" + pref + "ed-dist-travelinst" + lang );		
	}
}
	
//* Education PUBLICATIONS
if (thefile.substring(0,"train-ed-pub".length) == "train-ed-pub")	{
	with(milonic=new menuname("SideMenu")){	
  	style=sideMenuStyle; itemwidth=170;	alwaysvisible=1; orientation="vertical"; position="relative";
  	aI("text=<b>Formation</b>;url=" + pref + "intro" + lang );
  	aI("text=<b>Éducation</b>;url=" + pref + "ed-intro" + lang );
   	aI("text=<b>Publications</b>;url=" + pref + "ed-pub-intro" + lang );
//	aI("text=Service à la clientèle;url=" + pref + "ed-pub-custserv" + lang );	// rem 2006-08-28
//	aI("text=Gestion commerciale;url=" + pref + "ed-pub-business" + lang );  // rem 2006-08-28
	aI("text=Sujets généraux;url=" + pref + "ed-pub-general" + lang );
	aI("text=Préparation aux examens;url=" + pref + "ed-pub-examprep" + lang );
	}
}
//* Education TELE-SEMINARS
if (thefile.substring(0,"train-ed-tele".length) == "train-ed-tele")	{
	with(milonic=new menuname("SideMenu")){	
  	style=sideMenuStyle; itemwidth=170;	alwaysvisible=1; orientation="vertical"; position="relative";
  	aI("text=<b>Formation</b>;url=" + pref + "intro" + lang );
  	aI("text=<b>Éducation</b>;url=" + pref + "ed-intro" + lang );
   	aI("text=<b>Télé-séminaires</b>;url=" + pref + "ed-tele-intro" + lang );
   	aI("text=Cours pay séminaire;url=" + pref + "ed-tele-list" + lang );
	}
}
 
//* CITC RECOMMENDED  
if ((thefile.substring(0,"train-rec".length) == "train-rec"  &  countChar(thefile, "-") == 3) || 
	(thefile.substring(0,"train-rec-endor".length) == "train-rec-endor" &  countChar(thefile, "-") == 4) ||
	thefile.substring(0,"train-rec-appr".length) == "train-rec-appr" ||
	thefile.substring(0,"train-rec-appr".length) == "train-rec-appr"
	)  {
	with(milonic=new menuname("SideMenu")){	
  	style=sideMenuStyle; itemwidth=170;	alwaysvisible=1; orientation="vertical"; position="relative";
  	aI("text=<b>Formation</b>;url=" + pref + "intro" + lang );
  	aI("text=<b>Recommandé par le CITC</b>;url=" + pref + "rec-intro" + lang );
	aI("text=Programme approuvé;url=" + pref + "rec-appr-intro" + lang );
	aI("text=Avantages du fournisseur;url=" + pref + "rec-provider" + lang );
	aI("text=Programmes agréés;url=" + pref + "rec-endor-intro" + lang );	
	aI("text=Faire un choix;url=" + pref + "rec-endor-choice" + lang );
	aI("text=Télé-apprentissage;url=" + pref + "rec-endor-dist" + lang );
	aI("text=Programmes à temps plein;url=" + pref + "rec-endor-full-intro" + lang + "showmenu=rec-full;");
	aI("text=Avantages d’un diplôme;url=" + pref + "rec-endor-benefits" + lang );
	aI("text=Après le diplôme;url=" + pref + "rec-endor-grad" + lang );			
	}
}

//* CITC RECOMMENDED  - ENDORSED - FULL TIME
if (thefile.substring(0,"train-rec-endor-full".length) == "train-rec-endor-full" &  countChar(thefile, "-") == 5)	{
	with(milonic=new menuname("SideMenu")){	
  	style=sideMenuStyle; itemwidth=170;	alwaysvisible=1; orientation="vertical"; position="relative";
  	aI("text=<b>Formation</b>;url=" + pref + "intro" + lang );
  	aI("text=<b>Recommandé par le CITC</b>;url=" + pref + "rec-intro" + lang );
	aI("text=<b>Programmes agréés </b>;url=" + pref + "rec-endor-intro" + lang );
	aI("text=<b>Programmes à temps plein</b>;url=" + pref + "rec-endor-full-intro" + lang );	
	aI("text=Colombie-Britannique/Yukon;url=" + pref + "rec-endor-full-bc" + lang );
	aI("text=Alberta/T.N.-O.;url=" + pref + "rec-endor-full-ab" + lang );
	aI("text=Sask./Manitoba;url=" + pref + "rec-endor-full-sk" + lang );
	aI("text=Ontario;url=" + pref + "rec-endor-full-on" + lang );
	aI("text=Québec;url=" + pref + "rec-endor-full-qu" + lang );
	aI("text=Nouveau-Brunswick;url=" + pref + "rec-endor-full-nb" + lang );
	aI("text=Terre-Neuver;url=" + pref + "rec-endor-full-nf" + lang );
	aI("text=Nouvelle-Écosse & Î.-P.-É.;url=" + pref + "rec-endor-full-ns" + lang );
	}
}
 
//if (thefile.substring(0,"comm".length) == "comm"  &  countChar(thefile, "-") == 2)	{
 //*----------------------------------------------
//* MEMBER SERVICES  MENU  
	pref = "mem-";   // Filename prefix
//*----------------------------------------------
if (thefile.substring(0,"mem-".length) == "mem-")	{
	with(milonic=new menuname("SideMenu")){	
  	style=sideMenuStyle;itemwidth=170;	alwaysvisible=1; orientation="vertical"; position="relative";
  	aI("text=<b>Services aux membres</b>;url=" + pref + "intro" + lang );
	aI("text=Comment faire une demande;url=" + pref + "howtoapply" + lang + "showmenu=member-apply2;" );
	aI("text=Exigences;url=" + pref + "requirements" + lang );
	aI("text=Avantages;url=" + pref + "benefits" + lang + "showmenu=member-benefits2;" );
	aI("text=FAQ;url=" + pref + "faq" + lang );
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;FAQ pour CTMs;url=" + pref + "faq-ctm" + lang );
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;FAQ pour CTCs;url=" + pref + "faq-ctc" + lang );	
	aI("text=Membres seulement;url=" + pref + "membersonly" + lang );
	}
}

with(milonic=new menuname("member-apply2")){
style=sideMenuStyle; openstyle="rtl";   
	aI("text=Formulaire de membre;url=https://secure.chargegateway.com/citc/membership-form" + lang + ";target=blank;" );
//	aI("text=Formulaire de demande;url=https://secure.chargegateway.com/citc/mem-reg-form" + lang + ";target=blank;" );	
} 

with(milonic=new menuname("member-benefits2")){
style=sideMenuStyle; openstyle="rtl";  
	aI("text=Membres à part entière;url=" + pref + "benefits-full" + lang );
	aI("text=Membres affiliés;url=" + pref + "benefits-affiliate" + lang );
	aI("text=Membres-étudiants;url=" + pref + "benefits-student" + lang );
	aI("text=Advertising;url=" + pref + "benefits-advert" + lang );
}	
	
if (thefile.substring(0,"mem-benefits".length) == "mem-benefits"  &  countChar(thefile, "-") == 2)	{
	with(milonic=new menuname("SideMenu")){	
  	style=sideMenuStyle; itemwidth=170;	alwaysvisible=1; orientation="vertical"; position="relative";
//	aI("text=<b>Member Services</b>;url=" + pref + "intro" + lang );
	aI("text=<b>Avantages</b>;url=" + pref + "benefits" + lang );
	aI("text=Membres à part entière;url=" + pref + "benefits-full" + lang );
	aI("text=Membres affiliés;url=" + pref + "benefits-affiliate" + lang );
	aI("text=Membres-étudiants;url=" + pref + "benefits-student" + lang );
	aI("text=Publicité;url=" + pref + "benefits-advert" + lang );
	}
}	

//* MEMBERS BENEFITS FULL
if (thefile.substring(0,"mem-benefits-full".length) == "mem-benefits-full")	{
	with(milonic=new menuname("SideMenu")){	
  	style=sideMenuStyle; itemwidth=170;	alwaysvisible=1; orientation="vertical"; position="relative";
	aI("text=<b>Avantages</b>;url=" + pref + "benefits" + lang );
	aI("text=<b>Membres à part entière</b>;url=" + pref + "benefits-full" + lang );
	aI("text=Promotions;url=" + pref + "benefits-full-promo" + lang );
	aI("text=Formation;url=" + pref + "benefits-full-edu" + lang );
	aI("text=Avantages généraux;url=" + pref + "benefits-full-gen" + lang );
	aI("text=Publications et événements;url=" + pref + "benefits-full-pub" + lang );
	}
}	
//* MEMBERS BENEFITS AFFILIATES
if (thefile.substring(0,"mem-benefits-aff".length) == "mem-benefits-aff")	{
	with(milonic=new menuname("SideMenu")){	
  	style=sideMenuStyle; itemwidth=170;	alwaysvisible=1; orientation="vertical"; position="relative";
	aI("text=<b>Avantages</b>;url=" + pref + "benefits" + lang );
	aI("text=<b>Membres affiliés</b>;url=" + pref + "benefits-affiliate" + lang );
	aI("text=Avantages;url=" + pref + "benefits-affiliate-ben" + lang );
	aI("text=Promotions;url=" + pref + "benefits-affiliate-promo" + lang );
	aI("text=Formation;url=" + pref + "benefits-affiliate-edu" + lang );
	aI("text=Publications et événements;url=" + pref + "benefits-affiliate-pub" + lang );
	}
}
//* MEMBERS BENEFITS STUDENTS	
if (thefile.substring(0,"mem-benefits-stud".length) == "mem-benefits-stud")	{
	with(milonic=new menuname("SideMenu")){	
  	style=sideMenuStyle; itemwidth=170;	alwaysvisible=1; orientation="vertical"; position="relative";
	aI("text=<b>Avantages</b>;url=" + pref + "benefits" + lang );
	aI("text=<b>Membres-étudiants</b>;url=" + pref + "benefits-student" + lang );
	aI("text=Formation;url=" + pref + "benefits-student-edu" + lang );
	aI("text=Publications et événements;url=" + pref + "benefits-student-pub" + lang );
	aI("text=Canadian Travel & Tourism Handbook;url=" + pref + "benefits-student-ctthandbook" + lang );
	}
}	
//* MEMBERS - MEMBERSONLY
if (thefile.substring(0,"mem-membersonly".length) == "mem-membersonly")	{
	with(milonic=new menuname("SideMenu")){	
  	style=sideMenuStyle; itemwidth=170;	alwaysvisible=1; orientation="vertical"; position="relative";
	aI("text=<b>Membres seulement</b>;url=" + pref + "membersonly" + lang );
	aI("text=Imprimer et apprendre;url=" + pref + "membersonly-printlearn" + lang );
	aI("text=Perfectionnement personnel;url=" + pref + "membersonly-pd" + lang );
	aI("text=Liens pratiques;url=" + pref + "membersonly-links" + lang );
	aI("text=Récompenses pour les membres;url=" + pref + "membersonly-rewards" + lang );
	}
}

//*----------------------------------------------
//* WHATSNEW MENU - OBSOLETE 2008-01-30
	pref = "whatsnew-";   // Filename prefix
//*----------------------------------------------
if (thefile.substring(0,"whatsnew".length) == "whatsnew")	{
	with(milonic=new menuname("SideMenu")){	
  	style=sideMenuStyle;itemwidth=170;	alwaysvisible=1; orientation="vertical"; position="relative";
  	aI("text=<b>Nouveautés</b>;url=" + pref + "intro" + lang );
	aI("text=Actualités;url=" + pref + "news" + lang );
	aI("text=Explorateurs mondiaux (Global Explorers) ;url=" + pref + "gec" + lang );
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;Horaire des rencontres ;url=" + pref + "gec-meeting" + lang );
	} 
}

//*----------------------------------------------
//*   EVENTS MENU 
	pref = "events-";   // Filename prefix
//*----------------------------------------------
if (thefile.substring(0,"events".length) == "events")	{
	with(milonic=new menuname("SideMenu")){	
  	style=sideMenuStyle;itemwidth=170;	alwaysvisible=1; orientation="vertical"; position="relative";
  	
	aI("text=<b>Événements</b>;url=" + pref + "intro" + lang ); 
	aI("text=Assemblée générale annuelle;url=" + pref + "agm" + lang );	
//	aI("text=Assemblée générale annuelle;url=" + "events-" + "agm" + "-f.asp" );   //** FRENCH

//* Use English Pages	
pref = "../en/events-";  	
lang = "-e.asp"; 	

	aI("text=Conférences;url=" + pref + "conferences" + lang  );
	
lang = "-e.asp";   //* Take off semi-colon for anchor links	
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;Western Canada Student<br>&nbsp;&nbsp;&nbsp;&nbsp;Conference;url=" + pref + "conferences" + lang + "#western" );
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;Atlantic Reach for the<br>&nbsp;&nbsp;&nbsp;&nbsp;World Conference;url=" + pref + "conferences" + lang + "#atlantic" );
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;National Educators Update;url=" + pref + "conferences" + lang + "#educators" );
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;Students-in-Travel<br>&nbsp;&nbsp;&nbsp;&nbsp;Conference & Trade Show<br>&nbsp;&nbsp;&nbsp;&nbsp;(Toronto);url=" + pref + "conferences" + lang + "#students" );	
lang = "-e.asp;";   //* put back semi-colon  	
 
	aI("text=Retraite exécutive des CTMs;url=" + pref + "ctm" + lang );
	aI("text=Voyages de familiarisation;url=" + pref + "agent" + lang );
	aI("text=Activités régionales;url=" + pref + "regional" + lang );
	aI("text=Salons de voyages;url=" + pref + "trade" + lang );
	aI("text=Tournois de golf;url=" + pref + "golf" + lang );
	aI("text=Global Explorers;url=" + pref + "global" + lang );
	aI("text=Calendrier;url=" + pref + "calendar" + lang );
	
pref = "events-";  	
lang = "-f.asp";	
	} 
}

//*----------------------------------------------
//* TRAVEL  MENU  
	pref = "travel-";   // Filename prefix
//*----------------------------------------------
if (thefile.substring(0,"travel".length) == "travel")	{
	with(milonic=new menuname("SideMenu")){	
  	style=sideMenuStyle;itemwidth=170;	alwaysvisible=1; orientation="vertical"; position="relative";
// 	aI("text=<b>Info-voyages</b>;url=" + pref + "intro" + lang );
  	aI("text=<b>Avis aux consommateurs</b>;url=" + pref + "intro" + lang );
	aI("text=Liens pratiques;url=" + pref + "links" + lang );
	aI("text=Plaintes relatives aux voyages;url=" + pref + "complaints" + lang );
	aI("text=Carrières;url=" + pref + "careers" + lang );
	aI("text=Fraudes relatives aux voyages;url=" + pref + "scams" + lang );
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;Les enfants-cartons;url=" + pref + "scams-cardboard" + lang );
	aI("text=Humour relatif aux voyages;url=" + pref + "humour" + lang );
	} 
}

//*----------------------------------------------
//* CONTACT US - SIDE MENU
	pref="contact-";
//*----------------------------------------------
if (thefile.substring(0,"contact".length) == "contact")	{
	with(milonic=new menuname("SideMenu")){	
  	style=sideMenuStyle;itemwidth=170;	alwaysvisible=1; orientation="vertical"; position="relative";

//	aI("text=Product Order Form;url=contact-order-form" + lang );
	var server = "https://secure.chargegateway.com/citc/";
 	aI("text=<center>FORMULAIRES EN LIGNE</center>;fontweight=bold;type=header;headerbgcolor=#F26E1E;");
 	aI("text=<b>Nous rejoindre</b>;url=contact-form" + lang ); 	
 	aI("text=<center>A C C R &Eacute; D I T A T I O N</center>;fontweight=bold;type=header;");	
 	aI("text=Inscription à l’accréditation comme conseiller(ère) en voyages;url=" + server + "train-advprog-form" + lang + "target=blank;"); 
	aI("text=Inscription au programme de niveau gestionnaire;url=" + server + "train-manprog-form" + lang + "target=blank;");
	aI("text=Inscription à l’examen d’admission;url=" + server + "train-entryexam-form" + lang + "target=blank;");  
//	aI("text=Inscription à l’examen de perfectionnement;url=" + server + "train-advexam-form" + lang + "target=blank;"); 
//	aI("text=<center>B C&nbsp;&nbsp;&nbsp;T R A I N I N G</center>;fontweight=bold;type=header;");	
//	aI("text=On-Campus Registration;url=" + server + "train-oncampus-form" + lang + "target=blank;");
//	aI("text=Off-Campus Registration;url=" + server + "train-offcampus-form" + lang + "target=blank;");   
	aI("text=<center>LIVRES ET SÉMINAIRES</center>;fontweight=bold;type=header;");
	aI("text=Bon de commande de publication;url=" + server + "puborder-form" + lang + "target=blank;"); 
	aI("text=Inscription aux télé-séminaires;url=" + server + "telesem-archive" + lang + "target=blank;");
	aI("text=Bon de commande des normes professionnelles / du programme d’enseignement;url=" + server + "train-curric-form" + lang + "target=blank;"); 
	aI("text=<center>ADHÉSION DE MEMBRE AU CITC</center>;fontweight=bold;type=header;");
	aI("text=Formulaire pour les nouveaux membres et les membres qui renouvèlent leur adhésion;url=" + server + "membership-form" + lang + "target=blank;"); 		
//	aI("text=Demande d’adhésion de membre;url=" + server + "mem-reg-form" + lang + "target=blank;"); 
//	aI("text=Renouvellement des frais annuels;url=" + server + "mem-renewal-form" + lang + "target=blank;");
	}
}	//* end if	
  
drawMenus();

//*----------------------------------------------
//* DIST LEARNING SPECIAL PRICING BOX
//*----------------------------------------------
if (thefile.substring(0,"train-ed-dist-intro".length) == "train-ed-dist-introx" ||
	thefile.substring(0,"train-ed-dist-lifestyle".length) == "train-ed-dist-lifestylex" ||
	thefile.substring(0,"train-ed-dist-destspec".length) == "train-ed-dist-destspecx")	{
	with(milonic=new menuname("SideMenu")){	
  	style=menuStyleALT;itemwidth=170;	alwaysvisible=1; orientation="vertical"; position="relative";	
	//* this spacer will put some vertical space between the Quick and Side menus/
	document.write ('<img src="../images/spacer.gif" width=4 height=5 border=0>');
	aI("text=<b>All Travel Institute Destination & Lifestyle</b> specialist courses are specially priced at<br>$69.00 + Shipping & GST.<br><br>CITC members<br>enjoy a 10% discount.<br><br><b>Sale ends<br>September 30, 2007.</b>;type=header;headercolor=#FFFFFF;headerbgcolor=#FF0000;align=center;");

	} 
}
drawMenus();

//*----------------------------------------------
//* TELE-SEMINARS REG INFO - New box
	pref = "train-";   // Filename prefix
//*----------------------------------------------
if (thefile.substring(0,"train-ed-tele".length) == "train-ed-tele")	{
	with(milonic=new menuname("SideMenu")){	
  	style=menuStyleALT;itemwidth=170;	alwaysvisible=1; orientation="vertical"; position="relative";	
	//* this spacer will put some vertical space between the Quick and Side menus/
	document.write ('<img src="../images/spacer.gif" width=4 height=5 border=0>');
	aI("text=<b>5 MOYENS DE S'INSCRIRE <br>aux télé-séminaires</b><br><i>Choisissez la méthode qui<br>vous convient le mieux.</i>;type=header;headerbgcolor=#FFD400;align=center;");
	aI("text=<b>1) En ligne</b> à<br>&nbsp;&nbsp;&nbsp;<u>www.citc.ca/teleseminars</u>;url=" + server + "telesem-form" + lang + "target=blank;");
	aI("text=<b>2) Courriel </b> <u>events@citc.ca</u>;url=mailto:events@citc.ca?subject=CITC - Tele-Seminar Registration;");
	aI("text=<b>3) Numéro sans frais </b><br>&nbsp;&nbsp;&nbsp;&nbsp;en Amérique du Nord<br>&nbsp;&nbsp;&nbsp;&nbsp;1-800-589-5776;type=header");
	aI("text=<b>4) Composez</b> notre numéro<br>&nbsp;&nbsp;&nbsp;&nbsp;local, 416-484-4450;type=header");	
	aI("text=<b>5) Envoyez-nous une<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;télécopie </b> au<br>&nbsp;&nbsp;&nbsp;&nbsp;416-484-4140;type=header");

	} 
}
drawMenus();

//*----------------------------------------------
//* TICO FAQ EMAIL
//*----------------------------------------------
if (thefile.substring(0,"train-tico-intro".length) == "train-tico-intro" ||
	thefile.substring(0,"train-tico-faq-keyissues".length) == "train-tico-faq-keyissues" ||
	thefile.substring(0,"train-tico-faq-involve".length) == "train-tico-faq-involve" ||
	thefile.substring(0,"train-tico-faq-schools".length) == "train-tico-faq-schools" ||
	thefile.substring(0,"train-tico-faq-course".length) == "train-tico-faq-course" ||
	thefile.substring(0,"train-tico-faq-exam".length) == "train-tico-faq-exam" ||
	thefile.substring(0,"train-tico-sampleexam".length) == "train-tico-sampleexam" ||
	thefile.substring(0,"train-tico-studymanual".length) == "train-tico-studymanual" )	{
	with(milonic=new menuname("SideMenu")){	
  	style=menuStyleALT;itemwidth=170;	alwaysvisible=1; orientation="vertical"; position="relative";	
	//* this spacer will put some vertical space between the Quick and Side menus/
	document.write ('<img src="../images/spacer.gif" width=4 height=5 border=0>');
	aI("text=<b>Contacter CITC sur le programme des normes d'éducation à <a href='mailto:ticotest@citc.ca'>ticotest@citc.ca</a></b>;type=header;headercolor=#FF0000;headerbgcolor=#F9EEB9;align=center;");

	} 
}

drawMenus();
