<table>
<tr><td>
<table id="tb1" border=1>
<tr><td>aaa</td></tr>
<tr><td>aaa</td></tr>
</table>
</td></tr>
<tr><td>
<table id="tb2" border=1>
<tr><td>bbb</td></tr>
<tr><td>bbb</td></tr>
</table>
</td></tr>
<tr><td>
<table id="tb3" border=1>
<tr><td>ccc</td></tr>
<tr><td>ccc</td></tr>
</table>
</td></tr>
<tr><td>
<table id="tb4" border=1>
<tr><td>ddd</td></tr>
<tr><td>ddd</td></tr>
</table>
</td></tr>
</table>
<INPUT TYPE = button VALUE = "Swap List" onclick = "fnSwap()">
<SCRIPT>
function fnSwap(){
tb1.swapNode(tb2);
}
</SCRIPT>