A ver si esto te sirve de algo:
Código:
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript1.2">
numeroImagen=2;
function cambiaImagen(){
document.images['imagenQueCambia'].src="img"+numeroImagen+".gif";
if (numeroImagen == 5)
numeroImagen = 1
else
numeroImagen++
}
</script>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<img src="img1.gif" name="imagenQueCambia" width="75" height="65">
<br>
<img src="boton.gif" width="100" height="50" onMouseUp="javascript:cambiaImagen();">
</body>
</html>
Saludos.
ToKaTa.