This is working in Chrome but not working in IE.
HTML:
<img class="ortaresim" name="img1" src="Images/resim.png" alt="gezi" width="460" height="308" />
<a href="#" onMouseover="change_img()" onMouseout="change_back()"></a>
JavaScript:
function change_img() { document.images.img1.src = "Images/yemek.jpg"; }
function change_back() { document.images.img1.src = "Images/resim.png"; }
Your issue is not clear to me.If your code want to change image on focus on image then it should work with this.