
var currentView;


function show(object) {
	
	if (currentView != null ) // hiding the view that is currently visible
	{
	node = document.getElementById(currentView).style.visibility='hidden';

	   currentView = null; // there are now no visible views
	}
	 
	node = document.getElementById(object).style.visibility='visible';
	currentView = (object);
}



