$(document).ready(function() {
	//document.getElementById('NL_box').innerHTML="<span>Inscrivez-vous</span> à notre lettre d'information";
	$("a.thickbox, a[rel='lightbox']").fancybox({'hideOnContentClick': false,imageScale : true}); 
	$("a#box_ami").fancybox({frameWidth : 300,frameHeight : 200}); 
	if(document.all){$("a#box_fav").click(function(){window.external.AddFavorite(location.href, document.title);});
	}else{$("a#box_fav").fancybox({'hideOnContentClick': true,frameWidth : 400,frameHeight : 100});}
			
	$('#logo').hover(function() { //mouse in
   		$(this).find('img').stop().animate({ opacity: '0' }, 250);
  	}, function() { //mouse out
    	$(this).find('img').stop().animate({ opacity: '1' }, 250);
   	});
	
	$("#btn_menu").click(function () {
      $("#btn_menu").stop(0,1).toggleClass("btn_menu_bis");
	});

	$("#btn_show").click(function(){
            $(".footer").animate({height: "100px"});
            $(".panel_button").toggle();
        });       
        $("#btn_hide").click(function(){
            $(".footer").animate({height: "20px"});
            $(".panel_button").toggle();
        });
	
});


      

