/* TO ADD A LINK

1. Find where the link will be placed, and then duplicate the code for the link directly above it. 

stm_aix("p1i1","p1i0",[0,"  DoorWays  ","","",-1,-1,0,"/AcademicUpgrading/DoorWays.asp"]);
stm_aix("p1i1","p1i0",[0,"  DoorWays  ","","",-1,-1,0,"/AcademicUpgrading/DoorWays.asp"]); <-- duplicate line
stm_aix("p1i2","p1i0",[0,"  ESL / LINC","","",-1,-1,0,"/AcademicUpgrading/ESL_LINC.asp"]);

2. Update the link title.

stm_aix("p1i1","p1i0",[0,"  DoorWays  ","","",-1,-1,0,"/AcademicUpgrading/DoorWays.asp"]);
stm_aix("p1i1","p1i0",[0,"  NEW LINK  ","","",-1,-1,0,"/AcademicUpgrading/DoorWays.asp"]); <-- duplicate line
stm_aix("p1i2","p1i0",[0,"  ESL / LINC","","",-1,-1,0,"/AcademicUpgrading/ESL_LINC.asp"]);

3. Update the link address.

stm_aix("p1i1","p1i0",[0,"  DoorWays  ","","",-1,-1,0,"/AcademicUpgrading/DoorWays.asp"]);
stm_aix("p1i1","p1i0",[0,"  NEW LINK  ","","",-1,-1,0,"/AcademicUpgrading/NEWLINKPAGE.asp"]); <-- duplicate line
stm_aix("p1i2","p1i0",[0,"  ESL / LINC","","",-1,-1,0,"/AcademicUpgrading/ESL_LINC.asp"]);

4. Update the number sequence. Note that all lines below the new link in the menu will need to be updated as well.

stm_aix("p1i1","p1i0",[0,"  DoorWays  ","","",-1,-1,0,"/AcademicUpgrading/DoorWays.asp"]);
stm_aix("p1i2","p1i0",[0,"  NEW LINK  ","","",-1,-1,0,"/AcademicUpgrading/NEWLINKPAGE.asp"]); <-- duplicate line
stm_aix("p1i3","p1i0",[0,"  ESL / LINC","","",-1,-1,0,"/AcademicUpgrading/ESL_LINC.asp"]); <-- changes from p1i2 to p1i3

TO ADD A SUBMENU

1. Add the following code before final square brack to the link that will lead to the new submenu:
,"_self","","","","",0,0,0,"menu_bullet_off.gif","menu_bullet_over.gif",10,9

	This line will add the arrows to signify a submenu. So,
	stm_aix("p3i1","p1i0",[0,"  Programs  ","","",-1,-1,0,"/CorporateServices/CorporateTrainingOverview.asp"]);
	becomes
	stm_aix("p3i1","p1i0",[0,"  Programs  ","","",-1,-1,0,"/CorporateServices/CorporateTrainingOverview.asp","_self","","","","",0,0,0,"menu_bullet_off.gif","menu_bullet_over.gif",10,9]);

2. Add the following line below the line you just edited:
stm_bpx("p10","p1",[1,2,-50,0,0,3,0,10]);

	The "p10" will need to updated to use the next number in sequence. So, next time use p11, then p12 after that, etc. You will have to look through the file to find the last number used.

3. Add your first link with the following code, replacing XXXX with the sequence number chosen in step 2, and YYYY with the name of the new link:
stm_aix("pXXXXi0","p1i0",[0,"  YYYYY  ","","",-1,-1,0,"/CorporateServices/CorporateTrainingOverview.asp"]);

	For example, if you are using p10 and the link is to be called "Special Events", your code would read as follows:
	stm_aix("p10i0","p1i0",[0,"  Special Events  ","","",-1,-1,0,"/CorporateServices/CorporateTrainingOverview.asp"]);

4. Add new lines as needed for each of the links in the submenu. Be sure to update the number sequence as required (see To Add a Link: Step 4 for more details).

5. Add the following code to end the submenu:
stm_ep();

*/

