
	// 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, 0, 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("aboutus"));
		menu1.addItem("Welcome Note", "welcome-note.htm");
		menu1.addItem("Vision & Mission", "aemtc-vision-mission.htm");
		menu1.addItem("Profile- AEMTC (Mumbai)", "profile-mumbai.htm");
		menu1.addItem("Profile- AEMTC (Delhi)", "profile-delhi.htm");
		menu1.addItem("Profile - AEMTC (Odessa, Ukraine)", "profile-odessa.htm");
		menu1.addItem("Profile - AEMTC (Manila, Philippines)", "profile-manila.htm");
		menu1.addItem("Awards & Achievement", "awards.htm");
		menu1.addItem("Training Facilities", "training-facilities.htm");
		menu1.addItem("Photo Gallery", "photo-gallery.htm");
		menu1.addItem("Video Gallery", "corporate-video.htm"); 
		menu1.addItem("Other Maritime Links", "other-maritime-links.htm");
		

		//==================================================================================================

		//==================================================================================================

		var menu2 = ms.addMenu(document.getElementById("courses"));
		menu2.addItem("All Courses", "all-courses.htm");
		menu2.addItem("Cadet Training", "cadet-training.htm");
		menu2.addItem("D. G. Approved", "dg-approved.htm");
		menu2.addItem("DNV Courses", "dnv-courses.htm");
		//menu2.addItem("DNV SeaSkill Certified", "dnv-seaskill-certified.htm"); 
		menu2.addItem("Dry Cargo Operation", "dry-cargo-operation.htm");
		menu2.addItem("Electrical and Automation", "electrical-automation.htm");
		menu2.addItem("Engineering Courses", "engineering-courses.htm");
		menu2.addItem("MAN B&W Courses", "man-b-w-courses.htm");
		menu2.addItem("Management and Human Resource", "hr-management.htm");
		menu2.addItem("Nautical Institute Accreditation", "nautical-institute.htm");
		menu2.addItem("Naval Architecture", "naval-architecture.htm");
		menu2.addItem("Navigation Courses", "navigation-courses.htm");
		menu2.addItem("Other Deck Officers Courses", "deck-officers-courses.htm");
		menu2.addItem("Rating Training", "rating-training.htm");
		menu2.addItem("Safety and Quality", "safety-quality.htm");
		menu2.addItem("Swedish Club Accreditation", "swedish-club.htm");
		menu2.addItem("Tanker Operation", "tanker-operation.htm");
		menu2.addItem("U.K.MCA approved Courses", "ukmca-approved-courses.htm");
		menu2.addItem("GL Courses", "gl-courses.htm");
		
		

		//==================================================================================================

		//==================================================================================================


		var menu3 = ms.addMenu(document.getElementById("navy"));

		menu3.addItem("AEMA Profile", "AEMA-profile.htm");
		menu3.addItem("Deck Officer", "deck-officer.htm");
		menu3.addItem("Engineer Officer", "engineer-officer.htm");
		menu3.addItem("Rating", "ratings.htm");
		menu3.addItem("FAQ's for Joining as a Deck Cadet", "faqs.htm");
		menu3.addItem("FAQ's for Joining as a Marine Engineer", "faqs-gme.htm");
		menu3.addItem("Entry Form", "navy-entry-form.htm");
		menu3.addItem("Fleet Photographs", "fleet-photographs.htm");
		menu3.addItem("Download Prospectus", "download-brochure.htm");
		menu3.addItem("News & Articles", "news-and-articles.htm");
		menu3.addItem("Video Gallery", "corporate-video.htm"); 



		//==================================================================================================

		//==================================================================================================
		var menu4 = ms.addMenu(document.getElementById("news"));
		menu4.addItem("Press Release", "press.htm");
		menu4.addItem("Events", "events.htm");
		menu4.addItem("Maritime News", "maritime-news.htm");
		
		
		//==================================================================================================

		//==================================================================================================
		var menu5 = ms.addMenu(document.getElementById("contact"));
		menu5.addItem("AEMTC-Mumbai", "contact-aemtc-mumbai.htm");
		menu5.addItem("AEMTC-Delhi", "contact-aemtc-delhi.htm");
		menu5.addItem("AEMTC Odessa", "contact-aemtc-odessa.htm");
		menu5.addItem("AEMTC Manila", "contact-aemtc-manila.htm");
		menu5.addItem("AEMA", "contact-aema-htm");
		menu5.addItem("Enquiry Desk", "enquiry.htm");







		//==================================================================================================
		// 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();
}

