I have an applet window that launches, but everytime this happens the browser window runs over the top of it. How can i bring the applet to the front, have tried using toFront() but that works on applet windows and javascript works on the browser windows????

html file

<script src="gta.js"></script>

<a href="launchS.html">Click here to start Applet</a>

launcher html

<applet code = "Player.class" width = 400 height = 180>
<param name="song" value="Hello">


The java uses a frame within an applet to create a seperate applet window