How To Use Multiple Onload Actions on the Same Page
Web applications like FileChucker and UserBase often need to perform tasks that happen after a web page has finished loading. The traditional way to do this is to add onload="somefunc();" to the page's <body> tag. But what if you need multiple events to happen at onload time?
To schedule multiple onload events, add the following code to the <head> section of your page:
<body onload="somefunc('foo', 'bar', 'baz')">
And of course, the whole point is that you can then include as many calls to the schedule_onload_action() function as you wish: