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);

}
function MM_fastMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
