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