function faderate(ratediv, rating){
	jQuery(ratediv).fadeOut('fast', function(){
		jQuery(ratediv).text(rating);
		jQuery(ratediv).fadeIn('fast');
	});
}

function showDiv(shown){
	$('div.stack').each(function() {
		if($(this).attr('id')==shown){
			$(this).show();
			$('#'+shown+"tab").addClass('on');
		}else{
			$(this).hide();
			$('#'+$(this).attr('id')+"tab").removeClass('on');
		}
	});
}

