var $ob = jQuery.noConflict ()

$ob(function() {
    
 //  document.write("Tiens tiens, vous utilisez donc " + navigator.appCodeName);
   if(navigator.appName !== "qMicrosoft Internet Explorer")
{
//initial opacity de toutes les photos ˆ 0.5
    $ob(".fadearea").find('.effectopacity').fadeTo(500,0.7);
    
        $ob(".fadearea").find('.effectopacity').hover(function() {
        
            $ob(this).stop().fadeTo(500,1); //quand on survole l'ŽlŽment
            }
            ,function() {
               $ob(this).stop().fadeTo(10,0.7); //quand on quitte l'ŽlŽment
            }
            );
    $ob(".content").mouseleave(function() {
        $ob(".fadearea").find('.effectopacity').fadeTo(10,0.7);
    });
   }


Drupal.behaviors.bef_live_filter = function(context) {
  // Only execute on first document ready
  if (context.nodeName == '#document') {
    // Hide the apply button.
    $ob('.views-exposed-form input:submit').hide();
  
    // When the change event fires, run the submit handler
    $ob('.views-exposed-form input').change(function(event) {
      $ob(this).parents('form').submit();
    }); 
  }
}

});;

