Hi,
I want to make an image rollover using Javascript, and I have the images. The only thing is it is a rollover for a table's td background property. He is what I have so far.

<html>
<head>
<SCRIPT LANGUAGE=JAVASCRIPT>
<!--
var imgButton0 = new Image();
var imgButton1 = new Image();

imgButton0 = "images\side.jpg"
imgButton1 = "images\11.jpg"

}
function Swap(num) {
if ((num == "0")) {document.imgButton.background = imgButton0;}
if ((num == "1")) {document.imgButton.background = imgButton1;}
return true;
}
-->
</SCRIPT>
</head>
<body>
<table>
<tr><a OnMouseOver="Swap(0)" OnMouseOut="Swap(1)">
<td background="images\side.jpg" name="Button"></a>
</tr>
</table>
</body>
</html>

I don't know where I am going wrong.