I\'m using the Raphaël Javascript lib (awesome stuff for SVG rendering, by the way) and am currently trying to update the source of an image as the mouse goes over it.
var paper = Raphael("placeholder", 800, 600); var c = paper.image("apple.png", 100, 100, 600, 400); c.node.href.baseVal = "cherry.png"
I hope, you get the idea.