Jehiah Czebotar has written a nice article that illustrates a best practice for opening popups windows. He offers a solution that is degradable and semantically correct.  As he states in the beginning of the article he’s not only referring to methods to avoid pop-up blockers; this tutorial is more about writing clean code and keeping your site usable.
His solution is really very simple but you’ll want to take a look, and he also has updated his page a couple of times to reference a pop-up function created by another programmer, that makes for a more complete solution.
I love little HTML/JavaScript tweaks like this and I don’t restrain myself from posting even the most obscure ones on this site if they might have value to me personally in the future. If you appreciate that be sure and come back and visit Digital Media Minute often.