// JavaScript Document

//
// Type the number of images you are rotating.

NumberOfImagesToRotate = 5;

// Specify the first and last part of the image tag. 
	
FirstPart = '<img src="http://www.gkmedia.org/avanti/images/random/random';
LastPart = '.jpg" height="172" width="656">';

function printImage() {
var r = Math.ceil(Math.random() * NumberOfImagesToRotate);
document.write(FirstPart + r + LastPart);
}
//-->