
$(document).ready(function($){
	
	// Animation fond
	$('.animation').cycle({ 
    fx:     'fade', 
    speed:  1000, 
    timeout: 3000
	});

	$('.scroll').css({'height':(($(window).height())-138)+'px'});
    $('.scroll').jScrollPane({showArrows:true});

    $(window).resize(function(){
          $('.scroll').jScrollPaneRemove();
          $('.scroll').css({'height':(($(window).height())-138)+'px'});
          $('.scroll').jScrollPane();
    });
	
	$(".menuLevel0 a").corner("top");
	$(".menuLevel0 li a").uncorner();
	$(".menuLevel0 ul").corner("bottom");

	// Ouvrir dans une nouvelle fenêtre
  $(".popup").click(function(){ 
    window.open($(this).attr("href")); 
    return false; 
	});
   
   $("a#btBlog").hover(function() {
	  $("#bulleBlog").animate({opacity: "show", bottom: "40"}, "slow");
	}, function() {
	  $("#bulleBlog").animate({opacity: "hide", bottom: "30"}, "fast");
	});

   
});

