If you search for scripts for this on the Internet or let Dreamweaver do it for you, your web page will probably end up with some weird functions on it. I have found a simpler way to do a mouseover that requires no functions and it’s easy to do.

< img src="XYZ.GIF" onMouseOver="this.src='ABC.GIF'" onMouseOut="this.src='XYZ.GIF'" >

That’s all there is just add the on onMouseOver event to change this.src and set onMouseOff to change this.src back to the original src. It’s simple and works in the newer browsers.

*You will still need to preload your images though.