<!-- //Copyright (2002-2006) gbs-beach-software S.A. - Costa Rica  www.costaricaweb.de
var ofsy=0;var o=0;function init(){ var il=document.Form1.Hotels.options.length;for (i=0;i<il;i++){y=document.Form1.Hotels.options[i].label.indexOf("!");aw=document.Form1.Hotels.options[i].label.substring(y+1);
links=aw.substr(0,3);oben=aw.substr(4,3);texte=aw.substr(8);dname=document.Form1.Hotels.options[i].value;
if(screen.width < 1024){links=links*0.7819;oben=oben*0.7326;}for (l=0;l<document.images.length; l++){if (document.images[l].name==dname){if(screen.width <1024){}
document.images[l].style.position="absolute";document.images[l].style.left=links;document.images[l].style.top=oben;//if (texte != ""){ // document.images[l].alt=texte;}
}}}}init();if(true)with(navigator)if(appName=="Netscape"){window.captureEvents(Event.CLICK);window.onclick=anzeige;}else{document.Form1.onclick=anzeige;document.map.onclick=anzeigeoff;}
function anzeige(){var links;var oben;var texte;o=document.Form1.Hotels.options[document.Form1.Hotels.selectedIndex].value ;
o=document.Form1.Hotels.selectedIndex; /*  y=document.Form1.Hotels.options[o].label.indexOf("!");*/
aw=document.Form1.Hotels.options[o].label.substring(document.Form1.Hotels.options[o].label.indexOf("!")+1);links=aw.substr(0,3)*1;oben=aw.substr(4,3)*1;
texte=aw.substr(8);anzeigeoff();var obenv=linksv=0;{if(screen.width < 1024){linksv=links*0.7819+4;obenv=oben*0.7326+4;}else{linksv=links+6;  obenv=oben+6;}
so("ebenepunkt").style.left=linksv;so("ebenepunkt").style.top=obenv;so("ebenepunkt").style.visibility = "visible";}
if (texte.substr(0,1)=="<"){anzeigeoff();var leftvx=23;obenvx=leftvx*0.7326-45;if(screen.width < 1024){linksv=links*0.7819-15;obenv=oben*0.7326+6;}else{linksv=links-15;obenv=oben+8;}
so("ebenepunkt1").style.left=linksv;so("ebenepunkt1").style.top=obenv;so("ebenepunkt1").style.visibility = "visible";}
if (texte.substr(0,1)=="&" ){anzeigeoff();if(screen.width < 1024){linksv=links*0.7819+2;obenv=oben*0.7326-18;}else{linksv=linksv;obenv=obenv-20; } 
so("ebenepunkt2").style.left=linksv;so("ebenepunkt2").style.top=obenv;so("ebenepunkt2").style.visibility = "visible";}}anzeigeoff();
function anzeigeoff(){so("ebenepunkt").style.visibility = "hidden";so("ebenepunkt1").style.visibility = "hidden";so("ebenepunkt2").style.visibility = "hidden";}
function bildanzoff(){document.bildzeig.height=0;document.bildzeig.border=0;}var anzpic;//Copyright (2002-2004) gbs-beach-software S.A. - Costa Rica  www.costarica-web.com
function bildanz(anzpic){document.bildzeig.lowsrc=(anzpic+"l");document.bildzeig.src=(anzpic);document.bildzeig.border=2;if(screen.width >= 1024)
{document.bildzeig.height=200;}else{document.bildzeig.height=160;}}var wx=430;var wy=250;if(screen.width < 1024) {wx=430;wy=250;}fenster = window.open("about:blank","F1","width=" + wx + ",height=" + wy + ",left=0,top=0,scrollbars=no,titlebar=no");
fenster.blur();function fop(html) {fenster.close();fenster = window.open(html,"F1","width="+wx+",height="+wy+",left=0,top=0,scrollbars=no,titlebar=no");}
function fop2(html) {fenster.close();fenster = window.open(html,"F1","width="+wx+",height="+wy+",left=0,top=0,scrollbars=no,titlebar=no");}
function hilf(art) {fenster.close();fenster = window.open("./" + art + "/help.htm","F1","width=400,height=250,left=0,top=0,scrollbars=no,titlebar=no"); fenster.focus();  }
function fnop() {fenster.close();}function al(v,v1){var y=v.label.indexOf("!");var uadr=v.label.substring(0,y);var aw=v.label.substring(y+1);
cx=aw.substr(0,3);cx=cx*1;cy=aw.substr(4,3);cy=cy*1;if (screen.width < 1024) {cx=cx*0.7819; cy=cy*0.7326;}cx=cx+8;cy=cy+6;ofsy=0;anz(v1);ofsy=0;
/* if(uadr.length>0) {hl=uadr.length;if(hl>=16) fop2("./hotels/"+uadr+".htm");else fop("./hotels/"+uadr+".htm");}
}function fp(v){fop("./hotels/"+document.Form1.Hotels.options[v-1].r+".htm");} */
if(uadr.length>0) {hl=uadr.length;if(hl>=16) fop2("./"+uadr+".htm");else fop("./"+uadr+".htm");}
}function fp(v){fop("./"+document.Form1.Hotels.options[v-1].r+".htm");} 
 var offsx,offsy;function anz(n){var y=document.Form1.Hotels.options[n-1].label.indexOf("!"); var aw=document.Form1.Hotels.options[n-1].label.substring(y+1);cx=aw.substr(0,3);cx=cx*1+10;
cy=aw.substr(4,3);cy=cy*1; 
 if (screen.width < 1024) {cx=cx*0.7819; cy=cy*0.7326;}var tx = aw.substr(8);
var offsx=offsy=0;var ofsx=10;if(screen.width < 1024) {offsx=-2;offsy=0}; if(screen.width < 1024) {if(tx.substring(0,1) == "<") {offsx=-235;offsy=-25; tx=tx.substr(1);}
if(tx.substring(0,1) == "&") {offsx=-5; offsy=-59; tx=tx.substr(1);}}else{if (tx.substring(0,1) == "<") {offsx=-270;offsy=-10; tx=tx.substr(1);}if (tx.substring(0,1) == "&") {offsx=10; offsy=-80; tx=tx.substr(1);}
}kopf=tx.substring(0,tx.indexOf("#"));htext=tx.substring(tx.indexOf("#")+1);var txt=document.images[n*1+1].src;if (screen.width<1024) {txt=document.images[n*1+1].src;}var rcol="#ffffff";if (txt.search("h0.gif")>0) {rcol="#ffffff";}
fcol="#000000"; if (txt.search("h1.gif")>0) {rcol="#a2a486";fcol="#ffffff";} if (txt.search("h2.gif")>0) {rcol="#3a7434";fcol="#ffffff";}if (txt.search("h3.gif")>0) {rcol="#cccc00";fcol="#000000";}
if (txt.search("h4.gif")>0) {rcol="#ffff00";fcol="#000000";} if (txt.search("h5.gif")>0) {rcol="#cc9933";fcol="#ffffff";}if (txt.search("h6.gif")>0) {rcol="#0000ff";fcol="#ffffff";}
if (txt.search("h7.gif")>0) {rcol="#99ff99";fcol="#000000";}if (txt.search("h8.gif")>0) {rcol="#ccffff";fcol="#000000";}if (txt.search("h9.gif")>0) {rcol="#ff0000";}// document.all["anzfeld"]
so("anzfeld").innerHTML="<TABLE WIDTH=220px BORDER=2 CELLPADDING=2 CELLSPACING=0 BGCOLOR=" + rcol +"><TR><TD><TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0><TR><TD><B><FONT COLOR=" + fcol + " FACE=\"verdana,arial\" SIZE=\"1\">" + 
kopf+"</FONT></B></TD></TR></TABLE><TABLE WIDTH=100% BORDER=1 CELLPADDING=2 CELLSPACING=0 BGCOLOR=\"#cccccc\"><TR><TD VALIGN=TOP><FONT COLOR=\"#000000\" FACE=\"arial\" SIZE=\"1\">"+htext+"</FONT></TD></TR></TABLE></TD></TR></TABLE>";
if(screen.width < 1024) {so("anzfeld").innerHTML="<TABLE WIDTH=210px BORDER=2 CELLPADDING=2 CELLSPACING=0 BGCOLOR=" + rcol +"><TR><TD><TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0><TR><TD><B><FONT COLOR=" + fcol + " FACE=\"verdana,arial\" SIZE=\"1\">" + 
kopf+"</FONT></B></TD></TR></TABLE><TABLE WIDTH=100% BORDER=1 CELLPADDING=2 CELLSPACING=0 BGCOLOR=\"#cccccc\"><TR><TD VALIGN=TOP><FONT COLOR=\"#000000\" FACE=\"arial small\" SIZE=\"1\">"+htext+"</FONT></TD></TR></TABLE></TD></TR></TABLE>";
}so("anzfeld").style.left = cx+ofsx+offsx;so("anzfeld").style.top = cy+ofsy+offsy;so("anzfeld").style.visibility = "visible";
}function nanz(){so("anzfeld").style.visibility = "hidden";}//Copyright (2002-2006) gbs-beach-software S.A. - Costa Rica  www.costaricaweb.de
function so(n){return document.getElementById(n);}
//-->


