I have to code something into my topsite that requires it to display a random image out of a set of images. I remember seeing a random banner code somewhere, but forgot it and I think it was in javascript. Also, the image would be centered in a slice (Photoshop slice) of the page. How would I center it in that slice and be able to put some text below it automatically with the random code...
For example:
<Centered>IMAGE<Centered>
----------SKIP LINE---------------
<Centered>TEXT<Centered>
The hardest part is centering it within the slice and not the whole page.