//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 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()
 {var win; var win2; win=window.open("grossenbrode.html","grossenbrode","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 plana1()
 {var win; var win2; win=window.open("09_plan_a1.html","plana1","width=750,height=460, screenX=300, screenY=300, scrollbars=no");}

function plana7()
 {var win; var win2; win=window.open("09_plan_a7.html","plana7","width=750,height=460, screenX=300, screenY=300, scrollbars=no");}

function partner()
 {var win; var win2; win=window.open("08_partner.html","partner","width=270,height=210, screenX=400, screenY=400, 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 info()
 {var win; var win2; win=window.open("page008.html","info","width=780,height=550, screenX=300, screenY=300, scrollbars=yes");}

function foto()
 {var win; var win2; win=window.open("11_fotos.html","foto","width=700,height=515, 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 webcam()
 {var win; var win2; win=window.open("grossbild.htm","webcam","width=700,height=565, 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");
 }