﻿
//The functions

(function($) {
    $.fn.SameHeight = function() {
        var maxHeight = 0;
        return this.each(function() {
            var height = $(this).height();
            if (height > maxHeight) maxHeight = height;
        }).height(maxHeight);
    }
})(jQuery);
