	NumberOfImagesToRotate = 4;
	
	// Specify the first and last part of the image tag. 
	
	FirstPart = '<img class="rndm" src="images/random/rndm0';
	LastPart = '.jpg" height="168" width="235">';
	
	function printImage() 
{
	var r = Math.ceil(Math.random() * NumberOfImagesToRotate);
	document.write(FirstPart + r + LastPart);
}
