Progress Monitor has 100s of Code Samples

You should see onload event when page loads