
function show_photo( pFileName, pTitle, pCaption) 
{//hide this script from old browsers

		// specify window parameters
  			photoWin = window.open( "", "photo", "width=500,height=350,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 BGCOLOR=#000000 TEXT=#FFFFCC LINK=#33CCFF VLINK=#FF6666>');
		  photoWin.document.write('<center>');
		  photoWin.document.write('<font size=+2 face="arial,helvetica"><b>' + pCaption + '</b></font><br>');
		  photoWin.document.write('<img src="' + pFileName + '"><p>');
		  photoWin.document.write('<font face="arial,helvetica">');	
		  photoWin.document.write( '"' + pTitle + '" photo &copy; Tutuvatu<br>');
		  photoWin.document.write('<a href="mailto:Admin@tutuvatu.com">Tutuvatu Admin</a><br>');
		  photoWin.document.write('<p></font></body></html>');
		  photoWin.document.close();	
			
		// To bring the window to the front if Netscape is used
			if (navigator.appName.substring(0,8) == "Netscape") photoWin.focus();
}
