if (document.all && document.styleSheets && document.styleSheets[0] &&
  document.styleSheets[0].addRule)
 {
  
  document.styleSheets[0].addRule('img', 'behavior: url(iepngfix.htc)');
  document.styleSheets[0].addRule('div', 'behavior: url(iepngfix.htc)');
  document.styleSheets[0].addRule('a', 'behavior: url(iepngfix.htc)');
 }

// Effets juteux et sucrés rendus possibles grâce à jQuery
$(function(){   
   $('#menu ul a').hover(function(){
      $(this).animate({borderBottomWidth: "5px", borderBottomColor: "#0077a2"}, 200);
      },function(){
         $(this).animate({borderBottomWidth: "0px", borderBottomColor: "#F5E6C7"}, 200);
         });
   

   
   $('div.services h2').hover(function(){
      $(this).addClass("oui");
      }, function(){
         $(this).removeClass("oui");
         });
   

   
   var hauteur = $(document).height();
   var hauteur = hauteur - 320;
   $('#wrap-content').css({height: hauteur});
   
   if (jQuery.browser.msie) {

       if (parseInt(jQuery.browser.version) == 6){       
               $("#wrap-boite-credit").remove()
               $('#menu ul').css({letterSpacing: "0px"});
               var hauteur = $(document).height();
               var hauteur = hauteur - 260;
               $('#wrap-content').css({height: hauteur});
               
   }
     
       
   }
   
      else {
      $('#credit').css({opacity: "0.7"});
   
      $('#credit').hover(function(){
         $(this).animate({opacity: "1"}, 200);
         },function(){
         $(this).animate({opacity: "0.7"}, 200);
         });
   }  
});