// the menu definitions need to be in the body of the page.  near the bottom is better.
if (TransMenu.isSupported()) {

	//==================================================================================================
	// create a dropdown menu
	//==================================================================================================
	// the first parameter should be the HTML element which will act actuator for the menu
	//==================================================================================================
	// MenuLink 1
	//==================================================================================================
	var menu1 = ms.addMenu(document.getElementById("MenuLink1_tr"));// send no URL if nothing should happen onclick
	menu1.addItem("Welcome", "index.htm");


//==================================================================================================	   
	// MenuLink 2
	//==================================================================================================
	
	var menu2 = ms.addMenu(document.getElementById("MenuLink2_tr"));// send no URL if nothing should happen onclick 
	menu2.addItem("Our Region", "region.htm");

	//==================================================================================================	   
	// Placement Process Menu
	//==================================================================================================
	
	var process_menu = ms.addMenu(document.getElementById("process_tr"));// send no URL if nothing should happen onclick 
	process_menu.addItem("Placement Process", "process.htm");
	process_menu.addItem("Liability & Accident Insurance", "insure.htm");
	
	
	
		
	//==================================================================================================
	// MenuLink 4
	//==================================================================================================
	var menu4 = ms.addMenu(document.getElementById("MenuLink4_tr"));
	menu4.addItem("Where to Begin", "about_require.htm");
	menu4.addItem("Confidentiality", "confid.htm");
	menu4.addItem("Criminal Records Check", "check.htm");
	menu4.addItem("Health & Safety", "health.htm");
	menu4.addItem("Identification Cards", "idcards.htm");
	menu4.addItem("Clinical Information", "patient_care.htm");
	menu4.addItem("On Site Orientation", "orient.htm");
	menu4.addItem("Practice Standards", "standards.htm");
	menu4.addItem("Professional Responsibility", "prof_resp.htm");
		
		var submenu1 = menu4.addMenu(menu4.items[3]);
		submenu1.addItem("Workplace Safety", "health.htm");
		submenu1.addItem("Immunization", "immuno.htm");
		submenu1.addItem("Respiratory Mask Fitting", "mask.htm");
		submenu1.addItem("Emergency Codes", "emergency_codes.htm");
		submenu1.addItem("Hazardous Materials [WHMIS]", "whmis.htm");
		submenu1.addItem("Infection Control Precautions", "infection.htm");
		submenu1.addItem("Musculoskeletal Injury Prevention", "musculo.htm");
		submenu1.addItem("Prevention of Aggressive Behaviour", "safety_aggressive.htm");
		submenu1.addItem("Safe Home Visits", "safe_home.htm");
		submenu1.addItem("Incident Reporting", "incident.htm");
		
		var submenu2 = menu4.addMenu(menu4.items[5]);
		submenu2.addItem("Patient Care", "patient_care.htm");
		submenu2.addItem("Alternate Observational Experiences", "alternate.htm");
		submenu2.addItem("Glucometers", "gluco.htm");
				
		
//==================================================================================================
	// MenuLink 3
	//==================================================================================================
	var menu3 = ms.addMenu(document.getElementById("MenuLink3_tr"));
	menu3.addItem("Learn More", "roles.htm");
	
	
	//==================================================================================================
	// MenuLink 5
	//==================================================================================================
	var menu5 = ms.addMenu(document.getElementById("MenuLink5_tr"));
	menu5.addItem("Learn More", "general_info.htm");
	menu5.addItem("On Site Services", "on_site.htm");
	menu5.addItem("Calling in Sick & Personal Calls", "sick.htm");
	menu5.addItem("Diversity & Human Rights", "div_hr.htm");
	menu5.addItem("Appearance & Footwear", "appearance.htm");
	menu5.addItem("Evaluation of Learning", "evaluation.htm");
	menu5.addItem("Vehicles & Parking etc.", "vehicle.htm");
	menu5.addItem("Volunteers", "volunteers.htm");
	menu5.addItem("Job Action", "job_action.htm");
	menu5.addItem("Copyright", "copyright.htm");
	menu5.addItem("Definitions", "def.htm");
	menu5.addItem("Glossary", "glossary.htm");
	
		var submenu0 = menu5.addMenu(menu5.items[1]);
		submenu0.addItem("North Shore & Coast Garibaldi", "facility_nvan.htm");
		submenu0.addItem("Vancouver Acute", "facility_van_acute.htm");
		submenu0.addItem("Vancouver Community", "facility_van_community.htm");
		submenu0.addItem("Richmond", "facility_richmond.htm");
		
		


	//==================================================================================================
	// MenuLink 6
	//==================================================================================================
	var menu6 = ms.addMenu(document.getElementById("MenuLink6_tr"));
	menu6.addItem("The List", "all_docs.htm");
	menu6.addItem("About Downloading Documents", "about_downloading.htm");
	

	

	//==================================================================================================
	// MenuLink 7
	//==================================================================================================
	var menu7 = ms.addMenu(document.getElementById("MenuLink7_tr"));
	menu7.addItem("Table of Contents", "sitemap.htm");
	menu7.addItem("Alphabetic Listing", "alpha.htm");
	
	//==================================================================================================
	// MenuLink 8 
	//==================================================================================================
	var menu8 = ms.addMenu(document.getElementById("MenuLink8_tr"));
	menu8.addItem("Common Questions", "faq1.htm");
					

	//==================================================================================================
	// MenuLink 9
	//==================================================================================================
	var menu9 = ms.addMenu(document.getElementById("MenuLink9_tr"));
	menu9.addItem("Contact Us", "contact.htm");
	menu9.addItem("Feedback", "feedback.htm");
	
//==================================================================================================
	// Hot Jobs
	//==================================================================================================
	var jobs_menu = ms.addMenu(document.getElementById("jobs_tr"));
	jobs_menu.addItem("Learn More", "http://careers.vch.ca/");
	
	//==================================================================================================
	// write drop downs into page
	//==================================================================================================
	// this method writes all the HTML for the menus into the page with document.write(). It must be
	// called within the body of the HTML page.
	//==================================================================================================
	TransMenu.renderAll();
}
