	// 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", "default.aspx");
		menu1.addItem("ICS | Merrill Home", "icsmerrill.aspx");

		//==================================================================================================	
		
		var menu2 = ms.addMenu(document.getElementById("menuAboutUs"));

		menu2.addItem("Technology Solutions", "technology.aspx");
		menu2.addItem("Quality Standards", "quality.aspx");
		menu2.addItem("Management Team", "managementteam.aspx");
		menu2.addItem("Careers", "careers.asp");
		menu2.addItem("Contact Us", "contactus.aspx");
		
		//==================================================================================================	
		
		var menu3 = ms.addMenu(document.getElementById("menuNewsCenter"));

		menu3.addItem("Focus On EMSI", "focus.aspx");
		menu3.addItem("Press Room", "pressreleases.aspx");
		menu3.addItem("News and Events", "events.aspx");
		
		//==================================================================================================		
		
		var menu4 = ms.addMenu(document.getElementById("menuStore"));
        menu4.addItem("Branch Resources", "bprc.aspx");
		menu4.addItem("Examiner Resources", "examiner.aspx");
		menu4.addItem("Client Resources", "resources.aspx");
		menu4.addItem("Employee Benefits", "employeebenefits.asp");
		menu4.addItem("Locations", "locations.asp");
		menu4.addItem("EMSI Company Alerts", "companyalerts.aspx");
	   
	   //var submenu0 = menu4.addMenu(menu4.items[1]);
		//submenu0.addItem("Test Sub Menu", "http://www.emsinet.com");
	   //==================================================================================================		

		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();

	}

