function showPic(url, width, height)
  {
  sPic = window.open("", "SchnabelZinn", "resizable=yes,width=" + width + ",height=" + height);
  //if (navigator.appName == "Microsoft Internet Explorer")
    if (sPic.window.statusbar && sPic.window.statusbar.visible == true) height = height + 20;
    sPic.window.resizeTo(width+12,height+30);
  //if (navigator.appName == "Netscape")
  //  sPic.window.resizeTo(width,height);
  sPic.document.write('<html><head><title>Schnabel-Zinn</title></head>');
  sPic.document.write('<body leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" bgcolor="#E7E7F7" onclick="window.close();">');
  sPic.document.write('<table width="100%" height="100%" cellspacing="0" cellpadding="0">');
  sPic.document.write('<tr><td align="center" valign="middle"><img src="' + url + '"></td></tr>');
  //pic.document.write('<tr><td align="center">Fenster schließen</td></tr>');
  sPic.document.write('</table>');
  sPic.document.write("</body></html>");
  sPic.focus();
  sPic.document.close();
  }

function openWindow(url, width, height)
  {
  //alert(navigator.appName + ' ' + navigator.appCodeName + ' ' + navigator.appVersion);
  sPic = window.open(url, "SchnabelZinn", "resizable=yes,width=" + width + ",height=" + height);
  //if (navigator.appName == "Microsoft Internet Explorer")
    if (sPic.window.statusbar && sPic.window.statusbar.visible == true) height = height + 20;
    sPic.window.resizeTo(width+12,height+30);
  //if (navigator.appName == "Netscape")
  //  sPic.window.resizeTo(width,height);
  sPic.focus();
  }