$(function(){
    var sets = [], temp = [];
    $('.item-pickup').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();
    });
});

$(function(){
    $('.patisserie #other .item').flatHeights();
});


$(function(){
    var sets = [], temp = [];
    $('.item').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();
    });
});

/*
$(function(){
    var sets = [], temp = [];
    $('#page-body .box dl.list-box').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 = [];
    $('#page-body .box dl.list-box .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 = [];
    $('#page-body .box dl.list-box .price').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 = [];
    $('#page-body .box dl.list-box .button').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();
    });
});