Hi everybody, I'm using the following code to open a new window, works just great, only thing is it goes to the background after user clicks on main window, so how does the user get it to the foreground again, I know it has something to do with windows.focus(); but thats all I know.

<script type="text/JavaScript">

<!-- Begin
function Openme(newin) {
var URL = document.form.site.options[document.form.site.
window.location.href = URL;

// End -->

<form name="form">
<input type="button" value="Open me" onClick="Openme('../../html/0-9.html')">


Any help as always is greatly appreciated, Cheers