Preso al volo
<SCRIPT LANGUAGE="JavaScript">

45: var a
46: a= new Array();
47: a[0]=new Image;
48: a[0].src="img2.gif";
49: a[1]=new Image;
50: a[1].src="img1.gif";
51:
52: function roll(img,nb) {
53: eval("img.src=a["+nb+"].src");
54: }
55:
56:
71:
72: //-->
73: </SCRIPT>
74: </HEAD>
75:
76: <BODY >
77: <A HREF="#"
78: onmouseover="roll(img1,0)";
79: onmouseout="roll(img1,1)">
80: [img]img1.gif[/img]Testo</A>