	// 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 (mtDropDown.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 mtDropDownSet(mtDropDown.direction.down, 0, 1, mtDropDown.reference.bottomLeft);
		
		//==================================================================================================
		
		var menu1 = ms.addMenu(document.getElementById("menuHome"));
		menu1.addItem("EMSI Home", "http://www.emsinet.com/default.aspx");
		menu1.addItem("ICS | Merrill Home", "http://www.emsinet.com/icsmerrill.aspx");

		//==================================================================================================	
		
		var menu2 = ms.addMenu(document.getElementById("menuAboutUs"));

		menu2.addItem("Technology Solutions", "http://www.emsinet.com/technology.aspx");
		menu2.addItem("Quality Standards", "http://www.emsinet.com/quality.aspx");
		menu2.addItem("Management Team", "http://www.emsinet.com/managementteam.aspx");
		menu2.addItem("Careers", "http://www.emsinet.com/careers.asp");
		menu2.addItem("Contact Us", "http://www.emsinet.com/contactus.aspx");
		
		//==================================================================================================	
		
		var menu3 = ms.addMenu(document.getElementById("menuNewsCenter"));

		menu3.addItem("Focus On EMSI", "http://www.emsinet.com/focus.aspx");
		menu3.addItem("Press Room", "http://www.emsinet.com/pressreleases.aspx");
		menu3.addItem("News and Events", "http://www.emsinet.com/events.aspx");
		
		//==================================================================================================		
		
		var menu4 = ms.addMenu(document.getElementById("menuStore"));
                menu4.addItem("Branch Resources", "http://www.emsinet.com/bprc.aspx");
                menu4.addItem("Examiner Resources", "http://www.emsinet.com/examiner.aspx");
                menu4.addItem("Client Resources", "http://www.emsinet.com/resources.aspx");
		menu4.addItem("Locations", "http://www.emsinet.com/locations.asp");
		menu4.addItem("EMSI Company Alerts", "http://www.emsinet.com/companyalerts.aspx");
	   
	   //==================================================================================================		

		var menu5 = ms.addMenu(document.getElementById("menuCareers"));
	   
	   //==================================================================================================		
		
		var menu6 = ms.addMenu(document.getElementById("menuLogin"));

	   //==================================================================================================		
		
		var menu7 = ms.addMenu(document.getElementById("menuContactUs"));

		//==================================================================================================

		// 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.

		//==================================================================================================

		mtDropDown.renderAll();

	}

