
// 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()) {

	var ms = new TransMenuSet(TransMenu.direction.down, 1, -9, TransMenu.reference.bottomLeft);

	var menu1 = ms.addMenu(document.getElementById("nav_about_us"));
	menu1.addItem("Our Mission", "/AboutUs/our-mission.html");
	menu1.addItem("Illinois Medical District", "/AboutUs/illinois-medical-district.html");
	menu1.addItem("Board of Directors", "/AboutUs/board-of-directors.html");
	menu1.addItem("News", "/News/index.html");
	menu1.addItem("Financial Information", "/AboutUs/Financial Information.html");
	menu1.addItem("Frequently Asked Questions", "/AboutUs/frequently-asked-questions.html");
	

	var menu2 = ms.addMenu(document.getElementById("nav_events"));
	menu2.addItem("Current Events", "/Events/current-event.html");
	menu2.addItem("Past Events", "/Events/past-events.html");


	
	//==================================================================================================
	// 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();
}

