        <!--

        var picwin=0;                    /* globale picwin-Variable */


        /* Fenster schliessen: ------------------------------------ */
        function close_picture()
        {
          if (picwin)                              /* wenn existent */
            if (!picwin.closed)                  /* wenn noch offen */
              picwin.close();                            /* mach zu */
        }


        /* Fenster oeffnen: --------------------------------------- */
        function open_picture(picname,bgcolor)
        {
          close_picture();                               /* mach zu */
          if (!bgcolor)
            bgcolor="#FFFFFF";               /* Standardwert: weiss */
			picwin=open("","picwin","width=250,height=100,resizable=no,status=no,toolbar=no,menubar=no,location=no,scrollbars=no");
			picwin.document.open("text/html","replace");
			picwin.document.write("<html>\n<head>\n");
			picwin.document.write("<title>"+picname+"<\/title>\n");
			picwin.document.write("<meta http-equiv=\"imagetoolbar\" content=\"no\">\n");
			picwin.document.write("<\/head>\n");
			picwin.document.write("<body onLoad=\"opener.picture_size(window,0)\"");
			picwin.document.write(" style=\"background:"+bgcolor+"; margin:0px; padding:20px;\" oncontextmenu=\"return false\" oncontext=\"return false\">\n");
			picwin.document.write("<div align=center style=\"position:absolute; top:5px; z-index:1;\">Einen Augenblick bitte ...<br>... das Bild wird geladen<\/div>\n");
			picwin.document.write("<div align=center style=\"position:absolute; top:5px; z-index:2;\"><a href=\"javascript:self.close()\" title=\"Fenster schliessen\"><img src=\""+picname+"\" hspace=\"0\" vspace=\"0\" border=\"0\"></a><br><\/div>\n");
			picwin.document.write("\n<\/body>\n<\/html>");
			picwin.document.close();
        }

        /* Fensterdaten evaluieren und Fenstergroesse setzen: ----- */
        function picture_size(picwin,imgnum)
        {
          var output;
          var image=picwin.document.images[imgnum];
                          /* falls Bild noch nicht fertig - warten: */
          if (image.width<1)
          {
            this.setTimeout("picture_size(picwin,"+imgnum+");",2000);
            return;
          }
                          /* Fenstergroesse und Fensterlage setzen: */
          picwin.resizeTo(image.width+50,image.height+90);
          picwin.moveTo((screen.width-image.width-50)/2,(screen.height-image.height-50)/2);
                                             /* Zeichenkette bauen: */
          output="src: "+image.src+"\n\n";
          output+=" width: "+image.width+"\n";
          output+="height: "+image.height+"\n";
                                                  /* Output setzen: */
          document.value=output;
                                              /* Fenster nach vorn: */
          picwin.focus();
        }

        //-->

