//showpic.js

	var propWin,newwindow;

	function showPic(picture,caption,button){
		if (caption == null) caption="";
		var width=692;
		var height=648;
		if (newwindow && !newwindow.closed) {
			newwindow.close();
		}
		var content,settings,leftPosition,topPosition;
		leftPosition = (screen.width) ? (screen.width)/0 : 0;
		topPosition = (screen.height) ? (screen.height)/0 - 100 : 0;
		settings = 'toolbar=NO,location=NO,directories=NO,status=NO,menubar=NO,scrollbars=YES,resizable=NO,copyhistory=NO,width='+
			width+ ',height='+ height+ ',top='+ topPosition+ ',left='+leftPosition;
		newwindow = window.open('','',settings);
		content = "<body bgcolor='ffffff' topmargin='0' leftmargin='0'> ";
		content += "<form action='javascript:window.close()'>";
		content += "<br><div align='center'>";
		content += "<img style='border:;' name='picshow' src='" + picture;
		content += "' alt='" + caption;
		content += "' onload='window.resizeTo(this.width + 28,this.height + 100);window.moveTo(" + leftPosition + "," + topPosition + ");'>";
		content += "<br><B>" + caption + "</B>";
		content += "<br><input type='submit' value='" + button + "' class='butsm'></form></div></body>";//Close
		newwindow.document.write(content);
		return
	}

