Cycling Images with a Random Start
If you have a number of images that you want to display, you may not want to display them beginning with the same image each time the page is loaded. Script 4.20 has the HTML, and Script 4.21 combines the code used earlier for the cycling ad banners with the random image code.
Script 4.20. There's a spacer GIF in the HTML file, which is a placeholder until the ad banner appears.
Script 4.21. This script allows you to start your cycling image show with a random image.
To start images cycling from a random start: