// 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 (TransMenu.isSupported()) {
			
					//==================================================================================================
					// create a set of dropdowns 0
					//==================================================================================================
					// 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 TransMenuSet(TransMenu.direction.down, 1, 0, TransMenu.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("clinica"));
					menu1.addItem("&Ouml;ffnungszeiten", "http://www.tahefertilidad.es/clinica/horario.php"); 
					menu1.addItem("Einrichtung", "http://www.tahefertilidad.es/clinica/instalaciones.php"); 
					menu1.addItem("Das Team", "http://www.tahefertilidad.es/clinica/equipoHumano.php"); 
					menu1.addItem("Patientenbetreuung", "http://www.tahefertilidad.es/clinica/atencionPaciente.php"); 
					menu1.addItem("Forschungsprojekte", "http://www.tahefertilidad.es/clinica/proyectos.php"); 
					menu1.addItem("Schwangerschaftsraten", "http://www.tahefertilidad.es/clinica/memoria_resultados.php"); 
					menu1.addItem("Qualit&auml;tspolitik", "http://www.tahefertilidad.es/clinica/politica_calidad.php"); 
					menu1.addItem("Online sprechstunde", "http://www.tahefertilidad.es/contacto/visita_virtual.php"); 
					menu1.addItem("Standort", "http://www.tahefertilidad.es/contacto/mapa.php");
					menu1.addItem("Glossar", "http://www.tahefertilidad.es/clinica/glosario.php");

					
					//menu1.addItem("Enlaces", "http://www.tahefertilidad.es/enlaces.php"); 
			
						/*var submenu1 = menu1.addMenu(menu1.items[1]);
						submenu1.addItem("Donde estamos", "http://www.tahefertilidad.es/mapa.php");
						submenu1.addItem("Ayudas", "");
						submenu1.addItem("Preguntas frecuentes", "http://www.tahefertilidad.es/preguntas.php");
			
							var submenu1_1 = submenu1.addMenu(submenu1.items[0]);
							submenu1_1.addItem("Mapa", "http://www.tahefertilidad.es/mapa.php");
							submenu1_1.addItem("Aparcamientos");
							submenu1_1.addItem("Hoteles");
							submenu1_1.addItem("Restaurantes");
							submenu1_1.addItem("Farmacias");*/
							
								/*var submenu1 = menu1.addMenu(menu1.items[3]);
								submenu1.addItem("Salas de espera", "http://www.tahefertilidad.es/instalaciones.php");
								submenu1.addItem("Salas de consulta", "http://www.tahefertilidad.es/instalaciones.php");
								submenu1.addItem("Quir&oacute;fanos", "http://www.tahefertilidad.es/instalaciones.php");
								submenu1.addItem("Otros", "http://www.tahefertilidad.es/instalaciones.php");*/
					//==================================================================================================
			
					//==================================================================================================
					var menu2 = ms.addMenu(document.getElementById("pacientes"));
					menu2.addItem("Erster Fertilit&auml;tsbesuch", "http://www.tahefertilidad.es/pacientes/primera_visita.php");
					menu2.addItem("Diagnostische Untersuchung", "http://www.tahefertilidad.es/pacientes/pruebas_diagnosticas.php");
					menu2.addItem("Fruchtbarkeitsbehandlungen", "http://www.tahefertilidad.es/pacientes/tratamientos.php");
					menu2.addItem("Abteilung f&uuml;r endoskopische Chirurgie", "http://www.tahefertilidad.es/pacientes/uce.php");
					menu2.addItem("Psychologische Unterst&uuml;tzung", "http://www.tahefertilidad.es/pacientes/psicologia.php");
					menu2.addItem("Alleinstehende Frauen", "http://www.tahefertilidad.es/pacientes/mujeres_solas.php");
					menu2.addItem("Homosexualit&auml;t", "http://www.tahefertilidad.es/pacientes/homosexualidad.php");									
					menu2.addItem("Abteilung f&uuml;r Pr&auml;nataldiagnostik", "http://www.tahefertilidad.es/pacientes/diagnostico.php");
					menu2.addItem("Gesetzgebung", "http://www.tahefertilidad.es/pacientes/legislacion.php");
					menu2.addItem("Erz&auml;hlen Sie uns Ihre Geschichte", "http://www.tahefertilidad.es/pacientes/historia.php");										
					
					
			
						/*var submenu2 = menu2.addMenu(menu2.items[0]);
						submenu2.addItem("Seminograma", "http://www.tahefertilidad.es/pruebas.php");
						submenu2.addItem("Espermiograma", "http://www.tahefertilidad.es/pruebas.php");*/
						
						var submenu2 = menu2.addMenu(menu2.items[2]);
						submenu2.addItem("K&uuml;nstliche Insemination", "http://www.tahefertilidad.es/pacientes/tratamientos.php?opcion=inseminacion");
						submenu2.addItem("In-vitro-Fertilisation (IVF)", "http://www.tahefertilidad.es/pacientes/tratamientos.php?opcion=fiv");
						submenu2.addItem("Intracytoplasmatische Spermien-Injektion (ICSI)", "http://www.tahefertilidad.es/pacientes/tratamientos.php?opcion=icsi");						
						submenu2.addItem("Eizellenspende", "http://www.tahefertilidad.es/pacientes/tratamientos.php?opcion=donacion");				
						submenu2.addItem("Genetische Pr&auml;implantationsdiagnostik (PID)", "http://www.tahefertilidad.es/pacientes/tratamientos.php?opcion=dgp");
						submenu2.addItem("Vitrifizierung von Eizellen", "http://www.tahefertilidad.es/pacientes/tratamientos.php?opcion=vitrificacion");
						submenu2.addItem("Einfrieren von Emryonen", "http://www.tahefertilidad.es/pacientes/tratamientos.php?opcion=congelacion");
						submenu2.addItem("Embryoadoption", "http://www.tahefertilidad.es/pacientes/tratamientos.php?opcion=adopcion");
						submenu2.addItem("FAQ", "http://www.tahefertilidad.es/pacientes/faqs.php");
						
						
						var submenu2 = menu2.addMenu(menu2.items[7]);
						submenu2.addItem("Ultraschalluntersuchung auf kongenitale Missbildungen", "http://www.tahefertilidad.es/pacientes/diagnostico.php?opcion=ecografia");
						submenu2.addItem("Ersttrimenon-Screening", "http://www.tahefertilidad.es/pacientes/diagnostico.php?opcion=screening");
						submenu2.addItem("Fruchtwasseruntersuchung", "http://www.tahefertilidad.es/pacientes/diagnostico.php?opcion=amniocentesis");
						submenu2.addItem("Geschlechtsbestimmung des Babys", "http://www.tahefertilidad.es/pacientes/diagnostico.php?opcion=test");
						
			
					//==================================================================================================
			
					//==================================================================================================
					var menu3 = ms.addMenu(document.getElementById("internacional"));
					menu3.addItem("Wir helfen Ihnen bei der Reiseplanung", "http://www.tahefertilidad.es/internacional/organizamos.php");
					menu3.addItem("Kontaktperson", "http://www.tahefertilidad.es/internacional/persona.php");
					menu3.addItem("Hotelinformation", "http://www.tahefertilidad.es/internacional/inf_hoteles.php");
					menu3.addItem("Unternehmungen in Murcia", "http://www.tahefertilidad.es/internacional/que_hacer.php");
					menu3.addItem("Transport", "http://www.tahefertilidad.es/internacional/transporte.php");
					menu3.addItem("Restaurants", "http://www.tahefertilidad.es/internacional/restaurantes.php");					
			
						var submenu3 = menu3.addMenu(menu3.items[3]);
						submenu3.addItem("Routen", "http://www.tahefertilidad.es/internacional/que_hacer.php?opcion=rutas");
						submenu3.addItem("Feste", "http://www.tahefertilidad.es/internacional/que_hacer.php?opcion=fiestas");
						submenu3.addItem("Sport", "http://www.tahefertilidad.es/internacional/que_hacer.php?opcion=deportes");
						submenu3.addItem("Natur", "http://www.tahefertilidad.es/internacional/que_hacer.php?opcion=naturaleza");
						submenu3.addItem("Gastronomie", "http://www.tahefertilidad.es/internacional/que_hacer.php?opcion=gastronomia");
						
			
					//==================================================================================================
					/*var menu4 = ms.addMenu(document.getElementById("otroaponer"));
					menu4.addItem("Florence", "");
			
						var submenu4 = menu4.addMenu(menu4.items[0]);
						submenu4.addItem("Hostile", "");*/
					//==================================================================================================
			
					//==================================================================================================
					var menu5 = ms.addMenu(document.getElementById("noticias"));
					menu5.addItem("Neues von Tahe Fertilidad", "http://www.tahefertilidad.es/noticias/propias.php");
					menu5.addItem("Zeitschrift Tahe Salud &amp; Belleza", "http://www.tahefertilidad.es/noticias/revista.php");
					menu5.addItem("Tahe Fertilidad in der Presse", "http://www.tahefertilidad.es/noticias/prensa.php");
			
						/*var submenu5 = menu5.addMenu(menu5.items[0]);
						submenu5.addItem("Appian Way", "");*/
					//==================================================================================================
			
					//==================================================================================================
					// 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.
					//==================================================================================================
					TransMenu.renderAll();
				}
