// 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, 5, 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("corporateInformation"));
	menu1.addItem("Overview", "/corporateinformation/index.php");
	menu1.addItem("Market", "/corporateinformation/market.php");
	menu1.addItem("Corporate History", "/corporateinformation/corporate_history.php");
	menu1.addItem("Vaccines &amp; Competition", "/corporateinformation/vaccines_competition.php");
	menu1.addItem("Corporate Governance", "/investors/governance.php");
	menu1.addItem("Management Team", "/corporateinformation/management.php");
	menu1.addItem("Board of Directors", "/corporateinformation/directors.php");
	menu1.addItem("Directions to GeoVax", "/corporateinformation/directions.php");
	menu1.addItem("Careers at GeoVax", "/corporateinformation/careers.php");
	
	var submenu5 = menu1.addMenu(menu1.items[9]);
	submenu5.addItem("Open Positions", "/corporateinformation/positions.php");
	submenu5.addItem("How to Apply", "/corporateinformation/apply.php");
//============================================================================================

//============================================================================================
	var menu2 = ms.addMenu(document.getElementById("technologyProducts"));
	menu2.addItem("Vaccine Technology", "/technologyandproducts/vaccine_technology.php");
	menu2.addItem("Scientific Programs", "/technologyandproducts/scientificprograms.php");
	menu2.addItem("Vaccine Evolution", "/technologyandproducts/vaccineevolution.php");
	menu2.addItem("Human Trials", "/technologyandproducts/human_trials.php");
	menu2.addItem("IND Approval Process", "/technologyandproducts/ind_approval.php");
	menu2.addItem("Intellectual Property", "/technologyandproducts/intellectual_property.php");
	menu2.addItem("Publications", "/technologyandproducts/publications.php");
	menu2.addItem("Glossary", "/technologyandproducts/glossary.php");
	
	var submenu6 = menu2.addMenu(menu2.items[1]);
	submenu6.addItem("What is AIDS?", "/technologyandproducts/aids.php");
	submenu6.addItem("What is HIV?", "/technologyandproducts/hiv.php");
	submenu6.addItem("AIDS Vaccine Challenge", "/technologyandproducts/aidschallenge.php");
	submenu6.addItem("DNA Primer", "/technologyandproducts/dnapriming.php");
	submenu6.addItem("MVA Booster", "/technologyandproducts/mvabooster.php");
	submenu6.addItem("Smallpox Vaccine", "/technologyandproducts/smallpoxvaccine.php");
//=========================================================================================

//=========================================================================================
	var menu3 = ms.addMenu(document.getElementById("investors"));
	menu3.addItem("Stock Chart", "/investors/stock_chart.php");
	menu3.addItem("Events/Presentations", "/investors/events_presentations.php");
	menu3.addItem("Annual Reports", "/investors/annualreports.php");
	menu3.addItem("SEC Reports", "/investors/sec_reports.php");
	menu3.addItem("Corporate Governance", "/investors/governance.php");
	menu3.addItem("IND Approval Process", "/technologyandproducts/ind_approval.php");
	menu3.addItem("Information Request", "/investors/inforequest.php");
	
	var submenu7 = menu2.addMenu(menu2.items[5]);
	submenu7.addItem("Code of Ethics", "/investors/code_ethics.php");
	submenu7.addItem("Audit Committee Charter", "/investors/audit_committee_charter.php");
	submenu7.addItem("Compensation Committee Charter", "/investors/compensation_committee_charter.php");
//============================================================================================

//============================================================================================
	var menu4 = ms.addMenu(document.getElementById("newsRoom"));
	menu4.addItem("GeoVax in the News", "/newsroom/corporate_news.php");
	menu4.addItem("Corporate Fact Sheet", "/newsroom/fact_sheet.php");
	menu4.addItem("Information Request", "/newsroom/corporate_contact.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();
}