// This script opens a new browser window and writes
// HTML to display an image with a title and caption
function show_photo( pFileName, pTitle) {
// specify window parameters
  photoWin = window.open( "", "photo", "width=650,height=600,status,scrollbars,resizable,screenX=20,screenY=40,left=20,top=40");
// wrote content to window
  photoWin.document.write('<html><head><title>' + pTitle + '</title></head>');	
  photoWin.document.write('<BODY>');
  photoWin.document.write('<center>');
  photoWin.document.write('<h3><font color="blue">' + pTitle + '</font></h3>');
  photoWin.document.write('<img src="' + pFileName + '">');
  photoWin.document.write('<br><br>');
  photoWin.document.write('<FORM><INPUT type="button" value="Close Window" onClick="window.close()"></FORM>');
  photoWin.document.write('</center></body></html>');
  photoWin.document.close();	
// If we are on NetScape, we can bring the window to the front
	if (navigator.appName.substring(0,8) == "Netscape") photoWin.focus();
}