$(document).ready(function() {
        /*
        This function is for swapping the headers 
        */

        //setup the first id in the list as your last id
        var last_id = $("#series_navigation a:0").attr("ref");
        $("#series_navigation a").mouseover(function() {
                id = $(this).attr("ref");
                $("#"+id).show();
                //if last_id is not empty and does not equal the current id
                if (last_id != "" && last_id != id) {
                       $("#"+last_id).hide();
                }
                last_id = id;
        });
})
