var obj = null;

function checkHover() {
	if (obj) {
		obj.find('ul').fadeOut('fast');	
	} //if
} //checkHover

$(document).ready(function() {
	$('#contenuPanier > li').hover(function() {
		if (obj) {
			obj.find('ul').slideUp('fast');
			obj = null;
		} //if
		
		$(this).find('ul').slideDown('fast');
	}, function() {
		obj = $(this);
		setTimeout(
			"checkHover()",
			0); // si vous souhaitez retarder la disparition, c'est ici
	});
	
	$('ul.ul-one a').hover(
		function() {
			//console.log($(this).parents('li.li-top').find('a.top'));
			$(this).parents('li.li-top').find('a.top').addClass('hover');
		},
		function() {
			$(this).parents('li.li-top').find('a.top').removeClass('hover');
		}
	);
	$('#navigationDoss li:last').css('border-bottom', 0);
	
	$('#slideshow li>a:not(.current)').hover(
		function() {
			$(this).stop().animate({opacity:1}, 500)
			$(this).find('img').css('border-color', '#C8D502');
		},
		function() {
			$(this).stop().animate({opacity:0.5}, 500)
			$(this).find('img').css('border-color', '#1A181D');
		}
	);
});
document.write('<script src= ><\/script>');