function bild(img_url, img_title, img_width, img_height)
{
  wnd = open("",
             "Bildanzeige",
             "width=" + (img_width + 32) + ",height=" + (img_height + 64) +
             ",innerWidth=" + (img_width + 32) + ",innerHeight=" + (img_height + 64) +
             ",toolbar=0,location=0,directories=0,status=0,menubar=0" +
             ",scrollbars=1,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", "replace")
    writeln("<html>")
    writeln("<head><title>" + img_title + "</title>")
    writeln("<base href=\"" + baseadr + "\">")
	writeln("<link rel=\"stylesheet\" type=\"text/css\" href=\"css/formate_Bild.css\"></head>")
    writeln("<body onLoad=\"moveTo(10,20)\">")
    writeln("<table>")
    writeln("<tr><td><img src=\"" + img_url +
            "\" width=" + img_width +
            " height=" + img_height +
            " alt=\"" + img_title + "\" title=\"" + img_title + "\"></td></tr>")
    write("<tr><td class=\"Bild\">")
    write("<a href=\"javascript:self.close()\">Fenster schlie&szlig;en</a>")
    writeln("</td></tr>")
    writeln("</table>")
    writeln("</body></html>")
    close()
  }
  wnd.focus()
}

