<!--
//Contents for menu 1
var menu1=new Array()
menu1[1]='<a href="http://www.hotelparador.com/esp/el_hotel/comollegar.html">Localización</a>'
menu1[2]='<a href="http://www.hotelparador.com/esp/el_hotel/facilidades.html">Facilidades</a>'
menu1[3]='<a href="http://www.hotelparador.com/esp/el_hotel/servicios.html">Servicios</a>'
menu1[4]='<a href="http://www.hotelparador.com/esp/el_hotel/tienda.html">De Compras</a>'
menu1[5]='<a href="http://www.hotelparador.com/esp/el_hotel/hoja_informativa/index.html">Hoja Informativa</a>'

//Contents for menu 2
var menu2=new Array()
menu2[1]='<a href="http://www.hotelparador.com/esp/habitaciones/superior.html">Habitación Superior</a>'
menu2[2]='<a href="http://www.hotelparador.com/esp/habitaciones/premium.html">Habitación Premium</a>'
menu2[3]='<a href="http://www.hotelparador.com/esp/habitaciones/premium_plus.html">Habitación Premium Plus</a>'
menu2[4]='<a href="http://www.hotelparador.com/esp/habitaciones/garden.html">Habitación Garden</a>'
menu2[5]='<a href="http://www.hotelparador.com/esp/habitaciones/jungle.html">Habitación Jungle</a>'
menu2[6]='<a href="http://www.hotelparador.com/esp/habitaciones/suites.html">Suites</a>'
menu2[7]='<a href="http://www.hotelparador.com/esp/habitaciones/pacifico_suites.html">Pacifico Suites</a>'
menu2[8]='<a href="http://www.hotelparador.com/esp/habitaciones/lavista_mastersuites.html">La Vista Master Suites</a>'
menu2[9]='<a href="http://www.hotelparador.com/esp/habitaciones/presidential.html">Suite Presidencial</a>'

//Contents for menu 3
var menu3=new Array()
menu3[0]='<a href="http://www.hotelparador.com/esp/restaurantes/lagaleria.html">La Galería</a>'
menu3[1]='<a href="http://www.hotelparador.com/esp/restaurantes/donjuan.html">Bar Don Juan</a>'
menu3[2]='<a href="http://www.hotelparador.com/esp/restaurantes/elquijote.html">El Quijote</a>'
menu3[3]='<a href="http://www.hotelparador.com/esp/restaurantes/sanchopanza.html">Sancho Panza</a>'
menu3[4]='<a href="http://www.hotelparador.com/esp/restaurantes/lareina.html">La Reina</a>'
menu3[5]='<a href="http://www.hotelparador.com/esp/restaurantes/elgaleon.html">El Galeón</a>'
menu3[6]='<a href="http://www.hotelparador.com/esp/restaurantes/lafragata.html">La Fragata</a>'
menu3[7]='<a href="http://www.hotelparador.com/esp/restaurantes/servicio_habitacion.html">Servicio a la Habitación</a>'

//Contents for menu 4
var menu4=new Array()
menu4[0]='<a href="http://www.hotelparador.com/esp/pacifica_spa/rituales-spa.html">Rituales del Pacifica Spa</a>'
menu4[1]='<a href="http://www.hotelparador.com/esp/pacifica_spa/coleccion-masajes.html">Colección de Masajes</a>'
menu4[2]='<a href="http://www.hotelparador.com/esp/pacifica_spa/envolturas-corporales.html">Envolturas Corporales</a>'
menu4[3]='<a href="http://www.hotelparador.com/esp/pacifica_spa/faciales.html">Colección de Faciales</a>'
menu4[4]='<a href="http://www.hotelparador.com/esp/pacifica_spa/manos-pies.html">Colección Manos y Pies</a>'
menu4[5]='<a href="http://www.hotelparador.com/esp/pacifica_spa/ala-carta.html">Tratamientos a la Carta</a>'
menu4[6]='<a href="http://www.hotelparador.com/esp/pacifica_spa/como-spa.html">¿Cómo utilizar el Spa?</a>'

//Contents for menu 5
var menu5=new Array()
menu5[0]='<a href="http://www.hotelparador.com/esp/tours/cuadriciclos.html">Cuadriciclos 4x4</a>'
menu5[1]='<a href="http://www.hotelparador.com/esp/tours/canopy.html">Canopy</a>'
menu5[2]='<a href="http://www.hotelparador.com/esp/tours/catamaran.html">Catamarán</a>'
menu5[3]='<a href="http://www.hotelparador.com/esp/tours/isla_damas.html">Manglar de Isla Damas</a>'
menu5[4]='<a href="http://www.hotelparador.com/esp/tours/SCUBA.html">Descubra SCUBA</a>'
menu5[5]='<a href="http://www.hotelparador.com/esp/tours/cabalgata.html">Cabalgata en Caballo</a>'
menu5[6]='<a href="http://www.hotelparador.com/esp/tours/jetski.html">Tour Jet Ski</a>'
menu5[7]='<a href="http://www.hotelparador.com/esp/tours/kayak_manglar.html">Kayak en el Manglar</a>'
menu5[8]='<a href="http://www.hotelparador.com/esp/tours/manuel_antonio_parque.html">Parque Nacional Manuel Antonio</a>'
menu5[9]='<a href="http://www.hotelparador.com/esp/tours/kayak_mar.html">Kayak en el Mar</a>'
menu5[10]='<a href="http://www.hotelparador.com/esp/tours/rainmaker.html">Tour Rain Maker</a>'
menu5[11]='<a href="http://www.hotelparador.com/esp/tours/velero.html">Tour en Velero</a>'
menu5[12]='<a href="http://www.hotelparador.com/esp/tours/rafting.html">Rápidos en Aguas Blancas</a>'
menu5[13]='<a href="http://www.hotelparador.com/esp/tours/clases_surfing.html">Lecciones de Surf</a>'
menu5[14]='<a href="http://www.hotelparador.com/esp/tours/transporte.html">Servicios de Transporte</a>'
		
var menuwidth='135px' //default menu width
var menubgcolor='#4A6979'  //menu bgcolor
var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?

/////No further editting needed

var ie4=document.all
var ns6=document.getElementById&&!document.all

if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')

function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}


function showhide(obj, e, visible, hidden, menuwidth){
if (ie4||ns6)
dropmenuobj.style.left=dropmenuobj.style.top=-500
if (menuwidth!=""){
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
}
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
}

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
}
else{
var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up?
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?
edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
}
}
return edgeoffset
}

function populatemenu(what){
if (ie4||ns6)
dropmenuobj.innerHTML=what.join("")
}


function dropdownmenu(obj, e, menucontents, menuwidth){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
populatemenu(menucontents)

if (ie4||ns6){
showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
}

return clickreturnvalue()
}

function clickreturnvalue(){
if (ie4||ns6) return false
else return true
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function dynamichide(e){
if (ie4&&!dropmenuobj.contains(e.toElement))
delayhidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhidemenu()
}

function hidemenu(e){
if (typeof dropmenuobj!="undefined"){
if (ie4||ns6)
dropmenuobj.style.visibility="hidden"
}
}

function delayhidemenu(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
}

function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}

if (hidemenu_onclick=="yes")
document.onclick=hidemenu
//-->