function popImage( MyImg ){

  var isNN=(navigator.appName=="Netscape")?1:0;
  var imageURL = MyImg.src;
  var imgWin=window.open('about:blank','','scrollbars=no,width=620,height=620,left=100,top=100');

  imageURL = imageURL.replace(".jpg","_hr.jpg");
  imageURL = imageURL.replace(".JPG","_hr.jpg");
  imageURL = imageURL.replace(".Jpg","_hr.jpg");

  with (imgWin.document){
    writeln('<html><head><title>Loading...</title>');
    writeln('<sc'+'ript>');
    writeln('function reSizeToImage(){');
    if (isNN) {
       writeln('iWidth = window.innerWidth;');
       writeln('iHeight = window.innerHeight;');
    }
    else {
       writeln('iWidth = document.body.clientWidth;');
       writeln('iHeight = document.body.clientHeight;');
    }
    writeln('iWidth = document.images[0].width - iWidth;');
    writeln('iHeight = document.images[0].height - iHeight;');
    writeln('window.resizeBy(iWidth, iHeight);');
    writeln('}');
    writeln('function doTitle(){document.title="'+MyImg.alt+'";}');
    writeln('</sc'+'ript>');
    writeln('</head><body bgcolor=ffffff topmargin="0" marginheight="0" leftmargin="0" marginwidth="0" scroll="no" onload="reSizeToImage();doTitle();self.focus()">');
    writeln('<a href="javascript:self.close()" style="text-decoration : none;">');
    writeln('<img src='+imageURL+' style="display:block" border="0" alt="'+MyImg.alt+'"></a></body></html>');
    close();
  }
}

