Con esto lo resuleves:
Código HTML:
<SCRIPT LANGUAJE="javascript">
fondo = "#CDCDCD";
function normal(obj) {
obj.style.backgroundColor = fondo;
}
function sobre(obj) {
obj.style.backgroundColor = "#CCCCFF";
}
function pulsado(obj) {
if(fondo == "#FF8484") {
obj.style.backgroundColor = "#CDCDCD";
fondo = "#CDCDCD";
}
else {
obj.style.backgroundColor = "#FF8484";
fondo = "#FF8484";
}
}
</SCRIPT>
<TABLE BORDER="1" CELLSPACING="0" WIDTH="100%">
<TR bgcolor="#CDCDCD" onMouseOver="sobre(this);" onMouseOut="normal(this)" onClick="pulsado(this);">
<TD WIDTH="100%"> </TD>
</TR>
</TABLE>