Non so se ho capito bene quello che vuoi....

codice:
<a href="pagina.htm" 

onmouseover="java script:imageSwap('img2.gif');" 
onmouseout="java script:imageSwap('img1.gif');"> 

[img]/images/img1.gif[/img] 

</a> 
<a href="pagina2.htm" 

onmouseover="java script:imageSwap('img3.gif');" 
onmouseout="java script:imageSwap('img4.gif');"> 

[img]/images/img4.gif[/img] 

</a>
etc....