Hi Chris, Thanks for the prompt reply. The project is a standard HTML web gallery that allows the user to display a number of images as thumbnails that also click through to their larger counterparts. The twist is that each of the pages with the larger image on also contains a form that allows viewers to add their comments about the image. This data is stored locally in a cookie and can be extracted to fire off an e-mail to the originator by using a formatted mailto link (document.location = mailto: etc.). The idea of the flags on the thumbnail page is to show what images already have comments already defined. To do this the JS function looks for cookie data for the associated image and returns a boolean value to either set the flag or not. Everything appears to work perfectly apart from IE on Windows which wants to fire each image's onload event multiple times until the application simply dies! Many thanks again for any pointers. Regards, Tim. On 7 Oct 2005, at 3:22 pm, Christian Heilmann wrote: > What exactly are you trying to do?