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.

<head>
<script type="text/JavaScript">

<!-- Begin
function Openme(newin) {
flyout=window.open(newin,"flyout","resizable=yes,alwaysRaised=yes,scrollbars=yes,width=500,height=700,top=150,left=900")
var URL = document.form.site.options[document.form.site.
selectedIndex].value;
window.location.href = URL;
}

// End -->
</script>
</head>
<body>

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

</body>

Any help as always is greatly appreciated, Cheers