// JavaScript Document
<!-- 
var rutaAbsoluta = self.location.href;        // http://asdas.asd/uno/dos/index.html 
var posicionUltimaBarra = rutaAbsoluta.lastIndexOf("/"); 
var rutaRelativa = rutaAbsoluta.substring( posicionUltimaBarra + "/".length , rutaAbsoluta.length );   // index.html 
switch(true ){
	
	case (rutaRelativa=="watersport.htm" || rutaRelativa== "actividadesacuaticas.htm"):
	var rutaen = "watersport.htm";
	var rutaes = "actividadesacuaticas.htm";
break;
case "bayahibe_la_romana.htm":
	var rutaen = "bayahibe_la_romana.htm";
	var rutaes = "bayahibe_la_romana.htm";
break;
case (rutaRelativa=="diving.htm"||rutaRelativa=="buceo.htm"):
	var rutaen = "diving.htm";
	var rutaes = "buceo.htm";
break;
case (rutaRelativa=="diving_advanced_courses.htm"||rutaRelativa=="buceo_cursos_avanzado.htm"):
	var rutaen = "diving_advanced_courses.htm";
	var rutaes = "buceo_cursos_avanzado.htm";
break;
case (rutaRelativa=="diving_advanced_courses.htm"||rutaRelativa=="buceo_cursos_avanzado_coz.htm"):
	var rutaen = "diving_advanced_courses.htm";
	var rutaes = "buceo_cursos_avanzado_coz.htm";
break;
case (rutaRelativa=="buceo_cursos_iniciacion.htm"||rutaRelativa=="diving_courses_initiation.htm"):
	var rutaen = "diving_courses_initiation.htm";
	var rutaes = "buceo_cursos_iniciacion.htm";
break;
case (rutaRelativa=="buceo_excursion_cenotes.htm"||rutaRelativa=="diving_excursion_cenotes.htm"):
	var rutaen = "diving_excursion_cenotes.htm";
	var rutaes = "buceo_excursion_cenotes.htm";
break;
case (rutaRelativa=="buceo_excursion_cenotes_cozumel.htm"||rutaRelativa=="diving_excursion_cenotes_cozumel.htm"):
	var rutaen = "diving_excursion_cenotes_cozumel.htm";
	var rutaes = "buceo_excursion_cenotes_cozumel.htm";
break;
case (rutaRelativa=="buceo_excursion_cozumel.htm"||rutaRelativa=="diving_excursion_cozumel.htm"):
	var rutaen = "diving_excursion_cozumel.htm";
	var rutaes = "buceo_excursion_cozumel.htm";
break;
case (rutaRelativa=="buceo_general_desde_hotel_cozumel.htm"||rutaRelativa=="diving_hotel_cozumel.htm"):
	var rutaen = "diving_hotel_cozumel.htm";
	var rutaes = "buceo_general_desde_hotel_cozumel.htm";
break;
case (rutaRelativa=="buceo_general_desde_hotel_riviera.htm" ||rutaRelativa=="diving_mayan_riviera_hotel.htm"):
	var rutaen = "diving_mayan_riviera_hotel.htm";
	var rutaes = "buceo_general_desde_hotel_riviera.htm";
break;
case (rutaRelativa=="buceo_snorkelin_cozumel.htm" || rutaRelativa=="diving_mayan_riviera_hotel.htm"):
	var rutaen = "diving_mayan_riviera_hotel.htm";
	var rutaes = "buceo_snorkelin_cozumel.htm";
break;
case (rutaRelativa=="buceo_snorkelin_desde_hotel.htm" || rutaRelativa=="snorkeling_from_hotel.htm"):
	var rutaen = "snorkeling_from_hotel.htm";
	var rutaes = "buceo_snorkelin_desde_hotel.htm";
break;
case (rutaRelativa=="buceo_snorkelin_mayan_tour.htm" || rutaRelativa=="snorkeling_mayan_tour.htm"):
	var rutaen = "snorkeling_mayan_tour.htm";
	var rutaes = "buceo_snorkelin_mayan_tour.htm";
break;
case (rutaRelativa=="buceo_snorkelin_rm_cozumel.htm" || rutaRelativa=="snorkeling_mayan_tour.htm"):
	var rutaen = "snorkeling_mayan_tour.htm";
	var rutaes = "buceo_snorkelin_rm_cozumel.htm";
break;
case (rutaRelativa=="cozumel.htm" || rutaRelativa=="cozumel.htm"):
	var rutaen = "cozumel.htm";
	var rutaes = "cozumel.htm";
break;
case (rutaRelativa=="dondeestamos.htm" || rutaRelativa=="our_locations.htm"):
	var rutaen = "our_locations.htm";
	var rutaes = "dondeestamos.htm";
break;
case (rutaRelativa=="our_boats.htm" || rutaRelativa=="embarcaciones.htm"):
	var rutaen = "our_boats.htm";
	var rutaes = "embarcaciones.htm";
break;
case (rutaRelativa=="empresa.htm" || rutaRelativa=="company.htm"):
	var rutaen = "company.htm";
	var rutaes = "empresa.htm";
break;
case (rutaRelativa=="mallorca.htm" || rutaRelativa=="mallorca.htm"):
	var rutaen = "mallorca.htm";
	var rutaes = "mallorca.htm";
break;
case (rutaRelativa=="filosofia.htm" || rutaRelativa=="philosophy.htm"):
	var rutaen = "philosophy.htm";
	var rutaes = "filosofia.htm";
break;
case (rutaRelativa=="formularioreserva.htm" || rutaRelativa=="form.htm"):
	var rutaen = "form.htm";
	var rutaes = "formularioreserva.htm";
break;
case (rutaRelativa=="founder.htm" || rutaRelativa=="fundador.htm"):
	var rutaen = "founder.htm";
	var rutaes = "fundador.htm";
break;
case (rutaRelativa=="instructores.htm" || rutaRelativa=="diving_instructor_course.htm"):
	var rutaen = "diving_instructor_course.htm";
	var rutaes = "instructores.htm";
break;
case (rutaRelativa=="jamaica.htm" || rutaRelativa=="jamaica.htm"):
	var rutaen = "jamaica.htm";
	var rutaes = "jamaica.htm";
break;
case (rutaRelativa=="librovisitas.htm" || rutaRelativa=="guestbook.htm"):
	var rutaen = "guestbook.htm";
	var rutaes = "librovisitas.htm";
break;
case (rutaRelativa=="Mallorca-buceo.htm" || rutaRelativa=="Mallorca-diving.htm"):
	var rutaen = "Mallorca-diving.htm";
	var rutaes = "Mallorca-buceo.htm";
break;
case (rutaRelativa=="Mallorca-snorkel.htm" || rutaRelativa=="Mallorca-snorkel.htm"):
	var rutaen = "Mallorca-snorkel.htm";
	var rutaes = "Mallorca-snorkel.htm";
break;
	
	case (rutaRelativa=="mexico.htm" ):
	var rutaen = "mexico.htm";
	var rutaes = "mexico.htm";
break;
	case (rutaRelativa=="montego_bay.htm" ):
	var rutaen = "montego_bay.htm";
	var rutaes = "montego_bay.htm";
break;
	case (rutaRelativa=="noticias.htm" || rutaRelativa=="news.htm"):
	var rutaen = "news.htm";
	var rutaes = "noticias.htm";
break;
	case (rutaRelativa=="nuestrasbases.htm" || rutaRelativa=="ourbases.htm"):
	var rutaen = "ourbases.htm";
	var rutaes = "nuestrasbases.htm";
break;
	case (rutaRelativa=="paratushijos.htm" || rutaRelativa=="for_your_kids.htm"):
	var rutaen = "for_your_kids.htm";
	var rutaes = "paratushijos.htm";
break;
	case (rutaRelativa=="planos_buceo_mexico_cenotes.htm" || rutaRelativa=="dive_maps_mexico_cenotes.htm"):
	var rutaen = "dive_maps_mexico_cenotes.htm";
	var rutaes = "planos_buceo_mexico_cenotes.htm";
break;
case (rutaRelativa=="planos_buceo_mexico_cozumel.htm" || rutaRelativa=="dive_maps_mexico_cozumel.htm"):
	var rutaen = "dive_maps_mexico_cenotes.htm";
	var rutaes = "planos_buceo_mexico_cozumel.htm";
break;
	case (rutaRelativa=="planos_buceo_mexico_riviera.htm" || rutaRelativa=="dive_maps_mexico_cozumel.htm"):
	var rutaen = "dive_maps_mexico_cenotes.htm";
	var rutaes = "planos_buceo_mexico_riviera.htm";
break;
	case (rutaRelativa=="porque.htm" || rutaRelativa=="why_dressel.htm"):
	var rutaen = "why_dressel.htm";
	var rutaes = "porque.htm";
break;
case (rutaRelativa=="puerto_vallarta.htm" || rutaRelativa=="puerto_vallarta.htm"):
	var rutaen = "puerto_vallarta.htm";
	var rutaes = "puerto_vallarta.htm";
break;
case (rutaRelativa=="puerto_plata.htm" || rutaRelativa=="puerto_plata.htm"):
	var rutaen = "puerto_plata.htm";
	var rutaes = "puerto_plata.htm";
break;
case (rutaRelativa=="punta_cana_bavaro.htm" || rutaRelativa=="punta_cana_bavaro.htm"):
	var rutaen = "punta_cana_bavaro.htm";
	var rutaes = "punta_cana_bavaro.htm";
break;
case (rutaRelativa=="quienessomos.htm" || rutaRelativa=="about_dressel.htm"):
	var rutaen = "about_dressel.htm";
	var rutaes = "quienessomos.htm";
break;
case (rutaRelativa=="RepDom_Bayahibe_buceo_excursiones.htm" || rutaRelativa=="RepDom_Bayahibe_diving_excursions.htm"):
	var rutaen = "RepDom_Bayahibe_diving_excursions.htm";
	var rutaes = "RepDom_Bayahibe_buceo_excursiones.htm";
break;
case (rutaRelativa=="RepDom_Bayahibe_diving_from_hotel.htm" || rutaRelativa=="RepDom_Bayahibe_snorkel_desde tu hotel.htm"):
	var rutaen = "RepDom_Bayahibe_diving_from_hotel.htm";
	var rutaes = "RepDom_Bayahibe_snorkel_desde tu hotel.htm";
break;
case (rutaRelativa=="RepDom_Bayahibe_snorkel_excursions.htm" || rutaRelativa=="RepDom_Bayahibe_snorkel_excursiones.htm"):
	var rutaen = "RepDom_Bayahibe_snorkel_excursions.htm";
	var rutaes = "RepDom_Bayahibe_snorkel_excursiones.htm";
break;
case (rutaRelativa=="RepDom_Bayahibe-buceo_desde tu hotel.htm" || rutaRelativa=="RepDom_Bayahibe_diving_from_hotel.htm"):
	var rutaen = "RepDom_Bayahibe_diving_from_hotel.htm";
	var rutaes = "RepDom_Bayahibe-buceo_desde tu hotel.htm";
break;
case (rutaRelativa=="RepDom_PuertoPlata-snorkel.htm" || rutaRelativa=="RepDom_PuertoPlata-snorkel.htm"):
	var rutaen = "RepDom_PuertoPlata-snorkel.htm";
	var rutaes = "RepDom_PuertoPlata-snorkel.htm";
break;
case (rutaRelativa=="RepDom_PuntaCana_buceo_desdehotel.htm" || rutaRelativa=="RepDom_PuntaCana_diving_from_your_hotel.htm"):
	var rutaen = "RepDom_PuntaCana_diving_from_your_hotel.htm";
	var rutaes = "RepDom_PuntaCana_buceo_desdehotel.htm";
break;
case (rutaRelativa=="RepDom_PuntaCana_buceo_excursiones.htm" || rutaRelativa=="RepDom_PuntaCana_snorkel_excursions.htm"):
	var rutaen = "RepDom_PuntaCana_snorkel_excursions.htm";
	var rutaes = "RepDom_PuntaCana_buceo_excursiones.htm";
break;
case (rutaRelativa=="RepDom_PuntaCana_snorkel_desde tu hotel.htm" || rutaRelativa=="RepDom_PuntaCana_snorkel_from_your_hotel.htm"):
	var rutaen = "RepDom_PuntaCana_snorkel_from_your_hotel.htm";
	var rutaes = "RepDom_PuntaCana_snorkel_desde tu hotel.htm";
break;
case (rutaRelativa=="RepDom_PuntaCana_snorkel_excursiones.htm" || rutaRelativa=="RepDom_PuntaCana_snorkel_excursions.htm"):
	var rutaen = "RepDom_PuntaCana_snorkel_excursions.htm";
	var rutaes = "RepDom_PuntaCana_snorkel_excursiones.htm";
break;
case (rutaRelativa=="riviera_maya.htm" || rutaRelativa=="riviera_maya.htm"):
	var rutaen = "riviera_maya.htm";
	var rutaes = "riviera_maya.htm";
break;
case (rutaRelativa=="snorkel.htm" || rutaRelativa=="snorkel.htm"):
	var rutaen = "snorkel.htm";
	var rutaes = "snorkel.htm";
break;
case (rutaRelativa=="trabaja.htm" || rutaRelativa=="workwithus.htm"):
	var rutaen = "workwithus.htm";
	var rutaes = "trabaja.htm";
break;
default: 
var rutaen = "index.htm";
var rutaes = "index.htm";

	}
document.write("<div><a href='../en/"+ rutaen +"'><img src='../flag/Flag_of_the_United_Kingdom.jpg' alt='english' width='30' height='20' /></a><a href='../es/"+ rutaes+"'><img src='../flag/spanish-flag.jpg' alt='spanish' width='30' height='20' /></a><a href='../de/"+ rutaen +"'><img src='../flag/Flag-Germany.jpg' alt='deustsh' /></a><a href='../fr/"+ rutaen +"'><img src='../flag/flag-France.svg.jpg' alt='french' /></a><a href='../it/"+ rutaen +"'><img src='../flag/flag_italy.jpg' alt='italy' /></a></div>");
 -->
