Thanks for the post. I really like this piece of code, it's easily understandable and far easier to implement than jsquery. I created a separate .css file and pasted the code into it. I then referenced the .css file within the html header of my page and then used a an id="filename" within the div surrounding the image. Couldn't be simpler. I'll now have a play around with the parameters. Very nice. Thank You.