Random Quotes?

Hey guys,
I just did the tutorial for generating random quotes and Im stumped. Basically Im making a website where I want everytime it loads to generate a new quote. So instead of hiting a button to make it change the quote, I would like it to do it when the page reloads. Does anyone know the actionscript to make this happen. I would appreciate it a lot.