//*----------------------------------------------
//*  Update Log - PROD TICO FLAG VERSION
//*
//*  2006-01-19 - Natidr Locator cfm fix
//*  2006-02-28 - Add Cosmos log to side bar for Natidr Locator cfm page. pc.
//*  2006-04-10 - Add Events Sponsors link to Events page, AGM article
//*  2006-04-11 - Add Annual Awards to About us menu
//*  2006-04-20 - Remove quick likl to "List of certified CTCs and CTMs"
//*  2006-05-19 Change 2005 to 2006-Catalogue-e.pdf
//*  2006-08-02 - Change Training - Executive CTM Retreat Date to Nov 30 to Dec 1, 2006
//*  2006-08-28 - Remove Publication: Customer Service and Business Management pages.
//*  2006-09-15 - Add link for BC Trav Insurance Exam Cont Ed PDF
//*  2006-09-22 - Hong Kong Specialist  - Removed Oct 23
//*  2006-10-27 - Change link for mem-reg-form to new membership-form and remove renewal form
//*  2006-11-28 - Add ticomenu var and integrate TICO menus into production menus. var is in main.
//*  2006-11-28 - Add Coralie's Major Changes for CTC Certification
//*  2006-12-08 - Change title of secure membership form
//*  2006-12-12 - Add value 2 to ticomenu var to display only new TICO intro and FAQs
//*  2007-02-02 - Remove Kelowna from Quicklinks
//*  2007-02-12 - Add Endorsed full Quebec course. train-rec-endor-full-qu-e.asp
//*  2007-02-26 - Deactivated Cosmos logo from about-natdir-locator
//*  2007-05-11 - Add PS Quote Me logo/link to mem-benefits-full, affiliate student.
//*  2007-07-09 - Add BCI Insurance Group page
//*  2007-07-11 - Add TICO Proctors page
//*  2007-07-13 - Tweak train-citccert items.
//*  2007-08-28 - Distance Learning Special Pricing red box - sale ends sept 31, 2007
//*  2007-08-29 - General Skills added: train-ed-sem-genskills.asp
//*  2007-10-05 - Extend date from Sep 30 to Oct 30 for Dist Learning side ad
//*  2007-10-23 - Remove "Minimum" from new TICO stuff
//*  2007-10-30 - Add link to the Consular Affairs website on Directory page
//*  2007-11-02 - Destination & Lifestyle specialist courses that ended on October 30, 2007
//*  2007-11-12 - TICO2 FAQs - Added Contact email address ticotest@citc.ca 
//*  2008-01-02 - Add ani-arrows to TICO FAQs header
//*  2008-01-15 - Events Restructuring
//*  2008-02-01 - Add Calendar to Events
//*  2008-02-11 - Move TICO FAQs up the menu (Full TICO)
//*  2008-02-16 - Full TICO menu restructuring
//*  2008-03-04 - Split TICO Reg Procedures page into 4 pages.
//*  2008-03-10 - Add conference: Home-Based and Outside Sales Reps
//*  2008-03-11 - TICO Rename FAQ on Exams to FAQ on Exams, Proctors and Fees
//*  2008-03-24 - Rename Travel Info to Traveller Assistance
//*  2008-04-08 - Add "Join the Global Explorers Club" to Traveller section
//*  2008-06-04 - Ticoprep Changes - reorder, wording
//*  2008-06-20 - Add TakeOffEh logo
//*  2008-08-06 - List of Lists
//*  2008-08-06 - Podcasts
//*  2008-08-20 - Add Tico Prep Course - Exam Strategies Workshop
//*  2008-09-05 - Add GREEN in training section
//*  2008-10-28 - Add GREEN to Online Forms Menu
//*  2009-01-15 - Change Training/TICO Exam Prep Courses links
//*  2009-02-03 - Webinars in sidebar in 5 Ways to Register box
//*  2009-02-04 - Conferences - Delete Home Based and Outside Sales Reps & CTM Travel Trade Suppliers Retreat
//*  2009-02-06 - Webinar/Telesiminar and Archive forms
//*  2009-03-25 - CTM Retreat date from 2006 to 2009
//*  2009-07-31 - Add TICO Appeals Policy
//*  2009-08-07 - TICOPREP - remove seminar, train the trainer & exam strategies.
//*  2009-09-24 - 2006 Trainng Catalog removed from quick links
//*  2009-10-08 - Remove Secure Advanced Exam Form link
//*  2009-11-11 - Remove train-ticoprep-intro-e.asp
//*  2009-11-12 - Add Free Agency Checklist Download
//*  2010-02-17 - New CTM Retreat Date - May 12-14, 2010
//*  2010-02-19 - Quick Links On Campus change - Vancouver, Burnaby and Victoria  
//*  2010-05-17 - Remove train-ed-corp-e.asp
//*  2010-06-14 - Remove May executive retreat May 12-14, 2010
//*  2010-07-04 - TICO Proctor Form PENDING
//*  2010-07-05 - Remove On Campus pages
//*  2010-07-06 - Forms page: Rename Off Campus Registration to BC Exam Registration
//*  2010-07-06 - New BCI Proctor Venues page train-bci-proctors-venues-e.asp  
//*  2010-07-15 - Home Based Training
//*  2010-07-16 - Reorder Training Menu Alphabetic.
//*  2010-08-03 - TICO Proctor Form  - PROD
//*  2010-08-07 - BCI Proctor Form
//*  2010-09-20 - New BCInsuranceFAQ092010-e.pdf replaces FAQ030305-e.pdf
//*  2011-01-31 - Remove Take Off Eh add on travel intro page.
//*  2011-02-08 - Remove Insurance Box
//*  2011-02-14 - Exam Prep Box with animated target gif
//*  2011-02-15 - Put Education menu in main drop down.
//*  2011-03-03 - New Consular Affairs logo
//*  2011-03-04 - Replace takeoff icon with Westjet 
//*  2011-07-05 - Replace traverlcertifcation.com with PDF.
//*  2011-07-21 - Training Caledar PDF
//*  2011-08-12 - Rename Distance Learning to Specialize!
//*  2011-11-07 - Communiversity under Training
//*----------------------------------------------
	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 = "-e.asp;";
	lang2 = "-e.asp";  //* For use when linking to anchors eg xxxxx-e.php#blah
	langcfm = "-e.cfm;"   //* Language suffix for Cold Fusion Files
	pdficon = "image=../images/pdf-icon-red.gif;imageposition=baseline;imagepadding=2;";
	iconpdf = "image=../images/pdf-icon.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>Q U I C K&nbsp;&nbsp;L I N K S</center>;fontweight=bold;type=header;");
