$(document).ready(function(){
	$(".menu-gauche dt").each(function(){
		$(this).siblings('dd').hide();
		$('.menu-gauche dt.active').next('dd').show();
		if ($(this).next().is('dd')) {
			$(this).find('a').addClass('disabled').click(function(e){
				e.preventDefault();
				if ( ! $(this).parent().next().is(":visible")) {
				
					$(this).parent().siblings('dd:visible').slideUp();
					$(this).parent().next('dd').slideDown();
				}
				else {
					$(this).parent('dt').siblings('dd:visible').slideUp();
				}
			});
		};
	});
})



//J(function(){
//   var path = location.pathname.substring(1)+window.location.search;   //r�cup�re le pathname 
//   if ( path )
//
//	var a=J('.menu-gauche dl dd ul li a[@hrefJ="' + path + '"]').parent().parent().parent().length>0 || J('.menu-gauche dl dt a[@hrefJ="' + path + '"]').parent().next('dd').length
//
//	if( a )
//	{
//    J('.menu-gauche dl dd ul li a[@hrefJ="' + path + '"]').parent().parent().parent().attr('style', 'display:block');
//	J('.menu-gauche dl dt a[@hrefJ="' + path + '"]').parent().next('dd').attr('style', 'display:block');
//	}
//	 else
//	 {
//	    J('.menu-gauche dl dd:first ul li a').parent().parent().parent().attr('style', 'display:block');
//	
//	 }
// });
//
