<script>
function mm(){
var obj = event.srcElement;
while(obj = obj.offsetParent){
if(obj.tagName=="TABLE") break;
}
alert(obj.tagName);
}
</script>
<table id="tb1" border=1 cellspacing=0 width=214 onclick="mm()" bordercolor="#000000" style="border-collapse: collapse" cellpadding="0" height="129">
<tr><td width="37" height="16">11</td><td width="37" height="16">12</td>
  <td width="6" height="16">13</td><td width="82" height="16">14</td></tr>
</table><table id="tb1" border=1 cellspacing=0 width=214 onclick="mm()" bordercolor="#000000" style="border-collapse: collapse" cellpadding="0" height="129">
<tr><td width="37" height="16">11</td><td width="37" height="16">12</td>
  <td width="6" height="16">13</td><td width="82" height="16">14</td></tr>
</table>
<table id="tb1" border=1 cellspacing=0 width=214 onclick="mm()" bordercolor="#000000" style="border-collapse: collapse" cellpadding="0" height="129">
<tr><td width="37" height="16">11</td><td width="37" height="16">12</td>
  <td width="6" height="16">13</td><td width="82" height="16">14</td></tr>
</table>
<table id="tb1" border=1 cellspacing=0 width=214 onclick="mm()" bordercolor="#000000" style="border-collapse: collapse" cellpadding="0" height="129">
<tr><td width="37" height="16">11</td><td width="37" height="16">12</td>
  <td width="6" height="16">13</td><td width="82" height="16">14</td></tr>
</table>