window_activate
window_activate ([window])
This function brings to keyboard focus (activates) the window identified by window and sets its document to the current document. If window is omitted or 0, the window associated with the current document is used.