function cambiacolore(colore) {
	if (document.getElementById) { // DOM3 = IE5, NS6 
		document.body.style.backgroundColor = colore; 
	} 
	else { 
		if (document.layers) { // Netscape 4 
		document.body.style.backgroundColor = colore; 
		} 
		else { // IE 4 
			document.all.body.style.backgroundColor = colore; 
		} 
	} 
}

function grande (){
	document.getElementById('testo').style.fontSize = "1.3em";
}
function piccolo (){
	document.getElementById('testo').style.fontSize = "0.7em";
}
function normale (){
	document.getElementById('testo').style.fontSize = "small";
}

// Nasconde l'elemento con id = id
//    compatibile FF iE Safari Netscape
function hidediv(id)
{ 
	if (document.getElementById) { // DOM3 = IE5, NS6 
		document.getElementById(id).style.display = 'none'; 
	}else { 
		if (document.layers) { // Netscape 4 
			document.id.visibility = 'hidden'; 
		}else { // IE 4 
			document.all.id.style.visibility = 'hidden'; 
		} 
	} 
}

// Mostra l'elemento nascosto con id = id
//    compatibile FF iE Safari Netscape
function showdiv(id) 
{ 
	if (document.getElementById) { // DOM3 = IE5, NS6 
		document.getElementById(id).style.display = 'block'; 
	} 
	else { 
		if (document.layers) { // Netscape 4 
			document.pof.visibility = 'visible'; 
		}else { // IE 4 
			document.all.pof.style.visibility = 'visible'; 
		} 
	} 
} 

// Mostra/Nasconde l'elemento con id = id a seconda del suo stato.
//  nota: a volte per funzionare ha bisogno che la proprieta' display sia dichiarata
//		inline (ie: style="display:none")
function ShowHide(id) {
	if(document.getElementById(id).style.display == 'none')
		showdiv(id);
	else 
		hidediv(id);
}
