// Get a random image.
function randImg(imgCount, firstPart, lastPart) {
	var r = Math.ceil(Math.random() * imgCount);
	document.write(firstPart + r + lastPart);
}

