Up until now I just put all my jQuery goodness inside the $(document).ready() function, including simple functions used in certain user interactions.
$(document).ready()
B
one advantage of putting those functions inside the document ready function is that they don't pollute your global namespace... with the downside that if you need them somewhere else on the page they won't be available.