$(window).load(function() {
			$('#flowereditions').css('visibility','hidden');
			$('#flowercameras').css('visibility','hidden');
			$('#flowerpostale').css('visibility','hidden');
			$('#blinkcameras').css('visibility','hidden');
			$('#blinkrubriques').css('visibility','hidden');
			$('#cover').css('visibility','visible');
			$('#coverflower').css('visibility','visible');
			$('#adresse').css('display','none');
			$('#rubriques').css('display','none');
			$('#editions').css('display','none');
			$('#cameras').css('display','none');
			$('#postale').css('display','none');
			$('#mail').css('display','none');
			$('li').css('display','none');
				
			$('#cover').animate({
				height: '-=72',
			  }, 2000, function() {
				// void
					});
			$('#coverflower').animate({
				height: '-=72',
			  }, 2000, function() {
				// void
					});
			$.doTimeout( 500, function(){
				$('#adresse').css('display','inherit');
				$('#rubriques').css('display','inherit');
				$('#editions').slideDown(1000);
				$('#cameras').slideLeftShow(1000);
				$('#postale').slideLeftShow(1500);
				$('#mail').slideLeftShow(2000);
				$('li').slideLeftShow(2000,function() {
					$('#flowereditions').css('visibility','visible');
					$('#flowercameras').css('visibility','visible');
					$('#flowerpostale').css('visibility','visible');
					$('#blinkcameras').css('visibility','visible');
					$('#blinkrubriques').css('visibility','visible');
				});
			});
		});

$(function(){		
		$('#livres').mouseenter(function() {
			$('#cover').animate({
				height: 0,
			  }, {duration: 500, queue: false});
			$('#coverflower').animate({
				height: 37,
			  }, {duration: 500, queue: false});
		});
		
		$('#livres').mouseleave(function() {
			var newHeight = $('#menu').height() - 72;
			$('#cover').animate({
				height: newHeight,
			  }, {duration: 500, queue: false});
			newHeight += 37;
			$('#coverflower').animate({
				height: newHeight,
			  }, {duration: 500, queue: false});
		});
		
		$('#auteurs').mouseenter(function() {
			$('#cover').animate({
				height: 0,
			  }, {duration: 500, queue: false});
			$('#coverflower').animate({
				height: 37,
			  }, {duration: 500, queue: false});
		});
		
		$('#auteurs').mouseleave(function() {
			var newHeight = $('#menu').height() - 72;
			$('#cover').animate({
				height: newHeight,
			  }, {duration: 500, queue: false});
			newHeight += 37;
			$('#coverflower').animate({
				height: newHeight,
			  }, {duration: 500, queue: false});
		});
		
		$('#mail').mouseenter(function() {
			$('#mail').css('background-color','black');
		});
		$('#mail').mouseleave(function() {
			$('#mail').css('background-color','red');
		});
});
