From: Bart Van der Donck on
Jonas Raoni wrote:

> If you want to give focus to the window all the time, leave a
> setInterval calling the focus method, it's dirty... On IE you can call a
> function named "openModalDialog" or something like this and on Firefox
> there's a solution too, but using such dependent things are worse in my
> opinion :)

Yes, it's explained here:

http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/showmodaldialog.asp

Use with care, I'ld say... and one should definitely provide in an
alternative where showModalDialog is not supported.

--
Bart