FB.init(
{
    appId: '136234036404048',
    status: true,
    cookie: true,
    xfbml:  true
});

FB.Event.subscribe('auth.login', function(response)
{
    window.location.reload();
});

FB.Event.subscribe('auth.logout', function(response)
{
    window.location.href = '/logout';
});

