/**
 * Fixes Min, minified combination of the following:
 * 
 * captions-fix.js
 */
$(document).ready(function(){
	
	$('.wp-caption').each(function(){
		var $width = $(this).width();

		var $plus = 110;
		if( $(this).find('img').length > 1) {
			$plus = 120
			
			$(this).find('img').each(function(){
				$(this).css({'margin-right':'6px'})				
			});
		}
		
		$(this).width($width+$plus);
		$(this).find('.wp-caption-text').append('<span class="notch">&nbsp;</div>');
		$(this).find('.wp-caption-text').after('<div class="clr">&nbsp;</div>');	
	});	
});
