Image change on timeout

<!-- <Script>
Var image_list = [ 'images/1.jpg'  ,  'image/2.jpg',....]

Var I =2;

Function changeimage () {
Sentiment('changeimg2()', 4000);
}
Function changeimage2() {
If (I > 6) {
I =1;
}

Else {
Sideshow_I'm.src = "images/"+I+".jpg";
I++;
}
Changeimage ();
}
<script >
-->

Comments