/***************************************
  Script pour la page home (index.html)
  Tony  Martinez  http://www.neurocom.ch
  02.03.04  modifier le 01.06.04 
****************************************/


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) {
//
rrn= new Array();
        /* Menu 1 OFF */
        rrn[0]= new Image(68,21);   
        rrn[0].src= "neurocom/images/home/menu1/acc_off.gif";   // Accueil
        rrn[1]= new Image(86,21);   
        rrn[1].src= "neurocom/images/home/menu1/pme_off.gif";   // Entreprise
        rrn[2]= new Image(94,21);   
        rrn[2].src= "neurocom/images/home/menu1/con_off.gif";   // Contact

		
        /* Menu 2 OFF */
		rrn[3]= new Image(77,21);   
        rrn[3].src= "neurocom/images/home/menu2/emp_off.gif";   // Emplois
		rrn[4]= new Image(68,21);   
        rrn[4].src= "neurocom/images/home/menu2/chart_off.gif";   // Charte
        rrn[5]= new Image(84,21);   
        rrn[5].src= "neurocom/images/home/menu2/map_off.gif";   //  Site map
        rrn[6]= new Image(94,21);   
        rrn[6].src= "neurocom/images/home/menu2/copy_off.gif";   // Copyright

        /* Menu3 OFF */
        rrn[7]= new Image(196,21);   
        rrn[7].src= "neurocom/images/home/menu3/gb_off.gif";   // English
        rrn[8]= new Image(196,21);   
        rrn[8].src= "neurocom/images/home/menu3/info_off.gif";   // Informations
        rrn[9]= new Image(94,21);   
        rrn[9].src= "neurocom/images/home/menu3/part_off.gif";   // Partenaires
		
		/* Menu 4 OFF */
        rrn[10]= new Image(196,50);   
        rrn[10].src= "neurocom/images/home/menu4/telecom_off.gif";   // Télécommunications
        rrn[11]= new Image(196,31);   
        rrn[11].src= "neurocom/images/home/menu4/info_off.gif";   // Informatique
        rrn[12]= new Image(196,77);   
        rrn[12].src= "neurocom/images/home/menu4/consul_off.gif";   // Consulting

rrr= new Array();
       /* Menu 1 ON */
        rrr[0]= new Image(68,21);   
        rrr[0].src= "neurocom/images/home/menu1/acc_on.gif";   // Accueil
        rrr[1]= new Image(86,21);   
        rrr[1].src= "neurocom/images/home/menu1/pme_on.gif";   // Entreprise
        rrr[2]= new Image(94,21);   
        rrr[2].src= "neurocom/images/home/menu1/con_on.gif";   // Contact

		
        /* Menu 2 ON */
		rrr[3]= new Image(77,21);   
        rrr[3].src= "neurocom/images/home/menu2/emp_on.gif";   // Emplois
		rrr[4]= new Image(68,21);   
        rrr[4].src= "neurocom/images/home/menu2/chart_on.gif";   // Charte
        rrr[5]= new Image(84,21);   
        rrr[5].src= "neurocom/images/home/menu2/map_on.gif";   //  Site map
        rrr[6]= new Image(94,21);   
        rrr[6].src= "neurocom/images/home/menu2/copy_on.gif";   // Copyright

        /* Menu 3  ON */
        rrr[7]= new Image(196,21);   
        rrr[7].src= "neurocom/images/home/menu3/gb_on.gif";   // English
        rrr[8]= new Image(196,21);   
        rrr[8].src= "neurocom/images/home/menu3/info_on.gif";   // Informations
        rrr[9]= new Image(94,21);   
        rrr[9].src= "neurocom/images/home/menu3/part_on.gif";   // Partenaires

		
		/* Menu 4 ON */
        rrr[10]= new Image(196,50);   
        rrr[10].src= "neurocom/images/home/menu4/telecom_on.gif";   // Télécommunications
        rrr[11]= new Image(196,31);   
        rrr[11].src= "neurocom/images/home/menu4/info_on.gif";   // Informatique
        rrr[12]= new Image(196,77);   
        rrr[12].src= "neurocom/images/home/menu4/consul_on.gif";   // Consulting
   
      }


    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;
           }
        }



