//DATA E ORA
function aggiorna() {

var mesi = new Array("01","02","03","04","05","06","07","08","09","10","11","12");

Data = new Date()
Giorno = Data.getDate()
Mese = Data.getMonth()
Anno = Data.getFullYear() 
Ore = Data.getHours()
Minuti = Data.getMinutes()
Secondi = Data.getSeconds()

if (Minuti < 10) Minuti = "0" + Minuti

if (Secondi < 10) Secondi = "0" + Secondi

messaggio =  Giorno + "/" + mesi[Mese] + "/" + Anno + " - " + Ore + ":" + Minuti + "." + Secondi

if (!document.layers){
  aggsec = setTimeout("aggiorna();",1000);}

if (document.getElementById){
    document.getElementById('clock').innerHTML=messaggio;}
}
aggiorna();

