Look at this page:
http://www.lauradenyes.com/test3.html
It contains this function:
<script type="text/javascript">
function changeBackgroundImageZ (imageToChangeTo) {
var thisDiv = document.getElementById("imageDiv");
var urlInfo = "url('";
urlInfo += imageToChangeTo;
urlInfo += "');";
thisDiv.style.backgroundImage = urlInfo;
}
</script>
IE dies on the final line of this function and it complains that it is
getting an "invalid argument". But FireFox plays this without
complaint, and without any syntax error reported in the FireFox
debugger.