﻿//Use this plugin to force columns with varying amounts of content to take the same height.

$.fn.equalHeights = function(px) {
    $(this).each(function() {
        var currentTallest = 0;
        $(this).children().each(function(i) {
            if ($(this).height() > currentTallest) { currentTallest = $(this).height(); }
        });
        $(this).children().css({ 'min-height': currentTallest });
        if ($.browser.msie && $.browser.version == 6.0) { $(this).children().css({ 'height': currentTallest }); }
    });
    return this;
};
