


// displayImage - displays an image in a new window
function displayImage(imgURL,iWidth,iHeight) {
  newWindow = window.open('', 'ScreenShot', 'toolbar=no,scrollbars=1,resizable=1,width=' + iWidth + ',height=' + iHeight) ;
  newWindow.document.writeln('<html>') ;
  newWindow.document.writeln('<head>') ;
  newWindow.document.writeln('<title>Imagenes de CyS-Conta</title>') ;
  newWindow.document.writeln('</head>') ;
  newWindow.document.writeln('<body style="margin:0px;padding:0px;">') ;
  newWindow.document.writeln('<IMG src="' + imgURL + '" STYLE="position:absolute; left:0px; height:' + iHeight + '; width:' + iWidth + '" />') ;
  newWindow.document.writeln('</body>') ;
  newWindow.document.writeln('</html>') ;
  newWindow.document.close() ;
  newWindow.resizeBy(iWidth-newWindow.document.body.clientWidth,iHeight-newWindow.document.body.clientHeight) ;
  newWindow.focus() ;
}

