	// 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("Mensaje del Presidente", "energia-mensaje.html");			
menu2.addItem("Una Historia Breve", "energia-historia.html");	
menu2.addItem("Lo Qué Hacemos", "energia-lo-que-hacemos.html");	
menu2.addItem("Territorio", "energia-territorio.html");	
menu2.addItem("Oficinas", "energia-oficinas.html");
var menu3 = ms.addMenu(document.getElementById("menu3"));	
menu3.addItem("Sistemas de Energía","sistemas-energia.html");
menu3.addItem("Alquiler/Energía Temporal","alquiler-energia-temporal.html");			
menu3.addItem("Servicios Técnicos", "energia-servicios-tecnicos.html");	
menu3.addItem("Servicios de EPC", "servicios-de-epc.html");	
menu3.addItem("Servicios de Ingeniería", "servicios-de-ingenieria.html");
menu3.addItem("Piezas y Servicios", "repuestos-plantas-electricas.html");
var subMenu3 = menu3.addMenu(menu3.items[0]);
subMenu3.addItem("Soluciones BOOMT", "soluciones-llave-en-mano.html");
subMenu3.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Plantas de Energía Eléctrica", "plantas-electricas.html");
subMenu3.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sistemas de Bombeo", "sistemas-de-bombeo.html");
subMenu3.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Cogeneración", "cogeneracion.html");
subMenu3.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sistemas de Compresión de Gas", "sistemas-compresion-gas.html");			
subMenu3.addItem("Productos", "productos-energia.html");
subMenu3.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Motores de Intercambio", "motores-intercambio.html");
subMenu3.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Turbinas", "energia-turbinas.html");
subMenu3.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Generadores de Energía Eléctrica", "generadores-energia-electrica.html");
subMenu3.addItem("Logística", "logistica-generacion-energia.html");
subMenu3.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Desarrollo del Proyecto", "desarollo-proyecto-energia.html");
subMenu3.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Opciónes Financieras", "opciones-financieras-plantas-energia.html");
var subMenu3 = menu3.addMenu(menu3.items[1]);
subMenu3.addItem("Segmentos del Mercado", "energia-alquiler-mercado.html");
subMenu3.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compañías de Energía Publica", "alquiler-utilidades-electricas.html");
subMenu3.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Petróleo", "alquiler-petroleo.html");
subMenu3.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Explotación Minera", "alquiler-explotacion-minera.html");
subMenu3.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construcción", "alquiler-energia-construccion.html");
subMenu3.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Relevación del Desastre", "alquiler-energia-emergencia-desastre.html");
subMenu3.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Acontecimientos Especiales", "alquiler-energia-evento-especiales.html");
subMenu3.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Industrial", "alquiler-energia-industrial.html");			
subMenu3.addItem("Productos y Servicios", "alquiler-energia-productos-servicios.html");
subMenu3.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Plantas de Energía Temporal", "alquiler-plantas-energia-temporal.html");
subMenu3.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Generadores de Energía Eléctrica", "alquiler-generadores.html");
subMenu3.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Turbinas", "alquiler-turbinas.html");
subMenu3.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Control de la Temperatura", "alquiler-control-temperatura.html");
subMenu3.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Bancos de Carga", "alquiler-banco-de-carga.html");
subMenu3.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Compresores de Aire", "alquiler-compressores-aire.html");
subMenu3.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equipo Auxiliar", "rentauxiliaryequipment.html");
subMenu3.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equipo Usado", "equipo-usado-generadores.html");
subMenu3.addItem("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equipo en Venta", "generadores-diesel-usado.html");
subMenu3.addItem("Logística", "logistica-renta-de-energia.html");
var subMenu3 = menu3.addMenu(menu3.items[2]);
subMenu3.addItem("Contratos de Operación y Mantenimiento", "contratos-operacion-mantenimiento.html");				
subMenu3.addItem("Servicios de Alistamiento y Arranque", "energia-commision-puesta-en-marcha.html");
subMenu3.addItem("Logística", "logistica-generacion-energia.html");
subMenu3.addItem("Entrenamiento Técnico", "entrenamiento-tecnico-plantas-electricas.html");
subMenu3.addItem("Otros Servicios", "servicios-operacion-mantenimiento.html");
var subMenu3 = menu3.addMenu(menu3.items[3]);
subMenu3.addItem("Ingeniería", "ingenieria-plantas-electricas.html");				
subMenu3.addItem("Consecución", "consecucion-electrica.html");
subMenu3.addItem("Construcción", "construction-plantas-electricas.html");
subMenu3.addItem("Gestión del Proyecto", "proyectos-ingenieria.html");
var subMenu3 = menu3.addMenu(menu3.items[4]);	
subMenu3.addItem("Proyectos", "proyectos-energy-international.html");
subMenu3.addItem("Gestión del Proyecto", "proyectos-ingenieria.html");				   
var menu4 = ms.addMenu(document.getElementById("menu4")); 
menu4.addItem("Generación de Energía","generacion-electrica.html");
menu4.addItem("Industria General","energia-general-industria.html");
menu4.addItem("Petróleo y Gas", "energia-petroleo-gas.html");
menu4.addItem("Explotación Minera", "energia-explotacion-minera.html");	
menu4.addItem("Compressión de Gas", "energia-compresion-gas.html");	
var menu5 = ms.addMenu(document.getElementById("menu5"));
menu5.addItem("Norteamérica","energia-norte-america.html");
menu5.addItem("Suramérica","energia-sud-america.html");
menu5.addItem("América Central","energia-centro-america.html");
menu5.addItem("El Caribe","energia-caribe.html");
menu5.addItem("Proyectos Actuales","proyectos-actuales-energia.html");
menu5.addItem("Certificación de ISO 9001", "certificacion-iso-9001.html");
var subMenu5 = menu5.addMenu(menu5.items[0]);
subMenu5.addItem("Estados Unidos", "energia-estados-unidos.html");
var subMenu5 = menu5.addMenu(menu5.items[1]);
subMenu5.addItem("Argentina", "energia-argentina.html");
subMenu5.addItem("Brasil", "energia-brazil.html");
subMenu5.addItem("Colombia", "energia-colombia.html");
subMenu5.addItem("Ecuador", "energia-ecuador.html");
subMenu5.addItem("Guyana", "energia-guyana.html");
subMenu5.addItem("Perú", "energia-peru.html");
subMenu5.addItem("Suriname", "energia-suriname.html");
subMenu5.addItem("Venezuela", "energia-venezuela.html");
var subMenu5 = menu5.addMenu(menu5.items[2]);
subMenu5.addItem("Belice", "energia-belize.html");
subMenu5.addItem("Costa Rica", "energia-costa-rica.html");
subMenu5.addItem("El Salvador", "energia-el-salvador.html");
subMenu5.addItem("Honduras", "energia-honduras.html");				
subMenu5.addItem("Nicaragua", "energia-nicaragua.html");
subMenu5.addItem("Panamá", "energia-panama.html");
var subMenu5 = menu5.addMenu(menu5.items[3]);
subMenu5.addItem("Bahamas", "energia-bahamas.html");
subMenu5.addItem("República Dominicana", "energia-republica-dominicana.html");				
subMenu5.addItem("Grenada", "energia-grenada.html");
subMenu5.addItem("Haití", "energia-haiti.html");		   				
var menu6 = ms.addMenu(document.getElementById("menu6"));		
menu6.addItem("Literatura de la Compañia","energia-literatura-compania.html");	
menu6.addItem("Presentaciones", "presentacion-alquiler-energia.html");
var subMenu6 = menu6.addMenu(menu6.items[1]);
subMenu6.addItem("Alquiler de Energía", "energia-alquiler.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();	}