// 	aI("text=Google;url=http://www.google.com;target=blank;" );
	if (thefile.substring(0,"train-bci".length) == "train-bci")	{
		aI(pdficon + "text=Frequently Asked Questions about the BC Insurance Course and Exam;url=../download/BCInsuranceFAQ092010-e.pdf;target=blank;" );
//		aI(pdficon + "text=On-Campus Registration - Vancouver and Surrey;url=../download/oncampusreg-e.pdf;target=blank;" );	
//		aI(webicon + "text=On-Campus Registration - Vancouver, Burnaby and Victoria;url=https://secure.chargegateway.com/citc/train-oncampus-form-e.asp;target=blank;" );		  //* 2010-07-05 Removed
//		aI(pdficon + "text=Off-campus registration;url=../download/offcampusreg-e.pdf;target=blank;" );
		aI(webicon + "text=BC Exam registration;url=https://secure.chargegateway.com/citc/train-offcampus-form-e.asp;target=blank;" );
		aI(pdficon + "text=Sample Exam;url=../download/SampleExam-e.pdf;target=blank;" );
//		aI(webicon + "text=List of certified CTCs and CTMs;url=../../about-natdir-listall-e.cfm;target=blank;" );
	} 
	if (thefile.substring(0,"train-bci-proctors".length) == "train-bci-proctors")	{
	//	aI(webicon + "text=List of certified CTCs and CTMs;url=../../about-natdir-listall-e.cfm;target=blank;" );		
	}

//**** THIS CAN BE REMOVED WHEN TICO GOES LIVE 	
	if (thefile.substring(0,"train-stand-intro".length) == "train-stand-intro" )	{
		aI(pdficon + "text=Frequently Asked Questions regarding TICO Minimum Education Standards;url=../download/FAQTICO-e.pdf;target=blank;" );		
	}
	if (thefile.substring(0,"train-rec-endor-intro".length) == "train-rec-endor-intro" )	{
		aI(pdficon + "text=Travel Program Endorsement System;url=../download/2011-Travel-Program-Endorsement-System-e.pdf;target=blank;" );
		
//		aI(webicon + "text=Travel Program Endorsement System;url=http://www.travelcertification.com/endorse.html#endprocedures;target=blank;" );		
	}	
//	if (thefile.substring(0,"train-ed".length) == "train-ed" )	{
//		aI(pdficon + "text=2006 Catalogue of Training Products;url=../download/2006-Catalogue-e.pdf;target=blank;" );			
//	}	

	aI("text=Membership Form;url=https://secure.chargegateway.com/citc/membership-form" + lang + ";target=blank;" );	
//	aI("text=Membership Application;url=https://secure.chargegateway.com/citc/mem-reg-form" + lang + ";target=blank;" );		
//	aI("text=Renew your membership;url=" + "https://secure.chargegateway.com/citc/mem-renewal-form" + lang + ";target=blank;" );
	aI("text=Members Login;url=" + "mem-login" + lang );
//	aI("text=Top Certified Travel Professionals;url=../../about-natdir-listall-e.cfm;target=blank;");
	aI("text=Certified Travel Professional Locator;url=about-natdir-locator" + langcfm );
	}
	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>About CITC</b>;url=" + pref + "intro" + lang );
	aI("text=Vision & Values;url=" + pref + "vision" + lang + "showmenu=about-vision2;" );
//	aI("text=&nbsp;&nbsp;&nbsp;Code of Ethics;url=" + pref + "vision-ethics" + lang );
//	aI("text=&nbsp;&nbsp;&nbsp;Privacy;url=" + pref + "vision-privacy" + lang );
	aI("text=Our Members;url=" + pref + "ourmembers" + lang );
	aI("text=History;url=" + pref + "history" + lang );
	aI("text=Employment Opportunities;url=" + pref + "employment" + lang  + "showmenu=about-empl2;" );
	aI("text=Organization;url=" + pref + "organization" + lang + "showmenu=about-org2;" );
	aI("text=National Directory;url=" + pref + "natdir" + lang + "showmenu=about-locator2;" );
	aI("text=Partners;url=" + pref + "partners" + lang  + "showmenu=about-partners2;" );
	aI("text=Testimonials;url=" + pref + "testimonials" + lang );
	aI("text=Research;url=" + pref + "research" + lang );
