
function bild(img_url, img_title, img_width, img_height)
{
  wnd = open("",
             "Bildanzeige",
             "width=" +img_width+ ",height=" +img_height+
             ",innerWidth=" +img_width+ ",innerHeight=" +img_height);

  
  with(wnd.document)
  {
    open("text/html");
    writeln("<HTML>");
    writeln("<HEAD><TITLE>" + img_url + "</TITLE>");
    writeln("<BODY BGCOLOR=Black leftmargin=0 topmargin=0 marginwidth=0 marginheight=0>");
    
    
    
    write("<A HREF=\"javascript:self.close()\">");
    writeln("<IMG SRC=\"" + img_url +
            "\" WIDTH=" + img_width +
            " HEIGHT=" + img_height +
            " HSPACE=0 VSPACE=0 BORDER=0 ALT=\"" + img_title + "\"/A>");
    
    writeln("</BODY></HTML>");
    close();
  }
  wnd.focus();
}

//Diese Funktion basiert auf ein Beispiel von Dietmar Rabich (www.rabich.de).
