/*  This script is to display random images        */
/*  Copyright 2002 Bontrager Connection, LLC   */
//
// Type the number of images you are rotating.

NumberOfImagesToRotate = 5;

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

Box1 = '<img src="images/rotate/Box1/b1_';
Box2 = '<img src="images/rotate/Box2/b2_';
Box3 = '<img src="images/rotate/Box3/b3_';
Box4 = '<img src="images/rotate/Box4/b4_';
LastPart = '.jpg" height="146" width="156" border="0">';

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

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

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

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