(function($) {
  $.fn.equalizeCols = function(children){
    var child = Array(0);
    if (children) child = children.split(",");
    var maxH = 0;
    this.each(
      function(i) 
      {
        if ($(this).outerHeight()>maxH) maxH = $(this).outerHeight();
      }
    ).each(
      function(i)
      {
        var gap = maxH-$(this).outerHeight();
        if (gap > 0)
        {
			var div = $(document.createElement('div'));
			div.css({'height':gap+'px','overflow':'hidden','position':'relative','clear':'both'});
			div.text(' ');
			div.appendTo($(this));
        }
      }  
    );
    
  }
})(jQuery);