function initArrayWeek(){
this.length = 7
this[0]= "Domenica";
this[1]= "Lunedì";
this[2]= "Martedì";
this[3]= "Mercoledì";
this[4]= "Giovedì";
this[5]= "Venerdì";
this[6]= "Sabato";
}
function initArrayMonth() {
this.length = 12
this[0]="Gennaio";
this[1]="Febbraio";
this[2]="Marzo";
this[3]="Aprile";
this[4]="Maggio";
this[5]="Giugno";
this[6]="Luglio";
this[7]="Agosto";
this[8]="Settembre";
this[9]="Ottobre";
this[10]="Novembre";
this[11]="Dicembre";
}
var GiornoDellaSettimana = new initArrayWeek();
var mese = new initArrayMonth();
data = new Date();
var N = (navigator.appName.indexOf("Netscape") != -1);
if (N)
{anno=data.getYear()+1900}
else
{anno=data.getYear()}
document.write(""+GiornoDellaSettimana[data.getDay()]+" ");
document.write("<B>"+data.getDate()+"</B> "+mese[data.getMonth()]+" "+anno+" ");


var vTime= new Date();
if (vTime.getHours()<10) 
{document.write("ore 0"+vTime.getHours())}
else
{document.write("ore "+vTime.getHours())}					 
if (vTime.getMinutes()<10) 
{document.write(":0"+vTime.getMinutes())}
else
{document.write(":"+vTime.getMinutes())}



var min=8;
var max=18;
function increase() {
   var p = document.getElementsByTagName('p');
   for(i=0;i<p.length;i++) {
      if(p[i].style.fontSize) {
         var s = parseInt(p[i].style.fontSize.replace("px",""));
      } else {
         var s = 13;
      }
      if(s!=max) {
         s += 1;
      }
      p[i].style.fontSize = s+"px"
   }
}
function decrease() {
   var p = document.getElementsByTagName('p');
   for(i=0;i<p.length;i++) {
      if(p[i].style.fontSize) {
         var s = parseInt(p[i].style.fontSize.replace("px",""));
      } else {
         var s = 13;
      }
      if(s!=min) {
         s -= 1;
      }
      p[i].style.fontSize = s+"px"
   }   
}