Forse ti potrà aiutare....
codice:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled</title>
<script language="JavaScript" type="text/javascript">
<!--
function goto(var1,var2) {
document.getElementById('myA').href = "http://www.miapagina.it?var1="+var1+"&var2="+var2;
document.getElementById('myA').click();
}
//-->
</script>
</head>
<body>
<table summary="" border rules="none">
<tr>
<td onmouseover="this.style.backgroundColor='red'" onmouseout="this.style.backgroundColor=''"
onclick="goto(1,2)"
></td>
</tr>
</table>
</body>
</html>