
function dettaglio(str) {
        searchWin = window.open(str,'finestra','scrollbars=yes,resizable=no,width=830,height=600,status=no,location=no,toolbar=no');
}


function finestra(str) {
        searchWin = window.open(str,'finestra','scrollbars=no,resizable=no,status=no,width=500,height=480,location=no,toolbar=no');
}


function ApriChiudi(id)
	{
		var oggetto = document.getElementById(id);
		
		if(oggetto.style.display != "none")
		{
			oggetto.style.display="none";
		
		}
		else
		{
			oggetto.style.display="";
			
		}
	}
	
	function popup(args,larg,alt) {

		var x ='';
		var y ='';
		var tmp='';

		x = screen.width/2 - (larg/2) ;
		y = screen.height/2 - (alt/2) ;

		tmp= "scrollbars=yes,width=" + larg + ",height=" + alt + ",top=" + y + ",left=" + x;

		window.open(args,'',tmp);

}

