// The above are all your images in the correct order
i = 0;
speed = 4000; // Speed of animator, the lower the faster
numLoops = 100; // Number of times the animator should loop
startT = 0; // Number of seconds after which the animator will start
numImgs = imageseen.length;
numLoops = numImgs * numLoops;
b = 0;
startT = startT * 1000;
setTimeout("animate();",startT);

function nextPic(){
i++;
if (i > (numImgs - 1)){
i = 0;
}
document.animeen.src = imageseen[i];
}

function animate(){
for (a=0; a < numLoops; a++){
b = b + speed;
setTimeout("nextPic()",b);
}
}