This is a simple Javascript slideshow example
Fore more advanced slideshow, try Flash Gallery Factory, which allows you to make impressive 2D/3D slideshow and gallery in clicks.