  function makepage(src,a)
{
  // We break the closing script tag in half to prevent
  // the HTML parser from seeing it as a part of
  // the *main* page.

  return "<html>\n" +
    "<head>\n" +
    "<title></title>\n" +
    "<script>\n" +
    "fun"+"ction close() {\n" +
    "  window.close();\n" +
    "}\n" +
    "</script>\n" +
    "</head>\n" +
    "<body>\n" +
    "<img  src='" + src + "'/>\n" +
    "</body>\n" +
    "</html>\n";
}

function showme(evt,a)
{
  if (!evt) {
    // Old IE
    evt = window.event;
  }    
  var image = evt.target;
  if (!image) {
    // Old IE
    image = window.event.srcElement;
  }
  src = image.src;
  link = "about:blank";
  var pw = window.open(link, "_blank");
  pw.document.open();
  pw.document.write(makepage(src,a));
  pw.document.close();
}
  
