/*
 * Facebook JS SDK: http://github.com/facebook/connect-js
 */
window.fbAsyncInit = function() {
  FB.init({
    appId   : fb_app_id,
    status  : false, // check login status
    cookie  : false, // enable cookies to allow the server to access the session
    xfbml   : true // parse XFBML
  });
};

$(function() {
  // Load in the latest Facebook JS SDK
  var e = document.createElement('script');
  e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js';
  e.async = true;
  document.getElementById('fb-root').appendChild(e);
}());

