I have created a custom module using chronoforms, and I'd like to be able to place a button on it encouraging people to sign up with their facebook, twitter, etc just as with the cb_login module. I can manually put buttons in my modules and set the onclick events to fb_login();/twitter_login(); etc, but they do nothing because I'm not including the required files with those js functions.
I'm looking for the easiest solution. What do you suggest?