/****************************************************
* Créer le 16 août 2002, © Tony Martinez 			*
*   Javascript  pour le menu gauche (navig.html)    *
*    WWWind@urbanet.ch					            *
*****************************************************/

var ver="n0";
       bName = navigator.appName;
       bVer = parseInt(navigator.appVersion); 
      if      (bName == "Netscape" && bVer >= 3) ver = "n3";
       else if (bName == "Netscape" && bVer == 2) ver = "n2";
       else if (bName == "Microsoft Internet Explorer" && bVer >=4) ver = "e4";
        else if (bName == "Microsoft Internet Explorer" && bVer >2) ver = "e3";     

 if (document.images) {

/*******************/
/*   BOUTON OFF   */
/*******************/
rrn= new Array();
        rrn[0]= new Image(161,23);
        rrn[0].src= "../images/design/boutons/nac_off.gif";    /* Bouton accueil */
    rrn[1] = new Image(161,33);
    rrn[1].src = "../images/design/boutons/nqui_off.gif";      /* Bouton qui sommes-nous */
    rrn[2] = new Image(161,36);
    rrn[2].src = "../images/design/boutons/nser_off.gif";	   /* Bouton services & prestations */
    rrn[3] = new Image(161,33);
    rrn[3].src = "../images/design/boutons/ninf_off.gif";	   /* Bouton informations*/
    rrn[4] = new Image(161,36);
    rrn[4].src = "../images/design/boutons/ncon_off.gif"; 	   /* Bouton contact */

/*******************/
/*   BOUTON ON   */
/*******************/   
rrr= new Array();
        rrr[0]= new Image(161,23);
        rrr[0].src= "../images/design/boutons/nac_on.gif";
    rrr[1] = new Image(161,33);
    rrr[1].src = "../images/design/boutons/nqui_on.gif";
    rrr[2] = new Image(161,36);
    rrr[2].src = "../images/design/boutons/nser_on.gif";
    rrr[3] = new Image(161,33);
    rrr[3].src = "../images/design/boutons/ninf_on.gif";
    rrr[4] = new Image(161,36);
    rrr[4].src = "../images/design/boutons/ncon_on.gif";
      }

    function changeImage(row,s) {
         var h; 

        if (!document.images)
                return ;
           if (s==1)
           {
              document.images['r'+row].src = rrr[row-1].src;
           }
           else
           {
        document.images['r'+row].src = rrn[row-1].src;
           }
        }


