<!-- Prelevato e illustrato sul sito http://www.web-link.it -->
// modificato da Andrea Bianchi 

if (navigator.appName == "Microsoft Internet Explorer") {
    ID = setTimeout("Aggiorn();",1000);
    function Aggiorn() {
        Mesi = new Array(11);
        Mesi [0] = "Gennaio"
        Mesi [1] = "Febbraio"
        Mesi [2] = "Marzo"
        Mesi [3] = "Aprile"
        Mesi [4] = "Maggio"
        Mesi [5] = "Giugno"
        Mesi [6] = "Luglio"
        Mesi [7] = "Agosto"
        Mesi [8] = "Settembre"
        Mesi [9] = "Ottobre"
        Mesi [10] = "Novembre"
        Mesi [11] = "Dicembre"
        Data = new Date()
        Giorno = Data.getDate()
        Mese = Data.getMonth()
        Anno = Data.getYear()
        nameDay = new Array('Domenica','Lunedi','Martedi','Mercoledi','Giovedi','Venerdi','Sabato');
        Ore = Data.getHours()
        Minuti = Data.getMinutes()
        Secondi = Data.getSeconds()
        if ((Ore > 6) && (Ore < 13)) Saluto = "Buon giorno"
        if ((Ore > 12) && (Ore < 18)) Saluto = "Buon pomeriggio"
        if ((Ore > 17) && (Ore < 22)) Saluto = "Buona sera"
        if (Ore > 21) Saluto = "Buona notte"
        if (Ore < 7) Saluto = "Buona notte"
        if (Minuti < 10) Minuti = "0" + Minuti
        if (Secondi < 10) Secondi = "0" + Secondi
      Cal = Saluto + ", sono le ore " + Ore + ":" + Minuti + "." + Secondi + " di " + nameDay[Data.getDay()] + ", " + Giorno + " " + Mesi[Mese] + " " + Anno

        ID = setTimeout("Aggiorn();",1000);
      if (document.all)
          document.all.clock.innerHTML=Cal 
      else
        document.write(Orologio)      
    }
  }
  
//  End --> 
