<img src="imagen1.gif" id="im" /> <img src="algo.gif" onmouseover="document.getElementById('im').src='imagen2.gif'" onmouseout="document.getElementById('im'.src='imagen1.gif'" />