(function ($) {
  $(document).ready(function() {
	FB.init({
      appId : Drupal.settings.facebook.appId,
	  status : true, // check login status
	  cookie : true, // enable cookies to allow the server to access the session
	  oauth : true // enables OAuth 2.0
	});
  });
})(jQuery);;

