//Stile testo menu
document.write("<style type='text/css'>");
document.write(".classe_menu a:link, .classe_menu a:visited {");
document.write("font-family:Verdana, Arial, Helvetica, sans-serif;");
document.write("font-size:12px;");
document.write("color:#999999;");
document.write("text-decoration: none;");
document.write("font-weight: none;");
document.write("}");

document.write(".classe_menu a:hover {");
document.write("font-family:Verdana, Arial, Helvetica, sans-serif;");
document.write("font-size:12px;");
document.write("color:#666666;");
document.write("text-decoration: none;");
document.write("font-weight: none;");
document.write("}");
document.write("</style>");

// Inizializzo la variabile identificativa dell'indirizzo della pagina corrente
var QUESTA_PAGINA = document.URL;

document.write("<div class='classe_menu'>");

if (QUESTA_PAGINA.indexOf("benvenuto.html") == (-1))
{
    // Stampo a video la voce della pagina NON corrente
    document.write("<a href='benvenuto.html'>homepage</a>");
} else {
    // Stampo a video la voce della pagina corrente evidenziata in grassetto
    document.write("<a href='benvenuto.html'><font color='#ff0000'><b>homepage</b></font></a>");
}

document.write("<font color='#999999'><b> / </b></font>");

if (QUESTA_PAGINA.indexOf("azienda.html") == (-1))
{
    document.write("<a href='azienda.html'>the company</a>");
} else {
    document.write("<a href='azienda.html'><font color='#ff0000'><b>the company</b></font></a>");
}

document.write("<font color='#999999'><b> / </b></font>");

if (QUESTA_PAGINA.indexOf("prodotti.html") == (-1) && QUESTA_PAGINA.indexOf("evolution.html") == (-1) && QUESTA_PAGINA.indexOf("evo_proline.html") == (-1) && QUESTA_PAGINA.indexOf("evo_modline.html") == (-1) && QUESTA_PAGINA.indexOf("evo_dialine.html") == (-1) && QUESTA_PAGINA.indexOf("classic.html") == (-1)  && QUESTA_PAGINA.indexOf("cla_dc_ferrite.html") == (-1) && QUESTA_PAGINA.indexOf("cla_dc_neodimio.html") == (-1) && QUESTA_PAGINA.indexOf("cla_riduttori.html") == (-1) && QUESTA_PAGINA.indexOf("solution.html") == (-1) && QUESTA_PAGINA.indexOf("sol_proline3.html") == (-1) && QUESTA_PAGINA.indexOf("prodotti_batteria.html") == (-1) && QUESTA_PAGINA.indexOf("sol_prolined.html") == (-1)&& QUESTA_PAGINA.indexOf("sol_lcline3.html") == (-1)&& QUESTA_PAGINA.indexOf("sol_prolab1.html") == (-1)&& QUESTA_PAGINA.indexOf("benvenuto-prodotti.html") == (-1)&& QUESTA_PAGINA.indexOf("nxt_gear.html") == (-1)&& QUESTA_PAGINA.indexOf("pro_nxt.html") == (-1))
{
    document.write("<a href='benvenuto-prodotti.html'>products</a>");
} else {
    document.write("<a href='benvenuto-prodotti.html'><font color='#ff0000'><b>products</b></font></a>");
}

document.write("<font color='#999999'><b> / </b></font>");

if (QUESTA_PAGINA.indexOf("dealer.asp") == (-1))
{
    document.write("<a href='dealer.asp' >dealers</a>");
} else {
    document.write("<a href='dealer.asp'><font color='#ff0000'><b>dealers</b></font></a>");
}

document.write("<font color='#999999'><b> / </b></font>");

if (QUESTA_PAGINA.indexOf("contatti.html") == (-1))
{
    document.write("<a href='contatti.html'>contacts</a>");
} else {
    document.write("<a href='contatti.html'><font color='#ff0000'><b>contacts</b></font></a>");
}

document.write("</div>");


