 
function rechercheProduits()
{
    var type = $('#titre-elevage').attr('value');
    var bio = $('#titre-bio').attr('value');
    var critere = $('#titre-critere').attr('value');
    Params = "type="+type+"&bio="+bio+"&critere="+critere;
    $.ajax({type:"POST",url: "/apps/ajax/RechercheProduits.php",data:Params,success:function(data)
        {
                $('#affiche-resultat').html(data);
        }
    });
}
function AfficheLexiqueByLetter(letter)
{
    var lettre = letter;
    Params = "letter="+lettre;
    if(lettre)
    {
         $.ajax({
                type:"POST",
                url: "/apps/ajax/LexiqueByLetter.php",
                data:Params,
                dataType : 'text', 
                success:function(data)
                {
                    $('#affiche-resultat').html(data);
                }
            }
        );  
    }
}
$(document).ready(function()
{
  
    $('#nos-produits').click(function(){
        location.href='/sodi.html';
    })
    
   $('#produits').click(function(){
        location.href='/sodi.html';
    })
    
    $('#actualites').click(function(){
        location.href='/actualites.html';
    })
    
    $('#expertise').click(function(){
        location.href='/expertise.html';
    })
    
    $('#lexique').click(function(){
        location.href='/lexique.html';
    })
    
    $('#faq').click(function(){
        location.href='/faq.html';
    })
    
      $('#trouvez').click(function(){
        location.href='/ou-trouver-nos-produits.html';
    })
    
     $('.trouve').click(function(){
        location.href='/ou-trouver-nos-produits.html';
    })
     $('#contact').click(function(){
        location.href='/contact.html';
    })
    
    $('#quel-produits').click(function(){
        location.href='/quel-produits.html';
    })
    
    $('#ou-produits').click(function(){
        location.href='/ou-trouvez-nos-produits.html';
    })
    
    $('#cheval').hover(function(){
        if($(this).hasClass('cheval-off')) { $(this).attr('class','cheval-on'); }
        else{$(this).attr('class','cheval-off');}
    })
    
     $('#gibier').hover(function(){
        if($(this).hasClass('gibier-off')) { $(this).attr('class','gibier-on'); }
        else{$(this).attr('class','gibier-off');}
    })
    
     $('.class-nav').hover(function(){
        if($(this).attr('value') == 'close')
        {
            if($(this).attr('id') == "produits")
            {
                $('#sous-nav-produits-cascade').css('display','block');
            }
           
                $(this).children('.nav-left').css('background-image','url(/media/images/navigation/nav_bt_on_bdr_left.gif)');
                $(this).children('.nav-right').css('background-image','url(/media/images/navigation/nav_bt_on_bdr_right.gif)');
                $(this).children('.nav-center').css('background-color','#003C5B');
                $(this).children('.nav-center').css('color','#FFF');
                $(this).attr('value','open');
                
            if($('#sous-nav-produits-cascade').css('display')=="block"&&$(this).attr('id') != "produits")
            {
                $('#sous-nav-produits-cascade').css('display','none');
                $('#produits').children('.nav-left').css('background-image','none');
                $('#produits').children('.nav-right').css('background-image','none');
                $('#produits').children('.nav-center').css('background-color','#FFF');
                $('#produits').children('.nav-center').css('color','#007ABB');
                $('#produits').attr('value','close');
            }
            
        }
        else
        {
           if($(this).attr('id') != "produits")
           {
                $(this).children('.nav-left').css('background-image','none');
                $(this).children('.nav-right').css('background-image','none');
                $(this).children('.nav-center').css('background-color','#FFF');
                $(this).children('.nav-center').css('color','#007ABB');
                $(this).attr('value','close');
           }  
        }
    })
     
    $('#entete-central').hover(function(){
        if($('#sous-nav-produits-cascade').css('display')=="block")
        {
            $('#sous-nav-produits-cascade').css('display','none');
            $('#produits').children('.nav-left').css('background-image','none');
            $('#produits').children('.nav-right').css('background-image','none');
            $('#produits').children('.nav-center').css('background-color','#FFF');
            $('#produits').children('.nav-center').css('color','#007ABB');
            $('#produits').attr('value','close');
        }
    })
    
    $('#cadre-central').hover(function(){
        if($('#sous-nav-produits-cascade').css('display')=="block")
        {
            $('#sous-nav-produits-cascade').css('display','none');
            $('#produits').children('.nav-left').css('background-image','none');
            $('#produits').children('.nav-right').css('background-image','none');
            $('#produits').children('.nav-center').css('background-color','#FFF');
            $('#produits').children('.nav-center').css('color','#007ABB');
            $('#produits').attr('value','close');
        }
    })
    
    $('#logo').click(function(){
        location.href='/accueil.html';
    })
    
    $('.lien-produits').hover(function(){
        $(this).toggleClass('lien-produits-hover');
    })
    
    $('.lien-produits').click(function(){
        if($(this).attr('value')&&$(this).attr('value')!='-1')
        {
            lien = '/accueil.html';
            if($(this).attr('value') == 8){lien = 'sodical.html';}
            else if($(this).attr('value') == 9){lien = 'sodimag.html';}
            else if($(this).attr('value') == 10){lien = 'sodioligo.html';}
            else if($(this).attr('value') == 11){lien = 'sodiregul.html';}
            else if($(this).attr('value') == 12){lien = 'sodimouton.html';}
            else if($(this).attr('value') == 13){lien = 'selibloc.html';}
            else if($(this).attr('value') == 14){lien = 'seliiode.html';}
            else if($(this).attr('value') == 21){lien = 'sel-pur.html';}
            else if($(this).attr('value') == 22){lien = 'nategral.html';}
            location.href="/"+lien;
        }
    })
    $('#sodical-lien-trouve').hover(function(){
        if($(this).attr('value')== "close")
        {
            $(this).css('background-image','url(/media/images/produits/sodical/bt_trouver_produit_ON.png)');
            $(this).attr('value','open');
        }
        else
        {
            $(this).css('background-image','url(/media/images/produits/sodical/bt_trouver_produit_OFF.png)');
            $(this).attr('value','close');
        }
    })
    
 $('#sodimag-lien-trouve').hover(function(){
        if($(this).attr('value')== "close")
        {
            $(this).css('background-image','url(/media/images/produits/sodimag/bt_trouver_produit_ON.png)');
            $(this).attr('value','open');
        }
        else
        {
            $(this).css('background-image','url(/media/images/produits/sodimag/bt_trouver_produit_OFF.png)');
            $(this).attr('value','close');
        }
    })
 $('#sodioligo-lien-trouve').hover(function(){
        if($(this).attr('value')== "close")
        {
            $(this).css('background-image','url(/media/images/produits/sodioligo/bt_trouver_produit_ON.png)');
            $(this).attr('value','open');
        }
        else
        {
            $(this).css('background-image','url(/media/images/produits/sodioligo/bt_trouver_produit_OFF.png)');
            $(this).attr('value','close');
        }
    })
    $('#sodiregul-lien-trouve').hover(function(){
        if($(this).attr('value')== "close")
        {
            $(this).css('background-image','url(/media/images/produits/sodiregul/bt_trouver_produit_ON.png)');
            $(this).attr('value','open');
        }
        else
        {
            $(this).css('background-image','url(/media/images/produits/sodiregul/bt_trouver_produit_OFF.png)');
            $(this).attr('value','close');
        }
    })
    
     $('#sodimouton-lien-trouve').hover(function(){
        if($(this).attr('value')== "close")
        {
            $(this).css('background-image','url(/media/images/produits/sodimouton/bt_trouver_produit_ON.png)');
            $(this).attr('value','open');
        }
        else
        {
            $(this).css('background-image','url(/media/images/produits/sodimouton/bt_trouver_produit_OFF.png)');
            $(this).attr('value','close');
        }
    })
     
      $('#selibloc-lien-trouve').hover(function(){
        if($(this).attr('value')== "close")
        {
            $(this).css('background-image','url(/media/images/produits/selibloc/bt_trouver_produit_ON.png)');
            $(this).attr('value','open');
        }
        else
        {
            $(this).css('background-image','url(/media/images/produits/selibloc/bt_trouver_produit_OFF.png)');
            $(this).attr('value','close');
        }
    })
      
      $('#sodiform-lien-trouve').hover(function(){
        if($(this).attr('value')== "close")
        {
            $(this).css('background-image','url(/media/images/produits/sodiform/bt_trouver_produit_ON.png)');
            $(this).attr('value','open');
        }
        else
        {
            $(this).css('background-image','url(/media/images/produits/sodiform/bt_trouver_produit_OFF.png)');
            $(this).attr('value','close');
        }
    })
      
       $('#seliode-lien-trouve').hover(function(){
        if($(this).attr('value')== "close")
        {
            $(this).css('background-image','url(/media/images/produits/seliode/bt_trouver_produit_ON.png)');
            $(this).attr('value','open');
        }
        else
        {
            $(this).css('background-image','url(/media/images/produits/seliode/bt_trouver_produit_OFF.png)');
            $(this).attr('value','close');
        }
    })
       
       $('#cheval-lien-trouve').hover(function(){
        if($(this).attr('value')== "close")
        {
            $(this).css('background-image','url(/media/images/espace-cheval/bt_trouver_produit_ON.png)');
            $(this).attr('value','open');
        }
        else
        {
            $(this).css('background-image','url(/media/images/espace-cheval/bt_trouver_produit_OFF.png)');
            $(this).attr('value','close');
        }
    })
       
        $('#selpur-lien-trouve').hover(function(){
        if($(this).attr('value')== "close")
        {
            $(this).css('background-image','url(/media/images/produits/selpur/bt_trouver_produit_ON.png)');
            $(this).attr('value','open');
        }
        else
        {
            $(this).css('background-image','url(/media/images/produits/selpur/bt_trouver_produit_OFF.png)');
            $(this).attr('value','close');
        }
    })
     $('#nategral-lien-trouve').hover(function(){
        if($(this).attr('value')== "close")
        {
            $(this).css('background-image','url(/media/images/produits/nategral/bt_trouver_produit_ON.png)');
            $(this).attr('value','open');
        }
        else
        {
            $(this).css('background-image','url(/media/images/produits/nategral/bt_trouver_produit_OFF.png)');
            $(this).attr('value','close');
        }
    })
     
     $('#supracal-lien-trouve').hover(function(){
        if($(this).attr('value')== "close")
        {
            $(this).css('background-image','url(/media/images/produits/supracal/bt_trouver_produit_ON.png)');
            $(this).attr('value','open');
        }
        else
        {
            $(this).css('background-image','url(/media/images/produits/supracal/bt_trouver_produit_OFF.png)');
            $(this).attr('value','close');
        }
    })
     
      $('#supramag-lien-trouve').hover(function(){
        if($(this).attr('value')== "close")
        {
            $(this).css('background-image','url(/media/images/produits/supramag/bt_trouver_produit_ON.png)');
            $(this).attr('value','open');
        }
        else
        {
            $(this).css('background-image','url(/media/images/produits/supramag/bt_trouver_produit_OFF.png)');
            $(this).attr('value','close');
        }
    })
      
       $('#supratarie-lien-trouve').hover(function(){
        if($(this).attr('value')== "close")
        {
            $(this).css('background-image','url(/media/images/produits/supratarie/bt_trouver_produit_ON.png)');
            $(this).attr('value','open');
        }
        else
        {
            $(this).css('background-image','url(/media/images/produits/supratarie/bt_trouver_produit_OFF.png)');
            $(this).attr('value','close');
        }
    })
       
        $('#gibier-lien-trouve').hover(function(){
        if($(this).attr('value')== "close")
        {
            $(this).css('background-image','url(/media/images/espace-gibier/bt_trouver_produit_ON.png)');
            $(this).attr('value','open');
        }
        else
        {
            $(this).css('background-image','url(/media/images/espace-gibier/bt_trouver_produit_OFF.png)');
            $(this).attr('value','close');
        }
    })
        
          $('#autre-lien-trouve').hover(function(){
        if($(this).attr('value')== "close")
        {
            $(this).css('background-image','url(/media/images/produits/autre/bt_trouver_produit_ON.png)');
            $(this).attr('value','open');
        }
        else
        {
            $(this).css('background-image','url(/media/images/produits/autre/bt_trouver_produit_OFF.png)');
            $(this).attr('value','close');
        }
    })
       $('#gibier').click(function(){
        location.href="/espace-gibier.html";
       })
       
       $('#cheval').click(function(){
        location.href="/espace-cheval.html";
       })
 
    $('#download-sodical').click(function(){
        window.open("/media/download/produits/SODICAL-Aliment-mineral-bovins-caprins.pdf");
    })
    
     $('#download-sodimag').click(function(){
         window.open("/media/download/produits/SODIMAG-aliment-mineral-ovins-bovins-caprins.pdf");
    })
     
    $('#download-sodioligo').click(function(){
         window.open("/media/download/produits/SODIOLIGO-aliment-mineral-equins-bovins-caprins.pdf");
    })
    
    $('#download-sodiregul').click(function(){
         window.open("/media/download/produits/SODIREGUL-Aliment-mineral-bovins-caprins.pdf");
    })
    
    $('#download-sodimouton').click(function(){
         window.open("/media/download/produits/SODIMOUTON-Aliment-mineral-ovins.pdf");
    })
    
    $('#download-seliode').click(function(){
         window.open("/media/download/produits/SELIIODE-bloc-a-lecher-selenium-iode.pdf");
    })
    
    $('#download-selibloc').click(function(){
         window.open("/media/download/produits/SELIBLOC-bloc-a-lecher-sel.pdf");
    })
     
    $('#download-cheval').click(function(){
         window.open("/media/download/produits/SODICHEVAL-Aliment-mineral-equins.pdf");
    })
    
     $('#download-sodi').click(function(){
         window.open("/media/download/produits/Plaquette-Gamme-SODI.pdf");
    })
    
    $('#download-sodiform').click(function(){
         window.open("/media/download/produits/Argu-Sodiform.pdf");
    })
    
     $('#download-selpur').click(function(){
         window.open("/media/download/produits/SELPUR-bloc-a-lecher-sel.pdf");
    })
     
     $('#download-nategral').click(function(){
         window.open("/media/download/produits/NATEGRAL-Sel-de-mer-pour-agriculture-bio.pdf");
    })
    
     $('#download-supracal').click(function(){
         window.open("/media/download/produits/SUPRACAL-Aliment-mineral-bovins-caprins-equins.pdf");
    })
     
       $('#download-supramag').click(function(){
         window.open("/media/download/produits/SUPRAMAG-Aliment-mineral-magnesium-ovins.pdf");
    })
       
          $('#download-supratarie').click(function(){
         window.open("/media/download/produits/SUPRATARIE-Aliment-mineral-bovins-caprins.pdf");
    })
          
        $('#download-gibier').click(function(){
         window.open("/media/download/produits/SELIBLOC-bloc-a-lecher-sel.pdf");
    })
    
    $('.mentions-legales').click(function(){
        window.open("/media/download/Mentions-Legales-Salins-Agriculture.pdf");
    })
     
    $('.nav-primaire').hover(function(){
        $('.nav-secondaire').css('display','none');
        $('.nav-tertiaire').css('display','none');
        $('.nav-primaire').css('background-color','transparent');
        $(this).css('background-color','#005e8f');
        $('#sous-nav-secondaire-'+$(this).attr('value')).css('display','block');
    })
    
    $('.nav-primaire').click(function(){
        if($(this).attr('value') == 3)
        {
           location.href="/sel-en-sac.html";
        }
        else if($(this).attr('value') == 4)
        {
             location.href="/quel-produits.html";
        }
    })
    $('.nav-lien-secondaire').hover(function(){
         $('.nav-tertiaire').css('display','none');
         $('.nav-lien-secondaire').css('background-color','transparent');
         $(this).css('background-color','#007aba');
        $('#sous-nav-tertiaire-'+$(this).attr('value')).css('display','block');
    })
    
   $('.nav-lien-secondaire').click(function(){
        if($(this).attr('value'))
        {
            if($(this).attr('value') == 1){location.href="/sodi.html"}
            if($(this).attr('value') == 2){location.href="/seli.html"}
            if($(this).attr('value') == 4){location.href="/supracal.html"}
            if($(this).attr('value') == 5){location.href="/supramag.html"}
            if($(this).attr('value') == 6){location.href="/supratarie.html"}
        }
    })
    
    $('.valider').hover(function(){
        $(this).toggleClass('valider-hover');
    })
    
    $('#valide-contact').click(function(){
        document.forms['form-contact'].submit();
    })
    
    $('#fleche-civilite').click(function(){
        $(this).toggleClass('champs-select-fleche-on');
        $('#liste-civilite').toggleClass('liste-civilite-open');
    })
    
    $('.liste-form-center').click(function(){
        $(this).children('#fleche-'+$(this).attr('value')).toggleClass('champs-select-fleche-on');
        $('#liste-'+$(this).attr('value')).toggleClass('liste-'+$(this).attr('value')+'-open');
         if($(this).attr('value') == "civilite")
        {
            $('#fleche-profession').attr('class','champs-select-fleche-off');
            $('#liste-profession').attr('class','liste-profession-close');
        }
        else if($(this).attr('value') == "profession")
        {
            $('#fleche-civilite').attr('class','champs-select-fleche-off');
            $('#liste-civilite').attr('class','liste-civilite-close');
        }
    })
    
    $('.select-civilite').click(function(){
        $('#iCivilite').attr('value',$(this).attr('value'));
        $('.nom-civilite').html($(this).html());
         $(this).children('#fleche-civilite').toggleClass('champs-select-fleche-off');
        $('#liste-civilite').toggleClass('liste-civilite-open');
    })
    
    $('.champs-form-input').click(function(){
            $('#fleche-profession').attr('class','champs-select-fleche-off');
            $('#liste-profession').attr('class','liste-profession-close');
            $('#fleche-civilite').attr('class','champs-select-fleche-off');
            $('#liste-civilite').attr('class','liste-civilite-close');
    })
    
    $('.champs-form-textarea').click(function(){
            $('#fleche-profession').attr('class','champs-select-fleche-off');
            $('#liste-profession').attr('class','liste-profession-close');
            $('#fleche-civilite').attr('class','champs-select-fleche-off');
            $('#liste-civilite').attr('class','liste-civilite-close');
    })
    
     $('.select-civilite').hover(function(){
        $(this).css('color','#3E3D40');},
        function(){
            $(this).css('color','#007ABB');
            })
     
 /*   $('#fleche-profession').click(function(){
        $(this).toggleClass('champs-select-fleche-on');
        $('#liste-profession').toggleClass('liste-profession-open');
    })*/
    
    $('.select-profession').click(function(){
        $('#iProfession').attr('value',$(this).attr('value'));
        $('.nom-profession').html($(this).html());
        $(this).children('#fleche-profession').toggleClass('champs-select-fleche-off');
        $('#liste-profession').toggleClass('liste-profession-open');
        
    })
    
    
     $('.select-profession').hover(function(){
        $(this).css('color','#3E3D40');},
        function(){
            $(this).css('color','#007ABB');
            })
     
    $('.close-retour').click(function(){
        $('#retour-contact').css('display','none');
    })
    
    $('.lexique-nav-off').hover(function(){
       if($(this).attr('type')!='current')
       {if($(this).hasClass('lexique-nav-off'))
          {$(this).attr('class','lexique-nav-on');}}},
          function(){
             if($(this).attr('type')!='current'){$(this).attr('class','lexique-nav-off');}}
    )
    
    $('.lexique-nav-on').hover(function(){
       if($(this).attr('type')!='current')
       {if($(this).hasClass('lexique-nav-off'))
          {$(this).attr('class','lexique-nav-on');}}},
          function(){
             if($(this).attr('type')!='current'){$(this).attr('class','lexique-nav-off');}}
    )
    
    $('.lexique-nav-off').click(function(){
      
        if($(this).attr('value'))
        {
            $('.lexique-nav-on').attr('type','');
            $('.lexique-nav-on').attr('class','lexique-nav-off');
            $(this).attr('class','lexique-nav-on');
            $(this).attr('type','current');

            AfficheLexiqueByLetter($(this).attr('value'));
        }
    })
    
    $('.lexique-nav-on').click(function(){
        
        if($(this).attr('value')&&$(this).attr('type')!="current")
        {
            $('.lexique-nav-on').attr('type','');
            $('.lexique-nav-on').attr('class','lexique-nav-off');
            $(this).attr('class','lexique-nav-on');
            $(this).attr('type','current');

            AfficheLexiqueByLetter($(this).attr('value'));
        }
    })
    
    
    $('.cartouche-faq').click(function(){
        $('.cartouche-faq').children('.cartouche-faq-top-on').attr('class','cartouche-faq-top-off');
        $('.cartouche-faq').children('.cartouche-faq-center-on').attr('class','cartouche-faq-center-off');
        $('.cartouche-faq').children('.cartouche-faq-bottom-on').attr('class','cartouche-faq-bottom-off');
        $('.cartouche-faq').children('.cartouche-faq-center-off').children('.reponse-faq').css('display','none');
        $(this).children('.cartouche-faq-top-off').attr('class','cartouche-faq-top-on');
        $(this).children('.cartouche-faq-center-off').attr('class','cartouche-faq-center-on');
        $(this).children('.cartouche-faq-bottom-off').attr('class','cartouche-faq-bottom-on');
        $(this).children('.cartouche-faq-center-on').children('.reponse-faq').css('display','block');
    })
    
    $('#back-lien-1').hover(function(){
        if($(this).attr('class') == "back-lien-1-off")
        {
            if($('.back-lien-1-on').attr('type')!= "current") {$('.back-lien-1-on').attr('class','back-lien-1-off');}
            $(this).attr('class','back-lien-1-on');
        }
        else{
            if($('.back-lien-1-on').attr('type')!= "current"){$(this).attr('class','back-lien-1-off');}
            }
    })
    
    $('#back-lien-1').click(function(){
        location.href="/sodical.html";
    })
      $('#back-lien-2').hover(function(){
        if($(this).attr('class') == "back-lien-2-off")
        {
            if($('.back-lien-2-on').attr('type')!= "current") {$('.back-lien-2-on').attr('class','back-lien-2-off');}
            $(this).attr('class','back-lien-2-on');
        }
        else{
            if($('.back-lien-2-on').attr('type')!= "current"){$(this).attr('class','back-lien-2-off');}
            }
    })
     
    $('#back-lien-2').click(function(){
          window.open("/media/download/carteSODI-collect2012-A5-V3.pdf");
    }) 
        $('#back-lien-3').hover(function(){
        if($(this).attr('class') == "back-lien-3-off")
        {
            if($('.back-lien-3-on').attr('type')!= "current") {$('.back-lien-3-on').attr('class','back-lien-3-off');}
            $(this).attr('class','back-lien-3-on');
        }
        else{
            if($('.back-lien-3-on').attr('type')!= "current"){$(this).attr('class','back-lien-3-off');}
            }
    })
        
    $('#back-lien-3').click(function(){
         location.href="/sodioligo.html";
    })
    
    $('#valide-quel-produits').hover(function(){
        $(this).toggleClass('valide-form-quel-produits-on');
    })
    
    $('.cartouche-quel-produits').click(function(){
       
        if($(this).attr('value')!="elevage")
        {
            $('#fleche-elevage').attr('class','fleche-quel-produits-off');
            $('#select-liste-elevage').attr('class','liste-select-close');
        }
        if($(this).attr('value')!="bio")
        {
            $('#fleche-bio').attr('class','fleche-quel-produits-off');
            $('#select-liste-bio').attr('class','liste-select-close');
        }
        if($(this).attr('value')!="critere")
        {
            $('#fleche-critere').attr('class','fleche-quel-produits-off');
            $('#select-liste-critere').attr('class','liste-select-close');
        }
        if($(this).attr('value'))
        {
            $('#fleche-'+$(this).attr('value')).toggleClass('fleche-quel-produits-on');
            $('#select-liste-'+$(this).attr('value')).toggleClass('liste-select-open');
        }
    })
    
    $('.select-value').hover(function(){
        $(this).toggleClass('select-value-hover');
    })
    
    $('.select-value').click(function(){
        div = $(this).parent().parent().parent().parent().attr('value');
        value = $(this).attr('value');
        name = $(this).html();
        if(div == "elevage")
        {
            img = "";
            if(value<8){img = "header_bovins.gif";}
            else if(value == 8){img = "header_ovins.gif";}
            else if(value == 9){img = "header_caprins.gif";}
            else if(value == 10){img = "header_gibier.gif";}
            else if(value == 11){img = "header_equins.gif";}
            $('#quel-produits-entete').css('background-image','url(/media/images/quel-produits/'+img+')');
        }
        $('#titre-'+div).attr('value',value);
        $('#titre-'+div).children('.valeur-select').html(name);
    })
    
    $('#valide-quel-produits').click(function(){
         rechercheProduits();
    })
    
    $('#localize').click(function(){
        LocalizeByCodePostal($('#localizeCp').attr('value'));
    })
    
    $('#localize').hover(function(){
        $(this).toggleClass('validez-champs-on');
    })
    
    $('.lien-ariane').hover(function(){
        $(this).toggleClass('lien-ariane-on');                       
    })
    
    $('#slide-1').hover(function(){
        $(this).attr('class','puce-slide-on');},
    function(){
         $(this).attr('class','puce-slide-off');
        })
    
     $('#slide-2').hover(function(){
        $(this).attr('class','puce-slide-on');},
    function(){
         $(this).attr('class','puce-slide-off');
        })
     
      $('#slide-3').hover(function(){
        $(this).attr('class','puce-slide-on');},
    function(){
         $(this).attr('class','puce-slide-off');
        })
      
   
})
