Код: <!-- This script has been in the
http://www.javascripts.com Javascript Public Library! -->
<!-- Note that though this material may have been in a public depository, certain author copyright restrictions may apply. -->
<html>
<head>
<title>Softomania.ho.ua | Открытие активного окна сверху другого</title>
<SCRIPT LANGUAGE="JavaScript">
<!--
function popUpCenteredWindow(){
var iMyWidth;
var iMyHeight;
//gets top and left positions based on user's resolution so hint window is centered.
iMyWidth = (window.screen.width/2) - (122 + 10)//half the screen width minus half the new window width (plus 5 pixel borders).
iMyHeight = (window.screen.height/2) - (27 + 50)//half the screen height minus half the new window height (plus title and status bars).
var win2 = window.open("","Window2","status,height=55,width=245,resizable=no,left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight + ",scrollbars=no")
}
//-->
</SCRIPT>
</head>
<br>
<center>
<body>
<A HREF="javascript:void()" onClick="popUpCenteredWindow()">Открыть активное окно сверху етого.</A>
</center>
<br>
<br>
Скрипт скачан с сайта
<body>
<A HREF="http://softomania.ho.ua">Softomania.ho.ua.</A>
</body>
</body>
</html>
<!-- Simba says Roar. -->