function levelingHeightBlock(container, xy) {
var $c = $(container),
a = [],
h;
$c.each(function (i, _c) {
$(_c).children().each(function (j, e) {
h = $(e).height();
if (xy == 'y') a[i] = a[i] ? a[i] < h ? h : a[i] : h;
else a[j] = a[j] ? a[j] < h ? h : a[j] : h;
});
});
$c.each(function (i, _c) {
$(_c).children().each(function (j, e) {
if (xy == 'y') $(e).height(a[i]);
else $(e).height(a[j]);
});
});
}
levelingHeightBlock('.table-container .table-rows');