// Put Focus if Called
if (window.focus) {
self.focus();
}
// openWindow Function for Online Reservation
function openBestday(aux) {
popupWin = window.open(aux,'bestday', 'top=5, left=5, width=627, height=600, buttons=no, location=no, menubar=no, directories=no, scrollbars=yes, status=yes, toolbar=no')
}

<!--
function newWindow(playamap){
mapWindow=window.open(playamap, "mapWin", "width=640,height=480")
mapWindow.focus()
}
// -->


<!--
function Policy(hotelpolicy){
mapWindow=window.open(hotelpolicy, "mapWin", 'top=5, left=5, width=627, height=600, buttons=no, location=no, menubar=no, directories=no, scrollbars=yes, status=yes, toolbar=no')
mapWindow.focus()
}
// -->

<!--
images_xcaret=new Array("/imagenes/aerea_xcaret.jpg", "/imagenes/vista_xcaret.jpg", "/imagenes/entrada_xcaret.jpg", "/imagenes/acuario_xcaret.jpg", "/imagenes/juego_xcaret.jpg", "/imagenes/mariposa_xcaret.jpg")
images_xelha=new Array("/imagenes/aerea_rio_xelha.jpg", "/imagenes/aerea_xelha.jpg", "/imagenes/piedra_del_valor_xelha.jpg", "/imagenes/rio_xelha.jpg", "/imagenes/Puente_Flotante_xelha.jpg", "/imagenes/snorkel_xelha.jpg")
images_3rios=new Array("/imagenes/Tres3_3rios.jpg", "/imagenes/Tres1_3rios.jpg", "/imagenes/Fachada_3rios.jpg")

set1=0
set2=0
set3=0

contador1=images_xcaret.length
contador2=images_xelha.length
contador3=images_3rios.length

function rotate(){

if (document.images){
		set1++
		if (set1 == contador1) {
			set1 = 0
		}

		document.xcaret.src=images_xcaret[set1]

		set2++
		if (set2 == contador2) {
			set2 = 0
		}

		document.xelha.src=images_xelha[set2]


		set3++
		if (set3 == contador3) {
			set3 = 0
		}

		document.tresrios.src=images_3rios[set3]




setTimeout("rotate()", 5*1000)

}

}
// -->
