Walker121212,
var img_array = [],
i, timer;
function multi_pulti() {
for (i = 0; 4 > i; i++) img_array[i] = new Image(50, 100);
img_array[0].src = "e1.jpg";
img_array[1].src = "e2.jpg";
img_array[2].src = "e3.jpg";
img_array[3].src = "e4.jpg"
}
function s() {
i = ++i % 4;
window.clearTimeout(timer);
document.images[0].src = img_array[i].src;
timer = setTimeout(s, 1000)
};