//	aI("text=Conferences;url=" + pref + "conferences" + lang );
//	aI("text=Events;url=" + pref + "events" + lang + "showmenu=calendar2;" );
	aI("text=Annual Awards;url=" + pref + "awards" + lang );
	aI("text=CITC's Membership Newsletter - <i>The Buzz</i>;url=" + pref + "newsletter" + lang );
	}

	with(milonic=new menuname("about-vision2")){
	style=sideMenuStyle; openstyle="rtl"; itemwidth=100;
	aI("text=Code of Ethics;url=" + pref + "vision-ethics" + lang );
	aI("text=Privacy;url=" + pref + "vision-privacy" + lang );
	}

	with(milonic=new menuname("about-empl2")){
	style=sideMenuStyle; openstyle="rtl"; itemwidth=100;
 	aI("text=Post&nbsp;a&nbsp;resume;url=" + pref + "empl-postresume" + lang );
 	aI("text=Post a job;url=" + pref + "empl-postjob" + lang );
	}
 
	with(milonic=new menuname("about-org2")){
	style=sideMenuStyle; openstyle="rtl"; 
	aI("text=Regional Councils;url=" + pref + "org-councils" + lang );
	aI("text=CITC Staff;url=" + pref + "org-staff" + lang );
	} 
	
	with(milonic=new menuname("about-partners2")){
	style=sideMenuStyle; openstyle="rtl"; itemwidth=75;
	aI("text=Corporate;url=" + pref + "partners-corporate" + lang );
	aI("text=Loyalty;url=" + pref + "partners-loyalty" + lang );
	}
	
	with(milonic=new menuname("about-locator2")){
	style=sideMenuStyle; openstyle="rtl"; 
//	aI("text=Certified Travel Professional Locator;url=" + pref + "natdir-locator" + lang );
	aI("text=Certified Travel Professional Locator;url=" + pref + "natdir-locator" + langcfm );
	}
	
	with(milonic=new menuname("calendar2")){
	style=sideMenuStyle; openstyle="rtl";  xitemwidth=100;
	aI("text=Calendar;url=" + pref + "calendar" + lang );
	aI("text=Events Sponsors;url=" + pref + "events-e.asp#annual" );
	}	
	
}	//* 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>About CITC</b>;url=" + pref + "intro" + lang );
	aI("text=<b>Vision & Values</b>;url=" + pref + "vision" + lang  );
	aI("text=<b>Code of Ethics</b>;url=" + pref + "vision-ethics" + lang  );	
	aI("text=Consumer;url=" + pref + "vision-ethics-consumer" + lang );
	aI("text=Client;url=" + pref + "vision-ethics-client" + lang );
	aI("text=CITC members;url=" + pref + "vision-ethics-member" + lang );
	aI("text=Employer;url=" + pref + "vision-ethics-employer" + lang );	
	aI("text=Suppliers;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-sask".length) == "train-sask" ||
	thefile.substring(0,"train-home-based-training".length) == "train-home-based-training" ||
	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>Training</b>;url=" + pref + "intro" + lang );
  	aI(pdficon + "text=Training Calendar;url=../download/Training-Calendar-e.pdf;target=blank;" );
  	aI("text=Approved Industry Training;url=" + pref + "rec-intro" + lang  + "showmenu=train-approved;" );	
  	aI("text=BC Insurance Exam;url=" + pref + "bci-intro" + lang  + "showmenu=bci;" );	
		aI("text=CITC Certification;url=" + pref + "citccert" + lang + "showmenu=train-cert;" );	
		aI("text=Communiversity;url=" + pref + "communiversity" + lang );
//	aI("text=CITC Recommended;url=" + pref + "rec-intro" + lang  + "showmenu=train-rec;" );
		aI("text=Endorsed Travel Programs;url=" + pref + "rec-endor-intro" + lang + "showmenu=rec-endorsed;" );	
		
//	aI("text=Education;url=" + pref + "ed-intro" + lang + "showmenu=train-educ;" );
		aI("text=Home Based Training;url=" + pref + "home-based-training" + lang );
		aI("text=In-House Training;url=" + pref + "ed-inhouse" + lang );
		aI("text=Podcasts;url=" + pref + "ed-podcasts" + lang );   	
   	aI("text=Publications;url=" + pref + "ed-pub-intro" + lang + "showmenu=publications;");	   			
//  aI("text=<font color='#008000'>Green Travel Initiative</font>;url=" + pref + "green" + lang );		
		aI("text=Saskatchewan Insurance Exam;url=" + pref + "sask-intro" + lang );
		aI("text=Seminars on CD;url=" + pref + "ed-sem-intro" + lang + "showmenu=seminars-cd;");
		aI("text=Specialize!;url=" + pref + "ed-dist-intro" + lang  + "showmenu=distlearn;"); 	
 
 /*-------------------- 	
	aI("text=BC Insurance Exam;url=" + pref + "bci-intro" + lang  );	
	aI("text=CITC Certification;url=" + pref + "citccert" + lang );
	aI("text=&nbsp;&nbsp;&nbsp;Certified Travel<br>&nbsp;&nbsp;&nbsp;Counsellor (CTC);url=" + pref + "citccert-ctc" + lang  );
	aI("text=&nbsp;&nbsp;&nbsp;Certified Travel Manager<br>&nbsp;&nbsp;&nbsp;Manager (CTM);url=mem-faq-ctm" + lang  );
    aI("text=&nbsp;&nbsp;&nbsp;Occupational Standards;url=" + pref + "citccert-occstand" + lang  );		
// 	aI("text=CITC Recommended;url=" + pref + "rec-intro" + lang );

  	aI("text=Endorsed Travel Programs;url=" + pref + "rec-endor-intro" + lang + "showmenu=rec-endorsed;" );
  	aI("text=Approved Industry Training;url=" + pref + "rec-intro" + lang + "showmenu=train-approved;" );	
 			
	aI("text=Education;url=" + pref + "ed-intro" + lang );
// 	aI("text=<font color='#008000'>Green Travel Initiative</font>;url=" + pref + "green" + lang );
	aI("text=Home Based Training;url=" + pref + "home-based-training" + lang );	
	aI("text=Saskatchewan Insurance Exam;url=" + pref + "sask-intro" + lang );
 	----------------------*/
//***********************	
//**** TICO MENU CHECK	
//***********************
if (ticomenu == 1) {
	aI("text=TICO Education Standards;url=" + pref + "tico-intro" + lang );	
}
else if (ticomenu  == 2) {
	aI("text=TICO Education Standards;url=" + pref + "tico-intro" + lang );
}
else {
	aI("text=TICO Minimum Standards;url=" + pref + "stand-intro" + lang );
}	
	//* TICO Prep 2008-08-30 ... Removed 2009-11-11
//  aI("text=TICO Exam Prep Courses;url=" + pref + "ticoprep-intro" + lang);
	 
	aI("text=Travel Careers;url=" + pref + "careers" + lang );
    aI("text=Webinars;url=" + pref + "ed-tele-intro" + lang );
    aI("text=&nbsp;&nbsp;&nbsp;&nbsp;Current Courses;url=" + pref + "ed-tele-list" + lang );
