	// 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.right, 0, 0, mtDropDown.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("menu1"));
//menu1.addItem("Historia", "#"); // send no URL if nothing should happen onclick
//menu1.addItem("Funciones", "#"); // send no URL if nothing should happen onclick
//menu1.addItem("Organigrama", "#");
//==================================================================================================

//==================================================================================================
// 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])
//==================================================================================================
//ejemplo
//var subMenu1 = menu1.addMenu(menu1.items[1]);
//subMenu1.addItem("· (ss) Shared-Server", "#");
//subMenu1.addItem("· (as) Appliance-Server", "#");
//subMenu1.addItem("· (ds) Dedicated-Server", "#");
//subMenu1.addItem("· (fc) Flash Communication Server MX", "#");
//subMenu1.addItem("· Infrastructure/Technology", "#");

// submenu
//var subMenu2 = menu1.addMenu(menu1.items[2]);
//subMenu2.addItem("· Mad Merch (full solution)", "#");

// menu 
var menu1 = ms.addMenu(document.getElementById("menu1"));
menu1.addItem("Argentina", "/argentina");
menu1.addItem("Bolivia", "/bolivia");
menu1.addItem("Brasil", "/brasil");
menu1.addItem("Colombia", "/colombia");
menu1.addItem("España", "/espana");
menu1.addItem("Italia", "/Italia");
menu1.addItem("México", "/mexico");
menu1.addItem("Panamá", "/panama");
menu1.addItem("Paraguay", "/paraguay");
menu1.addItem("Perú", "/peru");
menu1.addItem("Puerto Rico", "/puertorico");
menu1.addItem("Rep. Dominicana", "/dominicana");
menu1.addItem("Uruguay", "/uruguay");
menu1.addItem("Venezuela", "/venezuela");

// submenu
// var subMenu1 = menu1.addMenu(menu1.items[13]);
// subMenu1.addItem("· Saber.Educar.org", "http://saber.educar.org");
// subMenu1.addItem("· eAprender.org", "http://www.eaprender.org");
// subMenu1.addItem("· Campus Virtual", "http://www.eaprender.org/campus");
// subMenu1.addItem("· BibliotecasVirtuales.com", "http://www.bibliotecasvirtuales.com");

// menu
var menu2 = ms.addMenu(document.getElementById("menu2"));
menu2.addItem("Foros Virtuales Educativos", "/comun/foros/");
menu2.addItem("Proyectos Educativos", "/participar");
menu2.addItem("Comparte tus Fotos", "/comun/nuevagaleria");
menu2.addItem("Listas de Correo", "/comun/listasdecorreo");
menu2.addItem("Nuestras Comunidades", "/comun/comunidadesvirtuales");
menu2.addItem("Foros Virtuales Latinos", "/comun/foros/");
menu2.addItem("Postales", "/comun/postales");
menu2.addItem("Salas de Chat", "/comun/chat");

// submenu
//var subMenu2 = menu2.addMenu(menu2.items[0]);
//subMenu2.addItem("· Ed. Inclusiva y Especial", "http://www.educar.org/comun/foros/forum.asp?FORUM_ID=181");
//subMenu2.addItem("· El Currículo va al Cine", "http://www.educar.org/comun/foros/forum.asp?FORUM_ID=114");
//subMenu2.addItem("· Evaluación Educativa", "http://www.educar.org/comun/foros/forum.asp?FORUM_ID=78");

// menu
var menu3 = ms.addMenu(document.getElementById("menu3"));
menu3.addItem("Carnaval en el Arte", "/arte");
menu3.addItem("Carnaval en la Música", "/musica");
menu3.addItem("Carnaval en la Literatura", "/literatura");
menu3.addItem("Curiosidades de Carnaval", "/curiosidades");
menu3.addItem("Actividades Educativas", "/interactivo");
menu3.addItem("Videos de Carnaval", "/videos");

//menu
var menu5 = ms.addMenu(document.getElementById("menu5"));
menu5.addItem("América del Sur", "http://www.americadelsur.com");
menu5.addItem("Caribe y Centro América", "#");
menu5.addItem("Otras Regiones", "#");
menu5.addItem("Culturales y Educativas");
menu5.addItem("Educativas");
menu5.addItem("Desarrollo Humano");

// submenu
var subMenu6 = menu5.addMenu(menu5.items[0]);
subMenu6.addItem("· AmericadelSur.com", "http://www.americadelsur.com");
subMenu6.addItem("· RedArgentina.com", "http://www.redargentina.com");
subMenu6.addItem("· RedBoliviana.com", "http://www.redboliviana.com");
subMenu6.addItem("· RedeBrasileira.com", "http://www.redebrasileira.com");
subMenu6.addItem("· RedChilena.com", "http://www.redchilena.com");
subMenu6.addItem("· RedColombiana.com", "http://www.redcolombiana.com");
subMenu6.addItem("· RedEcuatoriana.com", "http://www.redecuatoriana.com");
subMenu6.addItem("· RedParaguaya.com", "http://www.redparaguaya.com");
subMenu6.addItem("· RedPeruana.com", "http://www.redperuana.com");
subMenu6.addItem("· RedUruguaya.com", "http://www.reduruguaya.com");
subMenu6.addItem("· RedVenezolana.net", "http://www.redvenezolana.net");
  
