Need help modifying javascript

I found a cool Image Montage animated by javascript. Images slide on mouseovers and the all the images slide when you click on it. I modify it a little and here’s an example with placeholders:

It works great, but I haven’t been able to figure out how to create the code that would have all the images slide ever 5 seconds (the same effect as clicking on the montage). I thought I could figure it out but not knowing javascript is a definite disadvantage. After spending a few hours trying to make it work (trying to use the setTimeOut function and the load event), I came to the conclusion that I need some advice from someone that knows javascript. The script is in the page source of the web page. Any advice would be greatly appreciated!

By the way, this cool effect was created by a web developer named Mary Lou. Anyone interested in the tutorial can find it here: