	//opens popup with enlarged image
	function showGallery(thumbId) {
		 width = 427;
		 height = 360;
		 name = thumbId;
		 params = 'width=' + width + ', height=' + height + ', scrollbars=yes, location=no, menubars=no, resizable=yes';
		 popup=window.open("/misc/thumbnail/?tid="+thumbId, "Image", params);
		 popup.focus();
	}
