Membership: Popup form type

how can I structure my link to the get the Popup registration form type if user clicks on a custom link or image ?