//if (parent.location.href == self.location.href) {
// change the url below to the url of the
// frameset page...
////window.location.href = 'index.html';
//}

function data (){
	thisDate = new Date()
	giorno = thisDate.getDay();

	oggi = thisDate.getDate();

	monthNum = thisDate.getMonth();

	Year = thisDate.getYear();

	if (Year <1000)
		Year=1900+Year;

	
	if (monthNum == 0) NomeMese = "gennaio ";

	else if (monthNum == 1) NomeMese = "febbraio ";

	else if (monthNum == 2) NomeMese = "marzo ";

	else if (monthNum == 3) NomeMese = "aprile ";

	else if(monthNum == 4) NomeMese = "maggio ";

	else if(monthNum == 5) NomeMese = "giugno ";

	else if (monthNum == 6) NomeMese = "luglio ";

	else if (monthNum == 7) NomeMese = "agosto ";

	else if (monthNum == 8) NomeMese = "settembre ";

	else if (monthNum == 9) NomeMese = "ottobre ";

	else if (monthNum == 10) NomeMese = "novembre ";

	else if (monthNum == 11) NomeMese = "dicembre ";


	
	if (giorno == 0) NomeGiorno = "domenica";

	else if (giorno == 1) NomeGiorno = "lunedì";

	else if (giorno == 2) NomeGiorno = "martedì";

	else if (giorno == 3) NomeGiorno = "mercoledì";

	else if (giorno == 4) NomeGiorno = "giovedì";

	else if (giorno == 5) NomeGiorno = "venerdì";

	else if (giorno == 6) NomeGiorno = "sabato";
	

	
	document.write(NomeGiorno+', '+oggi+' '+NomeMese+ ' '+Year);

	//document.write(oggi+' '+NomeMese+ ' '+Year);

}

