// JavaScript Document

// ACCENT IMAGE IN HEADER
// Type the number of images you are rotating.

NumberOfImagesToRotate = 3;

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

FirstPart = '<img src="resources/img/accents/accent';
LastPart = '.jpg" height="131" width="405">';

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