I would like to have a link in a pop-up (for want of a better term) window open in the original browser window, switching focus from the pop-up to the original window at the same time.

Is this possible, and how do I go about implementing it?

I hope I'm in the right place...