You can use the following selection box to pick which window you want to see, from ten options. When you click on the item, that window automatically opens (of course you could have a button that checks what you've selected and then opens the window, if you wish).
Note that this script uses the focus() method to bring the secondary window back again. If you don't have the Atlas Preview Release 2 (Navigator 3.0 beta 3) or later this feature won't work. If you didn't close the secondary window before clicking on another entry in the list box, you'll have to switch to the window manually if you didn't close it .