//	aI("text=Executive CTM Retreat<br>May 12-14, 2010;url=events-ctm-e.asp#retreat" );	
//	aI("text=Executive CTM Retreats;url=" + htmldir + "events-ctm" + lang );
	}
}
//*---------------------------------
//* BC INSURANCE
//*---------------------------------
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/BCInsuranceFAQ092010-e.pdf;target=blank;");   //**** Change to -f for French
 // aI("text=On-Campus Exam Schedule;url=" + pref + "bci-oncampus" + lang );   //* 2010-07-05 Removed
 // aI("text=Off-Campus Exam Schedule;url=" + pref + "bci-offcampus" + lang );  //* 2010-07-06 Removed
    aI("text=Exam Registration;url=" + pref + "bci-reg" + lang + "showmenu=bcireg2;" );
    aI("text=Proctors;url=" + pref + "bci-proctors" + lang );
    aI("text=&nbsp;&nbsp;&nbsp;Proctored Venues;url=" + pref + "bci-proctors-venues" + lang );
    aI("text=&nbsp;&nbsp;&nbsp;Proctor Application Form;url=" + pref + "bci-proctors-form" + lang );  //* 2010-07-04
    aI(pdficon + "text=BCI Proctor Guidelines;url=../download/BCProctorGuidelines-e.pdf;target=blank;" );
    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 );
	aI(pdficon + "text=Continuing Education;url=../download/BCTI-Exam-Continuing-Education-Credits-e.pdf;target=blank;");  
	}
	
	with(milonic=new menuname("bcireg2")){
	style=sideMenuStyle; openstyle="rtl"; 
//	    aI("text=On-Campus Registration;url=" + pref + "bci-reg-oncampus" + lang );   //* 2010-07-05 Removed
		aI("text=Exam Registration Form;url=https://secure.chargegateway.com/citc/train-offcampus-form-e.asp;target=blank;" );
//	    aI("text=Group Registration;url=" + pref + "bci-reg-group" + lang );   //* 2010-07-06 Removed
	}
}

//*----------------------------------------------
//* TICO PREP COURSES  ANIMATED FLASHER  2011-02-14
//*----------------------------------------------
if (thefile.substring(0,"train-tico".length) == "train-tico")	{
	with(milonic=new menuname("SideMenu")){	
  	style=sideMenuStyle;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=8 border=0>');
	
	aI("text=<img src='../images/ani-target.gif' width=130 height=1 border=0><br><b>CITC Exam Prep Courses<br>are available, click here<br><img src='../images/ani-target.gif' width=130 height=1 border=0>;url=train-ticoprep-intro-e.asp;offcolor=#FF0000;oncolor=#FF0000;pagecolor=#FF0000;offbgcolor=#F9EEB9;onbgcolor=#F2F2F2;pagebgcolor=#F9EEB9;align=center;");
 
	} 
}

drawMenus(); 

