$(function(){
    var sets = [], temp = [];
    $('#Contents .com_listbox02 .linebox .list .name').each(function(i) {
        temp.push(this);
        if (i % 4== 3) {
            sets.push(temp);
            temp = [];
        }
    });
    if (temp.length) sets.push(temp);

    $.each(sets, function() {
        $(this).flatHeights();
    });
});
$(function(){
    var sets = [], temp = [];
    $('#Contents .com_listbox02 .linebox .list .txt').each(function(i) {
        temp.push(this);
        if (i % 4== 3) {
            sets.push(temp);
            temp = [];
        }
    });
    if (temp.length) sets.push(temp);

    $.each(sets, function() {
        $(this).flatHeights();
    });
})
$(function(){
    var sets = [], temp = [];
    $('#Contents .ranklistbox .linebox .list .name').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 = [];
    $('#Contents .com_listbox .linebox dl dd a').each(function(i) {
        temp.push(this);
        if (i % 6== 5) {
            sets.push(temp);
            temp = [];
        }
    });
    if (temp.length) sets.push(temp);

    $.each(sets, function() {
        $(this).flatHeights();
    });
});
$(function(){
    var sets = [], temp = [];
    $('#ECBOX .rankingbox .listbox p.name').each(function(i) {
        temp.push(this);
        if (i % 4== 3) {
            sets.push(temp);
            temp = [];
        }
    });
    if (temp.length) sets.push(temp);

    $.each(sets, function() {
        $(this).flatHeights();
    });
});
$(function(){
    var sets = [], temp = [];
    $('#ECBOX .rankingbox .linebox.linebox_s p.name').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();
    });
});
