// JavaScript Document

var lib;
if (!lib) { lib = {}; }

lib.PhotoViewer = function() 
{
	this.currentPhoto = null;
}
lib.PhotoViewer.prototype.showPhoto = function(id) 
{
	if (this.currentPhoto != null) {
		this.currentPhoto.style.visibility = "hidden";
	}
	var e = document.getElementById(id);
	e.style.visibility = "visible";
	this.currentPhoto = e;
}
