JavaScript Background change

Background change

<html>

<head></head>

<body bgcolor="#FFFFFF">

<center>
<table border="2" cellpadding="0" cellspacing="4">
    <tr>
        <td><input type="submit" name="red" value="Red"
        onclick="document.bgColor=&quot;red&quot;"></td>
        <td><input type="submit" name="green" value="Green"
        onclick="document.bgColor=&quot;green&quot;"></td>
        <td><input type="submit" name="blue" value="Blue"
        onclick="document.bgColor=&quot;blue&quot;"></td>
    </tr>
</table>
</center>

</body>
</html>