$(document).ready(function(){

	$('.percentage-bar').addClass('percentage-zero');
	$('.percentage-box').click(function(){
		var myWidth = $('.percentage-bar', this).attr('title') + '%';
		$('.percentage-bar', this).animate({width: myWidth}, 2000);
		$('.percentage-bar', this).html(myWidth + '&nbsp;'); // adds some padding after the text, but doesn't effect the width;
	});
	$('.percentage-box').click();

});


