function showImage (id, w, h) {
  href = "/screenshot/image_" + id + ".aspx";
  w += 20;
  h += 10;
  sh = screen.height - 80;
  if (document.all) sh -= 40;
  sw = screen.width;
  if (h > sh) h = sh;
  if (w > sw) w = sw;
  posX = sw/2 - w/2;
  posY = sh/2 - h/2;
  if (posY < 0) posY = 0;
  if (posX < 0) posX = 0;
  posCode = (document.all) ? ",left=" + posX + ",top=" + posY : ",screenX=" + posX + ",screenY=" + posY;
  moreWin = window.open (href, "mosfinn", "status=no, toolbar=no, menubar=no, scrollbars=yes, resizable=no, location=no, width=" + w + ", height=" + h + posCode);
  moreWin.focus();
}