function show_photo( pFileName, pTitle, pCaption) {

// specify window parameters
  photoWin = window.open( "", pTitle, "width=720,height=720,resizable");

// wrote content to window
  photoWin.document.write('<html><head><title>' + pTitle + '</title></head>');	
  photoWin.document.write('<BODY BGCOLOR=#808080 TEXT=#e4e1e0 LINK=#808080 VLINK=#808080 HOVER=#808080>');
  photoWin.document.write('<center>');
  photoWin.document.write('<font size=+1 face="verdana,geneva, sans-serif">' + pCaption + '</font><br><br>');
  photoWin.document.write('<a href="javascript:self.close()"><img src="' + pFileName + '" style="border: 1px solid #000;"></a><p>');
  photoWin.document.write('<font size=-1 face="verdana,geneva, sans-serif">');	
  photoWin.document.write( pTitle + 'foto &copy; 2007 csf<br>');
  photoWin.document.write('<p></font</p></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();}

