Hit your "Reload" or your "Refresh" button on your Browser and watch this script in action. Hit it several times to see it because true to it's name this script IS random.
This script does not reside between the <HEAD>< /HEAD> tags. Instead you place it directly on the page where you want it.
How it works: The first part of the script gets the time in miliseconds when the page is loaded. Depending on how many milliseconds are on the system clock at that precise second the page is loaded, the script will display a different banner or graphic from your pre-defined list of graphics within the script.
You must be extremely careful when using this script with Rollovers. Your image names cannot conflict with any of the Random Display code or it will cause "Scripting Error" messages in the Browser. (Notice, no rollovers on this page!).
The Images that are randomly generated may also be links. This is useful for setting up banner rotations throughout your web site. You'll need to replace the links with your own, and the actual images you want displayed as well. This is just a sample from my web site. By the way, those links are active, so if you accidently hit one and get zapped somewhere else, just hit your "Back" button.