onFocus Example

This web page has examples of using the onFocus properties of the body tag and the window.focus() command.