Ecco
Codice PHP:
<html>
<head>
<title>Ciao a tutti</title>
<script type="text/javascript">
<!--
function cambia(){
var appoit=document.getElementsByTagName('img');
if(document.modulo.casella.checked)
{
for(i=0;i<appoit.length;i++)
{
if(appoit.item(i).className=="cambio")appoit.item(i).src='f2.gif';
}
}
else
{
for(i=0;i<appoit.length;i++)
{
if(appoit.item(i).className=="cambio")appoit.item(i).src='f1.gif';
}
}
}
// -->
</script>
</head>
<body>
[img]f1.gif[/img]
<form name="modulo">
<table width="360" border="1">
<tr>
<td width="322">Cambio frecce. spunta per cambiare </td>
<td width="8"><input type="checkbox" name="casella" value="autorizzo" onchange="cambia()"></td>
<td width="8"> <input type="button" value="Invia" ></td>
</tr>
</table>
</form>
PAgina di prova blalbalblalblalbla
[img]f1.gif[/img]
</body>
</html>
Ovviamente sostituisci f1.gif e f2.gif con il nome delle tue immagini