/*
 * rotating images - 
 * 
 * 
 */

delay = 2500
imageNum = 1

R3 = Math.floor(54 * Math.random());
R4 = R3 +1;
R5 = R4 + 9;


// Preload animation images

theImages = new Array()

for(i = 1; i < 10; i++) {

theImages[i] = new Image()
j = i + R3

theImages[i].src = "images/home/items/0" + j + ".jpeg"

}





function animate() {

document.animation.src = theImages[imageNum].src

imageNum++

if(imageNum > 9) {

imageNum = 1

}



}



function slower() {

delay+=1000

if(delay > 10000000) delay = 10000000

}



function faster() {

delay-=10

if(delay < 0) delay = 0

}





