//<![CDATA[

window.fbAsyncInit = function() {
	FB.init({
		appId	: '146180865406861',
		session : null, // 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/en_US/all.js';
	e.async = true;
	document.getElementById('fb-root').appendChild(e);
}());

//]]>