//*---------------------------------
//* TICO Education Standards
//*---------------------------------  	
if (thefile.substring(0,"train-tico".length) == "train-tico")	{
	with(milonic=new menuname("SideMenu")){	
  	style=sideMenuStyle; itemwidth=170;	alwaysvisible=1; orientation="vertical"; position="relative";
  	
  	document.write ('<img src="../images/spacer.gif" width=4 height=8 border=0>');
  	
  	aI("text=<b>Training</b>;url=" + pref + "intro" + lang );  

  	
	if ( ticomenu == 1) {  	
	  	aI("text=<center>T I C O&nbsp;&nbsp;Q U I C K&nbsp;&nbsp;L I N K S</center>;fontweight=bold;type=header;");
	}  	

	
  	aI("text=<b>TICO Education Standards</b>;url=" + pref + "tico-intro" + lang );
  	if (ticomenu == 1) {
	  	aI("text=Overview of the Process;url=" + pref + "tico-overview" + lang );	  	
//* TICO FAQs		
//		aI("text=<img src='../images/ani-arrows.gif' width=29 height=9 border=0>&nbsp; TICO FAQs;type=header" );
		
				 	
	  	aI("text=<b>Registration Procedures</b>;url=" + pref + "tico-register-intro" + lang );
	  	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;New Individual Registration;url=" + pref + "tico-register-indiv" + lang );
	  	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;New Group Registration;url=" + pref + "tico-register-group" + lang );
	  	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Continue to Register or<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Register re-Write;url=" + pref + "tico-register-cont" + lang );
	  	
	  	aI("text=Study Manual;url=" + pref + "tico-studymanual" + lang );

		aI("text=<b>Exam</b>;url=" + pref + "tico-exam-intro" + lang );
		
	  	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Exam Preparation;url=" + pref + "tico-examprep" + lang );
	  	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writing the Exam;url=" + pref + "tico-exam" + lang );
	  	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Rescheduling / Cancellations;url=" + pref + "tico-resched" + lang );
	  	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Rewrites;url=" + pref + "tico-rewrites" + lang );
	  	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Appeals Policy;url=" + pref + "tico-appeals" + lang );
	  	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fees and Forms;url=" + pref + "tico-fees" + 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=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Proctor Application Form;url=" + pref + "tico-proctors-form" + lang );  //* 2010-07-04
			aI(pdficon + "text=TICO Proctor Guide;url=../download/TICO-Proctor-Guide-e.pdf;target=blank;" );
	  	
		aI("text=<b>TICO FAQs</b><img src='../images/ani-arrows.gif' width=29 height=9 border=0 hspace=7>;url=" + pref + "tico-faq-intro" + lang );	 
//		aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Study Manual;url=" + pref + "tico-studymanual" + lang )
	    aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Key issues;url=" + pref + "tico-faq-keyissues" + lang );
	    aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CITC Involvement;url=" + pref + "tico-faq-involve" + lang );
		aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Travel Schools;url=" + pref + "tico-faq-schools" + lang );
		aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Program Material;url=" + pref + "tico-faq-course" + lang );
		aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The Exam, Proctors and Fees;url=" + pref + "tico-faq-exam" + lang );
//*----------------------------
//* TICO PREP 2008-08-30	
//*----------------------------
//	aI("text=<center>T I C O&nbsp;&nbsp;E X A M&nbsp;&nbsp;P R E P</center>;fontweight=bold;type=header;");    // REMOVE 2009-11-11
//	aI("text=TICO Exam Prep Courses;url=" + pref + "ticoprep-intro" + lang );	// REMOVE 2009-11-11

// 	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prep Courses  - Ontario;url=" + pref + "ticoprep-courses" + lang  );
// 	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prep Courses - Toronto;url=" + pref + "ticoprep-toronto" + lang  );
 	//*  2009-01-15 
//   	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prep Courses  - Seminars;url=" + pref + "ticoprep-intro" + lang2  + "#prov" ); 
//   	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prep Courses - Webinars;url=" + pref + "ticoprep-intro" + lang2   + "#Toronto" );
//   	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prep Courses - Webinars;url=" + pref + "ticoprep-intro" + lang );
  
//  	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Train the Trainer Program;url=" + pref + "ticoprep-trainer" + lang  );
//  	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Exam Strategies Workshop;url=" + pref + "ticoprep-intro" + lang2 +  "#strategies" );
 	  	
	}
	//* 2 - Display FAQ Header
	if (ticomenu == 2) aI("text=<img src='../images/ani-arrows.gif' width=29 height=9 border=0>&nbsp; TICO FAQs;type=header" );
	if ( ticomenu == 2) {
		aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Study Manual;url=" + pref + "tico-studymanual" + lang )
	    aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Key issues;url=" + pref + "tico-faq-keyissues" + lang );
	    aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CITC Involvement;url=" + pref + "tico-faq-involve" + lang );
		aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Travel Schools;url=" + pref + "tico-faq-schools" + lang );
		aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Program Material;url=" + pref + "tico-faq-course" + lang );
		aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The Exam;url=" + pref + "tico-faq-exam" + lang );	
	}
  } //* with milonic
} //* if thefile = train-tico
//*---------------------------------
//* 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>Training</b>;url=" + pref + "intro" + lang );
  	aI("text=<b>TICO Minimum Standards</b>;url=" + pref + "stand-intro" + lang );
    aI("text=<b>F A Q s</b>;type=header" );
    aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Key issues;url=" + pref + "stand-keyissues" + lang );
    aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CITC Involvement;url=" + pref + "stand-involve" + lang );
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Travel Schools;url=" + pref + "stand-schools" + lang );
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Course Material;url=" + pref + "stand-course" + lang );
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The Exam;url=" + pref + "stand-exam" + lang );	
	}
} 
//* 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>Training</b>;url=" + pref + "intro" + lang );
//  	aI("text=<b>Education</b>;url=" + pref + "ed-intro" + lang );
  	aI("text=In-House Training;url=" + pref + "ed-inhouse" + lang );
  	aI("text=Podcasts;url=" + pref + "ed-podcasts" + lang );
  	aI("text=Publications;url=" + pref + "ed-pub-intro" + lang );
  	aI("text=Seminars on CD;url=" + pref + "ed-sem-intro" + lang );
   	aI("text=Specialize!;url=" + pref + "ed-dist-intro" + lang );   	
   	aI("text=Webinars/Teleseminars;url=" + pref + "ed-tele-intro" + 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>Training</b>;url=" + pref + "intro" + lang );
//  	aI("text=<b>Education</b>;url=" + pref + "ed-intro" + lang );
   	aI("text=<b>Seminars on CD</b>;url=" + pref + "ed-sem-intro" + lang );
	aI("text=Sales;url=" + pref + "ed-sem-sales" + lang );	
	aI("text=Marketing & Customer Service;url=" + pref + "ed-sem-mark" + lang );	
	aI("text=Time Management;url=" + pref + "ed-sem-time" + lang );	
	aI("text=Management Skills;url=" + pref + "ed-sem-manskills" + lang );
	aI("text=General Skills;url=" + pref + "ed-sem-genskills" + lang );
	aI("text=Corporate Agency Training;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>Training</b>;url=" + pref + "intro" + lang );
//  	aI("text=<b>Education</b>;url=" + pref + "ed-intro" + lang );
   	aI("text=<b>Specialize!</b>;url=" + pref + "ed-dist-intro" + lang );
   	aI("text=Destination Specialist;url=" + pref + "ed-dist-destspec" + lang );
//	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;Hong Kong Specialist;url=" + pref + "ed-dist-hkspec" + lang );   	
   	aI("text=Lifestyle Specialist;url=" + pref + "ed-dist-lifestyle" + lang );		
	aI("text=Skills;url=" + pref + "ed-dist-skills" + lang );
	aI("text=Travel Planning;url=" + pref + "ed-dist-travplan" + lang );
	aI("text=Travel Institute Programs;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>Training</b>;url=" + pref + "intro" + lang );
//  	aI("text=<b>Education</b>;url=" + pref + "ed-intro" + lang );
   	aI("text=<b>Publications</b>;url=" + pref + "ed-pub-intro" + lang );
//	aI("text=Customer Service;url=" + pref + "ed-pub-custserv" + lang );  // rem 2006-08-28	
//	aI("text=Business Management;url=" + pref + "ed-pub-business" + lang );  // rem 2006-08-28
	aI("text=General Subjects;url=" + pref + "ed-pub-general" + lang );
	aI("text=Exam Prep;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>Training</b>;url=" + pref + "intro" + lang );
//  	aI("text=<b>Education</b>;url=" + pref + "ed-intro" + lang );
   	aI("text=<b>Webinars/Teleseminars</b>;url=" + pref + "ed-tele-intro" + lang );
   	aI("text=&nbsp;&nbsp; &nbsp; &nbsp;Current Courses;url=" + pref + "ed-tele-list" + lang );
//	aI("text=Sales Skills;url=" + pref + "ed-tele-sales" + lang );	
//	aI("text=Prospecting;url=" + pref + "ed-tele-prospect" + lang );
//	aI("text=Customer Service;url=" + pref + "ed-tele-custserv" + lang );
//	aI("text=Destinations;url=" + pref + "ed-tele-dest" + 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>Training</b>;url=" + pref + "intro" + lang );

	aI("text=<b>Endorsed Travel Programs</b>;url=" + pref + "rec-endor-intro" + lang + "xshowmenu=rec-endorsed;" );	
	 	
  	aI("text=&nbsp;&nbsp;&nbsp;Make a Choice;url=" + pref + "rec-endor-choice" + lang );
  	aI("text=&nbsp;&nbsp;&nbsp;Distance Learning;url=" + pref + "rec-endor-dist" + lang );
  	aI("text=&nbsp;&nbsp;&nbsp;Full-Time Programs;url=" + pref + "rec-endor-full-intro" + lang + "showmenu=rec-full;" );	
	aI("text=&nbsp;&nbsp;&nbsp;Graduate Benefits;url=" + pref + "rec-endor-benefits" + lang );
	aI("text=&nbsp;&nbsp;&nbsp;After Graduation;url=" + pref + "rec-endor-grad" + lang );	
	
  	aI("text=<b>Approved Industry Training</b>;url=" + pref + "rec-intro" + lang );
   	aI("text=&nbsp;&nbsp;&nbsp;Approved Training;url=" + pref + "rec-appr-intro" + lang );
   	aI("text=<img src='../images/spacer.gif' border=0 width=14 height=1>List of Providers <img src='../images/pdf-icon-red.gif' border=0>;url=../download/PQE_Approved-Courses-e.pdf;target=blank;" );
   	aI("text=&nbsp;&nbsp;&nbsp;Provider Benefits;url=" + pref + "rec-provider" + 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>Training</b>;url=" + pref + "intro" + lang );
  	aI("text=<b>Endorsed Travel Programs</b>;url=" + pref + "rec-endor-intro" + lang );
  	aI("text=<b>Approved Industry Training</b>;url=" + pref + "rec-intro" + lang );
	
	aI("text=<b>Full-Time Programs</b>;url=" + pref + "rec-endor-full-intro" + lang );	
	aI("text=B.C./Yukon;url=" + pref + "rec-endor-full-bc" + lang );
	aI("text=Alberta/N.W.T;url=" + pref + "rec-endor-full-ab" + lang );
	aI("text=Sask/Man;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=New Brunswick;url=" + pref + "rec-endor-full-nb" + lang );
	aI("text=Newfoundland;url=" + pref + "rec-endor-full-nf" + lang );
	aI("text=Nova Scotia & PEI;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>Member Services</b>;url=" + pref + "intro" + lang );
	aI("text=How to Apply;url=" + pref + "howtoapply" + lang + "showmenu=member-apply2;" );
	aI("text=Requirements;url=" + pref + "requirements" + lang );
	aI("text=Benefits;url=" + pref + "benefits" + lang + "showmenu=member-benefits2;" );
	
	aI("text=FAQ Introduction;url=" + pref + "faq" + lang );
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;FAQ for CTMs;url=" + pref + "faq-ctm" + lang );
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;FAQ for CTCs;url=" + pref + "faq-ctc" + lang );
//	aI("text=FAQ (OLD to be deleted);url=" + pref + "faq-OLD" + lang );
	
	aI("text=Members Only;url=" + pref + "membersonly" + lang );
	}
}
with(milonic=new menuname("member-apply2")){
style=sideMenuStyle; openstyle="rtl";   
	aI("text=Membership Form;url=https://secure.chargegateway.com/citc/membership-form" + lang + ";target=blank;" );
//	aI("text=Membership Application;url=https://secure.chargegateway.com/citc/mem-reg-form" + lang + ";target=blank;" )	
} 

