// set up our namespace - BSD must already exist (bsd.js must have already been included on the page)
BSD.namespace('blue_dictionary');

BSD.blue_dictionary.replace_tokens = function(string, tokens) {
    for (token in tokens) {
        string = string.replace('%%' + token + '%%', tokens[token]);
    }
    return string;
}
fbconnect_dictionary = {"application_name":"our Facebook application","invite_text":"Join the cause","widget_connect_string":"Connect with your facebook.com account","connected_as":"You're connected as %%username%%","invite_friends_link":"invite your friends","number_of_friends_connected":"%%num_friends%% of your Facebook friends have connected their accounts with %%application_name%%!","invite_more_friends_link":"Invite more friends","invite_some_friends_link":"Invite some friends","invite_dialog_title":"Invite Your Friends to Join %%application_name%%","invite_dialog_action_text":"Invite your friends to join %%application_name%%.","invite_dialog_cancel_text":"cancel"};
BSD.namespace('fbconnect.constants');
BSD.fbconnect.constants.app_name = 'Advancing Wisconsin';
BSD.fbconnect.constants.invite_text = fbconnect_dictionary.invite_text;
BSD.fbconnect.constants.polling_interval = 400;
BSD.fbconnect.constants.invite_width = 750;
BSD.fbconnect.constants.api_key='74d4a4bd321fbe2e35ab9a4fb535cfd5';
