//global variables
var layerRef="null"; var layerStyleRef="null"; var styleSwitch="null";

function init() {if (navigator.appName == "Netscape") {layerStyleRef="layer."; layerRef="document.layers"; styleSwitch="";}
            else {layerStyleRef="layer.style."; layerRef="document.all"; styleSwitch=".style";}}

function showLayer(layerName) {eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="visible"');}
function hideLayer(layerName) {eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="hidden"');}


 function impressum()
 {var win; var win2; win=window.open("impressum.html","impressum","width=450,height=500,scrollbars=no,location=no,date=no");}

 function bootsservice()
 {var win; var win2; win=window.open("bootsservice.html","bootsservice","width=450,height=500,scrollbars=no,location=no,date=no");}
 
 function sommerfest()
 {var win; var win2; win=window.open("sommerfest.html","sommerfest","width=600,height=340, screenX=300, screenY=300, scrollbars=no");}
 
 function wasserliegeplaetze()
 {var win; var win2; win=window.open("wasserliegeplaetze.html","wasserliegeplaetze","width=780, height=600, screenX=300, screenY=300, scrollbars=Yes");}
 
  function bild00()
 {var win; var win2; win=window.open("bild00.html","bild00","width=700,height=460, screenX=300, screenY=300, scrollbars=NO");}
 
  function grossenbrode_2006() {var win; var win2; win=window.open("grossenbrode_2006.html","grossenbrode_2006","width=800,height=550, screenX=300, screenY=300, scrollbars=No");}
 
  function grossenbrode()
  {var win; var win2; win=window.open("grossenbrode_2008.html","grossenbrode_2008","width=1090,height=880, screenX=50px, screenY=100px, scrollbars=Yes");}
  
  function abendstimmung()
  {var win; var win2; win=window.open("abendstimmung.html","abendstimmung","width=1090,height=880, screenX=50px, screenY=50px, scrollbars=Yes");}
  
  function bistro()
  {var win; var win2; win=window.open("bistro.html","bistro","width=1090,height=880, screenX=50px, screenY=50px, scrollbars=Yes");}
  
  function bistroterrasse()
  {var win; var win2; win=window.open("bistroterrasse.html","bistroterrasse","width=1090,height=880, screenX=50px, screenY=50px, scrollbars=Yes");}
  
  function bistroterrasse()
  {var win; var win2; win=window.open("bistroterrasse.html","bistroterrasse","width=1090,height=880, screenX=50px, screenY=50px, scrollbars=Yes");}
  
  function waschraum()
  {var win; var win2; win=window.open("waschraum.html","waschraum","width=1090,height=880, screenX=50px, screenY=50px, scrollbars=Yes");}

  function bootcenter()
  {var win; var win2; win=window.open("bootcenter.html","bootcenter","width=1090,height=880, screenX=50px, screenY=50px, scrollbars=Yes");}

  function hafen_icon() 
  {var win; var win2; win=window.open("hafen_icon.html","hafen_icon","width=800,height=550, screenX=300, screenY=300, scrollbars=No");}
 
  function kartenausschnitt()
 {var win; var win2; win=window.open("kartenausschnitt.html","kartenausschnitt","width=453,height=600, screenX=300, screenY=300, scrollbars=No");}
 
  function landliegeplaetze()
 {var win; var win2; win=window.open("landliegeplaetze.html","landliegeplaetze","width=780,height=600, screenX=300, screenY=300, scrollbars=yes");}
 
  function wohnmobilstellplaetze()
 {var win; var win2; win=window.open("wohnmobilstellplaetze.html","wohnmobilstellplaetze","width=680,height=700, screenX=300, screenY=300, scrollbars=no");}
 
  function slipgebuehren()
 {var win; var win2; win=window.open("slipgebuehren.html","slipgebuehren","width=700,height=680, screenX=300, screenY=300, scrollbars=yes");}
 
  function bac()
 {var win; var win2; win=window.open("bac.html","bac","width=700,height=680, screenX=300, screenY=300, scrollbars=yes");}
 
  function anmeldung()
 {var win; var win2; win=window.open("anmeldung.html","anmeldung","width=700,height=600, screenX=300, screenY=300, scrollbars=yes");}
 
 function ZweiFrames(URL1,F1,URL2,F2,URL3,F3)
 {parent.frames[F1].location.href=URL1; parent.frames[F2].location.href=URL2; parent.frames[F3].location.href=URL3;}
 
 function ZweiZweiFrames(URL1,F1,URL2,F2)
 {parent.frames[F1].location.href=URL1; parent.frames[F2].location.href=URL2;}
 
 function gallerie()
 {var win; var win2; win=window.open("gallerie.html","gallerie","width=350,height=500,scrollbars=yes,location=no,date=no");}

<!-- ############################# P A S S W O R T A B F R A G E     #####################-->
function passwort()

 {

   var d1, d2, d3, d4, d5, Eingabe, i=0;

   d1=window.document.bgColor;
   d2=window.document.linkColor;
   d3=window.document.title;

   d4=d1.substring(3,5)+d2.substring (0,2)+d3.substring(1,3);
   d5=d4.toUpperCase();

      while (Eingabe!=d4 && Eingabe!=d5)

        {
          i=i+1;
          if (i<=3)
           {
            Eingabe=prompt ("You are about to reach the secured area, please enter the correct passwort,\n TRY "+i);

               if (Eingabe!=null)
                  {

                  if (Eingabe!=d4 && Eingabe!=d5)
                    {

                          alert("invalid passwort!\n TRY "+ i);
                    }

                  else
                    {

                             alert ("correct passwort, press -OK- to enter the secured area");
                        pass();
                          break;


                    }
                  }

                else

                   {
                                 alert ("If you are a local promoter of shows and you need to get the right passwort to the technical area please get in contact with -info@monster-productions.com-");
                           history.back();
                        break;

                  }
              }
             else
              {
                alert ("Sorry, you are not authorised to enter this area, so go to HELL!");
                history.back();
                break;
              }


         }


 }
function pass()
 {var win; var win2; win=window.open("technical_area.html","technical_area","width=600,height=300,screenX=100,screenY=100,scrollbars=no");}