Doh! that looks like it'll do the trick but it has highlighted another
problem...
The link is generated inside an iterate and each image iteration is given
it's own name so that the image swapping code can refernce it... the desired
output is supposed to be along the lines:
<img name="image1" src="..."><a href="..." onmouseover="swap('image1')...>
... </a>
<img name="image2" src="..."><a href="..." onmouseover="swap('image2')...>
... </a>
<img name="image3" src="..."><a href="..." onmouseover="swap('image3')...>
... </a>
<img name="image4" src="..."><a href="..." onmouseover="swap('image4')...>
... </a>
Has anyone done this before?
Thanks again... Matt.