/*    HTTP Host:  static.ak.fbcdn.net                                          */
/*    Generated:  December 17th 2009 4:01:20 PM PST                            */
/*      Machine:  10.16.140.106                                                */
/*       Source:  Local Cache                                                  */
/*     Location:  rsrc:4:34tctclj                                              */
/*       Locale:  nu_ll                                                        */
/*         Path:  js/73euphlc2i048cso.pkg.js                                   */

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

function collect_data_attrib(d,g){var f={};var c='data-'+g;while(d&&!DOM.isNode(d,'body')){var b=d.getAttribute(c);if(b){var a=JSON.decode(b);for(var e in a)if(f[e]==undefined)f[e]=a[e];}d=d.parentNode;}return f;}
function pagecache_log_feed_tracking(){var b=DOM.scry(document.body,'div.UIStory');var a=b.map(function(c){return collect_data_attrib(c,'ft');});a=a.filter(count).map(JSON.encode);if(!a.length)return;new AsyncRequest().setMethod('POST').setURI('/ajax/feed_tracking_pagecache.php').setReadOnly(true).setOption('bundle',true).setData({ft:$A(a)}).send();}
copy_properties(ft,{NF_SOURCE_MINIFEED:9,NF_SOURCE_STREAM:10,NF_SOURCE_HIGHLIGHTS:11,NF_EVENT_IMPRESSION:2,NF_EVENT_SEE_MORE:28,NF_EVENT_PILL_CLICK:37,NF_PAGE_AUTOREFRESH:38,FT_COM_EXPANSION:'c_exp'});function ft(b){var a=new AsyncSignal('/ajax/f.php',{meta:b}).send();return true;}ft.get_see_more_params=function(a){return {evt:ft.NF_EVENT_SEE_MORE,type:a};};ft.f3=function(a){ft.logElem(a);};ft.enableFeedTracking=function(a){ft.feedTrackingIsEnabled=a;onunloadRegister(function(){ft.feedTrackingIsEnabled=false;});};ft.logElem=function(a,c){if(!ft.feedTrackingIsEnabled)return;var b=collect_data_attrib(a,'ft');if(count(b)){b.dest=a.href;ft.logData(b,c);}};ft.logData=function(a,b){var c={};copy_properties(c,a);if(b)copy_properties(c,b);new AsyncSignal('/ajax/f2.php',{link_data:JSON.encode(c)}).send();};onloadRegister(function(){LinkController.registerFallbackHandler(function(a){ft.logElem(a);},LinkController.ALL,true);});
function UntrustedLink(a,c,b){this.dom=a;this.url=a.href;this.hash=c;this.dom.listen('click',this.onclick.bind(this));this.dom.listen('mousedown',this.onmousedown.bind(this));this.dom.listen('mouseup',this.onmouseup.bind(this));this.dom.listen('mouseout',this.onmouseout.bind(this));this.onmousedown($E(b));}UntrustedLink.bootstrap=function(a,c,b){if(a.__untrusted)return;a.__untrusted=true;new UntrustedLink(a,c,b);};UntrustedLink.prototype.getRewrittenURI=function(){return (new URI('/l.php')).setQueryData({u:this.url,h:this.hash}).setSubdomain('www');};UntrustedLink.prototype.onclick=function(){(function(){this.dom.href=this.url;}).bind(this).defer(100);this.dom.href=this.getRewrittenURI();};UntrustedLink.prototype.onmousedown=function(a){if(a.button==2)this.dom.href=this.getRewrittenURI();};UntrustedLink.prototype.onmouseup=function(){this.dom.href=this.getRewrittenURI();};UntrustedLink.prototype.onmouseout=function(){this.dom.href=this.url;};
function search_selector_onfound(b){var a;if(!(a=ge('n')))return;a.value=b?b.i:-1;}function search_result_selector_onsubmit(a){$('search').init.value=ge('filter_init')?$('filter_init').value:'';$('search').sf.value=ge('filter_sf')?$('filter_sf').value:'';$('search').submit();this.hide();this.advance_focus();}function search_logged_ajax(a){new AsyncSignal('/ajax/search_log.php',a).send();}function search_log_2nd_action(a){new AsyncRequest().setURI('/ajax/search_log_2nd_action.php').setMethod('POST').setReadOnly(true).setContextData('clicktype',a).setContextData('source','profile_from_search').setHandler(function(){}).send();}function search_typeahead_log(a,b,d){if(!a)return;var c=a;if(b)c.evt=b;c.t=(new Date()).getTime();if(d)c.dt=c.t-d;new AsyncSignal('/ajax/typeahead_log.php',c).send();}var SearchDashboardKeyboardHandler=function(){return {right_arrow_key_handler:function(event,a){if(event.ctrlKey){if($('search_dashboard_next_session').href)goURI($('search_dashboard_next_session').href);}else if($('search_dashboard_next_query').href)goURI($('search_dashboard_next_query').href);return false;},left_arrow_key_handler:function(event,a){if(event.ctrlKey){if($('search_dashboard_prev_session').href)goURI($('search_dashboard_prev_session').href);}else if($('search_dashboard_prev_query').href)goURI($('search_dashboard_prev_query').href);return false;},right_arrow_key_filter:function(event,a){return true;}};}();
var UIIntentionalStreamMessage={SET_AUTO_INSERT:'UIIntentionalStream/setAutoInsert',UPDATE_STREAM:'UIIntentionalStreamRefresh/updateStream',REFRESH_STREAM:'UIIntentionalStreamRefresh/refreshStream',SAVE_PENDING_HIGHLIGHTS:'UIIntentionalStreamRefresh/savePendingHighlights',UPDATE_AUTOREFRESH_CONFIG:'UIIntentionalStream/updateAutoRefreshConfig'};
function Tabset(a,b){if(!Tabset.instances)Tabset.instances={};Tabset.instances[a]=this;onunloadRegister(function(){Tabset.instances={};});this.id=a;this.selectedId=b;}Tabset.getInstance=function(a){if(Tabset.instances&&Tabset.instances[a])return Tabset.instances[a];return null;};Tabset.prototype.getFullTabId=function(a){return this.id+'_'+a;};Tabset.prototype.selectTab=function(c,b,a){if(a&&!a())return false;if(this.selectedId){this.lastSelected=this.selectedId;CSS.removeClass(ge(this.selectedId),'Tabset_selected');}this.selectedId=c;CSS.addClass(ge(this.selectedId),'Tabset_selected');if(b)return b();return true;};Tabset.prototype.unselect=function(){if(this.selectedId)CSS.removeClass($(this.selectedId),'Tabset_selected');};Tabset.prototype.hasTabElem=function(a){return ge(this.id+'_'+a);};Tabset.prototype.getTabElem=function(a){return $(this.id+'_'+a);};

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