function show_tab(id) {
    var mytabs;
    mytabs = ['overview', 'itinerary', 'dates', 'notes'];
    jQuery.each(mytabs, function() {
        if (id == this) {
            $("#"+this).show();
        }
        else {
            $("#"+this).hide();
        }
    })
}
    
$(document).ready(function() {show_tab('overview');})

