// Type the number of images you are rotating.

NumberOfImagesToRotate = 3;


// Specify the first and last part of the image tag. 

FirstPart = '<img src="/images/nav/header-photo';
LastPart = '.jpg" width="125" height="100" />';

function printImage() {
var r = Math.ceil(Math.random() * NumberOfImagesToRotate);
document.write(FirstPart + r + LastPart);
}