	// 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 (ypSlideOut.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 ypSlideOutSet(ypSlideOut.direction.down, 0, 3, ypSlideOut.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("Sobre nosotros", "instituto.html");
		menu1.addItem("Consejo Consultivo Empresarial", "consejo_consultivo.html");
		menu1.addItem("Red de Escuelas", "red_de_escuelas.html");
		menu1.addItem("Centro de Investigación y Desarrollo", "centro_investigacion.html");
		menu1.addItem("Clientes", "clientes.html");

		var menu2 = ms.addMenu(document.getElementById("menu2"));
		menu2.addItem("DGE  >>", "dge.html");
		menu2.addItem("PDE", "pde.html");
		menu2.addItem("PDA", "pda.html");
    	menu2.addItem("Escuela de Servicio con Especialización", "escuela_servicio.html");
		menu2.addItem("Escuela de Ventas con Especialización ", "escuela_ventas.html");
		menu2.addItem("Innovation Marketing", "innovation_marketing.html");
		menu2.addItem("PMDI", "pmdi.html");
		menu2.addItem("Estrategia en Acción", "estrategia_accion.html");
    	menu2.addItem("Taller especializado FACEBOOK", "facebook.html");
		menu2.addItem("Inducción a la Responsabilidad Social", "responsabilidad_social.html");
		menu2.addItem("Negociación Integral", "negociacion_integral.html");
		menu2.addItem("Marketing ROI", "marketing_roi.html");
		menu2.addItem("Retail Marketing", "retail_marketing.html");
		menu2.addItem("Coaching Directivo", "coaching.html");
    	menu2.addItem("Otros Programas  >>", "comunidad_actualizacion.html");
		
		var submenu0 = menu2.addMenu(menu2.items[0]);
    	submenu0.addItem(" > DGE Gerencial", "dge.html");
		submenu0.addItem(" > Especialización en Proyectos", "Especializacion_En_Proyectos.html");
		submenu0.addItem(" > Especialización en Marketing", "Especializacion_En_Marketing.html");
		submenu0.addItem(" > Especialización en R.R.H.H.", "Especializacion_En_RRHH.html");
		submenu0.addItem(" > Especialización en Logística", "Especializacion_En_Logistica.html");
		submenu0.addItem(" > Especialización en Finanzas", "Especializacion_En_Finanzas.html");

		var submenu0 = menu2.addMenu(menu2.items[14]);
    	submenu0.addItem(" > Administración de Tiempo", "administracion_tiempo.html");
    	submenu0.addItem(" > Control y Reducción de Costos", "control_costos.html");
		submenu0.addItem(" > Excelencia en Asistencia", "excelencia_asistencia.html");
		submenu0.addItem(" > Formación de Formadores", "formacion_de_formadores.html");
    	submenu0.addItem(" > Herramientas Financieras  para el control comercial", "herramientas_financieras.html");	 	 	
		submenu0.addItem(" > Plan Comercial Exitoso ", "plan_comercial.html");
 	 	submenu0.addItem(" > Escuela de Ventas", "escuela_ventas_otros.html");
 	 	submenu0.addItem(" > Escuela de Servicios", "escuela_servicios.html");

		var menu3 = ms.addMenu(document.getElementById("menu3"));
		menu3.addItem("Coaching", "comunidad_coaching.html");
		menu3.addItem("Responsabilidad Social", "responsabilidad_social_comunidad.html");
		menu3.addItem("Empresa - Familia", "empresa_familia.html");
		menu3.addItem("Testimoniales", "testimonio.html");

		var menu4 = ms.addMenu(document.getElementById("menu4"));
		menu4.addItem("Quito", "contacto_quito.html");		
		menu4.addItem("Guayaquil", "contacto_guayaquil.html");
		
		//==================================================================================================

		//==================================================================================================
		// 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])
		//==================================================================================================
		// menu : Get Started
		
		//==================================================================================================
		// 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.
		//==================================================================================================
		ypSlideOut.renderAll();
	}

