// JavaScript Document

function openwindow( pFileName, pTitle, pWidth, pHeight, pCopy) {

// specify window parameters
  photoWin = window.open( "", "photo", "toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,scrollbars=no,width="+pWidth+",height="+pHeight+",screenX=20,screenY=40,left=20,top=40");
  photoWin.document.write('<html><head><title>The Sheiling</title><link rel="stylesheet" href="photowindow.css"></head>');	
  photoWin.document.write('<center>');
  photoWin.document.write('<font size=+3 face="arial,helvetica"><b>' + pTitle + '</b></font><br /><br />');
  photoWin.document.write('<img src="' + pFileName + '"><p>');
  photoWin.document.write('<font face="arial,helvetica">');	
  photoWin.document.write( '<br /><br /> [Picture &copy; ' + pCopy + ']');
   photoWin.document.write( '<br /><form><input type=button value="Close" onClick="javascript:window.close();"></form>');
    photoWin.document.write('</p></font></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();

}
