// JavaScript Document

function data(){
    var days=new Array(8);
		days[1] = "Dom.";
		days[2] = "Lun.";
		days[3] = "Mar.";
		days[4] = "Mer.";
		days[5] = "Gio.";
		days[6] = "Ven.";
		days[7] = "Sab.";

	var months=new Array(13);
		months[1] = "Gen";
		months[2] = "Feb";
		months[3] = "Mar";
		months[4] = "Apr";
		months[5] = "Mag";
		months[6] = "Giu";
		months[7] = "Lug";
		months[8] = "Ago";
		months[9] = "Set";
		months[10] = "Ott";
		months[11] = "Nov";
		months[12] = "Dic";

	var dateObj=new Date();
	var wday=days[dateObj.getDay() + 1];
	var lmonth=months[dateObj.getMonth() + 1];
	var date=dateObj.getDate();
	var anno=dateObj.getYear();
	if (anno < 2000) anno = anno + 1900;
	
	document.writeln( wday + " " + date + " " + lmonth + " " + anno);
}
