// display.js
// Leonardo Favre 2008

function display(id, number, all) {
// hides a group of elements and displays one of them
	for (i=1;i<=all;i++)
	{
		who = id+i;
		document.getElementById(who).style.display='none';
	}
	
	who = id+number;
	document.getElementById(who).style.display='block';
}


function hide(who) {
// hides one element
	document.getElementById(who).style.display='none';
}