function SetDate() {
	var myDate = new Date()
	var strDate = ''
	var sGiorno = ''
	switch (myDate.getDay()) {
		case 0:
			sGiorno = 'Domenica';
			break;
		case 1:
			sGiorno = 'Lunedì';
			break;
		case 2:
			sGiorno = 'Martedì';
			break;
		case 3:
			sGiorno = 'Mercoledì';
			break;
		case 4:
			sGiorno = 'Giovedì';
			break;
		case 5:
			sGiorno = 'Venerdì';
			break;
		case 6:
			sGiorno = 'Sabato';
			break;
	}
	strDate = strDate + sGiorno + ' ';
	strDate = strDate + Right('00' + myDate.getDate(), 2);
	strDate = strDate + "/" + Right('00' + (myDate.getMonth()+1), 2);
	strDate = strDate + "/" + Right('0000' + myDate.getFullYear(), 4);
	document.getElementById('SpanDate').innerHTML=strDate;
};
function Right(strString, iLength) {
		var objString=String(strString);
		return objString.substr(objString.length-iLength);
};