<!-- Begin
// hide this script from old browsers
// This script opens a new browser window and writes
// HTML to display an image with a title and caption for granite

function show_photo( pFileName, pTitle, pCaption) {

// specify window parameters
  photoWin = window.open( "", "photo", "width=450,height=450,resizable,screenX=20,screenY=40,left=20,top=20");

// write content to new window
  photoWin.document.write('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">');
  photoWin.document.write('<html><head><title>' + pTitle + '</title><link rel="stylesheet" type="text/css" href="../../stylesheets/stylepic.css"></head>');	
  photoWin.document.write('<body onblur="self.close()">');
  photoWin.document.write('<table border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#D4D4D4"><tr><td height="30"><p class="ProdTitle" style="text-align: center">' + pCaption + '</td></tr></table>');
  photoWin.document.write('<p style="text-align: center">&nbsp;</p>');
  photoWin.document.write('<p style="text-align: center"><img src="' + pFileName + '" title="' +pCaption+ '"</p>');
  photoWin.document.write('<form><p style="text-align: center"><input type="button" onclick="self.close()" onBlur="self.close()" value="close window" style="font-family:verdana, sans-serif; font-size:11px; background:#CEEFCE none; color:#000; width:10em"></p></form> ');
  photoWin.document.write('</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();

}

function show_Biggallery( pFileName, pTitle, pCaption) {

// specify window parameters
  photoWin = window.open( "", "photo", "width=600,height=700,resizable,screenX=20,screenY=40,left=20,top=20");

// write content to new window
  photoWin.document.write('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">');
  photoWin.document.write('<html><head><title>' + pTitle + '</title><link rel="stylesheet" type="text/css" href="../../stylesheets/stylepic.css"></head>');	
  photoWin.document.write('<body onblur="self.close()">');
  photoWin.document.write('<table border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#D4D4D4"><tr><td height="30"><p class="ProdTitle" style="text-align: center">' + pCaption + '</td></tr></table>');
  photoWin.document.write('<p style="text-align: center">&nbsp;</p>');
  photoWin.document.write('<p style="text-align: center"><img src="' + pFileName + '" title="' +pCaption+ '"</p>');
  photoWin.document.write('<form><p style="text-align: center"><input type="button" onclick="self.close()" onBlur="self.close()" value="close window" style="font-family:verdana, sans-serif; font-size:11px; background:#CEEFCE none; color:#000; width:10em"></p></form> ');
  photoWin.document.write('</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();

}

function show_Smallgallery( pFileName, pTitle, pCaption) {

// specify window parameters
  photoWin = window.open( "", "photo", "width=600,height=550,resizable,screenX=20,screenY=40,left=20,top=20");

// write content to new window
  photoWin.document.write('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">');
  photoWin.document.write('<html><head><title>' + pTitle + '</title><link rel="stylesheet" type="text/css" href="../../stylesheets/stylepic.css"></head>');	
  photoWin.document.write('<body onblur="self.close()">');
  photoWin.document.write('<table border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#D4D4D4"><tr><td height="30"><p class="ProdTitle" style="text-align: center">' + pCaption + '</td></tr></table>');
  photoWin.document.write('<p style="text-align: center">&nbsp;</p>');
  photoWin.document.write('<p style="text-align: center"><img src="' + pFileName + '" title="' +pCaption+ '"</p>');
  photoWin.document.write('<form><p style="text-align: center"><input type="button" onclick="self.close()" onBlur="self.close()" value="close window" style="font-family:verdana, sans-serif; font-size:11px; background:#CEEFCE none; color:#000; width:10em"></p></form> ');
  photoWin.document.write('</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();

}


// done hiding from old browsers -->

// End -->
