
$(function(){
    var sets = [], temp = [];
    $('.subCol h3').each(function(i) {
        temp.push(this);
        if (i % 5 ==4) {
            sets.push(temp);
            temp = [];
        }
    });
    if (temp.length) sets.push(temp);

    $.each(sets, function() {
        $(this).flatHeights();
    });
});

$(function(){
    var sets = [], temp = [];
    $('.subCol div').each(function(i) {
        temp.push(this);
        if (i % 5 ==4) {
            sets.push(temp);
            temp = [];
        }
    });
    if (temp.length) sets.push(temp);

    $.each(sets, function() {
        $(this).flatHeights();
    });
});

$(function(){
    var sets = [], temp = [];
    $('.subCol').each(function(i) {
        temp.push(this);
        if (i % 5 ==4) {
            sets.push(temp);
            temp = [];
        }
    });
    if (temp.length) sets.push(temp);

    $.each(sets, function() {
        $(this).flatHeights();
    });
});


$(function(){
    var sets = [], temp = [];
    $('.subCol p.img').each(function(i) {
        temp.push(this);
        if (i % 5 ==4) {
            sets.push(temp);
            temp = [];
        }
    });
    if (temp.length) sets.push(temp);

    $.each(sets, function() {
        $(this).flatHeights();
    });
});
$(function(){
    var sets = [], temp = [];
    $('.subCol p.txt').each(function(i) {
        temp.push(this);
        if (i % 5 ==4) {
            sets.push(temp);
            temp = [];
        }
    });
    if (temp.length) sets.push(temp);

    $.each(sets, function() {
        $(this).flatHeights();
    });
});
