<table id="table1"><tr><td>fff</td></tr></table>
<table id="table2"></table>
<input type=button value="&ordm;ì&Eacute;&laquo;" onclick="document.all('table1').style.backgroundColor='ff0000'">