$(function(){
    $('.menuA, .menuB').flatHeights();
    $('.menuC, .menuD').flatHeights();	
});