// submenu
var subMenu7 = menu5.addMenu(menu5.items[1]);
subMenu7.addItem("· CentroAmericana.com", "http://www.centroamericana.com");
//subMenu7.addItem("· RedBoricua.net", "http://www.redboricua.net");
subMenu7.addItem("· RedCaribe.com", "http://www.redcaribe.com");
subMenu7.addItem("· RedCubana.com", "http://www.redcubana.com");
subMenu7.addItem("· RedDominicana.com", "http://www.reddominicana.com");
  
// submenu
var subMenu8 = menu5.addMenu(menu5.items[2]);
subMenu8.addItem("· CiudadesVirtuales.com", "http://www.CiudadesVirtuales.com");
subMenu8.addItem("· CIVILA.com", "http://www.civila.com");
subMenu8.addItem("· RedMexicana", "http://www.redmexicana.com");

// submenu
var subMenu9 = menu5.addMenu(menu5.items[3]);
subMenu9.addItem("· ArteLatino.com", "http://www.ArteLatino.com");
subMenu9.addItem("· BibliotecasVirtuales.com", "http://www.BibliotecasVirtuales.com");
subMenu9.addItem("· CancioneroVirtual.com", "http://www.CancioneroVirtual.com");
subMenu9.addItem("· EnciclopediasVirtuales.com", "http://www.EnciclopediasVirtuales.com");
subMenu9.addItem("· RecetasLatinas.com", "http://www.RecetasLatinas.com");

// submenu
var subMenu9 = menu5.addMenu(menu5.items[4]);
subMenu9.addItem("· BibliotecasVirtuales.com", "http://www.BibliotecasVirtuales.com");
subMenu9.addItem("· eAprender.org", "http://www.eAprender.org");
subMenu9.addItem("· Educar.org", "http://www.Educar.org");
subMenu9.addItem("· EnciclopediasVirtuales.com", "http://www.EnciclopediasVirtuales.com");


// submenu
var subMenu10 = menu5.addMenu(menu5.items[5]);
subMenu10.addItem("· CodigosLibres.com", "http://www.CodigosLibres.com");
subMenu10.addItem("· ContenidosLibres.com", "http://www.ContenidosLibres.com");
subMenu10.addItem("· Derechos Humanos", "/comun/derechoshumanos");
subMenu10.addItem("· Devopedia.com", "http://es.Devopedia.com");
subMenu10.addItem("· ElEmprendedorSocial.com", "http://www.elemprendedorsocial.com");
subMenu10.addItem("· HaciendoMiParte.com", "http://www.HaciendoMiParte.com");
subMenu10.addItem("· SocInfo.com", "http://www.socinfo.com");

// menu
var menu6 = ms.addMenu(document.getElementById("menu6"));
menu6.addItem("Nuestra Visión", "/comun/sobrenosotros");
menu6.addItem("Contactarnos", "/comun/sobrenosotros#Contacto");
menu6.addItem("Anunciarse Acá", "/comun/sobrenosotros/servicios/publicidad");
menu6.addItem("Nuestros Servicios", "/comun/sobrenosotros/servicios");
menu6.addItem("&nbsp;&nbsp;· Consultoría", "/comun/sobrenosotros/servicios/consultoria");
menu6.addItem("&nbsp;&nbsp;· Web Services", "/comun/sobrenosotros/servicios/portales");
menu6.addItem("&nbsp;&nbsp;· Ciudades Digitales", "/comun/sobrenosotros/servicios/portales");
menu6.addItem("&nbsp;&nbsp;· Bibliotecas Digitales", "/comun/sobrenosotros/servicios/bibliotecasvirtuales");
menu6.addItem("&nbsp;&nbsp;· Campus Virtuales", "/comun/sobrenosotros/servicios/educacion");
menu6.addItem("&nbsp;&nbsp;· Comunidades Virtuales", "/comun/sobrenosotros/servicios/portales");
menu6.addItem("&nbsp;&nbsp;· Gobiernos", "/comun/sobrenosotros/servicios/gobierno");
menu6.addItem("&nbsp;&nbsp;· Corporaciones", "/comun/sobrenosotros/servicios/corporaciones");
menu6.addItem("&nbsp;&nbsp;· Pequeños Negocios", "/comun/sobrenosotros/servicios/pymes");
menu6.addItem("&nbsp;&nbsp;· Instituciones Educativas", "/comun/sobrenosotros/servicios/educacion");
menu6.addItem("&nbsp;&nbsp;· Org. Sin Fines de Lucro", "/comun/sobrenosotros/servicios/ongs");
menu6.addItem("&nbsp;&nbsp;· Emprendimiento Social", "/comun/sobrenosotros/servicios/emprendimientosocial");

// submenu
// var subMenu11 = menu6.addMenu(menu6.items[4]);

//==================================================================================================
// 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();
}
