Boost.facebook.connect = new (Class.create({
		
	initialize: function() {
	
		my_self = this;
				
	},

	login: function() {
	
		FB.login( function( response ) {
			
			if( response.session ) {
			
				if( response.perms ) {
				
					window.location.href = URI + 'facebook/oauth';
				
				}
			
			}
		
		}, { perms: 'read_stream, status_update, offline_access' });
	
	}

}));