function OpenPopUp(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,document.imageTest.height+50)"></CENTER>\n</BODY>\n</HTML>';
	popupImage = window.open('','_blank','status=no,toolbar=no,location=no,directories=no,menuBar=no,scrollbars=no,resizable=no');
	popupImage.document.open();
	popupImage.document.write(html);
	popupImage.document.close()
}
