yerp, that can be done in a tiny_bit more complex way, but then you'll have to start generating (given that its done dyncamicaly right?) names for your images..., etc. eg.
the <script></script> tags stay the same
but
change the other stuff to:
Code:
<a href="link.com" onmouseover="on(img1)" onmouseout="off(img1)">
<img id="img1" src="link.png" />
</a>
get it? so the image is just referred to by its ID, so you can change it from anywhere.
goodluck
