There are three parts to this script. Place this first part between the & tags. Edit in the URLs of your two images. Control the speed of the "flip" with the setTimeout number value (it's 3000 in the sample below). Part two of the script, add the body onload to your line as shown in the sample below: Part three place an image code as shown below, where you want the image to appear on your web page. Edit in the URL for your image number 1 (same URL as in the script itself).