browserName = navigator.appName;
browserVer = parseInt ( navigator.appVersion );
version = "n2";
if ( browserName == "Netscape" && browserVer >= 4 ) version = "n4";
if ( browserName == "Microsoft Internet Explorer" && browserVer >=4 ) version = "e4";
if ( version == "n4" || version == "e4" )
{
        accueil_on = new Image ( 134, 22 );
        accueil_on.src = "/img/accueil_on.gif";
        historique_on = new Image ( 134, 22 );
        historique_on.src = "/img/historique_on.gif";
        promotions_on = new Image ( 134, 22 );
        promotions_on.src = "/img/promotions_on.gif";
        stock_on = new Image ( 134, 22 );
        stock_on.src = "/img/stock_on.gif";
        fournitures_on = new Image ( 134, 22 );
        fournitures_on.src = "/img/fournitures_on.gif";
        plan_on = new Image ( 134, 22 );
        plan_on.src = "/img/plan_on.gif";
        contacts_on = new Image ( 134, 22 );
        contacts_on.src = "/img/contacts_on.gif";
        accueil_off = new Image ( 134, 22 );
        accueil_off .src = "/img/accueil.gif";
        historique_off = new Image ( 134, 22 );
        historique_off.src = "/img/historique.gif";
        stock_off = new Image ( 134, 22 );
        stock_off.src = "/img/stock.gif";
        promotions_off = new Image ( 134, 22 );
        promotions_off.src = "/img/promotions.gif";
        fournitures_off = new Image ( 134, 22 );
        fournitures_off.src = "/img/fournitures.gif";
        plan_off = new Image ( 134, 22 );
        plan_off.src = "/img/plan.gif";
        contacts_off = new Image ( 134, 22 );
        contacts_off.src = "/img/contacts.gif";
 
}
function button_on ( imgName )
{
        if ( version == "n4" || version == "e4" )
        {
                butOn = eval ( imgName + "_on.src" );
                document [imgName].src = butOn;
        }
}
function button_off ( imgName )
{
        if ( version == "n4" || version == "e4" )
        {
                butOff = eval ( imgName + "_off.src" );
                document [imgName].src = butOff;
        }
}