with(milonic=new menuname("member-benefits2")){
style=sideMenuStyle; openstyle="rtl";  
	aI("text=Full Members;url=" + pref + "benefits-full" + lang );
	aI("text=Affiliate Members;url=" + pref + "benefits-affiliate" + lang );
	aI("text=Student Members;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>Benefits</b>;url=" + pref + "benefits" + lang );
	aI("text=Full Members;url=" + pref + "benefits-full" + lang );
	aI("text=Affiliate Members;url=" + pref + "benefits-affiliate" + lang );
	aI("text=Student Members;url=" + pref + "benefits-student" + lang );
	aI("text=Advertising;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>Benefits</b>;url=" + pref + "benefits" + lang );
	aI("text=<b>Full Members</b>;url=" + pref + "benefits-full" + lang );
	aI("text=Promotions;url=" + pref + "benefits-full-promo" + lang );
	aI("text=Education;url=" + pref + "benefits-full-edu" + lang );
	aI("text=General Benefits;url=" + pref + "benefits-full-gen" + lang );
	aI("text=Publications & Events;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>Benefits</b>;url=" + pref + "benefits" + lang );
	aI("text=<b>Affiliate Members</b>;url=" + pref + "benefits-affiliate" + lang );
	aI("text=Benefits;url=" + pref + "benefits-affiliate-ben" + lang );
	aI("text=Promotions;url=" + pref + "benefits-affiliate-promo" + lang );
	aI("text=Education;url=" + pref + "benefits-affiliate-edu" + lang );
	aI("text=Publications & Events;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>Benefits</b>;url=" + pref + "benefits" + lang );
	aI("text=<b>Student Members</b>;url=" + pref + "benefits-student" + lang );
	aI("text=Education;url=" + pref + "benefits-student-edu" + lang );
	aI("text=Publications & Events;url=" + pref + "benefits-student-pub" + 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>Members Only</b>;url=" + pref + "membersonly" + lang );
	aI("text=Print & Learn;url=" + pref + "membersonly-printlearn" + lang );
	aI("text=Professional Development;url=" + pref + "membersonly-pd" + lang );
	aI("text=Handy Links;url=" + pref + "membersonly-links" + lang );
	aI("text=Membership Rewards;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>What's New</b>;url=" + pref + "intro" + lang );
	aI("text=News;url=" + pref + "news" + lang );
	aI("text=&nbsp;&nbsp;&nbsp;<i>Publication:</i> Professional<br>&nbsp;&nbsp;&nbsp;Travel Counselling, 5th Ed.;url=" + pref + "news-protravel" + lang );
	aI("text=Global Explorers;url=" + pref + "gec" + lang );
	aI("text=&nbsp;&nbsp;&nbsp;Meeting Schedule;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>Events</b>;url=" + pref + "intro" + lang );
		aI("text=Annual General Meeting;url=" + pref + "agm" + lang );
//*-----------
//* CONFERENCES
//*-----------
		aI("text=Conferences;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;Home-Based and Outside<br>&nbsp;&nbsp;&nbsp;&nbsp;Sales Reps;url=" + pref + "conferences" + lang + "#hba" );
	
		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  
//*-------------
//* CTM RETREATS
//*-------------	
		aI("text=CTM Retreats;url=" + pref + "ctm" + lang );	 
	 lang = "-e.asp";   //* Take off semi-colon for anchor links	
	 
//		aI("text=&nbsp;&nbsp;&nbsp;&nbsp;Travel Trade Suppliers<br>&nbsp;&nbsp;&nbsp;&nbsp;Retreat;url=" + pref + "ctm" + lang + "#SUPPLIERS" );
	
		aI("text=&nbsp;&nbsp;&nbsp;&nbsp;Executive CTM Retreat;url=" + pref + "ctm" + lang + "#retreat" );	
	 lang = "-e.asp;";   //* put back semi-colon  	
	 	 
		aI("text=Agent Fams;url=" + pref + "agent" + lang );
		aI("text=Regional Activities;url=" + pref + "regional" + lang );
		aI("text=Trade Shows;url=" + pref + "trade" + lang );
		aI("text=Golf Tournaments;url=" + pref + "golf" + lang );
		aI("text=Global Explorers Club;url=" + pref + "global" + lang );
		aI("text=Calendar;url=" + pref + "calendar" + lang );		
	} 
}
 
