// Type the number of images you are rotating.

NumberOfImagesToRotate = 6;

// Specify the first and last part of the image tag. 

FirstPart = '<a href="customer.html"><img src="/images/ad/ad1ad';
LastPart = '.png" height="80" width="150">';

function printImage() {
var r = Math.ceil(Math.random() * NumberOfImagesToRotate);
document.write(FirstPart + r + LastPart);
}

// Type the number of images you are rotating.

NumberOfImagesToRotate2 = 6;

// Specify the first and last part of the image tag. 

FirstPart2 = '<a href="customer.html"><img src="/images/ad/ad2ad';
LastPart2 = '.png" height="80" width="150">';

function printImage2() {
var r = Math.ceil(Math.random() * NumberOfImagesToRotate2);
document.write(FirstPart2 + r + LastPart2);
}

// Type the number of images you are rotating.

NumberOfImagesToRotate3 = 6;

// Specify the first and last part of the image tag. 

FirstPart3 = '<a href="customer.html"><img src="/images/ad/ad3ad';
LastPart3 = '.png" height="80" width="150">';

function printImage3() {
var r = Math.ceil(Math.random() * NumberOfImagesToRotate3);
document.write(FirstPart3 + r + LastPart3);
}

// Type the number of images you are rotating.

NumberOfImagesToRotate4 = 6;

// Specify the first and last part of the image tag. 

FirstPart4 = '<a href="customer.html"><img src="/images/ad/ad4ad';
LastPart4 = '.png" height="80" width="150">';

function printImage4() {
var r = Math.ceil(Math.random() * NumberOfImagesToRotate4);
document.write(FirstPart4 + r + LastPart4);
}

// Type the number of images you are rotating.

NumberOfImagesToRotate5 = 6;

// Specify the first and last part of the image tag. 

FirstPart5 = '<a href="customer.html"><img src="/images/ad/ad5ad';
LastPart5 = '.png" height="80" width="150">';

function printImage5() {
var r = Math.ceil(Math.random() * NumberOfImagesToRotate5);
document.write(FirstPart5 + r + LastPart5);
}

