$(function() {
	$('#resources_list').children().eq(0).addClass('active');
	var minHeight = $('#resources_list').height();
	$('#resources_list li ul').each(function() {
		if($(this).height()<minHeight) $(this).height(minHeight);
	});
	$('#resources_list h5').click(function() {
		$(this).parent().addClass('active').siblings().removeClass('active');
	});
});