/* ---------- I-FRAME ZUSAMMENZIEHEN ---------- */

function pruefe() {
   if(document.all&&!window.opera) {
     var a=document.all.detail;
     detail.document.body.scroll='no';
   } else {
     var a=document.getElementsByName('detail')[0];
     a.scrolling='no';
   }
   var a=document.getElementsByName('detail')[0];
   detail.document.getElementsByTagName('body')[0].style.overflow='hidden';
   var b=detail.document.getElementById('cont');
   if(a.style.height != eval(b.offsetHeight+05)+'px') {
      a.style.height=eval(b.offsetHeight+05)+'px';
   }
}


/* ---------- SPRUNGMENU ---------- */


function MM_jumpMenuGo(objId,targ,restore){ //v9.0
  var selObj = null;  with (document) { 
  if (getElementById) selObj = getElementById(objId);
  if (selObj) eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0; }
}


function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}


/* ---------- CSS DROPDOWN MENU ---------- */

startList = function() {
if (document.all&&document.getElementById) {
navRoot = document.getElementById("nav");
for (i=0; i<navRoot.childNodes.length; i++) {
node = navRoot.childNodes[i];
if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" over";
  }
  node.onmouseout=function() {
  this.className=this.className.replace(" over", "");
   }
   }
  }
 }
}
window.onload=startList;



/* ---------- FENSTER ÖFFNEN ---------- */

function openpartner() {
 partnerwindow = open("http://www.seehotels.at/partner_werden/index.cfm", "partner",
'width=400,height=700,titlebar=no,toolbar=no,menubar=no,location=no,resizable=no,directories=no,scrollbars=no,status=no,top=10,left=200');
if (window.focus){partnerwindow.focus()};
 }
