<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>Change Color</title>
<script language="javascript">
var oldsource;
function change(tdsource){
if (oldsource!=null){oldsource.bgColor="#ff0000"}
tdsource.bgColor="#ffffff";
oldsource=tdsource;
}
</script>
</head><body>
<table id="table1" cellspacing="0" width="50%" border="1px" bgcolor="#ff0000">
<tr>
<td onClick="change(this)">&nbsp;</td>
<td onClick="change(this)">&nbsp;</td>
<td onClick="change(this)">&nbsp;</td>
<td onClick="change(this)">&nbsp; </td>
</tr>
</table>
</body>
</html>