Try this:
(screen_1665_onLoad = function() {
auth();
})();
That should run when the page loads.
Then again, you're using jQuery so why not go for the stock-syntax:
$(function() {
auth(); // This is your function-call, which will run once jQuery determines the document is ready
});