//change image src document.getElementById('myImageID').src="images/my_other_image.png";
document.getElementById("myImg").src = "hackanm.gif";