$(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(); 
	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});}
			
	var h=$('#footer').css('height');
	$('#footer').css({'height':'8px'});
	$('#btnFooter').click(function() { 
		if($('#footer').height()<10) {
   			$('#footer').stop().animate({ 'height': h }, 250);
			$('#btnFooter').html('Masquer la navigation');
			$('#btnFooter').addClass('current');
		}
		else {
   			$('#footer').stop().animate({ 'height': '8px' }, 250);
			$('#btnFooter').html('Afficher la navigation');
			$('#btnFooter').removeClass('current');
		}
  		return false;
   	});
	
	/*-------------Animation témoignages---------*/
	
	$('.titre-question').click(function(){
		$(this).parent().find('.text-question').stop(1,1).slideToggle('slow');
	});
	
	
	/*-------------Animation carto---------*/
	
	$('.titre-carto').click(function(){
		$(this).parent().find('.text-carto').stop(1,1).slideToggle('slow');
	});
	
});


      

