jQuery.fn.equalHeight=function(){var height=0,maxHeight=0;this.each(function(){var t=jQuery(this);height=t.height()+parseInt(t.css('paddingTop'),10)+parseInt(t.css('paddingBottom'),10)+parseInt(t.css('borderTopWidth'),10)+parseInt(t.css('borderBottomWidth'),10);maxHeight=(height>maxHeight)?height:maxHeight;});return this.each(function(){var t=jQuery(this);mh=maxHeight-(parseInt(t.css('paddingTop'),10)+parseInt(t.css('paddingBottom'),10)+parseInt(t.css('borderTopWidth'),10)+parseInt(t.css('borderBottomWidth'),10));t.css({minHeight:mh+'px'});});};