sexylightbox question - launch from function, not from link

sexylightbox question - launch from function, not from link

Hi,

Sorry for the vague subject.

I'm using the Sexylightbox plugin ( http://www.coders.me/ejemplos/sexy-lightbox-2/ ). The script is used by adding 'rel="sexylightbox"' to links such as this example which opens the login.html page when the link is pressed:

<a href="login.html?height=150&width=350" rel="sexylightbox" >Login Box</a>


However, rather than a link, is there a way I could launch the same page (login.html) within sexylightbox as part of a function?

i.e.

function OpenLogin {
// launch the login.html page within sexylightbox
}

Thanks in advance for any help!