function accordion (container)
{
	var current = false;

	$('> div', container).css('display', 'none');
	$('> h3', container).click(function() {
		if (this != current) {
			$(this).parent().find('> div').slideUp();
			$(this).next().slideDown();
			current = this;
		}
	});
}