Change pages without destroying slideshow

I would like to make a web page with slideshow: http://www.script-tutorials.com/demos/224/index.html and would like to make a menu with about 10 pieces of pages of text and perhaps images. When you do this with HTML, then the slideshow that I linked to start from scratch. I wonder if anyone knows a ready solution to feed the various pages of text without pictures starting from scratch.