// JavaScript Document
$(function(){

$('#nav').droppy({speed: 50});


$('.pasGriser').fadeTo(100,1);
$('.griser').fadeTo(100,0.6);



	$(".lightbox").fancybox({'titlePosition'  : 'inside'});
	
	if($('#slideAccueil').length){
		$('#slideAccueil').crossSlide({
		  sleep: 2,
		  fade: 1
		}, [
		  { src: 'img/slides/historique/h3.jpg'},
		  { src: 'img/slides/historique/h2.jpg'},
		  { src: 'img/slides/historique/h1.jpg'}		  
		]);
	}
	
	if($('#panel').length){
	   $('#panel').jScrollPane({showArrows:true});
	}
	if($('.panelActus').length){
	   $('.panelActus').jScrollPane({showArrows:true});
	}
/*	if($('#colDRef').length){
	   $('#colDRef').jScrollPane({showArrows:true});
	}	*/
});

