i have links in a array as follows and i have a for loop which draws the table with the links. My problem is that when i see the table with the links only the link is clickable. I want the whole cell to be clickable. I know there is a very ugly way to do this and that is to use multiple   in the links. But is there any other way to do this. Please help.
<script>
var menu1=new Array()
menu1[0]='<a href=test.htm class="menu">Account Exec.</a><br>'
menu1[1]='<a href=test.htm class="menu">Employee Reps.</a><br>'
</script>
<script>
estr='<tr><td align="left" class="menu">'
document.write('<table border="1" width="150" cellpadding="0" cellspacing="0">')
for (i=0;i<menu1.length;i++)
document.write(estr+menu1+'</td></tr>')
document.write('</table>')
</script>
<script>
var menu1=new Array()
menu1[0]='<a href=test.htm class="menu">Account Exec.</a><br>'
menu1[1]='<a href=test.htm class="menu">Employee Reps.</a><br>'
</script>
<script>
estr='<tr><td align="left" class="menu">'
document.write('<table border="1" width="150" cellpadding="0" cellspacing="0">')
for (i=0;i<menu1.length;i++)
document.write(estr+menu1+'</td></tr>')
document.write('</table>')
</script>