Hola
Aquí te dejo una página xhtml 1.1 de ejemplo de como lo puedes hacer:
Código:
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es">
<head>
<script type="text/javascript">
<!--
function desaparecer(x) {
document.getElementById('imagen_1').src = 'imagen_0.gif';
}
//-->
</script>
<title>Imágenes que cambian</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<p><img src="imagen_0.gif" width="34" height="35" id="imagen_0" onclick="javascript:desaparecer()" alt="" /></p>
<p><img src="imagen_1.gif" width="50" height="41" id="imagen_1" alt="" /></p>
</body>
</html>
Suerte
Felicidad