	// 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.down, -1, -1, mtDropDown.reference.bottomLeft);

		//==================================================================================================
		// create a dropdown menu
		//==================================================================================================
		// the first parameter should be the HTML element which will act actuator for the menu
		//==================================================================================================

		
		// Productos
		var menu1 = ms.addMenu(document.getElementById("menu1"));
		menu1.addItem("<img src='imagenes/licensing34.gif'> <span class='cursor_hand'>Seguros de Personas</span>",     "productos/personas/personas.php","paginas" );
		menu1.addItem("<img src='imagenes/licensing34.gif'> <span class='cursor_hand'>Seguros de Automoviles</span>",  "productos/vehiculos/auto.php", "paginas");
		menu1.addItem("<img src='imagenes/licensing34.gif'> <span class='cursor_hand'>Seguros de Patrimoniales</span>","productos/patrimoniales/patrimoniales_.php","paginas" );
		menu1.addItem("<img src='imagenes/licensing34.gif'> <span class='cursor_hand'>Fianzas</span>",             "productos/fianzas/index_fianzas.php", "paginas");
		menu1.addItem("<img src='imagenes/licensing34.gif'> <span class='cursor_hand'>Formularios</span>",         "productos/formularios/index_formularios.php", "paginas");
		//menu1.addItem("<img src='imagenes/licensing34.gif'> <span class='cursor_hand'>Condicionados</span>",       "productos/condicionados/index_condicionados.php", "paginas");
				
	     // Servicios
		var menu2 = ms.addMenu(document.getElementById("menu2"));
		menu2.addItem("<img src='imagenes/licensing34.gif'> <span class='cursor_hand'>Seguro Personas</span>",     "servicios/personas/personas2.php", "paginas" );
		menu2.addItem("<img src='imagenes/licensing34.gif'> <span class='cursor_hand'>Seguro Automoviles</span>",  "servicios/automoviles.php", "paginas");
		menu2.addItem("<img src='imagenes/licensing34.gif'> <span class='cursor_hand'>Seguro Patrimoniales</span>", "servicios/patrimoniales/patrimoniales_.php", "paginas");
		menu2.addItem("<img src='imagenes/licensing34.gif'> <span class='cursor_hand'>Notificacion de Siniestros</span>",     "PaginaWeb/apps/", "_blank2");	
				
		
		// Estado Financiero
		var menu3 = ms.addMenu(document.getElementById("menu3"));
		// menu3.addItem("<img src='images/licensing[34].gif'> <span class='cursor_hand'>PHPAudit Screenshots</span>",     "http://phpaudit.com/screenshots/");
		menu3.addItem("<img src='imagenes/licensing34.gif'> <span class='cursor_hand'>Balance Financiero</span>",     "balance/index_balance.php", "paginas");
		menu3.addItem("<img src='imagenes/licensing34.gif'> <span class='cursor_hand'>Margen de Solvencia</span>",     "balance/index_margen.php", "paginas");
	 	
		
		// La empresa 
		var menu4 = ms.addMenu(document.getElementById("menu4"));
		menu4.addItem("<img src='imagenes/licensing34.gif'> <span class='cursor_hand'>Estructura Organizacional</span>",     "empresa/index_organigrama.html", "paginas");
		menu4.addItem("<img src='imagenes/licensing34.gif'> <span class='cursor_hand'>Reseña Historica</span>",     "empresa/historica.htm", "paginas");
		menu4.addItem("<img src='imagenes/licensing34.gif'> <span class='cursor_hand'>Mision y Vision</span>",     "empresa/mision_vision.htm", "paginas");
		menu4.addItem("<img src='imagenes/licensing34.gif'> <span class='cursor_hand'>Valores</span>",     "empresa/valores.htm", "paginas");
		menu4.addItem("<img src='imagenes/licensing34.gif'> <span class='cursor_hand'>Pol&iacute;tica de la empresa</span>",     "empresa/politica.htm", "paginas");
        menu4.addItem("<img src='imagenes/licensing34.gif'> <span class='cursor_hand'>Nuestros Clientes</span>",     "empresa/clientes.htm", "paginas");
		menu4.addItem("<img src='imagenes/licensing34.gif'> <span class='cursor_hand'>Reaseguradores</span>",     "empresa/reaseguradores.htm", "paginas");
		
		// seguroscaronionline 
		var menu5 = ms.addMenu(document.getElementById("menu5"));
	    menu5.addItem("<img src='imagenes/licensing34.gif'> <span class='cursor_hand'>Valor de Vehiculo</span>",     "PaginaWeb/inma/index_valor_vehiculo.html", "extranet");
		//activar menu5.addItem("<img src='imagenes/licensing34.gif'> <span class='cursor_hand'>Financiamiento</span>",     
