	jQuery(document).ready(function($){
		


$('#menu ul li:not(.current) a').hover(
	function () {
		$(this).fadeTo(250,1);
	},
	function () {
		$(this).fadeTo(250, 0.45);
	}
	);
	
	

	

			$(document).ready(function() {	
				var hash = document.location.hash;
			//	$('#big-thumb').html($('#hide-crea .creations:first').html());    

				$('div#list-showcase li a').click(function() {
					var html = $($(this).attr('href')).html();


					if(html !== $('#big-thumb').html()) {
						$('#big-thumb').animate({
							opacity : 0
							//marginLeft: '-3px'
							}, 500, function() {
								$('#big-thumb').html(html).animate({
									opacity: 1
								}, 500);
							});
					}
					return false;
				});
				
				
				$mainNav2 = $("#menu ul");
				
				$mainNav2.append("<li id='magic-line-two'></li>");
				
				var $magicLineTwo = $("#magic-line-two");
				
				$magicLineTwo
				    .width($(".current").width())
				    .height($mainNav2.height())
				    .css("left", $(".current").position().left +14)
				    .data("origLeft", $(".current a").position().left +14)
				    .data("origWidth", $magicLineTwo.width())
				    .data("origColor", $(".current a").attr("rel"));
				            
				$("#menu ul li").hover(function() {
				    $el = $(this);
				    leftPos = $el.position().left;
				    newWidth = $el.width();
				    $magicLineTwo.stop().animate({
				        left: leftPos + 15,
				        width: newWidth,
				    })
				}, function() {
				    $magicLineTwo.stop().animate({
				        left: $magicLineTwo.data("origLeft"),
				        width: $magicLineTwo.data("origWidth"),
				    });    
				});
				
				
			});

			// fin du code pour le showcase

			
	  	});
