Creating window remote controls

For the uninitiated, a "remote control" in JavaScript refers to a small secondary window that contains links that load the specified document in the main window when clicked. There are two techniques available in creating remotes, and its important to understand both. Ok, lets get it rolling. In this tutorial, I'll discuss:

Just to make sure everyone's on the same page, lets first see an example of a remote control: