// imagewindow('imagefilename.jpg'); 
function imagewindow(iURL, info) {
	valw = 700;
  valh = 350; 
  vali = iURL;
  
  newwin=window.open('','new3','width=' + valw + ',height=' + valh + '');
	with(newwin.document) {
	  writeln('<HTML><HEAD><TITLE>' + vali + '</TITLE>');
		
    writeln('<style>img { border-width:1px; border-color:#eeeeee; } .text { font-family:verdana,arial,sans-serif; font-size:10px; color:#666666; }</style>');
		writeln('</HEAD>');
		writeln('<BODY BGCOLOR="#aaaaaa" LINK="#666666" VLINK="#666666"  leftmargin="10" topmargin="10" marginwidth="10" marginheight="10">');
		writeln('<br><center>');
      
		writeln('<table cellspacing=0 cellpadding=0 border=0><tr><td><a href="javascript:self.close()" title="click to close window"><img src="' + iURL + '" border="0"></a></td></tr>');
		writeln('<tr><td class=text>' + info + '</td></tr></table>');
	
  	writeln('</center>');
		writeln('<script>window.focus();<\/script>');
    writeln('</BODY>');
		writeln('</HTML>');
		close();
  }
	newwin.focus();
}



