/* ***************************************************
 *
 * Java Script - by www.magicoalvis.it - 2000/2012
 * v.11.11
 * funzioni particolari locali, solo per alcune pagine
 ***************************************************** */
/* *************************************************** */
<!--//

/* ************************************ per google analitics - da verificare  */
function GooAn() {
/* script type="text/javascript" */
  var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
  document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
/* /script */
/* script type="text/javascript" */
  try {
  var pageTracker = _gat._getTracker("UA-15727148-4");
  pageTracker._trackPageview();
  } catch(err) {}
/* /script */
}


/* ************************************* funzione - piccolo orologio */
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 < 14)) { Saluto = "buon giorno ";}
 if ((Ore > 14) && (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;}
 messaggio = Saluto + "- ore " + Ore + ":" + Minuti + ", " + nomeGiorno[Data.getDay()] + " " + Giorno + " " + mesi[Mese] + " " + Anno
 if(!document.layers){ aggsec = setTimeout("AggOra();",1000);}
 if (document.getElementById){ document.innerHTML=messaggio;}
 else if (document.all){ document.all.clock.innerHTML=messaggio;}
 else if(document.layers){ document.write(messaggio);}
}
AggOra();
function ScriviOra() { document.write(messaggio); }

/* ************************************* funzione - code pagina */
function BottomTailXXXX() { 
 var oData    = new Date();
 var oMinuti  = oData.getMinutes();
 var oOre     = oData.getHours();
 var oGiorno  = oData.getDate();
 var oMese    = oData.getMonth()+1;
 var oAnno    = oData.getFullYear();
 var fData    = new Date(document.lastModified);
 var fGiorno  = fData.getDate();
 var fMese    = fData.getMonth()+1;
 var fAnno    = fData.getFullYear();
document.write('<a href="../index.htm"><img src="../case/pHome.gif" alt="home page"></a>');
document.write('<a href="JavaScript:{ window.scrollTo(0,0) }"><img src="../case/pTop.gif" alt="inizio pagina / top"></a>');
document.write('<a href="JavaScript:{ history.back() }"><img src="../case/pBack.gif" alt="indietro / back"></a>');
document.write('<a href="JavaScript:{ window.print() }"><img src="../case/pPrint.gif" alt="stampa pagina / print this page"></a>');
}
function BottomTailDate() { 
document.write('<br />');
document.write('[--: pagina aggiornata il : '+fGiorno+'/'+fMese+'/'+fAnno+' :--]');
}
function CDXBottomInfo() { document.write('<br />'); }


//-->
/* *********************************************** */

