    var ic = 8;                     // Numero delle immagini disponibili
    var i = new Array(ic);          
    // Parto a dichiarare le immagini
    i[0] = "public/header1.jpg";
    i[1] = "public/header2.jpg";
    i[2] = "public/header3.jpg";
    i[3] = "public/header4.jpg";
    i[4] = "public/header5.jpg";
    i[5] = "public/header6.jpg";
    i[6] = "public/header7.jpg";
    i[7] = "public/header8.jpg";
    // Estraggo un numero casuale da associare alle immagini
    function pickRandom(range) {
        if (Math.random)
            return Math.round(Math.random() * (range-1));
        else {
            var now = new Date();
            return (now.getTime() / 1000) % range;
        }
    }
    // Scrivo il codice html
    var choice = pickRandom(ic);
    document.writeln('<td height="120" background="' + i[choice] +
                     '"></td>');
                     
                     
                     
                   
