(function() { new Element('link', {'id': 'ctSocialLoginCSS', 'rel': 'stylesheet', 'href': '/system/janrain/styles/login.css?02282013'}).inject($$('link').getLast(), 'after'); new Element('script', {'id': 'ctSocialLoginScript', 'src': '/system/janrain/js/login.js?03072013'}).inject(document.body); })(); (function() { if (typeof window.janrain !== 'object') window.janrain = {}; if (typeof window.janrain.settings !== 'object') window.janrain.settings = {}; // Enable custom configuration janrain.settings.custom = true; // The token url won't be used, but is still required by janrain for legacy reasons // Use location.hostname so that the report in rpxnow.com is displayed correctly janrain.settings.tokenUrl = 'http://' + location.hostname + '/system/janrain/ajax.html?janrain=true'; // tell janrain to look for the janrainWidgetOnload function janrain.settings.tokenAction = 'event'; function isReady() { janrain.ready = true; }; if (document.addEventListener) { document.addEventListener("DOMContentLoaded", isReady, false); } else { window.attachEvent('onload', isReady); } var e = document.createElement('script'); e.type = 'text/javascript'; e.id = 'janrainAuthWidget'; if (document.location.protocol === 'https:') { e.src = 'https://rpxnow.com/js/lib/login.christianitytoday.com/engage.js'; } else { e.src = 'http://widget-cdn.rpxnow.com/js/lib/login.christianitytoday.com/engage.js'; } var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(e, s); })();