
function ingrandisci(immagine)
	{
		imm = new Image;
		imm.src = immagine;
		html = '<HTML><HEAD><TITLE>Image</TITLE></HEAD><BODY LEFTMARGIN=0 MARGINWIDTH=0 TOPMARGIN=0 MARGINHEIGHT=0><CENTER><IMG SRC="'+ immagine +'" BORDER=0 NAME=imageTest onLoad="window.resizeTo(document.imageTest.width+14,document.imageTest.height+32)"></CENTER></BODY></HTML>';
		popupImage = window.open('','_blank','toolbar=0,location=0,directories=0,menuBar=0,scrollbars=0,resizable=1');
		popupImage.document.open();
		popupImage.document.write(html);
		popupImage.document.close();
	}
	
	
	
function getCurrentDate() {

	function mesi() {
		for (i = 0; i<mesi.arguments.length; i++)
		this[i + 1] = mesi.arguments[i];
	}
	
	var months = new mesi('Gennaio','Febbraio','Marzo','Aprile','Maggio','Giugno', 'Luglio','Agusto','Settembre','Ottobre','Novembre','Dicembre');
	var date = new Date();
	var day = date.getDate();
	var month = date.getMonth() + 1;
	var yy = date.getYear();
	var year = (yy < 1000) ? yy + 1900 : yy;
	
	return day + " " + months[month] + " " + year;
	
}	


