<input type=button style='background-image(url(a.gif))' onmouseover="this.style.backgroundImage='url(b.gif)'" onmouseout='this.style.backgroundImage='url(a.gif)''/>