(function($) {
  $.fn.equalizeCols = function(){
    var maxH = 0;
    this.each(
      function() 
      {
        if (this.offsetHeight>maxH) maxH = this.offsetHeight;
      }
    ).css("height", "auto").each(
      function()
      {
        var gap = maxH-this.offsetHeight;
        if (gap > 0)
        {
          t = document.createElement('div');
          $(t).attr("class","fill").css("height",gap+"px");
		  $(this).append(t)
        }
      }  
    );
    
  }
})(jQuery);