<!--// Begin and hide from impaired browsers

function printWindow(){
   bV = parseInt(navigator.appVersion)
   if (bV >= 4) window.print()
}

function answer(item) {
var op1 = "answers/"+item+".htm"
searchWin = top.window.open(op1,'answer','scrollbars=yes,resizable=yes,width=550,height=450,left=250,top=100,status=no,location=no,toolbar=no');
}

function dispdate(){

mydate = new Date();
myday = mydate.getDay();
mymonth = mydate.getMonth();
myweekday= mydate.getDate();
weekday= myweekday;
myyear= mydate.getYear();
year = myyear;
hour= mydate.getHours();
min= mydate.getMinutes();
sec= mydate.getSeconds()

if(myday == 0)
        day = " Domenica"      

else if(myday == 1)
      day = " Lunedi"

else if(myday == 2)
        day = " Martedi"   

else if(myday == 3)
        day = " Mercoledi"   

else if(myday == 4)
        day = " Giovedi"

else if(myday == 5)
        day = " Venerdi"

else if(myday == 6)
        day = " Sabato"

if(mymonth == 0)
         month = " Gennaio"

else if(mymonth ==1)
         month = " Febbraio"

else if(mymonth ==2)
        month = " Marzo"

else if(mymonth ==3)
       month = " Aprile"

else if(mymonth ==4)
         month = " Maggio"

else if(mymonth ==5)
         month = " Giugno"

else if(mymonth ==6)
         month = " Luglio"

else if(mymonth ==7)
       month = " Agosto"

else if(mymonth ==8)
      month = " Settembre"

else if(mymonth ==9)
     month = " Ottobre"

else if(mymonth ==10)
     month = " Novembre"

else if(mymonth ==11)
     month = " Dicembre"

if (hour < 10) hour = "0"+hour;
if (min < 10) min = "0"+min;
if (sec < 10) sec = "0"+sec;

document.write("Sono le ore " + hour + ":" + min + ":" + sec + "<br>");
document.write("di" + day + " " + myweekday + month + " " + year);
}

function dispdateold() {
var data = new Date();
var Hh, Mm, Gi, Me, An;
Hh = data.getHours() + ":";
Mm = data.getMinutes();
Gi = data.getDate();
Me = data.getMonth();
An = data.getYear();
document.write("Sono le ore " + Hh + Mm);
document.write("<br>del " + Gi + "/" + Me + "/" + An);
}

/********************************************
*   Javascript per la rotazione dei banner in pagina 460x60
*   © Ettore R. Peyrot
*   http://www.peyrot.it
*********************************************/

TotalNumerOfURLs = 3;

function MakeArray(n) {
   this.length = n;
   for (var i = 1; i <= n; i++) { 
     this[i] = 0 }
     return this
   }

AddressToGo = new MakeArray(TotalNumerOfURLs);

var dt = new Date();
var RandomNumber = (dt.getSeconds()%TotalNumerOfURLs)+1;

AddressToGo[1] = "http://www.traduzione-localizzazione.com/"
AddressToGo[2] = "http://www.traduzione-localizzazione.com/"
AddressToGo[3] = "http://www.traduzione-localizzazione.com/"

function ShowTheBanner() {
   document.write('<CENTER>');
   document.write('<A HREF="', AddressToGo[RandomNumber], '" target="_blank"><IMG SRC="http://www.peyrot.it/odp/images/banners/', RandomNumber, '.gif" width="460" height="60" border="0" alt="Visita il nostro sponsor">');
   document.write('</CENTER>');
   }


/********************************************
*   Javascript per la rotazione dei banner laterali 150x100
*   © Ettore R. Peyrot
*   http://www.peyrot.it
*********************************************/

TotalNumerOfURLs = 4;

function MakeArray(n) {
   this.length = n;
   for (var i = 1; i <= n; i++) { 
     this[i] = 0 }
     return this
   }

Address2ToGo = new MakeArray(TotalNumerOfURLs);

var dt = new Date();
var RandomNumber1 = (dt.getSeconds()%TotalNumerOfURLs)+1;
var RandomNumber2 = (dt.getSeconds()%TotalNumerOfURLs)+2;

Address2ToGo[1] = "http://www.peyrot.it/odp/come-diventare-editore.htm"
Address2ToGo[2] = "http://www.peyrot.it/odp/come-diventare-editore.htm"
Address2ToGo[3] = "http://www.tropea.biz/"
Address2ToGo[4] = "http://www.tropea.biz/"

function ShowTheLateral() {
   document.write('<CENTER>');
   document.write('<A HREF="', Address2ToGo[RandomNumber1], '" target="_blank"><IMG SRC="http://www.peyrot.it/odp/images/banners/lateral/', RandomNumber1, '.gif" BORDER="0" alt="Visita il nostro sponsor">');
   document.write('</CENTER>');
   }
function ShowTheLateral2() {
   document.write('<CENTER>');
   document.write('<A HREF="', Address2ToGo[RandomNumber2], '" target="_blank"><IMG SRC="http://www.peyrot.it/odp/images/banners/lateral/', RandomNumber2, '.gif" BORDER="0" alt="Visita il nostro sponsor">');
   document.write('</CENTER>');
   }

// End -->