/*    HTTP Host:  static.ak.fbcdn.net                                          */
/*    Generated:  January 12th 2010 4:04:39 PM PST                             */
/*      Machine:  10.16.139.109                                                */
/*       Source:  Backing Store                                                */
/*     Location:  js/5bzxa21bxf4swogc.pkg.js h:9b7x5ubp                        */
/*       Locale:  nu_ll                                                        */
/*         Path:  js/5bzxa21bxf4swogc.pkg.js                                   */

if (window.CavalryLogger) { CavalryLogger.start_js(["js\/5bzxa21bxf4swogc.pkg.js"]); }

function update_activation_toolkit_for_friend_suggester(_L0,_L1){if(_L0&&_L1){var _L2=_L1.getUserData();if(_L2.new_user_score)update_activation_toolkit_ui(_L2.new_user_score,'profile_action_suggest_friends');}}function update_activation_toolkit_ui(_L0,_L1){CSS.addClass($(_L1),'completed');CSS.setStyle($('needy_progress_bar_progress'),'width',_L0+'px');}
FriendSuggesterDialog={_dialog:null,_close_handler:null,_newcomer:null,show:function(_L0,_L1,_L2,ref){this._close_handler=_L2||bagofholding;_L1=_L1||false;this._newcomer=_L0;var _L4=new AsyncRequest().setURI('/ajax/friend_suggester.php').setData({newcomer:_L0,friend_added:_L1}).setContextData('clicktype','Suggest a Friend',ref==="profile_others");this._dialog=new Dialog().setAsync(_L4).show();},cancelMultiselect:function(){this._dialog.hide();this._close_handler(false,null);},submitMultiselect:function(){var _L0=serialize_form($('friend_suggester_popup_form'));if(!_L0['ids']){try{fs.notice_show(_tx("You have not selected any friends. Select friends by clicking on their pictures."),true);}catch(ex){this.cancelMultiselect();Util.error('SUGGEST: could not warn user submitting an empty selection: %x',ex);}return false;}_L0['suggest']=1;var _L1=new AsyncRequest().setURI('/ajax/friend_suggester.php').setData(_L0);var _L2=new Dialog().setAsync(_L1);_L2.setCloseHandler(this._close_handler.bind(null,true,_L2));_L2.show();}};

if (window.Bootloader) { Bootloader.done(["js\/5bzxa21bxf4swogc.pkg.js"]); }