how to hide javascript from NETSCAPE 7.0?

please check it in both Netscape and Internet Explorer
i know whats causing it, its a javascript that loads random images on every re-load/re-fresh,
(the 50px by 50px thumbnails on the home page)

i 've realized that once i delete the 'random images script' then everything is a-ok in netscape.
what i would like to know is how to just hide that scpecific script from netscape since it does not understand it.