@JPnycSep 15.2004 — #The page would constantly refresh unless you use a setTimeout. It would never just display. That would be a disaster. But of course you can call it onload. You can call most any function on most any event handler, provided the element you're calling it on HAS that event handler.
@ai3rulesSep 15.2004 — #Here is a way to change the location.href adding a substring to the end of it after 1 change so that it only changes once. Is this something like what you are looking for? I wasnt exactly sure.