As far as I know this is not possible to do with a browser. Bcause it could be potentially a security hazard. I don't know but active-x might have some similar feature. I doubt that too. You may have to be content with the user having to close the window by clicking the close button. I can't think what you are trying to do but this might come in handy. Amazing Draggable Layer Use, instead of popup windows
[http://codelifter.com/main/javascript/dragablelayer.html]
Looks very cool to me, instead of normal pop up message windows.
This script implements a draggable layer that
can be used much like a popup window... but with-
out the usual focus problems that popups often
imply. Also included are simple controls to show
or hide the draggable layer. Compatible with
NS4-7 & IE.
_________________
“You might say reality is the result of complex negotiations between the observer and the observed. But that is simply a point of view…”
Digital Bangladesh