window.fbAsyncInit = function() {
FB.init({
appId : '136282629741563',
session : {"access_token":"136282629741563|2.AVFSIrwJgxAMoyolOc9tDg__.3600.1281258000-520176064|l6nAc75RnatZxhLakMaAja3QSBc.","expires":"1281258000","secret":"qrwkOKsjcfR332Yh_OZlTg__","session_key":"2.AVFSIrwJgxAMoyolOc9tDg__.3600.1281258000-520176064","sig":"868119e09861bad8c9d406c0e791786f","uid":"520176064"}, // don't refetch the session when PHP already has it
status : true, // check login status
cookie : true, // enable cookies to allow the server to access the session
xfbml : true // parse XFBML
});

// whenever the user logs in, we refresh the page
FB.Event.subscribe('auth.login', function() {
window.location.reload();
});
};

(function() {
var e = document.createElement('script');
e.src = document.location.protocol + '//connect.facebook.net/zh_TW/all.js';
e.async = true;
document.getElementById('fb-root').appendChild(e);
}());

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-1104891-4']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script');
    ga.src = ('https:' == document.location.protocol ? 
'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    ga.setAttribute('async', 'true');
    document.documentElement.firstChild.appendChild(ga);
  })();
