/*function afficheVignette(cheminVignette,cheminMaxi)
	{
	document.write('<A HREF="javascript:afficheMaxi(\''+cheminMaxi+'\')"><IMG SRC="'+cheminVignette+'" HSPACE=0 VSPACE=0 BORDER=1 ALT="Clicca qui per ingrandire la foto"></A>');
	}
function afficheMaxi(chemin)
	{
	i1 = new Image;
	i1.src = chemin;
	html = '<HTML>\n<HEAD>\n<TITLE>Image</TITLE>\n</HEAD>\n<BODY LEFTMARGIN=0 MARGINWIDTH=0 TOPMARGIN=0 MARGINHEIGHT=0>\n<CENTER><IMG SRC="'+chemin+'" BORDER=0 NAME=imageTest onLoad="window.resizeTo(document.imageTest.width+14,document.imageTest.height+32)"></CENTER>\n</BODY>\n</HTML>';
	popupImage = window.open('','_blank','toolbar=0,location=0,directories=0,menuBar=0,scrollbars=0,resizable=0');
	popupImage.document.open();
	popupImage.document.write(html);
	popupImage.document.close()
	};*/
	
	
/*function PrevFoto(img){
    foto1= new Image();
    foto1.src=(img);
    Controlla(img);
    }

function Controlla(img){
    if((foto1.width!=0)&&(foto1.height!=0)){
        viewFoto(img);
        }
    else{
        funzione="Controlla('"+img+"')";
        intervallo=setTimeout(funzione,100);
    }
}

function viewFoto(img){
    largh=foto1.width+20;
    altez=foto1.height+25;
    stringa="width="+largh+",height="+altez;
    finestra=window.open(img,"",stringa);
    } */
	
function change_img(nome,immagine)
{
 if (document.images) {
 	document.images[nome].src=''+immagine;
 
 }
}