var timeDelayCraft = 0.5; // change delay time in seconds
var PixCraft = new Array
("images/craft_x_balls.jpg" 
,"images/craft_x_star.jpg" 
,"images/craft_x_star0.jpg" 
,"images/craft_x_stringgrey.jpg" 
,"images/craft_x_balls0.jpg" 
,"images/craft_x_star2.jpg" 
,"images/craft_x_star1.jpg" 
,"images/craft_x_stringred.jpg" 
,"images/craft_x_balls.jpg" 
,"images/craft_x_star3.jpg" 
,"images/craft_x_star0.jpg" 
,"images/craft_x_stringgrey.jpg" 
);
var howManyCraft = PixCraft.length;
var howManyImageCraft = 4;
timeDelayCraft *= 1000;
var PicCurrentNumCraft = 0;
var PicImageNumCraft = 0;
var PicCurrentCraft = new Image();
PicCurrentCraft.src = PixCraft[PicImageNumCraft];
function startPixCraft() {
setInterval("slideshowcraft()", timeDelayCraft);
}
function slideshowcraft() {
PicCurrentNumCraft++;
PicImageNumCraft++;
if (PicCurrentNumCraft == howManyCraft) {
PicCurrentNumCraft = 0;
}
if (PicImageNumCraft == howManyImageCraft) {
PicImageNumCraft = 0;
}
PicCurrentCraft.src = PixCraft[PicCurrentNumCraft];
document["ChangingPix" + PicImageNumCraft].src = PicCurrentCraft.src;
}