	// 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 0, 0		//		
// 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, 0, mtDropDown.reference.bottomLeft);	
//==================================================================================================		
// create a dropdown menu	
//==================================================================================================		
// the first parameter should be the HTML element which will act actuator for the menu
//==================================================================================================	

//==================================================================================================		
//==================================================================================================		
// add a sub-menu
		
//==================================================================================================		
// to add a sub menu to an existing menu object, call it's addMenu method and pass it the item from		
// the parent menu which should act as it's actuator. To add a submenu to the fourth item of a menu		
// called "theMenu", you would do theMenu.addMenu(theMenu.items[3])		
//==================================================================================================			
var menu2 = ms.addMenu(document.getElementById("menu2"));
menu2.addItem("Message From The President", "energy-message.html");			
menu2.addItem("A Brief History", "energy-history.html");	
menu2.addItem("What We Do", "energy-what-we-do.html");	
menu2.addItem("Territory", "energy-territory.html");	
menu2.addItem("Offices", "energy-offices.html");
var menu3 = ms.addMenu(document.getElementById("menu3"));	
menu3.addItem("Power Systems","power-systems.html");
menu3.addItem("Rental/Temporary Power","rent-temporary-power.html");			
menu3.addItem("Technical Services", "technical-power-services.html");	
menu3.addItem("EPC Services", "epc-services.html");	
menu3.addItem("Engineering Services", "engineering-services.html");
menu3.addItem("Parts and Services", "power-plant-parts.html");
var subMenu3 = menu3.addMenu(menu3.items[0]);
subMenu3.addItem("BOOMT Solutions", "power-turnkey-solutions.html");
subMenu3.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Electric Power Plants", "electric-power-plants.html");
subMenu3.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Pumping Systems", "pumping-stations.html");
subMenu3.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Cogeneration", "cogeneration.html");
subMenu3.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gas Compression Systems", "gas-compression-systems.html");			
subMenu3.addItem("Products", "power-products.html");
subMenu3.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reciprocating Engines", "reciprocating-engines.html");
subMenu3.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Turbines", "power-turbines.html");
subMenu3.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Generator Sets", "generator-sets.html");
subMenu3.addItem("Logistics", "power-generation-logistics.html");
subMenu3.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Project Development", "energy-project-development.html");
subMenu3.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Financing Options", "energy-financing.html");
var subMenu3 = menu3.addMenu(menu3.items[1]);
subMenu3.addItem("Market Segments", "energy-rental-market.html");
subMenu3.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Electric Utilities", "rent-electric-utilities.html");
subMenu3.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Petroleum", "rent-petroleum.html");
subMenu3.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Mining", "rent-power-mining.html");
subMenu3.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construction", "rent-power-construction.html");
subMenu3.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Disaster Relief", "rent-emergency-power-disaster.html");
subMenu3.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Special Events", "rent-power-special-events.html");
subMenu3.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Industrial", "rent-power-industrial.html");			
subMenu3.addItem("Products & Services", "rent-power-products-services.html");
subMenu3.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Temporary Power Plants", "rent-temporary-power-plants.html");
subMenu3.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Generator Sets", "rent-generator-sets.html");
subMenu3.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Turbines", "rent-turbines.html");
subMenu3.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Temperature Control", "rent-temperature-control.html");
subMenu3.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Load Banks", "rent-load-bank.html");
subMenu3.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Air Compressors", "rent-air-compressors.html");
subMenu3.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Auxiliary Equipment", "rentauxiliaryequipment.html");
subMenu3.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Used Equipment", "used-equipment-generators.html");
subMenu3.addItem("Logistics", "rent-power-logistics.html");
var subMenu3 = menu3.addMenu(menu3.items[2]);
subMenu3.addItem("O&M Contracts", "operation-maintenance-contracts.html");				
subMenu3.addItem("Commission and Start-up Services", "energy-commission-startup-services.html");
subMenu3.addItem("Logistics", "power-generation-logistics.html");
subMenu3.addItem("Technical Training", "power-plant-technical-training.html");
subMenu3.addItem("Other Services", "operation-maintenance-services.html");
var subMenu3 = menu3.addMenu(menu3.items[3]);
subMenu3.addItem("Engineering", "power-plant-engineering.html");				
subMenu3.addItem("Procurement", "energy-procurement.html");
subMenu3.addItem("Construction", "power-plant-construction.html");
subMenu3.addItem("Project Management", "engineering-project-management.html");
var subMenu3 = menu3.addMenu(menu3.items[4]);				
subMenu3.addItem("Projects", "energy-international-projects.html");
subMenu3.addItem("Project Management", "engineering-project-management.html");			   
var menu4 = ms.addMenu(document.getElementById("menu4")); 
menu4.addItem("Power Generation","power-generation.html");
menu4.addItem("General Industrial","power-general-industrial.html");
menu4.addItem("Oil and Gas", "power-oil-gas.html");
menu4.addItem("Mining", "power-mining.html");	
menu4.addItem("Gas Compression", "power-gas-compression.html");	
var menu5 = ms.addMenu(document.getElementById("menu5"));
menu5.addItem("North America","power-north-america.html");
menu5.addItem("South America","power-south-america.html");
menu5.addItem("Central America","power-central-america.html");
menu5.addItem("Caribbean","power-caribbean.html");
menu5.addItem("Current Projects","current-energy-projects.html")
menu5.addItem("ISO 9001 Certification", "iso-9001-certification.html");
var subMenu5 = menu5.addMenu(menu5.items[0]);
subMenu5.addItem("USA", "power-usa.html");
var subMenu5 = menu5.addMenu(menu5.items[1]);
subMenu5.addItem("Argentina", "power-argentina.html");
subMenu5.addItem("Brazil", "power-brazil.html");
subMenu5.addItem("Colombia", "power-colombia.html");
subMenu5.addItem("Ecuador", "power-ecuador.html");
subMenu5.addItem("Guyana", "power-guyana.html");
subMenu5.addItem("Peru", "power-peru.html");
subMenu5.addItem("Suriname", "power-surinam.html");
subMenu5.addItem("Venezuela", "power-venezuela.html");
var subMenu5 = menu5.addMenu(menu5.items[2]);
subMenu5.addItem("Belize", "power-belize.html");
subMenu5.addItem("Costa Rica", "power-costa-rica.html");
subMenu5.addItem("El Salvador", "power-el-salvador.html");
subMenu5.addItem("Honduras", "power-honduras.html");				
subMenu5.addItem("Nicaragua", "power-nicaragua.html");
subMenu5.addItem("Panama", "power-panama.html");
var subMenu5 = menu5.addMenu(menu5.items[3]);
subMenu5.addItem("Bahamas", "power-bahamas.html");
subMenu5.addItem("Dominican Republic", "power-dominican-republic.html");				
subMenu5.addItem("Grenada", "power-grenada.html");
subMenu5.addItem("Haiti", "power-haiti.html");	   				
var menu6 = ms.addMenu(document.getElementById("menu6"));		
menu6.addItem("Company Literature","energy-company-literature.html");	
menu6.addItem("Presentations", "presentations-power-rental.html");
var subMenu6 = menu6.addMenu(menu6.items[1]);
subMenu6.addItem("Power Rental", "power-rental.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.
//==================================================================================================		
mtDropDown.renderAll();	}