$(document).ready(function() 
{
	hs.graphicsDir = '/lib/highslide/graphics/';
	hs.align = 'center';
	hs.transitions = ['expand', 'crossfade'];
	hs.wrapperClassName = 'dark borderless floating-caption';
	hs.fadeInOut = true;
	hs.dimmingOpacity = .75;
	hs.showCredits = false;

	$('#coda-slider').codaSlider({
		autoSlide: true,
		autoSlideInterval: 7000,
		autoSlideStopWhenClicked: true
	});

	$('#onglets').tabs({ fxSlide: true, fxFade: true, fxSpeed: 'normal' });    
	
	$(document).pngFix();    
	
	$(".element").hide(); 
	$('.toggler').click(function() 
	{
		$(".element").slideUp("normal"); 
		if($(this).next(".element:visible").length == 0)
		{
			$(this).next(".element").slideDown("normal"); 
			return false;
		}
		else
		{
			$(this).next(".element").slideUp("normal"); 
			return false;
		}
	});

});
