Picture scroller tutorial- modification?

I found the tutorial that imports external jpgs and fades them in and out when you hit the button. My question is, how can I modify this to make it scroll automatically after ten seconds to the next picture?

Thanks