/*
* accordian
* l: elements to click
* b: elements to hide or show
* a: first active element
*/
$.accordion = function(l, b, a) {
	var active = a, running = 0;
	$(b).not(active).hide();
	$(l).click(function(e){
		var p = $(this).siblings('div');
		if (running || !p.is(":hidden")) return false;
		running = 2;
		$(active).slideUp('fast', function(){--running;});
		active = '#' + p.slideDown('slow', function(){--running;/* 2 fois ? */})[0].id;
		return false;
	})
};