Prueba así:
Código Javascript
:
Ver original<div id="layert">
<img id="trash" name="trash" src="trash.gif" onmouseover="this.src = 'trash_color.gif'" onmouseout="this.src = 'trash.gif'">
</div>
<a href="" onmouseover="document.getElementById('trash').src = 'trash_color.gif'" onmouseout="document.getElementById('trash').src = 'trash.gif'">Delete</a>