function dophoto(photonum)
{
	document.images['bigphoto'].src = tph.src;
	document.images['bigphoto'].height=heights[photonum];
	document.images['bigphoto'].width = widths[photonum];
	// document.getElementById('capt').innerHTML = captions[photonum];
	for ( i =1; i <= numphotos; i++ ) {
		document.images['thumb' + i].className = 'thunselected';
	}
	document.images['thumb' + photonum].className = 'thselected';
	document.images['bigphoto'].src = srcs[photonum];
}
