var showImg; 
function showmyImg(url) { 
showImg=window.open ("", "showImg","fullscreen=yes"); 
showImg.document.open(); 
showImg.document.writeln("<html><body scroll='yes' style='margin:50' bgcolor='black'><img src="+url+" border=0 onLoad='self.resizeTo(this.1000,1500);' onClick='self.close();'></body></html>"); 
showImg.document.close(); 
showImg.moveTo(); 
showImg.focus(); 
} 