//*----------------------------------------------
//* 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>Traveller Assistance</b>;url=" + pref + "intro" + lang );
   	aI("text=40th Anniversary List of Lists;url=" + pref + "lists" + lang );  	
	aI("text=Helpful Links;url=" + pref + "links" + lang );
	aI("text=Provincial Travel Info;url=" + pref + "provinfo" + lang );
 	aI("text=Careers;url=" + pref + "careers" + lang );
	aI("text=Travel Scams;url=" + pref + "scams" + lang );
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;Cardboard Children of Rome;url=" + pref + "scams-cardboard" + lang );
	aI("text=Travel Humour;url=" + pref + "humour" + lang );	
	aI("text=Free Traveller's Handbook;url=" + pref + "intro-e.asp#download" );
	aI("text=Join the Global Explorers Club;url=" + pref + "intro-e.asp#global" );
	
	} 
}

//*----------------------------------------------
//* 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>O N L I N E&nbsp;&nbsp;&nbsp;F O R M S</center>;fontweight=bold;type=header;headerbgcolor=#F26E1E;");	
	aI("text=<b>Contact Us</b>;url=contact-form" + lang ); 
 	aI("text=<center>C E R T I F I C A T I O N</center>;fontweight=bold;type=header;");	
 	aI("text=Travel Counsellor Certification Enrollment;url=" + server + "train-advprog-form" + lang + "target=blank;"); 
	aI("text=Management Level Program Registration;url=" + server + "train-manprog-form" + lang + "target=blank;");
	aI("text=Entry or Knowledge Exam Registration;url=" + server + "train-entryexam-form" + lang + "target=blank;");  
//	aI("text=Advanced Exam Registration;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;");   //* 2010-07-05 Removed
	aI("text=Exam Registration;url=" + server + "train-offcampus-form" + lang + "target=blank;");   
	aI("text=<center>B O O K S&nbsp;&nbsp&&nbsp;&nbsp;S E M I N A R S</center>;fontweight=bold;type=header;");
	aI("text=Publication Order Form;url=" + server + "puborder-form" + lang + "target=blank;"); 
	
	aI("text=Webinar/Teleseminar Registration;url=" + server + "telesem-form" + lang + "target=blank;");
	aI("text=CITC Seminar Archives;url=" + server + "telesem-archives" + lang + "target=blank;");
	
	aI("text=Curriculum / Occupational Standards Order Form;url=" + server + "train-curric-form" + lang + "target=blank;"); 
	aI("text=<center>C I T C&nbsp;&nbsp;M E M B E R S H I P</center>;fontweight=bold;type=header;");
	aI("text=Membership Form for New Members and Members who are Renewing;url=" + server + "membership-form" + lang + "target=blank;");	
	aI("text=<center>G R E E N&nbsp;&nbsp;&nbsp;&nbsp;P R O G R A M</center>;fontweight=bold;type=header;headerbgcolor=#669966;");
	aI("text=Green Travel Professionals Program;url=" + server + "green-form" + lang + "target=blank;");			
//	aI("text=Membership Application;url=" + server + "mem-reg-form" + lang + "target=blank;"); 
//	aI("text=Annual Fee Renewal;url=" + server + "mem-renewal-form" + lang + "target=blank;");
	}
}	//* end if	
  
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 WAYS TO REGISTER<br>for Webinars<br>and Teleseminars</b><br><i>Choose the procedure<br>that is best for you.</i>;type=header;headerbgcolor=#FFD400;align=center;");
	
//	aI("text=<b>1) Online</b> at<br>&nbsp;&nbsp;&nbsp;<u>www.citc.ca/teleseminars</u>;url=" + server + "telesem-form" + lang + "target=blank;");

	aI("text=<b>1) Online</b> at<br>&nbsp;&nbsp;&nbsp;<u>www.citc.ca/webinars</u>;url=" + server + "telesem-form" + lang + "target=blank;");	
	
	aI("text=<b>2) Email</b> <u>events@citc.ca</u>;url=mailto:events@citc.ca?subject=CITC - Tele-Seminar Registration;");
	
	aI("text=<b>3) Toll-Free Number</b><br>&nbsp;&nbsp;&nbsp;in North America<br>&nbsp;&nbsp;&nbsp;1-800-589-5776;type=header");
	
	aI("text=<b>4) Call</b> our local number<br>&nbsp;&nbsp;&nbsp;416-484-4450;type=header");	
	
	aI("text=<b>5) Fax</b> us at 416-484-4140;type=header");

	} 
}
drawMenus();

//*----------------------------------------------
//* DIST LEARNING SPECIAL PRICING BOX  - REMOVED 2007-11-02
//*----------------------------------------------
if (thefile.substring(0,"train-ed-dist-intro".length) == "train-ed-dist-introXXX" ||
	thefile.substring(0,"train-ed-dist-lifestyle".length) == "train-ed-dist-lifestyleXXX" ||
	thefile.substring(0,"train-ed-dist-destspec".length) == "train-ed-dist-destspecXXX")	{
	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><b>CITC members<br>enjoy a 10% discount</b>.<br><br><b>Sale ends<br>October 30, 2007.</b>;type=header;headercolor=#FF0000;headerbgcolor=#F9EEB9;align=center;");

	} 
}
drawMenus();

//*----------------------------------------------
//* //* Deactivated 2011-02-08
//*----------------------------------------------
if (thefile.substring(0,"mem-benefits-full".length) == "mem-benefits-fullXXX" ||
	thefile.substring(0,"mem-benefits-affiliate".length) == "mem-benefits-affiliateXXX" ||
	thefile.substring(0,"mem-benefits-student".length) == "mem-benefits-studentXXX" )	{
	with(milonic=new menuname("SideMenu")){	
  	style=menuStyleALT;itemwidth=170;	alwaysvisible=1; orientation="vertical"; position="relative";	
	//* this spacer will put some vertical space between above side menus/	
	document.write ('<img src="../images/spacer.gif" width=4 height=20 border=0><p>');
	document.write ('<font color="#FF0000"><b>CITC MEMBERS</b></font><br>Click on the logo below to receive a quote on your home and auto insurance from<br>Pottruff and Smith Insurance.<br><i>A special CITC rate appliles</i><br>');
	document.write ('<a href="http://www.psquoteme.com/citc/index1.html" target="_blank" class="img"><img src="../images/logo-citc-ps-quote-me.gif" alt="Click here to receive a quote" width="135" height="88" hspace="13" vspace="12" border="0"></a>');	
	} 
}

