
var linkcount;

hotel=new Array();
hotel[0]="http://www.tlh-hotel.com/Hotelbilder/LeftBlueOn.gif";
hotel[1]="http://www.tlh-hotel.com/Hotelbilder/LeftBlueOff.gif";
hotel[2]="http://www.tlh-hotel.com/Hotelbilder/RightBlueOn.gif";
hotel[3]="http://www.tlh-hotel.com/Hotelbilder/RightBlueOff.gif";
LUXURY_HOTELS=new Array();
for(var i=0;i<hotel.length;i++)
{
   LUXURY_HOTELS[i]=new Image;
   LUXURY_HOTELS[i].src=hotel[i];
}

function popup(url,name,weite,hoehe)
{
    var win;
    var param;
    param="width=" + weite;
    param+=", height=" + hoehe;
    param+=", directories=no, hotkeys=no, location=no, menubar=no, scrollbars=yes, status=no, titlebar=yes, toolbar=no, dependent=yes, resizable=yes";
    win=window.open(url,name,param);
}



function bearbeiten(e)
{
   if(!e)
   {
      e=window.event;
      objekt=e.srcElement;
    }
   else
   {
      objekt=e['target'];
   }
   if(e['type']=="mouseover")
   {
      farbe="#999900";
   }
   else
   {
      farbe="#404000";
   }
   klassname=objekt['className'];
   tagname=objekt['tagName'];
   if( klassname=="textOldlace" && (tagname=="INPUT" || tagname=="BUTTON") )
   {
      objekt.style.color=farbe;
      return true;
   }
   else
   {
      return false;
   }
}
document.onmouseout=bearbeiten;
document.onmouseover=bearbeiten;


function checklinks()
  {
   if (!(linkcount==document.links.length))
     {
      // Something changed the links!
      // Iterate for an id of _goog
      for (i=0; i < document.links.length; i++)
        {
         if (document.links[i].id.substring(0,5)=="_goog")
           {
            // If we find an id of _goog then remove the link!
            var tr = document.links[i].parentTextEdit.createTextRange();
            tr.moveToElementText(document.links[i]);
            tr.execCommand("Unlink",false);
            tr.execCommand("Unselect",false);
           }
        }
     }
   setTimeout("checklinks()",500);
  }



function GELADEN()
  {
   absatz=document.getElementById("adsense");
   absatz.style.height="60px";
   window.scrollTo(0,60);
   if(self!=top)
     {
      document.getElementById("balken").removeChild(document.getElementById("mehrhotels"));
     }

   // AutoBlink
   // Puts Google's Autolink on the Blink :)
   // (c) 2005 Chris Ridings http://www.searchguild.com
   // Redistribute at will but leave this message intact

   if (document.getElementById && document.createElement)
     {
      linkcount=document.links.length;
      setTimeout("checklinks()",500);
     }
  }

