jQuery.noConflict();
var j$ = jQuery;


j$(function(){
    /* div要素を3つずつの組に分ける */
    var sets = [], temp = [];
    j$('.box_height').each(function(i) {
        temp.push(this);
        if (i % 2 == 1 ) {
            sets.push(temp);
            temp = [];
        }
    });
    if (temp.length) sets.push(temp);

    /* 各組ごとに高さ揃え */
    j$.each(sets, function() {
        j$(this).flatHeights();
    });
});

j$(function(){
    /* div要素を3つずつの組に分ける */
    var sets = [], temp = [];
    j$('.i_box').each(function(i) {
        temp.push(this);
        if (i % 3 == 2 ) {
            sets.push(temp);
            temp = [];
        }
    });
    if (temp.length) sets.push(temp);

    /* 各組ごとに高さ揃え */
    j$.each(sets, function() {
        j$(this).flatHeights();
    });
});

