NS2:

NS3 or NS4?
you can access applets directly: document.AppletName.method()
accessing the URL of a document.links[x] is said not to work with NS2

NS4:

IE4: