	// 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, 0, 0, mtDropDown.reference.bottomLeft);
		var ms2 = new mtDropDownSet(mtDropDown.direction.down, -95, 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("Apresentação", "empresa.php");
		//menu1.addItem("Organigrama", "empresa_organigrama.php");
		//menu1.addItem("Enquadramento Sectorial", "empresa_enquadramento.php");
		menu1.addItem("Posicionamento Estratégico", "posicionamento.php");
		menu1.addItem("Estudos de mercado", "empresa_estudos.php");
		menu1.addItem("Relatório & Contas", "relatorio_contas.php");
		//menu1.addItem("Filme", "empresa_filme.php");
		//menu1.addItem("Admissão de pessoal", "empresa_admissao.php");
		
		//==================================================================================================

		//==================================================================================================
		// 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("Ambiente e Qualidade", "projectos_ambiente.php");
		menu2.addItem("Programa de Melhoria de Serviço", "projectos_servico.php");
		menu2.addItem("Informação em Tempo Real ICTR","projectos.php");
		//menu2.addItem("Gist", "projectos_gist.php");
		
		

   
   //		var menu3 = ms.addMenu(document.getElementById("menu3"));
		//menu3.addItem("Suburbanas","carreiras_suburbanas.php");
    //	menu3.addItem("Urbanas","carreiras_urbanas.php");
    //	menu3.addItem("Directas","carreiras_directas.php");
    //	menu3.addItem("Nocturnas","carreiras_nocturnas.php");		
    //	menu3.addItem("Expresso do Infantado","carreiras_expresso.php");		
    //	menu3.addItem("Airport Shuttle Bus","carreiras_airport.php");		
    //	menu3.addItem("Mapa da Rede","carreiras_mapa.php");		
    //	menu3.addItem("Informações Legais","carreiras_info.php");
							
		//var menu4 = ms.addMenu(document.getElementById("menu4"));
		//menu4.addItem("&&&&&&&&&&&&&&","http://www.aap.pt/legislacao/legislacao.asp");
		//menu4.addItem("##############", "../apoioapratica/formacaocontinua.htm");
		//menu4.addItem("@@@@@@@@@@@@@@@@@", "../apoioapratica/cursos.htm");
		//menu4.addItem("€€€€€€€€€€€€€€€€€€€€e", "../oasrs/oasrs.htm");

		var menu5 = ms.addMenu(document.getElementById("menu5"));
		menu5.addItem("Tarifário em vigor", "tarifas.php");
		//menu5.addItem("Pesquisa tarifária", "pesq_tarifas.php");
		menu5.addItem("Rede de vendas", "tarifas_locais.php");
		//menu5.addItem("Condições de utilização", "tarifas_condicoes.php");
		//menu5.addItem("Requisição de passes", "tarifas_requisicao.php");
		
		//var menu6 = ms.addMenu(document.getElementById("menu6"));
		//menu6.addItem("Oferta de Emprego", "../apoioapratica/oferta.htm");
		//menu6.addItem("Procura de Emprego", "../apoioapratica/procura.htm");
				
		var menu7 = ms.addMenu(document.getElementById("menu7"));
		menu7.addItem("Pedidos de Orçamento","alugueres.php");
		menu7.addItem("Contactos","alugueres_contactos.php");
		//menu7.addItem("Roteiros & Destinos","alugueres_roteiros.php");
		//menu7.addItem("Escolas em Movimento","alugueres_escolas.php");
		// menu7.addItem("Guia de visitas de estudo","alugueres_guia.php");		
		
		
		//var menu8 = ms.addMenu(document.getElementById("menu8"));
		
		var menu9 = ms2.addMenu(document.getElementById("menu9"));
		menu9.addItem("Notícias de Última Hora","ultima_hora.php");
		menu9.addItem("Boletim da Empresa","noticias.php");
		//menu9.addItem("Agenda Cultural","noticias_agenda.php");		

	
		//==================================================================================================
		// 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();
	}
