/**
 * boxSameHeight - jQuery plugin 
 *
 * Copyright (c) 2009 Attrise.Inc.
 *  http://attrise.com
 *
 * Dual licensed under the MIT and GPL licenses:
 *  http://www.opensource.org/licenses/mit-license.php
 *  http://www.gnu.org/licenses/gpl.html
 *
 * $Id: $
 */
(function($){
    jQuery.fn.boxSameHeight = function(options) {
        var defaults = {
            n : 0
        };
        settings = jQuery.extend({}, defaults, options);
        this.each(function(){
            var $this = jQuery(this),
                h     = $this.height();
            settings.n = (settings.n < h) ? h : settings.n;
        });
        jQuery(this).css('height', settings.n);
        return this;
    }
})(jQuery);

$(function(){ $(".SameHeight").boxSameHeight(); });