
//main visual

$(function() {
    
    $('#mainvisual').cycle({ 
    fx:     'fade', 
    speed:   3000, 
    timeout: 3000, 
    next:   '#mainvisual', 
    pause:   1 
});
});

//column

$(function(){
    /* div要素を3つずつの組に分ける */
    var sets = [], temp = [];
    $('.pickup div').each(function(i) {
        temp.push(this);
        if (i % 2 == 1) {
            sets.push(temp);
            temp = [];
        }
    });
    if (temp.length) sets.push(temp);

    /* 各組ごとに高さ揃え */
    $.each(sets, function() {
        $(this).flatHeights();
    });
});

