$(function(){
	eqHeights('.block-section');
})

function eqHeights(el) {
	$(el).each(function() {
		var _heigh = 0;
		$(this).children().each(function(){
			if ($(this).outerHeight() > _heigh) { _heigh = $(this).outerHeight(); }
		});
		$(this).children().each(function() {
			if ($(this).outerHeight() <= _heigh) {
				var real_height = (_heigh - $(this).outerHeight()) + $(this).height();
				$(this).css('min-height', real_height);
				if ($.browser.msie && $.browser.version == 6.0) {
					$(this).height(real_height);
					$(this).css('overflow', 'visible');
				}
			}
		});
	});
}
