	$(function() {
		$('#container-4').tabs({ fxFade: true, fxSpeed: 'fast' });
	});
		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;
 

	// Add the controlbar
	if (hs.addSlideshow) hs.addSlideshow({
		//slideshowGroup: 'group1',
		interval: 5000,
		repeat: false,
		useControls: true,
		fixedControls: 'fit',
		overlayOptions: {
			opacity: .6,
			position: 'bottom center',
			hideOnMouseOut: true
		}
	});
	
		//DIAPORAMA qui attend que les images soit chargé avant de ce lancer utilise le fichier jquery.cycle.js
	window.onload = function () {
	   $('.diaporama').cycle( 
		{
			 fx:    'scrollDown'
		});
		$('.diaporama').css({'background-image' : 'url()'});
		$('.diaporama img').css({'display' : 'inline'});

		
			$("#pubPMS").show();
			$("#pubPMS").fadeTo(1000,0.98,'');
		
	}
	
	jQuery(document).ready(function(){

		$(".element").hide(); 
	
		$(".on").show(); 
		$('.toggler').click(function() 
		{
			if($(this).next(".element:visible").length == 0)
			{
				$(".element").slideUp("normal"); 
				$(this).next(".element").slideDown("normal"); 
				return false;
			}
			else
			{
				$(".element").slideUp("normal");
				return false;
			}
		});
		
		
			$("#pubPMS").fadeTo(1,0,'');
			$("#pubPMS").hide();
			
			

		$("#pubPMS").click(function(){
			$("#pubPMS").fadeTo(1000,0, '');
			$("#pubPMS").hide(1000);
		});
		
	})