Sob.
Mozilla can’t reliably do scripts without breaking it’s renderer.
If you put a “script… /script” tag into a webpage, it terminates the CSS processing at that point. If you put it close enough to the start of the file, it (sometimes) works. If you put it in an “onload” tag it often doesn’t execute at all - unless it’s in the first few thousand or so bytes of the file.
EDIT: This is PEBKAC: apparently, contrary to what any normal programmer would expect, you are only “allowed” one “onload” trigger in a single webpage - yet it’s not an error to have others, they are just silently ignored. I love javascript 
All formatting that contained that part of the page is terminated.
MSIE, embarassingly, doesn’t have this bug.
Also, none of the “browser detect scripts” work with Mozilla;s current version. Don’t ask me what Moz have changed, the scripts know it’s “something NS-ish” and “gecko” but they can’t tell it’s Moz.
I am now…desperately…looking for a way to insert a link to a JNLP file using javascript that WORKS IN MOZILLA. Otherwise, we have to say goodbye to the otherwise exceptionally funky feature that if an MSIE visitor clicks on a game to play it, they automatically get Java 1.4+ installed and the game started automatically.
As always, any ideas are welcome. I’ve probably tried them all before, but it’s worth asking just in case…