<html> <head> <script> function change(x){ ball.src = x } </script></head> <body> <img name = "ball" src = "ball1.bmp" onmouseover = "change('ball2.bmp')" onmouseout = "change('ball1.bmp')" </body> </html>