this isn't really a tutorial, but I couldn't find out a place to post it. So here it goes. I originally wrote this script in Javascript, but than my friend later ported it to PHP and I just kept it. Made some minor changes to it though.
okay, um place this script within the body tags of your layout. Change "dir/to/imgs" to the directory that houses your image. Re-name all your images to splash1.jpg, splash2.jpg, splash3.jpg, etc. All the way up to the last number you put in "rand(1,5)".Code:<?php
$gen = rand(1,5); //change last number to number of images you have
print("<img src="dir/to/imgs/splash$gen.jpg">");
?>
I have tried this script and it seems to work just fine. Just reply if you encounter a problem.