I saw a great example of this the other day. Much simpler than my version
<a href="window.open('mypage.php?current=thispage');return false;">email a friend</a>
I may need a different approach because I'll be calling from one frame, referring to another frame and opening in a new popup window but I'll try and keep it simple like this.