You can use a timer to call self.focus() for this, that is triggered whenever
the window loses focus by detecting the onblur event. Add
onBlur=”setTimeout(‘self.focus()’,500)” to the window’s body tag, like this:
>
The 500 is the time interval, in milliseconds. (1000 milliseconds is 1