 window.fbAsyncInit = function() {
   FB.init({appId: '122767897774301', status: true, cookie: true,
            xfbml: true});
 };
 (function() {
   var e = document.createElement('script');
   e.type = 'text/javascript';
   e.src = document.location.protocol +
     '//connect.facebook.net/en_US/all.js';
   e.async = true;
   document.getElementById('fb-root').appendChild(e);
 }());

