//if (parent.location.href == self.location.href) {
// change the url below to the url of the
// frameset page...
////window.location.href = 'index.html';
//}


/* funzione per la data*/

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 = "xenaro ";

	else if (monthNum == 1) NomeMese = "febraro ";

	else if (monthNum == 2) NomeMese = "marso ";

	else if (monthNum == 3) NomeMese = "apri<s>l</s>e ";

	else if(monthNum == 4) NomeMese = "majo ";

	else if(monthNum == 5) NomeMese = "jugno ";

	else if (monthNum == 6) NomeMese = "lujo ";

	else if (monthNum == 7) NomeMese = "agosto ";

	else if (monthNum == 8) NomeMese = "setenbre ";

	else if (monthNum == 9) NomeMese = "otobre ";

	else if (monthNum == 10) NomeMese = "novenbre ";

	else if (monthNum == 11) NomeMese = "disenbre ";


	
	if (giorno == 0) NomeGiorno = "domenega";

	else if (giorno == 1) NomeGiorno = "luni";

	else if (giorno == 2) NomeGiorno = "marti";

	else if (giorno == 3) NomeGiorno = "mercore";

	else if (giorno == 4) NomeGiorno = "xoba";

	else if (giorno == 5) NomeGiorno = "venere";

	else if (giorno == 6) NomeGiorno = "sabo";
	

	
	document.write(NomeGiorno+', '+oggi+' '+NomeMese+ ' '+Year);

	//document.write(oggi+' '+NomeMese+ ' '+Year);

}

