rem: myWindow.document.write('<html><head><title>ScreenShot Viewer</title></head>') myWindow.document.write('<body topmargin="0" leftmargin="0" marginwidth="0" marginheight="0">'); myWindow.document.write('<a href="javascript:self.close();"><img src="'+ fileToOpen +'"></a>'); myWindow.document.write('</body></html>'); 
add: myWindow.document.write('<html><head><title>ScreenShot Viewer</title><link rel="stylesheet" href="styles.css" type="text/css"></head>') myWindow.document.write('<body><a href="javascript:self.close();"><img src="'+ fileToOpen +'"></a></body></html>'); 
context: function openWin(fileToOpen,nameOfWindow,width,height) {	myWindow = window.open("",nameOfWindow,"menubar=no,scrollbars=yes,status=no,width="+width+",height="+height);	myWindow.document.open();	myWindow.document.write('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">\n')	myWindow.document.write('<html><head><title>ScreenShot Viewer</title></head>')	myWindow.document.write('<body topmargin="0" leftmargin="0" marginwidth="0" marginheight="0">');	myWindow.document.write('<a href="javascript:self.close();"><img src="'+ fileToOpen +'"></a>');	myWindow.document.write('</body></html>');	myWindow.document.close();}
meta: 5468	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5468/232a351d29f7c59d634f3c2abe9993a6e73c721b/scripts.js/clean/scripts.js