// script pour commander l'accordéon dans la rightbar
	var Accordeon = {
		start: function() {	
			var toggler = $$('.tiroir');
			var content = $$('.tiroirOuvert');
			var heightValue = '';

				var accordion = new Accordion(toggler, content, {
					start: 'all-closed',
					opacity: true,
					onComplete: function(toggler, content) {
						var element=$(this.elements[this.previous]);
						if(element && element.offsetHeight>0) element.setStyle('height', heightValue);
					},
					onActive: function(toggler, content){
						content.setStyle('display', 'block');
					}
				}, $("accordion")); 
				accordion.togglers.each(function(toggler){
					toggler.addEvents({
						'mouseenter': function(){
							this.fireEvent("click");
						},
						'mouseleave': function(){
							accordion.display(-1);
						}
					});
				});
		}
	};
