function ApriPopUp(img)
	{
	i1 = new Image;
	i1.src = img;
	html = '<HTML>\n<HEAD>\n<TITLE>Dettagli Immagine</TITLE>\n</HEAD>\n<BODY LEFTMARGIN=0 MARGINWIDTH=0 TOPMARGIN=0 MARGINHEIGHT=0>\n<CENTER><IMG SRC="'+img+'" BORDER=0 NAME=imageTest onLoad="window.resizeTo(document.imageTest.width+14,document.imageTest.height+42)"></CENTER>\n</BODY>\n</HTML>';
	popupImage = window.open('','_blank','status=0,toolbar=0,location=0,directories=0,menuBar=0,scrollbars=0,resizable=0');
	popupImage.document.open();
	popupImage.document.write(html);
	popupImage.document.close()
}
