Para que quieres una funcion por boton??
Código:
<script language="javascript">
function algunafunction(objBoton)
{
alert(objBoton.name);
}
</script>
<td valign=top><input type ="submit" name="<%="boton"&i%>" value="<%=thisvalue%>" onclick="javascript:algunafunction(this);"></td>