<!--
function bild(img_url, img_title, img_width, img_height)
{
  wnd = open("",
             "Bildanzeige",
             "width=" + (img_width + 10) + ",height=" + (img_height + 10) +
             ",toolbar=0,location=0,directories=0,status=0,menubar=1," +
             "scrollbars=0,resizable,dependent,left=20,top=20")

  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("<link rel=STYLESHEET type=text/css href=style.css>")
    writeln("<BASE HREF=\"" + baseadr + "\"></HEAD>")
    writeln("<BODY leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 bgcolor=#FBF1B7>")
    writeln("<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=2 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=center>")
    write("<P><A HREF=\"javascript:self.close()\">Close window</A></p>")
    writeln("</TD></TR>")
    writeln("</TABLE>")
    writeln("
<?php

// include google analytics code
include ($_SERVER['DOCUMENT_ROOT'] . '/php-inc/analytics.inc.php'); 

?>

</body></HTML>")
    close()
  }
  wnd.focus()
}
// -->

