function bild(img_url, img_title, img_width, img_height)
{
  wnd = open("",
             "Bildanzeige",
             "width=" + (img_width + 32) + ",height=" + (img_height + 64) +
             ",toolbar=0,location=0,directories=0,status=0,menubar=0," +
             "scrollbars=0,resizable,dependent")

  var baseadr = location.href
  var lastsl  = location.href.lastIndexOf("\\")
  if(lastsl >= 0)
    baseadr = baseadr.substring(0, lastsl + 1)
  else
  {
    lastsl = location.href.lastIndexOf("/")
    if(lastsl >= 0)
      baseadr = baseadr.substring(0, lastsl + 1)
  }
  with(wnd.document)
  {
    open("text/html")
    writeln("<html>")
    writeln("<head><title>" + img_title + "</title>")
    writeln("<base href=\"" + baseadr + "\"></head>")
    writeln("<body bgcolor=#DFDFDF color=#4F4F4F link=#4F4F4F vlink=#4F4F4F>")
    writeln("<table border=0 cellspacing=0 cellpadding=4 width=\"100%\" height=\"100%\">")
    writeln("<tr><td align=center valign=center><img src=\"" + img_url +
            "\" width=" + img_width +
            " height=" + img_height +
            " hspace=0 vspace=0 alt=\"" + img_title + "\"></td></tr>")
    write("<tr><td align=left valign=bottom>")
    write("<a href=\"javascript:self.close()\">Fenster schlie&szlig;en</a>")
    writeln("</td></tr>")
    writeln("</table>")
    writeln("</body></html>")
    close()
  }
  wnd.focus()
}
