altra parte di codice:

function barra_nav() {
if ( bNetscape4 ) {
doc=document.layers["divMenu"].document;
} else {
doc=document;
}
doc.write('<form action=\"/repo\" name=\"cerca\">');
doc.write('<a href=\"/\"><img alt=\"TGMOnline\" src=\"/img/logodef.gif\" width=\"180\" height=\"93\" border=\"0\"></a>
');
doc.write('<a href=\"/news\" onmouseover=\"bfmovepic(\'n00\',\'/img/froll1.gif\')\" onmouseout=\"bfmovepic(\'n00\',\'/img/fianco1-07.gif\')\"><img src=\"/img/barrasx.gif\" alt=\"\" width=\"25\" height=\"31\" border=0></a><a href=\"/news\" onmouseover=\"bfmovepic(\'n00\',\'/img/froll1.gif\')\" onmouseout=\"bfmovepic(\'n00\',\'/img/fianco1-07.gif\')\"><img src=\"/img/fianco1-06.gif\" width=\"94\" height=\"31\" border=0 alt=\"News\"></a><a href=\"/news\" onmouseover=\"bfmovepic(\'n00\',\'/img/froll1.gif\')\" onmouseout=\"bfmovepic(\'n00\',\'/img/fianco1-07.gif\')\"><img src=\"/img/fianco1-07.gif\" width=\"54\" height=\"31\" border=0 name=\"n00\" alt=\"\"></a>
');
doc.write('<a href=\"/fragzone\" onmouseover=\"bfmovepic(\'n01\',\'/img/froll1-02.gif\')\" onmouseout=\"bfmovepic(\'n01\',\'/img/fianco1-10.gif\')\"><img alt=\"\" src=\"/img/barrasx.gif\" width=\"25\" height=\"31\" border=0></a><a href=\"/fragzone\" onmouseover=\"bfmovepic(\'n01\',\'/img/froll1-02.gif\')\" onmouseout=\"bfmovepic(\'n01\',\'/img/fianco1-10.gif\')\"><img alt=\"Fragzone\" src=\"/img/fianco1-09.gif\" width=\"94\" height=\"31\" border=0></a><a href=\"/fragzone\" onmouseover=\"bfmovepic(\'n01\',\'/img/froll1-02.gif\')\" onmouseout=\"bfmovepic(\'n01\',\'/img/fianco1-10.gif\')\"><img alt=\"\" src=\"/img/fianco1-10.gif\" width=\"54\" height=\"31\" border=0 name=\"n01\"></a>
');
doc.write('<a href=\"http://www.tgmonline.it/forum/\" onmouseover=\"bfmovepic(\'n02\',\'/img/froll1-03.gif\')\" onmouseout=\"bfmovepic(\'n02\',\'/img/fianco1-13.gif\')\"><img alt=\"\" src=\"/img/barrasx.gif\" width=\"25\" height=\"31\" border=0></a><a href=\"http://www.tgmonline.it/forum/\" onmouseover=\"bfmovepic(\'n02\',\'/img/froll1-03.gif\')\" onmouseout=\"bfmovepic(\'n02\',\'/img/fianco1-13.gif\')\"><img alt=\"Forum\" src=\"/img/fianco1-12.gif\" width=\"94\" height=\"31\" border=0></a><a href=\"http://www.tgmonline.it/forum/\" onmouseover=\"bfmovepic(\'n02\',\'/img/froll1-03.gif\')\" onmouseout=\"bfmovepic(\'n02\',\'/img/fianco1-13.gif\')\"><img alt=\"\" src=\"/img/fianco1-13.gif\" width=\"54\" height=\"31\" border=0 name=\"n02\"></a>
');
doc.write('<a href=\"/download\" onmouseover=\"bfmovepic(\'n03\',\'/img/froll1-04.gif\')\" onmouseout=\"bfmovepic(\'n03\',\'/img/fianco1-16.gif\')\"><img alt=\"\" src=\"/img/barrasx.gif\" width=\"25\" height=\"31\" border=0></a><a href=\"/download\" onmouseover=\"bfmovepic(\'n03\',\'/img/froll1-04.gif\')\" onmouseout=\"bfmovepic(\'n03\',\'/img/fianco1-16.gif\')\"><img alt=\"Download\" src=\"/img/fianco1-15.gif\" width=\"94\" height=\"31\" border=0></a><a href=\"/download\" onmouseover=\"bfmovepic(\'n03\',\'/img/froll1-04.gif\')\" onmouseout=\"bfmovepic(\'n03\',\'/img/fianco1-16.gif\')\"><img alt=\"\" src=\"/img/fianco1-16.gif\" width=\"54\" height=\"31\" border=0 name=\"n03\"></a>
');
doc.write('<a href=\"/opinioni\" onmouseover=\"bfmovepic(\'n04\',\'/img/froll1-05.gif\')\" onmouseout=\"bfmovepic(\'n04\',\'/img/fianco1-19.gif\')\"><img alt=\"\" src=\"/img/barrasx.gif\" width=\"25\" height=\"31\" border=0></a><a href=\"/opinioni\" onmouseover=\"bfmovepic(\'n04\',\'/img/froll1-05.gif\')\" onmouseout=\"bfmovepic(\'n04\',\'/img/fianco1-19.gif\')\"><img alt=\"Opinioni\" src=\"/img/fianco1-18.gif\" width=\"94\" height=\"31\" border=0></a><a href=\"/opinioni\" onmouseover=\"bfmovepic(\'n04\',\'/img/froll1-05.gif\')\" onmouseout=\"bfmovepic(\'n04\',\'/img/fianco1-19.gif\')\"><img alt=\"\" src=\"/img/fianco1-19.gif\" width=\"54\" height=\"31\" border=0 name=\"n04\"></a>
');
doc.write('<a href=\"/speciali\" onmouseover=\"bfmovepic(\'n05\',\'/img/froll1-06.gif\')\" onmouseout=\"bfmovepic(\'n05\',\'/img/fianco1-22.gif\')\"><img alt=\"\" src=\"/img/barrasx.gif\" width=\"25\" height=\"31\" border=0></a><a href=\"/speciali\" onmouseover=\"bfmovepic(\'n05\',\'/img/froll1-06.gif\')\" onmouseout=\"bfmovepic(\'n05\',\'/img/fianco1-22.gif\')\"><img alt=\"Speciali\" src=\"/img/fianco1-21.gif\" width=\"94\" height=\"31\" border=0></a><a href=\"/speciali\" onmouseover=\"bfmovepic(\'n05\',\'/img/froll1-06.gif\')\" onmouseout=\"bfmovepic(\'n05\',\'/img/fianco1-22.gif\')\"><img alt=\"\" src=\"/img/fianco1-22.gif\" width=\"54\" height=\"31\" border=0 name=\"n05\"></a>
');
doc.write('<a href=\"/tgmgenesis\" onmouseover=\"bfmovepic(\'n06\',\'/img/froll1-07.gif\')\" onmouseout=\"bfmovepic(\'n06\',\'/img/fianco1-25.gif\')\"><img alt=\"\" src=\"/img/barrasx.gif\" width=\"25\" height=\"31\" border=0></a><a href=\"/tgmgenesis\" onmouseover=\"bfmovepic(\'n06\',\'/img/froll1-07.gif\')\" onmouseout=\"bfmovepic(\'n06\',\'/img/fianco1-25.gif\')\"><img alt=\"TGMGenesis\" src=\"/img/fianco1-24.gif\" width=\"94\" height=\"31\" border=0></a><a href=\"/tgmgenesis\" onmouseover=\"bfmovepic(\'n06\',\'/img/froll1-07.gif\')\" onmouseout=\"bfmovepic(\'n06\',\'/img/fianco1-25.gif\')\"><img alt=\"\" src=\"/img/fianco1-25.gif\" width=\"54\" height=\"31\" border=0 name=\"n06\"></a>
');
doc.write('<a href=\"/bovas\" onmouseover=\"bfmovepic(\'n07\',\'/img/froll1-08.gif\')\" onmouseout=\"bfmovepic(\'n07\',\'/img/fianco1-28.gif\')\"><img alt=\"\" src=\"/img/barrasx.gif\" width=\"25\" height=\"31\" border=0></a><a href=\"/bovas\" onmouseover=\"bfmovepic(\'n07\',\'/img/froll1-08.gif\')\" onmouseout=\"bfmovepic(\'n07\',\'/img/fianco1-28.gif\')\"><img alt=\"BovaByte\" src=\"/img/fianco1-27.gif\" width=\"94\" height=\"31\" border=0></a><a href=\"/bovas\" onmouseover=\"bfmovepic(\'n07\',\'/img/froll1-08.gif\')\" onmouseout=\"bfmovepic(\'n07\',\'/img/fianco1-28.gif\')\"><img alt=\"\" src=\"/img/fianco1-28.gif\" width=\"54\" height=\"31\" border=0 name=\"n07\"></a>
');
doc.write('<a href=\"/soluzioni\" onmouseover=\"bfmovepic(\'n08\',\'/img/froll1-09.gif\')\" onmouseout=\"bfmovepic(\'n08\',\'/img/fianco1-31.gif\')\"><img alt=\"\" src=\"/img/barrasx.gif\" width=\"25\" height=\"31\" border=0></a><a href=\"/soluzioni\" onmouseover=\"bfmovepic(\'n08\',\'/img/froll1-09.gif\')\" onmouseout=\"bfmovepic(\'n08\',\'/img/fianco1-31.gif\')\"><img alt=\"Soluzioni\" src=\"/img/fianco1-30.gif\" width=\"94\" height=\"31\" border=0></a><a href=\"/soluzioni\" onmouseover=\"bfmovepic(\'n08\',\'/img/froll1-09.gif\')\" onmouseout=\"bfmovepic(\'n08\',\'/img/fianco1-31.gif\')\"><img alt=\"\" src=\"/img/fianco1-31.gif\" width=\"54\" height=\"31\" border=0 name=\"n08\"></a>
');
doc.write('<a href=\"/flashnjava\" onmouseover=\"bfmovepic(\'n09\',\'/img/froll1-10.gif\')\" onmouseout=\"bfmovepic(\'n09\',\'/img/fianco1-34.gif\')\"><img alt=\"\" src=\"/img/barrasx.gif\" width=\"25\" height=\"31\" border=0 ></a><a href=\"/flashnjava\" onmouseover=\"bfmovepic(\'n09\',\'/img/froll1-10.gif\')\" onmouseout=\"bfmovepic(\'n09\',\'/img/fianco1-34.gif\')\"><img alt=\"Flash\'n\'Java\" src=\"/img/fianco1-33.gif\" width=\"94\" height=\"31\" border=0 ></a><a href=\"/flashnjava\" onmouseover=\"bfmovepic(\'n09\',\'/img/froll1-10.gif\')\" onmouseout=\"bfmovepic(\'n09\',\'/img/fianco1-34.gif\')\"><img alt=\"\" src=\"/img/fianco1-34.gif\" width=\"54\" height=\"31\" border=0 name=\"n09\"></a>
');
doc.write('<a href=\"http://www.xenia.it/arretrati/\" target=\"_blank\" onmouseover=\"bfmovepic(\'n10\',\'/img/froll1-11.gif\')\" onmouseout=\"bfmovepic(\'n10\',\'/img/fianco1-37.gif\')\"><img alt=\"\" src=\"/img/barrasx.gif\" width=\"25\" height=\"31\" border=0></a><a href=\"http://www.xenia.it/arretrati/\" target=\"_blank\" onmouseover=\"bfmovepic(\'n10\',\'/img/froll1-11.gif\')\" onmouseout=\"bfmovepic(\'n10\',\'/img/fianco1-37.gif\')\"><img alt=\"Arretrati\" src=\"/img/fianco1-36.gif\" width=\"94\" height=\"31\" border=0></a><a href=\"http://www.xenia.it/arretrati/\" target="_blank" onmouseover=\"bfmovepic(\'n10\',\'/img/froll1-11.gif\')\" onmouseout=\"bfmovepic(\'n10\',\'/img/fianco1-37.gif\')\"><img alt=\"\" src=\"/img/fianco1-37.gif\" width=\"54\" height=\"31\" border=0 name=\"n10\"></a>
');
doc.write('<a href=\"/redazione\" onmouseover=\"bfmovepic(\'n11\',\'/img/froll1-12.gif\')\" onmouseout=\"bfmovepic(\'n11\',\'/img/fianco1-40.gif\')\"><img alt=\"\" src=\"/img/barrasx.gif\" width=\"25\" height=\"31\" border=0></a><a href=\"/redazione\" onmouseover=\"bfmovepic(\'n11\',\'/img/froll1-12.gif\')\" onmouseout=\"bfmovepic(\'n11\',\'/img/fianco1-40.gif\')\"><img alt=\"Redazione\" src=\"/img/fianco1-39.gif\" width=\"94\" height=\"31\" border=0></a><a href=\"/redazione\" onmouseover=\"bfmovepic(\'n11\',\'/img/froll1-12.gif\')\" onmouseout=\"bfmovepic(\'n11\',\'/img/fianco1-40.gif\')\"><img alt=\"\" src=\"/img/fianco1-40.gif\" width=\"54\" height=\"31\" border=0 name=\"n11\"></a>
');
doc.write('<img src=\"/img/bg.gif\" width=\"25\" height=\"16\"><img src=\"/img/fianco1-41.gif\" width=\"94\" height=\"16\">
');
doc.write('<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" background=\"/img/bgbanda.gif\">');
doc.write('<tr>');
doc.write('<td>');
doc.write('<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" background=\"/img/spaziatore.gif\">');
doc.write('<tr>');
doc.write('<td>');
doc.write('<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" height=\"50\" background=\"/img/spaziatore.gif\">');
doc.write('<tr>');
doc.write('<td background=\"/img/bg.gif\"><img border=\"0\" src=\"/img/barrasx1.gif\" width=\"25\" height=\"33\"></td>');
doc.write('<td background=\"/img/fianco1-41.gif\"><input type=\"image\" alt=\"Cerca\" border=\"0\" src=\"/img/fianco1-43.gif\" height=\"33\"></td>');
doc.write('</tr>');
doc.write('</table>');
doc.write('</td>');
doc.write('<td>');
doc.write('<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\">');
doc.write('<tr>');
doc.write('<td><img src=\"/img/cerca-as.gif\" border=\"0\"></td>');
doc.write('<td background=\"/img/cerca-as2.gif\" width=\"14\"><img src=\"/img/spaziatore.gif\" height=\"5\" width=\"1\"></td>');
doc.write('<td background=\"/img/cerca-ac.gif\"><img src=\"/img/spaziatore.gif\" height=\"5\" width=\"1\"></td>');
doc.write('<td><img src=\"/img/cerca-ad.gif\"></td>');
doc.write('</tr>');
doc.write('<tr>');
doc.write('<td background=\"/img/cerca-ms.gif\"><img src=\"/img/spaziatore.gif\" height=\"1\" width=\"5\"></td>');
doc.write('<td colspan=\"2\" background=\"/img/fianco1-43.gif\"><input type=\"text\" name=\"kw\" id=\"kw\" size=\"8\"></td>');
doc.write('<td background=\"/img/cerca-md.gif\"><img src=\"/img/spaziatore.gif\" height=\"1\" width=\"5\"></td>');
doc.write('</tr>');
doc.write('<tr>');
doc.write('<td><img src=\"/img/cerca-bs.gif\" border=\"0\"></td>');
doc.write('<td background=\"/img/cerca-bs2.gif\" width=\"14\"><img src=\"/img/spaziatore.gif\" height=\"4\" width=\"1\"></td>');
doc.write('<td background=\"/img/cerca-bc.gif\"><img src=\"/img/spaziatore.gif\" height=\"4\" width=\"1\"></td>');
doc.write('<td><img src=\"/img/cerca-bd.gif\"></td>');
doc.write('</tr>');
doc.write('</table>');
doc.write('</td>');
doc.write('</tr>');
doc.write('</table>');
doc.write('</td>');
doc.write('</tr>');
doc.write('<tr><td><img src=\"/img/bg.gif\" width=\"25\" height=\"16\"><img src=\"/img/fianco1-46.gif\">
');
doc.write('<img src=\"/img/bg.gif\" width=\"25\" height=\"16\"><img src=\"/img/fiacz.gif\" width=\"81\" height=\"16\"></td>');
doc.write('</tr>');
doc.write('</table>');
doc.write('</form>');
}

function getexpirydate(nodays){
var UTCstring;
Today = new Date();
nomilli=Date.parse(Today);
Today.setTime(nomilli+nodays*24*60*60*1000);
UTCstring = Today.toUTCString();
return UTCstring;
}

function getCookie(name) { // use: getCookie("name");
var bites = document.cookie.split("; "); // break cookie into array of bites
for (var i=0; i < bites.length; i++) {
nextbite = bites[i].split("="); // break into name and value
if (nextbite[0] == name) // if name matches
return unescape(nextbite[1]); // return value
}
return null;
}