stm_bm(["menu5a7f",400,"/resources/images/","blank.gif",0,"","",0,0,0,0,50,0,0,0,""],this);
stm_bp("p0",[1,4,0,0,0,0,0,0,90,"",-2,"",-2,90,0,0,"#336699","transparent","",3,0,0,"#ffffff"]);

	// Language Training & Newcomer Services

	stm_ai("p0i0",[2,"","menu_LanguageTrainingNewcomer_off.gif","menu_LanguageTrainingNewcomer_over.gif",245,19,0,"","_self","","","","",0,0,0,"","",0,0,0,0,1,"#ffffff",0,"#336699",0,"","",3,3,0,0,"#336699","#336699","#336699","#ffffff","bold 9pt Arial","bold 9pt Arial",0,0]);
	stm_bp("p1",[1,2,-50,0,0,3,0,0,90,"",-2,"",-2,68,0,0,"#cccccc","transparent","",3,1,1,"#3d927a"]);
	stm_aix("p1i0","p0i0",[0,"  Overview  ","","",-1,-1,0,"/LanguageTrainingNewcomer/Overview.asp","_self","","","","",0,0,0,"","",0,0,0,0,1,"#d4eae4",0,"#09644a",0,"","",3,3,1,1,"#ffffff","#bbded4","#09644a","#cbdcc1","10px 'Verdana','Arial','Helvetica'","10px 'Verdana','Arial','Helvetica'"]);
	stm_aix("p1i1","p1i0",[0,"  Academic Upgrading  ","","",-1,-1,0,"/AcademicUpgrading/DoorWays.asp"]);
	stm_aix("p1i2","p1i0",[0,"  ELT (Enhanced Language Training) ","","",-1,-1,0,"/AcademicUpgrading/ELT.asp"]);
	stm_aix("p1i3","p1i0",[0,"  ESL at Work ","","",-1,-1,0,"/CorporateServices/CDS_ESLatWork.asp"]);
	stm_aix("p1i4","p1i0",[0,"  Job Search Workshops (JSW) ","","",-1,-1,0,"/LanguageTrainingNewcomer/JSW.asp"]);
	stm_aix("p1i5","p1i0",[0,"  LINC/ESL  ","","",-1,-1,0,"/AcademicUpgrading/ESL_LINC.asp"]);
	stm_aix("p1i6","p1i0",[0,"  Settlement Information Specialists ","","",-1,-1,0,"/LanguageTrainingNewcomer/SettlementInformationSpecialists.asp"]);	
	stm_ep();
	
	// Career Services
	stm_aix("p0i1","p0i0",[2,"","menu_CareerServices_off.gif","menu_CareerServices_over.gif",245,21]);
	stm_bpx("p2","p1",[1,2,-50,0]);
	stm_aix("p2i0","p1i0",[0,"  Overview  ","","",-1,-1,0,"/CareerServices/Overview.asp"]);
	stm_aix("p2i1","p1i0",[0,"  Employment Resource Centres  ","","",-1,-1,0,"/CareerServices/ERCs.asp"]);
	stm_aix("p2i2","p1i0",[0,"  Career Explorations","","",-1,-1,0,"/CareerServices/CareerEX.asp"]);
	stm_aix("p2i3","p1i0",[0,"  Career Express  ","","",-1,-1,0,"/CareerServices/CareerEXExpress.asp"]);
	stm_aix("p2i5","p1i0",[0,"  Career Possibilities for Newcomers  ","","",-1,-1,0,"/CareerServices/CareerPOS.asp"]);
	stm_aix("p2i5","p1i0",[0,"  Assessments  ","","",-1,-1,0,"/CareerServices/Assessments.asp"]);
	stm_aix("p2i6","p1i0",[0,"  Employment Counselling  ","","",-1,-1,0,"/CareerServices/EmploymentCounselling.asp"]);
	stm_aix("p2i7","p1i0",[0,"  Get in Gear   ","","",-1,-1,0,"/CareerServices/GIG.asp"]);
	stm_aix("p2i8","p1i0",[0,"  Job Opportunities for Youth   ","","",-1,-1,0,"/CareerServices/JOY.asp"]);
	stm_aix("p2i9","p1i0",[0,"  Job Shop  ","","",-1,-1,0,"/CareerServices/JobShop.asp"]);
	stm_aix("p2i10","p1i0",[0,"  Sound Bytes Speaker Series  ","","",-1,-1,0,"/CareerServices/SoundBytes.asp"]);
	stm_aix("p2i11","p1i0",[0,"  Career Focus  ","","",-1,-1,0,"/CorporateServices/CDS_CareerFocus.asp"]);
	stm_aix("p2i12","p1i0",[0,"  Outplacement  ","","",-1,-1,0,"/CorporateServices/CDS_Outplacement.asp"]);
	stm_ep();
	
	
	// Skilled Trades
	stm_aix("p0i2","p0i1",[2,"","menu_PreApprentice_off.gif","menu_PreApprentice_over.gif",245,20]);
	stm_bpx("p3","p1",[1,2,-50,0,0,3,0,10]);
	stm_aix("p3i0","p1i0",[0,"  Get Job Ready Fast!  ","","",-1,-1,0,"/SkilledTrades/get-job-ready-fast.asp","_self","","","","",0,0,0,"menu_bullet_off.gif","menu_bullet_over.gif",10,9]);
		stm_bpx("p9","p1",[1,2,-20,5]);
		stm_aix("p9i0","p1i0",[0,"  Photo Gallery  ","","",-1,-1,0,"/SkilledTrades/photo-gallery.asp"]);
		stm_aix("p9i1","p1i0",[0,"  Success Stories  ","","",-1,-1,0,"/SkilledTrades/success-stories.asp"]);
		stm_ep();
	stm_aix("p3i1","p1i0",[0,"  Programs  ","","",-1,-1,0,"/SkilledTrades/programs.asp","_self","","","","",0,0,0,"menu_bullet_off.gif","menu_bullet_over.gif",10,9]);
		stm_bpx("p10","p1",[1,2,-20,5]);
		stm_aix("p10i0","p1i0",[0,"  Electrical  ","","",-1,-1,0,"/SkilledTrades/Electrical.asp"]);
		stm_aix("p10i1","p1i0",[0,"  Construction  ","","",-1,-1,0,"/SkilledTrades/Construction.asp"]);
		stm_aix("p10i2","p1i0",[0,"  Home Renovations  ","","",-1,-1,0,"/SkilledTrades/HomeRenovations.asp"]);
		stm_aix("p10i3","p1i0",[0,"  Enhanced General Carpentry for Women (WIST)  ","","",-1,-1,0,"/SkilledTrades/WomenInSkilledTrades.asp"]);
		stm_aix("p10i4","p1i0",[0,"  Millwright/Machinist  ","","",-1,-1,0,"/SkilledTrades/Manufacturing.asp"]);
		stm_aix("p10i5","p1i0",[0,"  Martinrea Tool & Die/Millwright  ","","",-1,-1,0,"/SkilledTrades/MartinreaToolandDie.asp"]);
		stm_aix("p10i6","p1i0",[0,"  Financial Assistance  ","","",-1,-1,0,"/SkilledTrades/financial-assistance.asp"]);
		stm_aix("p10i7","p1i0",[0,"  Doorways  ","","",-1,-1,0,"/AcademicUpgrading/DoorWays.asp"]);
		stm_aix("p10i8","p1i0",[0,"  Get in Gear  ","","",-1,-1,0,"/CareerServices/GIG.asp"]);
		stm_aix("p10i9","p1i0",[0,"  Hire Quality  ","","",-1,-1,0,"/SkilledTrades/HireQuality.asp"]);
		stm_ep();	
	stm_aix("p3i2","p1i0",[0,"  FAQs  ","","",-1,-1,0,"/SkilledTrades/FAQ_Skilled_Trades.asp"]);
	stm_aix("p3i3","p1i0",[0,"  Job Search Assistance  ","","",-1,-1,0,"/SkilledTrades/jobsearchassistance.asp"]);
	stm_aix("p3i4","p1i0",[0,"  Apprenticeships & Career Path  ","","",-1,-1,0,"/SkilledTrades/apprenticeships.asp"]);
	stm_aix("p3i5","p1i0",[0,"  Events and News  ","","",-1,-1,0,"/SkilledTrades/events-and-news.asp"]);
	stm_aix("p3i6","p1i0",[0,"  Links  ","","",-1,-1,0,"/SkilledTrades/links.asp"]);
	stm_aix("p3i7","p1i0",[0,"  Community Service  ","","",-1,-1,0,"/SkilledTrades/community-service.asp"]);
	stm_ep();	

	// Continuing Education Courses
	stm_aix("p0i3","p0i0",[2,"","menu_SkillsDevelopment_off.gif","menu_SkillsDevelopment_over.gif",245,22]);
	stm_bpx("p4","p2",[]);
	stm_aix("p4i0","p1i0",[0,"  Overview  ","","",-1,-1,0,"/SkillsDevelopmentCourses/Overview.asp"]);
	stm_aix("p4i1","p1i0",[0,"  Computer Courses  ","","",-1,-1,0,"/SkillsDevelopmentCourses/Computer.asp"]);
	stm_aix("p4i2","p1i0",[0,"  Language Courses  ","","",-1,-1,0,"/SkillsDevelopmentCourses/Languages.asp"]);
	stm_aix("p4i3","p1i0",[0,"  Registration &amp; Financial Policies  ","","",-1,-1,0,"/SkillsDevelopmentCourses/RegistrationFinancialPolicy.asp"]);
	stm_ep();

	// Corporate/Employer Services
	stm_aix("p0i4","p0i0",[2,"","menu_EmployerServices_off.gif","menu_EmployerServices_over.gif",245,22]);
	stm_bpx("p5","p2",[1,2,-50,0,0,3,0,10]);
	stm_aix("p5i0","p1i0",[0,"  Overview  ","","",-1,-1,0,"/CorporateServices/CorporateTrainingOverview.asp"]);
	stm_aix("p5i1","p1i0",[0,"  Management / Supervisory  ","","",-1,-1,0,"/CorporateServices/CDS_Mgt.asp"]);
	stm_aix("p5i2","p1i0",[0,"  Human Resources  ","","",-1,-1,0,"/CorporateServices/CDS_HR.asp"]);
	stm_aix("p5i3","p1i0",[0,"  Soft Skills  ","","",-1,-1,0,"/CorporateServices/CDS_SoftSkills.asp"]);
	stm_aix("p5i4","p1i0",[0,"  Outplacement  ","","",-1,-1,0,"/CorporateServices/CDS_Outplacement.asp"]);
	stm_aix("p5i5","p1i0",[0,"  Workforce Upgrading  ","","",-1,-1,0,"/CorporateServices/CDS_WorkforceUpgrading.asp"]);
	stm_aix("p5i6","p1i0",[0,"  Information Technology  ","","",-1,-1,0,"/CorporateServices/CDS_IT.asp"]);
	stm_aix("p5i7","p1i0",[0,"  Skilled Trades  ","","",-1,-1,0,"/CorporateServices/CDS_Trades.asp"]);
	stm_aix("p5i8","p1i0",[0,"  ESL at Work  ","","",-1,-1,0,"/CorporateServices/CDS_ESLatWork.asp"]);
	stm_aix("p5i9","p1i0",[0,"  Career Focus  ","","",-1,-1,0,"/CorporateServices/CDS_CareerFocus.asp"]);
	stm_ep();
	
	// About the Centre
	stm_aix("p0i5","p0i0",[2,"","menu_AboutTheCentre_off.gif","menu_AboutTheCentre_over.gif",245,23]);
	stm_bpx("p6","p5",[]);
	stm_aix("p6i0","p1i0",[0,"  Overview  ","","",-1,-1,0,"/AboutTheCentre/Overview.asp"]);
	stm_aix("p6i2","p1i0",[0,"  Media Centre ","","",-1,-1,0,"/AboutTheCentre/MediaCentre.asp"]);
	stm_aix("p6i3","p5i0",[0,"  Contact &amp; Facility Info  ","","",-1,-1,0,"/AboutTheCentre/Contact.asp"]);
		stm_bpx("p7","p6",[]);
		stm_aix("p7i0","p1i0",[0,"  Burlington  ","","",-1,-1,0,"/AboutTheCentre/Contact_BALC.asp"]);
		stm_aix("p7i1","p1i0",[0,"  Georgetown  ","","",-1,-1,0,"/AboutTheCentre/Contact_Georgetown.asp"]);
		stm_aix("p7i3","p1i0",[0,"  Malton  ","","",-1,-1,0,"/AboutTheCentre/Contact_Malton.asp"]);
		stm_aix("p7i2","p1i0",[0,"  Milton  ","","",-1,-1,0,"/AboutTheCentre/Contact_Milton.asp"]);
		stm_aix("p7i3","p1i0",[0,"  Mississauga  ","","",-1,-1,0,"/AboutTheCentre/Contact_Mississauga.asp"]);
		stm_aix("p7i4","p1i0",[0,"  Oakville  ","","",-1,-1,0,"/AboutTheCentre/Contact_Oakville.asp"]);
		stm_ep();
	stm_aix("p6i4","p1i0",[0,"  Upcoming Events  ","","",-1,-1,0,"/AboutTheCentre/UpcomingEvents.asp"]);
	stm_aix("p6i5","p1i0",[0,"  Careers at The Centre  ","","",-1,-1,0,"/AboutTheCentre/Careers.asp"]);
	stm_ep();
	
	// Home
	stm_aix("p0i6","p0i0",[2,"","menu_TheCentreHome_off.gif","menu_TheCentreHome_over.gif",245,21,0,"/default.asp"]);
stm_ep();
stm_em();
