How to make a single serving site like

Hi all,

I’d like to make a site like Barack Obama Is Your New Bicycle. Basically, I have a bunch of lines that I want to be able to set up so that when someone clicks on the link, it displays another entry randomly. Could someone point me in the direction of a tutorial on how to do this? I have a lot of experience making and administering websites, but I"m a noob at javascript. Thanks a bunch!

make an array of them and then select one with the index floor(Math.random()*arr.length)

[google]javascript random array element[/google]

first tut i found: JavaScript array get elements at random