//Picture Cube slideshow - By Tony Foster III
//Modifications by JK
//Visit JavaScript Kit (http://javascriptkit.com) for script
 // AKCESORIA
var specifyimage=new Array(); //Your images
specifyimage[0]="slide/1.jpg";
specifyimage[1]="slide/2.jpg" ;
specifyimage[2]="slide/3.jpg";
specifyimage[3]="slide/4.jpg";
specifyimage[4]="slide/5.jpg";
specifyimage[5]="slide/6.jpg";


var delay=3000 //3 seconds

//Counter for array
var count =1;

var cubeimage=new Array()
for (i=0;i<specifyimage.length;i++){
cubeimage[i]=new Image()
cubeimage[i].src=specifyimage[i]
}

function movecube(){
if (window.createPopup)
document.images.cube.src=cubeimage[count].src;
if (window.createPopup)
count++;
if (count==cubeimage.length)
count=0;
setTimeout("movecube()",delay)
}


