A little more interesting demonstration
The first applet:

The second applet:

These two applets are driving each other crazy. After you press the button above, the first applet started counting down. When it is 5 seconds from timeup, it will send a message. The second applet receives the message and display "ready". When the first applet is timeup, the second applet starts.

You understand this?
This is a workaround.
The pr s for Netscape, it is just
document.appletname

The current implementation moves the two applets outside of the form.o

The inconsistency of the object model for the two browsers caused this problem. Thank you Kin Leung for pointing this out to me.