/*    HTTP Host:  static.ak.fbcdn.net                                          */
/*    Generated:  December 11th 2009 1:23:22 AM PST                            */
/*      Machine:  10.16.140.105                                                */
/*       Source:  Backing Store                                                */
/*     Location:  js/f40ru3gynq0ccwgg.pkg.js h:3njt45l2                        */
/*       Locale:  nu_ll                                                        */
/*         Path:  js/f40ru3gynq0ccwgg.pkg.js                                   */

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

function contact_dialog_async_with_form(_L0){var _L1=new AsyncRequest().setMethod('GET').setReadOnly(true).setData({'app_id':_L0}).setURI('/ajax/apps/contact_developer.php');new Dialog().setAsync(_L1).show();}
function fbpage_show_viewer_settings_dialog(_L0,_L1){var src='/ajax/pages/viewer_settings.php?id='+_L0;Dialog.showFormAjax(_L1,src,_tx("Save"),true);return false;}function fbpage_set_fan_status(_L0,_L1,_L2,_L3,_L4,_L5,_L6){_L4=_L4?_L4:function(_L9){_fbpage_show_change_status_feedback(_L0,_L9.getPayload());};var _L7={'fbpage_id':_L1,'add':_L2,'reload':_L3};if(_L6!=null)copy_properties(_L7,_L6);var _L8=new AsyncRequest().setURI('/ajax/pages/fan_status.php').setData(_L7).setHandler(bind(this,handle_require_email_conf_response,_L4,null,null));if(_L5)_L8.setErrorHandler(_L5);_L8.send();return false;}function fbpage_set_favorite_status(_L0,_L1,_L2){var _L3=function(){_fbpage_show_change_status_feedback(_L0,this.getUserData());};var _L4={'fbpage_id':_L1,'add':_L2};var _L5=new AsyncRequest().setMethod('POST').setURI('/ajax/pages/favorite_status.php').setData(_L4);new Dialog().setAsync(_L5).setCloseHandler(_L3).show();return false;}function _fbpage_show_change_status_feedback(_L0,_L1){if(!_L1||!_L0)return;if(_L1.reload){var uri=URI.getRequestURI();if(_L1.preserve_tab)if(!uri.getQueryData().v)uri.addQueryData({'v':window.profile_tab_controller.currentView});goURI(uri,true);}else if(_L1.feedback){var _L3=document.createElement('span');_L3.innerHTML=_L1.feedback;CSS.setClass(_L3,'fan_status_inactive');_L0.parentNode.replaceChild(_L3,_L0);var _L4=function(){if(_L1.can_repeat_action)_L3.parentNode.replaceChild(_L0,_L3);};animation(_L3).duration(3000).checkpoint().to('backgroundColor','#FFFFFF').duration(1000).ondone(_L4).go();}}function fbpage_verification_reason_dialog(){new Dialog().setTitle(_tx("Why is this required?")).setBody(_tx("In order to upload music to your Page, we need you to submit a valid form of identification that identifies you, the admin of the Page. By submitting a valid form of identification, you are confirming that you either own the copyright to the content you will be uploading or that you are authorized by the copyright owner to upload that copyrighted content to your Page. Please note that you can black out any sensitive information on your identification if you wish, other than your name and picture. We currently only accept photo passports, school IDs, and drivers licenses.")).setButtons([Dialog.OK]).show();return false;}function pages_show_block_app(_L0,_L1,_L2){var _L3=new AsyncRequest().setMethod('POST').setData({app_id:_L0,action:_L1,source:_L2}).setURI('/ajax/apps/block.php');new Dialog().setAsync(_L3).show();}function pages_change_block_wording(_L0){hide('block_'+_L0);}function pages_promote_sms_fanning(fan,_L1,_L2){new Dialog().setTitle(_tx("Get More Fans with SMS")).setBody(_tx("Tell people to text \"{fan} {name}\" to {mobile-number} from their mobile phones, and they will be added as fans instantly. Standard charges may apply.",{'fan':fan,'name':_L1,'mobile-number':_L2})).setButtons(Dialog.OK).show();return false;}function fbpages_app_add(_L0){var _L1=new AsyncRequest().setURI('/ajax/apps/show_profile_add_dialog.php').setMethod('GET').setReadOnly(true).setData({profile_id:_L0});new Dialog().setAsync(_L1).show();return false;}function fbpages_app_on_add(obj){var uri='/ajax/apps/add_to_profile.php';var _L2={profile_id:obj.profile_id,target_profile_id:obj.id};var _L3=function(){ObjectBrowserController.getController(obj.element).removeItem(obj.id);};new AsyncRequest().setURI(uri).setMethod('POST').setData(_L2).setHandler(_L3).send();}

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