Netscape refuses to cooperate with my JavaScript

I have a page where, midway through the code there is a JavaScript statement that should change one of the images displayed on the page, similar to performing a rollover, but just executed as the page is being rendered in this case, not in reponse to an event. Here is the statement: