      timeconst = 350;


      mytop     = 60;
      myleft    = 60;
      mywidth   = 330;
      myheight  = 280;


      function fenster(breite,hoehe)
        {
          popup=window.open("","popup","toolbar=no,location=no,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=yes,width=" + breite + ",height=" + hoehe);
          popup.focus();
        }
         
      function stil()
       {
         document.write("<style type='text/css'>");
         if (document.layers)
           {
             document.write("#cont1 {visibility: show; position: absolute; top: " + mytop + "px; left: " + myleft + "px; width: " + mywidth + "px; height: " + myheight + "px;}\n");
             document.write("#cont2 {visibility: hide; position: absolute; top: " + mytop + "px; left: " + myleft + "px; width: " + mywidth + "px; height: " + myheight + "px;}\n");
             document.write("#cont3 {visibility: hide; position: absolute; top: " + mytop + "px; left: " + myleft + "px; width: " + mywidth + "px; height: " + myheight + "px;}\n");
             document.write("#cont4 {visibility: hide; position: absolute; top: " + mytop + "px; left: " + myleft + "px; width: " + mywidth + "px; height: " + myheight + "px;}\n");
             document.write("#cont5 {visibility: hide; position: absolute; top: " + mytop + "px; left: " + myleft + "px; width: " + mywidth + "px; height: " + myheight + "px;}\n");
          }
         else if (document.all)
           {
             document.write("#cont1 {visibility: visible; position: absolute; top: " + mytop + "px; left: " + myleft + "px; width: " + mywidth + "px; height: " + myheight + "px; filter:blendTrans(Duration=0.4);}\n");
             document.write("#cont2 {visibility: hidden;  position: absolute; top: " + mytop + "px; left: " + myleft + "px; width: " + mywidth + "px; height: " + myheight + "px; filter:blendTrans(Duration=0.4);}\n");
             document.write("#cont3 {visibility: hidden;  position: absolute; top: " + mytop + "px; left: " + myleft + "px; width: " + mywidth + "px; height: " + myheight + "px; filter:blendTrans(Duration=0.4);}\n");
             document.write("#cont4 {visibility: hidden;  position: absolute; top: " + mytop + "px; left: " + myleft + "px; width: " + mywidth + "px; height: " + myheight + "px; filter:blendTrans(Duration=0.4);}\n");
             document.write("#cont5 {visibility: hidden;  position: absolute; top: " + mytop + "px; left: " + myleft + "px; width: " + mywidth + "px; height: " + myheight + "px; filter:blendTrans(Duration=0.4);}\n");
           }
         else if (document.getElementById)
           {
             document.write("#cont1 {visibility: visible; position: absolute; top: " + mytop + "px; left: " + myleft + "px; width: " + mywidth + "px; height: " + myheight + "px;}\n");
             document.write("#cont2 {visibility: hidden;  position: absolute; top: " + mytop + "px; left: " + myleft + "px; width: " + mywidth + "px; height: " + myheight + "px;}\n");
             document.write("#cont3 {visibility: hidden;  position: absolute; top: " + mytop + "px; left: " + myleft + "px; width: " + mywidth + "px; height: " + myheight + "px;}\n");
             document.write("#cont4 {visibility: hidden;  position: absolute; top: " + mytop + "px; left: " + myleft + "px; width: " + mywidth + "px; height: " + myheight + "px;}\n");
             document.write("#cont5 {visibility: hidden;  position: absolute; top: " + mytop + "px; left: " + myleft + "px; width: " + mywidth + "px; height: " + myheight + "px;}\n");
           }
         document.write("</style>");
          }


      function fensterdim(){}


      function fensterdim0(ziel_w,ziel_h)
       {

         if ((document.getElementById) && ( navigator.userAgent.toLowerCase().indexOf( "msie" ) == -1))
           {
             window.innerWidth  = ziel_w;
             window.innerHeight = ziel_h;
           }
         else if (document.all)
           {
             if ((document.body.clientWidth  != ziel_w) &&
                 (document.body.clientHeight != ziel_h))
               {

                 test_w = ziel_w + 200;
                 test_h = ziel_h + 20;

                 window.resizeTo(test_w,test_h);

                 balken_w = test_w - document.body.clientWidth;
                 balken_h = test_h - document.body.clientHeight;


                 my_w=balken_w + ziel_w;
                 my_h=balken_h + ziel_h;


                 window.resizeTo(my_w,my_h);
               }
           }

        }

      function bildwechsel(name,datei)
       {
         document.images[name].src=datei;
       }


      function layerwechsel(layer1,layer2)
        {
          hide(layer1);
          show(layer2);
        }


      function myhide(layer)
        {
          if (document.layers)
            {
              document.layers[layer].visibility = "hide";
            }
          else if ((document.all) && (document.all[layer].filters))
            {
              if (document.all[layer].style.visibility != "hidden")
                {
                  document.all[layer].filters.blendTrans.Apply();
                  document.all[layer].style.visibility = "hidden";
                  document.all[layer].filters.blendTrans.Play();
                }
            }
          else if (document.all)
            {
              if (document.all[layer].style.visibility != "hidden")
                {
                  document.all[layer].style.visibility = "hidden";
                }
            }
          else if (document.getElementById)
            {
               dummy=document.getElementById(layer);
               dummy.style.visibility = "hidden";
            }
        }

      function myshow(layer)
        {
          if (document.layers)
            {
              document.layers[layer].visibility = "show";
            }
          else if ((document.all) && (document.all[layer].filters))
            {
              if (document.all[layer].style.visibility != "visible")
                {
                   document.all[layer].filters.blendTrans.Apply();
                   document.all[layer].style.visibility = "visible";
                   document.all[layer].filters.blendTrans.Play();
                }
            }
          else if (document.all)
            {
              if (document.all[layer].style.visibility != "visible")
                {
                   document.all[layer].style.visibility = "visible";
                }
            }
          else if (document.getElementById)
            {
               dummy=document.getElementById(layer);
               dummy.style.visibility = "visible";
            }
        }
       


     function hide(layer)
       {    
          timer=setTimeout("myhide(\'" + layer + "\')",timeconst);
       }


     function show(layer)
       {
          myshow(layer);
        }
        
