Next time you forget how to write the jQuery document ready function, here is a snippet that can help you. Just put jquery document ready at Google and find the result.
$(document).ready(function() {
// put your jquery stuff here
});
I got this information from Document Ready website
