We predloaded pictures for the slide show with Array(8)
To the function
slidem, we added the setTimeout (method) which wrote:
setTimeout("slidem()",1000); ,1000 is the length of time, 1 second, by which
each picture stay in the loop. The ";" completes the function.
We can say
that this setTimeout is a time controlled autoslide.