
$(function(){
    var sets = [], temp = [];
    $('.group01 .athleteBlogItem').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 = [];
    $('.group02 .athleteBlogItem').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 = [];
    $('.group03 .athleteBlogItem').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 = [];
    $('.group04 .athleteBlogItem').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 = [];
    $('.group05 .athleteBlogItem').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 = [];
    $('.group06 .athleteBlogItem').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();
    });
});
