<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>
</table>
<INPUT TYPE = button VALUE = "Swap List" onclick = "fnSwap()">
<SCRIPT>
function fnSwap(){
tb1.swapNode(tb2);
}
</SCRIPT>