$(document).ready(function() {

    var colheight = 0;
    $(".sameheight").each(function(){
        if ($(this).height()>colheight) colheight=$(this).height();
    }).css({height:colheight});

    var colheight2 = 0;
    $(".sameheight-li").each(function(){
        if ($(this).height()>colheight2) colheight2=$(this).height();
    }).css({height:colheight2});


});
