Javascript image gallery
<p>I am looking for a javascript function that works based around an array of dynamically generated images. At the moment I have a preview window. </p>

<p>When this is clicked I would like it to hide the preview window and load the first image in the array. I would the like to be able to navigate through the remaining images in the array. </p>

<p>If someone could point me in the right direction or if you know how to put this together it would be much appreciated. Thanks.</p>
