function openPhotoWindow(picFilename,picTitle,picDesc){
	// create html to write to new window.
	content  = '<html>';
	content += '<head><title>'+picTitle+'</title></head>';
	content +=		'<body>';
	content +=			'<table width="100%" height="100%" border="0">';
	content +=				'<tr>';
	content +=					'<td align="center" valign="middle" height="80%" width="100%">';
	content +=						'<img src="'+picFilename+'" border="2" alt="'+picTitle+'">';
	content +=					'</td>'
	content +=				'</tr>';
	content +=				'<tr>';
	content +=					'<td height="20%" width="100%" align="center" valign="middle"><b><font face="Arial, Helvetica, sans-serif">';
	content +=						picTitle;
	content +=						'</font></b><br><font face="Verdana, Arial, Helvetica, sans-serif">';
	content +=						picDesc;
	content +=					'</font></td>';
	content +=				'</tr>';
	content +=			'</table>';
	content +=		'</body>';
	content +=	'</html>';
	
	// open a new window.
	newWindow = window.open("","picWindow","dependent,height=500,width=500,left=75,top=75");
	
	// write the new content to the window.
	newWindow.focus();
	newWindow.document.write(content);
	newWindow.document.close();
}