wakafaka,
<HTML>
<HEAD>
<SCRIPT>
function fu (color) {
document.getElementById("itab").bgColor=color[color.selectedIndex].text;
}
function ColorC(color) {
document.getElementById("itab1").bgColor=color[color.selectedIndex].text;
document.getElementById("itab2").bgColor=color[color.selectedIndex].text;
document.getElementById("itab3").bgColor=color[color.selectedIndex].text;
document.getElementById("itab4").bgColor=color[color.selectedIndex].text;
}
</SCRIPT>
</HEAD>
<BODY>
<FORM name="form1">
<SELECT id="tab" onChange="fu(this)">
<OPTION selected value=0>red
<OPTION value=1>green
<OPTION value=2>blue
<OPTION value=3>yellow
</OPTION></SELECT>
<SELECT id="cell" onChange="ColorC(this);">
<option value=0>red
<OPTION value=1>green
<OPTION value=2>blue
<OPTION value=3>yellow
</OPTION>
</SELECT>
<TABLE id= "itab" border=1 cellSpacing=10 cellPadding=20 bgColor=green align=center>
<TR>
<TD id= "itab1" bgColor=white>аааа
<TD id= "itab2" bgColor=red>bbb
<TR>
<TD id= "itab3" bgColor=yellow>ииии
<TD id= "itab4" bgColor=orange>rrrrr </TD>
</TD>
</TD>
</TD>
</TR>
</TR>
</TABLE>
</FORM>
</BODY>
</HTML>