function titelschirm(breite,hoehe,index)
 { 
      var abstand_links = Math.ceil((screen.width - breite) / 2);
      var abstand_oben = Math.ceil((screen.height - hoehe - 40) / 2); 
      var fenster_property = "width=" + breite + ",height=" + hoehe + ", menubar=0,status=0,scrollbars=0, screenX=" + abstand_links + ",screenY=" + abstand_oben +",left=" + abstand_links + ",top=" + abstand_oben

      groesser=window.open("index","index",fenster_property);
      groesser.document.open("text/html");
      groesser.document.writeln("<!doctype html public '-//W3C//DTD HTML 4.01 Transitional//EN'> ");
      groesser.document.writeln("<html> ");
      groesser.document.writeln("  <head> ");
      groesser.document.writeln("    <title>Kalender</title> ");
      groesser.document.writeln("    <meta http-equiv='content-type' content='text/html;charset=ISO-8859-1'> ");
      groesser.document.writeln("  </head> ");
      groesser.document.writeln("  ");

      groesser.document.writeln("</html>");
      groesser.document.writeln("  ");
      groesser.document.writeln("  <frameset cols='*'><frame name='Kalender' noresize src='"+ index + "'><noframes><body leftmargin='10' topmargin='10' marginwidth='10' marginheight='10'></body></noframes></frameset>");
      groesser.document.close();
      groesser.focus(); 
    }
 
function oeffne_Fensterbild(bildname,b_width,b_height,f_width,f_height)
  {
   doc=window.open("", "fenster", "width="+f_width+",height="+f_height+",menubar=0,status=0,scrollbars=0");
   doc.document.open("text/html");
   doc.document.write('<html><title>Bild</title><body bgcolor=#FFFFFF leftmargin="0" marginheight="0" marginwidth="0" topmargin="0">');
   doc.document.write('<p align=center><img src="'+bildname+'" width="'+b_width+'" height="'+b_height+'">');
   doc.document.write('</p></body></html>');
   doc.document.close();
   doc.focus()
  }
 
 
 
function bildGross(bildUrl,breite,hoehe)
 { 
      preload=new Image();
      preload.src=bildUrl;
      var abstand_links = Math.ceil((screen.width - breite) / 2);
      var abstand_oben = Math.ceil((screen.height - hoehe - 40) / 2); 
      var fenster_property = "width=" + breite + ",height=" + hoehe + ", menubar=0,status=0,scrollbars=0, screenX=" + abstand_links + ",screenY=" + abstand_oben +",left=" + abstand_links + ",top=" + abstand_oben

      groesser=window.open("","bild",fenster_property);
      groesser.document.open("text/html");
      groesser.document.writeln("<!doctype html public '-//W3C//DTD HTML 4.01 Transitional//EN'> ");
      groesser.document.writeln("<html> ");
      groesser.document.writeln("  <head> ");
      groesser.document.writeln("    <title>Galerie - Mühlbauer</title> ");
      groesser.document.writeln("    <meta http-equiv='content-type' content='text/html;charset=ISO-8859-1'> ");
      groesser.document.writeln("  </head> ");
      groesser.document.writeln("  ");
      groesser.document.writeln("  <body leftmargin='0' topmargin='0' marginwidth='0' marginheight='0'> ");
      groesser.document.writeln("    <a href='javascript:close()'> ");
      groesser.document.writeln("      <img src='" +bildUrl+ "' alt='Fenster schließen!' border=0 hspace=0 vspace=0>" );
      groesser.document.writeln("    </a> ");
      groesser.document.writeln("  </body> ");
      groesser.document.writeln("</html> ");
      groesser.document.close();
      groesser.focus(); 
    }
 
    function fensterSchliessen()
    {
      if (groesser != null)
        if (!groesser.closed) groesser.close();
    }

