Fade Out Image (Scotty's Example)

Using an example that Scotty previously posted:

Scotty’s Code (The attached example uses the same code but fades in an image)

When a thumb is clicked, the image fades in. I’m having trouble fading out the current image when another thumbnail is pressed?

If I call a fadeOut function when a thumbnail is clicked, [COLOR=Blue]this[/COLOR] refers to the image being loaded. How can I get the previous image to fade out before the next image fades in?

Thanks