// JavaScript Document
//DATA E ORA
function aggiorna() {

var mesi = new Array("Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre");

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();
