
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}


function PrintMenue() {
  document.writeln("        <a href=\"home.php\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('home','','btn/022.gif',1)\"><img src=\"btn/02.gif\" alt=\"home\" name=\"home\" width=\"45\" height=\"10\" border=\"0\"></a>\n");
  document.writeln("          <img src=\"btn/tiler.gif\" width=\"10\" height=\"10\">\n");
  document.writeln("        <a href=\"news.php\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('news','','btn/22.gif',1)\"><img src=\"btn/20.gif\" alt=\"news\" name=\"news\" width=\"45\" height=\"10\" border=\"0\"></a>\n");
  document.writeln("          <img src=\"btn/tiler.gif\" width=\"10\" height=\"10\">\n");
  document.writeln("        <a href=\"gallery.php\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('gallery','','btn/042.gif',1)\"><img src=\"btn/04.gif\" alt=\"gallery\" name=\"gallery\" width=\"60\" height=\"10\" border=\"0\"></a>\n");
  document.writeln("          <img src=\"btn/tiler.gif\" width=\"10\" height=\"10\">\n");
  document.writeln("        <a href=\"booking.php\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('booking','','btn/062.gif',1)\"><img src=\"btn/06.gif\" alt=\"booking\" name=\"booking\" width=\"70\" height=\"10\" border=\"0\"></a>\n");
  document.writeln("          <img src=\"btn/tiler.gif\" width=\"10\" height=\"10\">\n");
  document.writeln("        <a href=\"facts.php\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('facts','','btn/082.gif',1)\"><img src=\"btn/08.gif\" alt=\"facts\" name=\"facts\" width=\"55\" height=\"10\" border=\"0\"></a>\n");
  document.writeln("          <img src=\"btn/tiler.gif\" width=\"10\" height=\"10\">\n");
  document.writeln("        <a href=\"termine.php\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('termine','','btn/102.gif',1)\"><img src=\"btn/10.gif\" alt=\"termine\" name=\"termine\" width=\"65\" height=\"10\" border=\"0\"></a>\n");
  document.writeln("          <img src=\"btn/tiler.gif\" width=\"10\" height=\"10\">\n");
  document.writeln("        <a href=\"guestbook.php\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('g&auml;stebuch','','btn/122.gif',1)\"><img src=\"btn/12.gif\" alt=\"g&auml;stebuch\" name=\"g&auml;stebuch\" width=\"90\" height=\"10\" border=\"0\"></a>\n");
  document.writeln("          <img src=\"btn/tiler.gif\" width=\"10\" height=\"10\">\n");
  document.writeln("        <a href=\"links.php\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('links','','btn/142.gif',1)\"><img src=\"btn/14.gif\" alt=\"links\" name=\"links\" width=\"50\" height=\"10\" border=\"0\"></a>\n");
  document.writeln("          <img src=\"btn/tiler.gif\" width=\"10\" height=\"10\">\n");
  document.writeln("        <a href=\"kontakt.php\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('kontakt','','btn/162.gif',1)\"><img src=\"btn/16.gif\" alt=\"kontakt\" name=\"kontakt\" width=\"70\" height=\"10\" border=\"0\"></a>\n");
  document.writeln("          <img src=\"btn/tiler.gif\" width=\"10\" height=\"10\">\n");
  document.writeln("        <a href=\"impressum.php\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('impressum','','btn/182.gif',1)\"><img src=\"btn/18.gif\" alt=\"impressum\" name=\"impressum\" width=\"90\" height=\"10\" border=\"0\"></a>\n");
}

function PreloadMenueImages() {
  MM_preloadImages('btn/022.gif','btn/042.gif','btn/062.gif','btn/082.gif','btn/102.gif','btn/122.gif','btn/142.gif','btn/162.gif','btn/182.gif');
}