I have an aspx that has the following javascript function being ran during the onload event of the body.
Insert this anywhere in the body of the page: