[jQuery] How to hide a div without a click function

[jQuery] How to hide a div without a click function


I currently have this
$(document).ready(function() {
    initSlideboxes();
    function initSlideboxes()
{
$('#slidebar').show();
    $('#slidebar').html($('#hidebar').html());
    $('#slidebartrigger').click(function(){$('#slidebar').toggle(); });
};
});
I would like after a certain duration of several seconds to have the
slidebar div hide. I know how to do this in scriptaculous but I have
abandoned my scriptaculous solution for jquery.