// remove later
FB.FBDebug.logLevel = 6;

// This line only needed until 4.0 release to detect when this script is built into the platform.
if(!Ka.Settings.FacebookConnect){
	Ka.Settings.FacebookConnect = {};
}else if (Ka.Info.ROLENAME==='WEBMASTER'){
	var pp = new Ka.popupClass;
	pp.title="Affiliate only message";
	pp.content="Facebook Connect is now built into the KickApps platform. Please remove fbc1.js and fb2.js from your <a href='http://affiliate.kickapps.com/user/displayAffiliateLoginPage.kickAction' target='_blank'>global page template</a> as they are now duplicates of the newer version that's built in. <p><input type='button' value='ok' /></p>";
	pp.width="600px";
	pp.init();
}
 
