var popWin
function pop(pho,cap) 
{
	if(!popWin || popWin.closed)
	{
		popWin = window.open('','win1','status=no,toolbar=no,menu=no,scrollbars=no,width=430,height=330,top=100,left=5');
		var msg= "<HTML>";
		msg += "<HEAD><TITLE>Popup Picture</TITLE></HEAD>";
		msg += "<BODY topmargin=0 >";
		msg += "<p align=left><font size=2 face=verdana><b>"+ cap + "&nbsp; &nbsp; &nbsp; </b></font>"
		msg += "<a href='javascript:window.close()'><img src='../pictures/close.gif' border=no width=50 height=13></a>"; 
		msg += "<img src=" + pho +" border=no height=300 width=400></p>";
		msg += "</BODY>";
		msg += "</HTML>";

		popWin.document.write(msg);
	} 
	
	else 
	{
		popWin.focus()
	}
}
