$(document).ready(function() {
		
	$('a.question[rel]').each(
	  	
	function(){
	
		var show = $(this).attr('rel');
		var $div = $('#' + show);
		var height = $div.height();
		if(height < 48) height = 48;
		$div.hide().css({ height : 0 });
	
		$(this).bind (
			'click',
			function(){
				if ($div.is(':visible')) {
					$div.animate({ height: 0 }, { duration: 1000, easing: 'easeOutQuint', complete: function () {
						$div.hide();
					} });
				} else {
					$div.show().animate({ height : height }, { duration: 1000, easing: 'easeOutQuint' });
				}
				return false;
			}
		);
	});

});