call login page using ajax

hi all

i want to call login page using ajax in a separate window..something
like its there on www.imedix.com How can i do this?

Please let me know

thanks

dhaval parikh