<!-- 
function AggOra() {
var mesi = new Array("gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre");
var nomeGiorno = new Array('domenica','lunedi','martedi','mercoledi','giovedi','venerdi','sabato');
Data = new Date()
Giorno = Data.getDate()
Mese = Data.getMonth()
Anno = Data.getFullYear() 
Ore = Data.getHours()
Minuti = Data.getMinutes()
Secondi = Data.getSeconds()
if ((Ore > 6) && (Ore < 13)) Saluto = "Buon giorno"
if ((Ore > 12) && (Ore < 19)) Saluto = "Buon pomeriggio"
if ((Ore > 18) && (Ore < 24)) Saluto = "Buona sera"
if (Ore > 23) Saluto = "Buona notte"
if (Ore < 7) Saluto = "Buon giorno"
if (Minuti < 10) Minuti = "0" + Minuti
if (Secondi < 10) Secondi = "0" + Secondi
messaggio = Saluto + ", oggi è<b> " + nomeGiorno[Data.getDay()] + " " + Giorno + " " + mesi[Mese] + " " + Anno + " </b>ore " + Ore + ":" + Minuti + "." + Secondi + " "
if(!document.layers){
  aggsec = setTimeout("AggOra();",1000);}
if (document.getElementById){
    document.getElementById('clock').innerHTML=messaggio;}
else if (document.all){ 
    document.all.clock.innerHTML=messaggio;}
else if(document.layers){
    document.write(messaggio);}
}
AggOra();
//-->