document.observe(
	'dom:loaded',
	function()
	{
		// ----- ACTU -----
		
		var actuListElement = $$('.bloc-actu');
		var maxHeight = 0;
		
		function actuStart()
		{
			actuListElement.each(
				function(element, index)
				{
					if(element.getHeight() > maxHeight)
					{
						maxHeight = element.getHeight();
					}
				}
			);
			
			actuListElement.invoke('setStyle', {'height': maxHeight + 20 +'px'});
		}
		
		actuStart();
		
		var carousel = new Carousel(
			{
				carouselElementId: 'carousel',  
				isVertical: true,
				isAuto: true,
				displayDurationDuration: 6000,
				isInfinite: true
			}
		);
	}
);
