I've been searching the horribly-constructed script sites around for literally an hour and found nothing.

All I'm after is a small piece of code that randomly displays a piece of text (only need 2) each time the user reloads/visits my site.

So e.g. "text 1" and "text 2" are displayed randomly each time the website is visited.

Anyone kind enough to point me to some code?