To see what this script does click here Warning this will transfer you to another site you just need to use your back button sorry bout that Java-Script - preload - www.java-resources.com

you will want to change this 22 to the number of images that are contained in the array imgs