/*
HTTP Host: b.static.ak.fbcdn.net
Generated: March 16th 2010 6:25:00 AM PDT
Machine: 10.16.139.101
Locale: nu_ll
Path: js/73euphlc2i048cso.pkg.js
*/

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

function collect_data_attrib(_L0,_L1){var _L2={};var _L3='data-'+_L1;while(_L0&&!DOM.isNode(_L0,'body')){var _L4=_L0.getAttribute(_L3);if(_L4){var _L5=JSON.decode(_L4);for(var i in _L5)if(_L2[i]==undefined)_L2[i]=_L5[i];}_L0=_L0.parentNode;}return _L2;}
function pagecache_log_feed_tracking(){var _L0=DOM.scry(document.body,'div.UIStory');var _L1=_L0.map(function(i){return collect_data_attrib(i,'ft');});_L1=_L1.filter(count).map(JSON.encode);if(!_L1.length)return;new AsyncRequest().setMethod('POST').setURI('/ajax/feed_tracking_pagecache.php').setReadOnly(true).setOption('bundle',true).setData({'ft':$A(_L1)}).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(_L0){var _L1=new AsyncSignal('/ajax/f.php',{'meta':_L0}).send();return true;}ft.get_see_more_params=function(_L0){return {evt:ft.NF_EVENT_SEE_MORE,type:_L0};};ft.f3=function(_L0){ft.logElem(_L0);};ft.enableFeedTracking=function(_L0){ft.feedTrackingIsEnabled=_L0;onunloadRegister(function(){ft.feedTrackingIsEnabled=false;});};ft.logElem=function(_L0,_L1){if(!ft.feedTrackingIsEnabled)return;var _L2=collect_data_attrib(_L0,'ft');if(count(_L2)){_L2.dest=_L0.href;ft.logData(_L2,_L1);}};ft.logData=function(_L0,_L1){var _L2={};copy_properties(_L2,_L0);if(_L1)copy_properties(_L2,_L1);new AsyncSignal('/ajax/f2.php',{link_data:JSON.encode(_L2)}).send();};onloadRegister(function(){LinkController.registerFallbackHandler(function(_L0){ft.logElem(_L0);},LinkController.ALL,true);});
function UntrustedLink(dom,_L1,evt){this.dom=dom;this.url=dom.href;this.hash=_L1;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(evt));}UntrustedLink.bootstrap=function(dom,_L1,evt){if(dom.__untrusted)return;dom.__untrusted=true;new UntrustedLink(dom,_L1,evt);};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(evt){if(evt.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(_L0){var n;if(!(n=ge('n')))return;n.value=_L0?_L0.i:-1;}function search_result_selector_onsubmit(_L0){$('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(_L0){new AsyncSignal('/ajax/search_log.php',_L0).send();}function search_log_2nd_action(_L0){new AsyncRequest().setURI('/ajax/search_log_2nd_action.php').setMethod('POST').setReadOnly(true).setContextData('clicktype',_L0).setContextData('source','profile_from_search').setHandler(function(){}).send();}function search_typeahead_log(_L0,evt,_L2){if(!_L0)return;var _L3=_L0;if(evt)_L3.evt=evt;_L3.t=(new Date()).getTime();if(_L2)_L3.dt=_L3.t-_L2;new AsyncSignal('/ajax/typeahead_log.php',_L3).send();}var SearchDashboardKeyboardHandler=function(){return {right_arrow_key_handler:function(_L0,_L1){if(_L0.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(_L0,_L1){if(_L0.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(_L0,_L1){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(id,_L1){if(!Tabset.instances)Tabset.instances={};Tabset.instances[id]=this;onunloadRegister(function(){Tabset.instances={};});this.id=id;this.selectedId=_L1;}Tabset.getInstance=function(id){if(Tabset.instances&&Tabset.instances[id])return Tabset.instances[id];return null;};Tabset.prototype.getFullTabId=function(_L0){return this.id+'_'+_L0;};Tabset.prototype.selectTab=function(_L0,_L1,_L2){if(_L2&&!_L2())return false;if(this.selectedId){this.lastSelected=this.selectedId;CSS.removeClass(ge(this.selectedId),'Tabset_selected');}this.selectedId=_L0;CSS.addClass(ge(this.selectedId),'Tabset_selected');if(_L1)return _L1();return true;};Tabset.prototype.unselect=function(){if(this.selectedId)CSS.removeClass($(this.selectedId),'Tabset_selected');};Tabset.prototype.hasTabElem=function(id){return ge(this.id+'_'+id);};Tabset.prototype.getTabElem=function(id){return $(this.id+'_'+id);};

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