in reply to Printing Random Image in HTML

You might want to look at my WebTechniques Perl column on dealing random images for a technique that forces fairness over time.

-- Randal L. Schwartz, Perl hacker