$(function() {
    function bindIt(thing) {
        $("#"+thing).hover(
            function(){$("#hidden"+thing).show()},
            function(){$("#hidden"+thing).hide()}    
        );
    };
    bindIt("sect1");
    bindIt("sect2");
    bindIt("sect3");
    bindIt("sect4");
});