//*----------------------------------------------
//* National Dir Locator Page - Disaplay Cosmos Logo
//* Deactivated 2007-02-26
//*----------------------------------------------
if (thefile.substring(0,"about-natdir-locatorxxx".length) == "about-natdir-locator")	{
	with(milonic=new menuname("SideMenu")){	
  	style=menuStyleALT;itemwidth=170;	alwaysvisible=1; orientation="vertical"; position="relative";	
	//* this spacer will put some vertical space between above side menus/	
	document.write ('<img src="../images/spacer.gif" width=4 height=40 border=0><p>');
	document.write ('<b>The Certified Travel<br>Counsellor Locator<br>is sponsored by</b><br>');
	document.write ('<a href="http://www.cosmosvacations.ca" target="_blank" class="img"><img src="../images/logo-cosmos-trans.gif" alt="Cosmos - Click logo to visit website	" width="156" height="34" hspace="13" vspace="12" border="0"></a>');	
	} 
}

//*----------------------------------------------
//* National Dir Locator Page - Display link to the Consular Affairs website 
//*  
//*----------------------------------------------
if (thefile.substring(0,"about-natdir-locator".length) == "about-natdir-locator")	{
	with(milonic=new menuname("SideMenu")){	
  	style=menuStyleALT;itemwidth=170;	alwaysvisible=1; orientation="vertical"; position="relative";	
	//* this spacer will put some vertical space between above side menus/	
	document.write ('<img src="../images/spacer.gif" width=4 height=20 border=0><p>');
	document.write ('<b>Country-by-country travel information is available from Canadian Consular Services</b><br>');
	document.write ('<a href="http://www.travel.gc.ca" target="_blank">www.travel.gc.ca</a><br>');
	document.write ('<a href="http://www.travel.gc.ca" target="_blank" class="img"><img src="../images/logo-voyage-gc-ca-2011.gif" alt="Canadian Consular Services - Click logo to visit website" width="155" height="63" hspace="13" vspace="12" border="0"></a>');	
	} 
}
drawMenus();
//*----------------------------------------------
//* National Dir Locator Page
//*   - Takeoffeh logo
//*----------------------------------------------
if (thefile.substring(0,"about-natdir-locator".length) == "about-natdir-locator" ||
	thefile.substring(0,"travel-intro".length) == "travel-introXXXXX")	{
	with(milonic=new menuname("SideMenu")){	
  	style=menuStyleALT;itemwidth=170;	alwaysvisible=1; orientation="vertical"; position="relative";	
	//* this spacer will put some vertical space between above side menus/	
	document.write ('<br><img src="../images/spacer.gif" width=4 height=5 border=0><br>');
 
	document.write ('<b>WestJet is Canada\'s leading<br>high-value, low-cost airline</b><br>');
//	document.write ('<b>WestJet is Canada\'s <br>leading high-value,<br>low-cost airline.</b><br>');
	document.write ('<a href="http://www.westjet.com" target="_blank">www.westjet.com</a><br>');
		
	document.write ('<a href="http://www.westjet.com" target="_blank" class="img"><img src="../images/logo-westjet-boxed.gif" alt="Take Off Eh.com" width="171" height="55" hspace="13" vspace="2" border="0"></a><br>');

//	document.write ('<a href="http://www.TakeOffEh.com" target="_blank">Take Off Eh.com</a><br>');
//	document.write ('<b>Trips, Tips & Trends<br>From The Experts.<br>It\'s a whole new take on travel.</b><br>');
		
//	document.write ('<a href="http://www.TakeOffEh.com" target="_blank" class="img"><img src="../images/logo-takeoffeh.gif" alt="Take Off Eh.com" width="171" height="55" hspace="13" vspace="2" border="0"></a><br>');
	
	} 
}
 
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" ||
	thefile.substring(0,"train-tico".length) == "train-tico")	{
	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>Contact CITC about TICO's Education Standards process at <a href='mailto:ticotest@citc.ca'>ticotest@citc.ca</a></b>;type=header;headercolor=#FF0000;headerbgcolor=#F9EEB9;align=center;");
 
	} 
}

drawMenus();

//*----------------------------------------------
//* TICO PREP COURSES  REMOVED 2009-11-11
//*----------------------------------------------
if (thefile.substring(0,"train-tico".length) == "train-ticoxxxx")	{
	with(milonic=new menuname("SideMenu")){	
  	style=sideMenuStyle;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=<img src='../images/ani-target.gif' width=30 height=13 border=0><b>CITC Exam Prep Courses<br>are available, click here;url=train-ticoprep-intro-e.asp;offcolor=#FF0000;oncolor=#FF0000;pagecolor=#FF0000;offbgcolor=#F9EEB9;onbgcolor=#F2F2F2;pagebgcolor=#F9EEB9;align=center;");
	} 
}

drawMenus();  

//*----------------------------------------------
//* ADOBE PDF Info in sidebar for Lists of Lists
//*----------------------------------------------
//* this spacer will put some vertical space between the Quick and Side menus/
document.write ('<img src="../images/spacer.gif" width=4 height=15 border=0>');

 if (thefile.substring(0,"travel-lists".length) == "travel-lists")	{
	with(milonic=new menuname("SideMenu")){	
  	style=menuStylePOPUP;itemwidth=150;	alwaysvisible=1; orientation="vertical"; position="relative";
  	
  	aI(pdficon + "text=&nbsp;&nbsp;About PDF files;fontweight=bold;type=header;headerbgcolor=#FFD400");
  	aI("text= Adobe Reader is required to view the PDF files found<br>on this site. <b><br><center>More&nbsp;info...</center></b>;align=center;offbgcolor=#E8EFF5;showmenu=pdfhelpmenu;" ); 	
	}	
 }	//* end if
 
 drawMenus();
