Click these links a couple of times:
When onload fails - testpage 1
When onload fails - testpage 2

Then use the back and forward buttons too see what happens. (Please wait a couple of millsecs. between each back/forward...)