//activar "http://www.extranet.seguroscaroni.com/extranet/financiamiento3/financiamiento.php", "_blank");
		menu5.addItem("<img src='imagenes/licensing34.gif'> <span class='cursor_hand'>Solicitud de Productos</span>",     "sistema/solicitud/ingresar.php", "_blank");
		menu5.addItem("<img src='imagenes/licensing34.gif'> <span class='cursor_hand'>Extranet para Productores</span>",     "extranet", "extranetBlank2");
		//menu5.addItem("<img src='imagenes/licensing34.gif'> <span class='cursor_hand'>Cotizador</span>",     "http://192.90.90.17:7780/iFlexPro/web/indexAnonimo.jsp", "_target");
		
		// contactenos 
		var menu6 = ms.addMenu(document.getElementById("menu6"));
		menu6.addItem("<img src='imagenes/licensing34.gif'> <span class='cursor_hand'>Sucursales y Agencias</span>","sistema/sucursales/index.php", "paginas");
		menu6.addItem("<img src='imagenes/licensing34.gif'> <span class='cursor_hand'>Listado de Clinicas</span>",     "PaginaWeb/de_interes/clinicas_html/index.php", "extranetBlank");
		menu6.addItem("<img src='imagenes/licensing34.gif'> <span class='cursor_hand'>Listado de Medicos</span>",     "PaginaWeb/de_interes/medicos_html/index.php", "extranetBlank");
		menu6.addItem("<img src='imagenes/licensing34.gif'> <span class='cursor_hand'>Listado de Triajes</span>",     "de_interes/triajes2.php", "paginas");
		menu6.addItem("<img src='imagenes/licensing34.gif'> <span class='cursor_hand'>Listado de Productores</span>", "PaginaWeb/de_interes/productores_html/index.php", "extranetBlank");
		menu6.addItem("<img src='imagenes/licensing34.gif'> <span class='cursor_hand'>Listado de Talleres</span>",     "PaginaWeb/de_interes/talleres_html/index.php", "extranetBlank");
		menu6.addItem("<img src='imagenes/licensing34.gif'> <span class='cursor_hand'>Red de Odontólogos</span>",     "sistema/archivos/odontologos2.pdf","_blank");
		menu6.addItem("<img src='imagenes/licensing34.gif'> <span class='cursor_hand'>Alto Centro</span>",     "segdental/segurodental.php","_blank");
    menu6.addItem("<img src='imagenes/licensing34.gif'> <span class='cursor_hand'>Red Oftalmológica</span>",     "pdf/Directorio%20Oftalmologico%20Nacional.pdf","_blank");   
		menu6.addItem("<img src='imagenes/licensing34.gif'> <span class='cursor_hand'>Red Funeraria</span>", "sistema/archivos/red_funerarias.pdf","_blank");
		menu6.addItem("<img src='imagenes/licensing34.gif'> <span class='cursor_hand'>Enlaces de Interes</span>",     "enlace_interes/enlaces2.php", "paginas");
		menu6.addItem("<img src='imagenes/licensing34.gif'> <span class='cursor_hand'>Ofertas de Empleo</span>",     "oferta_empleo/index_empleo.php", "paginas");
		//==================================================================================================
		// 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();
	}