function enlarge(bild)
{
LeftPosition = 10;
TopPosition = 10;

wnd = open("",
             "galerie",
             "width=700,height=499" +
			       ",top=" + TopPosition + ",left=" + LeftPosition +
             ",toolbar=0,location=0,directories=0,status=0,menubar=0," +
             "scrollbars=0,resizable,dependent")

wnd.focus();
			 
var wnd_title = "Galerie: Dr. Jochen Schachenreiter"
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>" + wnd_title + "</TITLE>")
    writeln("<BASE HREF=\"" + baseadr + "\">")
    writeln("<link rel='STYLESHEET' type='text/css' href='layout/styles.css'>")
	  writeln("</HEAD>")
    writeln("<BODY bgcolor='#ffcc66' marginheight='0' marginwidth='0'>")
	  writeln("<table border='0' width='100%' height='100%'>")
    writeln("<tr><td align='center' valign='middle'>")
    write("<A HREF=\"javascript:self.close()\">")
	  writeln("<img src='img-galerie/" + bild + ".jpg' class='imgrand' alt='Schlie&szlig;en'>")
    write("</A>")
    writeln("</td></tr></table>")
    writeln("</BODY></HTML>")
    close()
  }
  wnd.focus()
}