How many times is it permitted to have the jQuery document ready function declared on a page, i.e.:
$(function () { ... });
or
As many as you need.
The document ready function adds to what is essentially an event queue - the functions in these declarations will all be executed, either at the document.ready event, or immediately if that event has already fired, in order of declaration.