/**
 * jQuery Float Centre
 *
 * Find all floated objects that need to be centred.
 */

// Calculate width of object, centre it, show it.
 
$('.sb-floatcentre').each(function() {
	var sb_float_center = $(this).width();
	if (sb_float_center) {
		$(this).css('float', 'none');
		$(this).css('width', sb_float_center+1);
		$(this).fadeIn('slow');
	}
});
