Buonasera ragazzi ho un problema con uno script:

devo inserire un campo contatore all'interno di un for che si aggiorna ad ogni invio di email lo script che ho usato e' il seguente:

<table width="740" border="0" cellspacing="0" cellpadding="0" align="center" height="598">
<tr>
<td colspan="3" bgcolor="#000000" height="1"><img src=images/spaziatore.gif" width="1" height="1"></td>
</tr>
<tr>
<td width="1" bgcolor="#000000" height="150"><img src=images/spaziatore.gif" width="1" height="1"></td>
<td bgcolor="#FFFFFF" height="150">[img]images/logo.gif[/img]</td>
<td width="1" bgcolor="#000000" height="150"><img src=images/spaziatore.gif" width="1" height="1"></td>
</tr>
<tr>
<td width="1" bgcolor="#000000" height="426"><img src=images/spaziatore.gif" width="1" height="1"></td>
<td bgcolor="#FFFFFF" height="426">
<script language="JavaScript">
<!--
function Counter(INVIO){

cont = 747
if(INVIO.NoEm.value!=0)cont--
{
Disp = maxNoEm - INVIO.NoEm.value.cont;
}
else
{
Disp = 0;
}
INVIO.contatoreNoEm.value = Disp;
}

maxNoEm = 747;
//-->
</script>
<form action="#" method="post" name="INVIO">
<table align="center" cellpadding="0" cellspacing="0" border="0">
<tr>
<td align="center" class="titolo" colspan="3">Invio e-mail</td>
</tr>
<tr>
<td align="center" colspan="3"><img src=images/spaziatore.gif" width="1" height="20"></td>
</tr>
<tr>
<td class="titolo">Contatore</td>
<td><img src=images/spaziatore.gif" width="10" height="1"></td>
<td>
<input type="hidden" name="NoEm" onkeyup=Counter(document.INVIO) value="10">

<input type="hidden" name="NoEm" onkeyup=Counter(document.INVIO) value="9">

<input type="hidden" name="NoEm" onkeyup=Counter(document.INVIO) value="8">

<input type="hidden" name="NoEm" onkeyup=Counter(document.INVIO) value="7">

<input type="hidden" name="NoEm" onkeyup=Counter(document.INVIO) value="6">

<input type="hidden" name="NoEm" onkeyup=Counter(document.INVIO) value="5">

<input type="hidden" name="NoEm" onkeyup=Counter(document.INVIO) value="4">

<input type="hidden" name="NoEm" onkeyup=Counter(document.INVIO) value="3">

<input type="hidden" name="NoEm" onkeyup=Counter(document.INVIO) value="2">

<input type="hidden" name="NoEm" onkeyup=Counter(document.INVIO) value="1">

<input name="contatoreNoEm" size="3" value="0" disabled>
</td>
</tr>
</table>
</form>
</td>
<td width="1" bgcolor="#000000" height="426"><img src=images/spaziatore.gif" width="1" height="1"></td>
</tr>
<tr>
<td width="1" bgcolor="#000000" height="20"><img src=images/spaziatore.gif" width="1" height="1"></td>
<td bgcolor="#FFFFFF" height="20" align="center"></td>
<td width="1" bgcolor="#000000" height="20"><img src=images/spaziatore.gif" width="1" height="1"></td>
</tr>
<tr>
<td colspan="3" bgcolor="#000000" height="1"><img src=images/spazio.gif" width="1" height="1"></td>
</tr>
</table>

1000 grazie a chi mi possa dare una mano.