/*
Il seguente javascript è compatibile sui diversi browser (Testato su IE 6.0, firefox 0.8, Opera 7.50)
*/

function show(id){
	if (document.getElementById) {
		if (document.getElementById(id).style.display=='block'){
			document.getElementById(id).style.display='none';/* cambiare block con inline a seconda dell'elemento da mostrare */
		}else{
			document.getElementById(id).style.display='block';
		}	
	}else if (document.all){
		if (document.all[id].style.display=='block'){
			document.all[id].style.display='none';
		}else{
			document.all[id].style.display='block';
		}
	}else if (document.layers){
		if (document.layers[id].display=='block'){
			document.layers[id].display='none';
		}else{
			document.layers[id].display='block';
		}
	} else {
			alert("Browser incompatibile!");
	}
}


function open_popup(page) {
	window.open(page,"popup","width=550,height=760,toolbar=no,location=no,status=yes,menubar=no,scrollbars=yes");
	return false;
}
