Rotate = 12;

// Specify the first and last part of the image tag. 

FirstPart = '<img src="images/img/';
LastPart = '.gif" width="798" height="129" border="0">';

function printImage() {
var r = Math.ceil(Math.random() * Rotate);
document.write(FirstPart + r + LastPart);
}
