<!--

function ShowPhoto(pic)
{
	var title=escape(document.getElementById("title").innerHTML);
	var urlStem=escape(window.location.pathname.split('/').slice(0,-1).join('/')+'/pictures/');
	if(urlStem.substr(0,2)=="//")
		urlStem=urlStem.substr(1,urlStem.length-1);
	var caption=document.getElementById("txt"+pic.id).innerHTML;
	var dimensions;
	if (pic.width > pic.height)
		dimensions="height=640,width=750";
	else
		dimensions="height=780,width=640";
	window.open("../../photo.htm?pic=" + urlStem + escape(pic.id + ".jpg") + "&caption=" + escape(caption) + "&title=" + title
		,"Photo",dimensions + ",location=no,menubar=no,resizable=no,scrollbars=no,status=no,toolbar=no");
	return true;
}

function ShowPhotoInit()
{
}

-->