// JavaScript Document

<!-- hide this script from old browsers
// script opens new browser window and writes
// HTML to display an image with a title and caption -->

function show_photo( pFileName, pTitle, pCaption) {
// window parameters
  photoWin = window.open( "", "photo", "width=650,height=800,status,scrollbars,resizable,screenX=20,screenY=40,left=20,top=40");
// write content into window
  photoWin.document.write('<html><head><title>' + pTitle + '</title></head>');	
  photoWin.document.write('<body bgcolor="##003300" text="#FFFFCC" link="#FFFFFF" vlink="#FFFF99">');
  photoWin.document.write('<center />');
  photoWin.document.write('<font size="+3" face="arial,helvetica"><b>' + pCaption + '</b></font><br />');
  photoWin.document.write('<img src="' + pFileName + '" alt="" /><br />');
  photoWin.document.write('<font face="arial,helvetica">');	
  photoWin.document.write('' + pTitle + '&copy; Riseform Flyfishing Ventures<br />');
  photoWin.document.write('<a href="mailto:riseform@shaw.ca">riseform@shaw.ca</a><br />');
  photoWin.document.write('<a href="http://www.riseformflyfishing.com/">Riseform Flyfishing Ventures</a>');
  photoWin.document.write('</font></body></html>');
  photoWin.document.close();		
// bring window to front for NetScape
  if (navigator.appName.substring(0,8) == "Netscape") photoWin.focus();
}