	// set up drop downs anywhere in the body of the page. I think the bottom of the page is better.. 
	// but you can experiment with effect on loadtime.
	if (TransMenu.isSupported()) {

		//==================================================================================================
		// create a set of dropdowns
		//==================================================================================================
		// the first param should always be down, as it is here
		//
		// The second and third param are the top and left offset positions of the menus from their actuators
		// respectively. To make a menu appear a little to the left and bottom of an actuator, you could use
		// something like -5, 5
		//
		// The last parameter can be .topLeft, .bottomLeft, .topRight, or .bottomRight to inidicate the corner
		// of the actuator from which to measure the offset positions above. Here we are saying we want the 
		// menu to appear directly below the bottom left corner of the actuator
		//==================================================================================================
		var ms = new TransMenuSet(TransMenu.direction.down, 1, 0, TransMenu.reference.bottomLeft);

		//==================================================================================================
		// create a dropdown menu
		//==================================================================================================
		// the first parameter should be the HTML element which will act actuator for the menu
		//==================================================================================================
		var menu1 = ms.addMenu(document.getElementById("about_us"));
		menu1.addItem("Welcome from the Principal", "principals_welcome.php");
		
		menu1.addItem("Our Philosophy", "");
		var submenu0 = menu1.addMenu(menu1.items[1]);
		submenu0.addItem("Vision", "vision.php");
		submenu0.addItem("Values", "values.php");
		submenu0.addItem("Ethos", "ethos.php");
		
		menu1.addItem("Visual Album", "visual_album.php");
		
		menu1.addItem("School Information", ""); 
		var submenu1 = menu1.addMenu(menu1.items[3]);
		submenu1.addItem("Location", "location.php");
		submenu1.addItem("School Calendar", "school_calendar.php");
		submenu1.addItem("School Day", "school_day.php");
		submenu1.addItem("Term Dates", "term_dates.php");
		submenu1.addItem("Uniform Shop", "uniform_shop.php");
		submenu1.addItem("Canteen", "canteen.php");
		submenu1.addItem("Library", "library.php");
		submenu1.addItem("Defense Transition Mentor", "defense_transition_mentor.php");
		submenu1.addItem("Aboriginal Education", "aboriginal_education.php");
		
		
		menu1.addItem("Our Partners", "");
		var submenu2 = menu1.addMenu(menu1.items[4]);
		submenu2.addItem("School Council", "school_council.php");
		submenu2.addItem("P & C", "pandc.php");
		submenu2.addItem("KIEP", "kiep.php");
				
		menu1.addItem("Awards", "awards.php");
		
		menu1.addItem("School Policies", ""); 
		var submenu3 = menu1.addMenu(menu1.items[6]);
		submenu3.addItem("Dress", "dress.php");
		submenu3.addItem("Attendance", "attendance.php");
		submenu3.addItem("Assessment", "assessment.php");
		submenu3.addItem("Behaviour Management", "behaviour.php");
		submenu3.addItem("Enrolment", "enrolment.php");
		submenu3.addItem("Bullying", "bullying.php");
		submenu3.addItem("Internet", "internet.php");
		submenu3.addItem("Drugs", "drugs.php");
		
		menu1.addItem("Latest News", "");
		var submenu4 = menu1.addMenu(menu1.items[7]);
		submenu4.addItem("Newsletter", "newsletter.php");
		submenu4.addItem("School Annual Report", "school_annual_report.php");
		submenu4.addItem("Term Planner", "term_planner.php");
				
		
		// send no URL if nothing should happen onclick

		//==================================================================================================

		//==================================================================================================
		var menu2 = ms.addMenu(document.getElementById("academic_programs"));
		menu2.addItem("Middle School 8/9", "middle_school.php");
		
		menu2.addItem("Senior School 10/11/12", "");
		var submenu0 = menu2.addMenu(menu2.items[1]);
		submenu0.addItem("Programs", "ss_programs.php");
		submenu0.addItem("Course Handbook", "course_handbook.php");
		
		menu2.addItem("Talented and Gifted Program", "talented_gifted_program.php");
		
		menu2.addItem("Specialist Programs", "specialist_programs.php");
		var submenu1 = menu2.addMenu(menu2.items[3]);
		submenu1.addItem("Specialised Maritime Studies Program", "maritime_training.php");
		submenu1.addItem("Specialised Sport Programs", "specialist_programs.php");
		
		
				
		
		//==================================================================================================

		//==================================================================================================
		
		var menu3 = ms.addMenu(document.getElementById("sub_schools"));
		menu3.addItem("Art and Humanities", "art_humanities.php"); 
		menu3.addItem("Science, Technology and Enterprise", "science_technology_enterprise.php");
		menu3.addItem("Maritime and Human Movement", "maritime_human_movement.php");
		

		//==================================================================================================

		//==================================================================================================
		var menu4 = ms.addMenu(document.getElementById("new_students"));
		menu4.addItem("Industry and P&C Sponsored Scholarship", "industry_pc_sponsored_scholarship.php"); 
		menu4.addItem("Enrolment Form", "enrolment_form.php");
		menu4.addItem("International Students", "international_students.php");

		//==================================================================================================

		//==================================================================================================
		
		var menu5 = ms.addMenu(document.getElementById("education_support"));
		menu5.addItem("Contact Details", "ed_support_contact.php");
		menu5.addItem("Message from the Principal", "ed_support_principals_welcome.php"); 
		menu5.addItem("About the Centre", "about_the_centre.php");
		menu5.addItem("School Profile", "school_profile.php");
		menu5.addItem("Eligibility and Enrolment", "eligibility_enrolment.php");
		menu5.addItem("Curriculum", "curriculum.php");
		menu5.addItem("Individual Education Plans", "individual_education_plans.php");
		menu5.addItem("VET and SWL", "vet_swl.php");
		menu5.addItem("Integration", "integration.php");
		menu5.addItem("Reporting to Parents", "reporting_to_parents.php");
		
		menu5.addItem("Latest News", "");
		var submenu0 = menu5.addMenu(menu5.items[10]);
		submenu0.addItem("School Annual Report", "ed_support_annual_report.php");

		//==================================================================================================

		//==================================================================================================
		
		var menu6 = ms.addMenu(document.getElementById("careers"));
		menu6.addItem("Employment Opportunities", "employment_opportunities.php"); 
		menu6.addItem("Commumity Service", "community_service.php");
		
		
// 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();
	}