jQuery(document).ready(function($) {
	if ('undefined' === typeof(jQuery.fn.reverse)) {
		jQuery.fn.reverse = [].reverse;
	}
	var fit = 0, fito = 1000, fitp = 500;
	$('.module.donations .list > li').hide().reverse().each(function() {
		$(this).delay(fit).fadeIn(fito);
		fit += (fito+fitp);
	});
	$('.counter-bar > span').css({'width': 0}).removeClass('init').each(function() {
		$(this).animate({'width': $(this).data('results')+'%'}, parseFloat($(this).data('results')) * 100);
		if ($.browser.msie && 8 > parseFloat($.browser.version)) {
			$(this).append('<em class="title">' + $(this).attr('title') + '</em>');
		}
	});
});
