I've managed to create several custom positions. One of them is "Toplogin" at the uper left corner of the template. A custom HTML module with the tag "Login" is published in that position.
I want to create a link for the tag "Login" that it could open jomsocial's "Please login or register to continue" popup window.
N.B When an unregistered user clicks on a restricted link on jomsocial page the window pops up.
See attachment please.