Prova a vedere questo javascript:

http://www.codelifter.com/main/javas...lideshow2.html