/*
HTTP Host: b.static.ak.fbcdn.net
Generated: March 19th 2010 9:03:55 PM PDT
Machine: 10.16.140.103
Locale: nu_ll
Path: js/6r9lz26pzs4kw4gc.pkg.js
*/

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

function UINav(_L0,_L1,_L2){this.controller=_L0;this.data=_L2;copy_properties(this,{controller:_L0,data:_L2,items:[],selectedItem:null,selectedClass:this.selectedClass||''});this.initializeItems(_L1);UINav.instances[_L0.id]=this;}UINav.instances={};UINav.prototype.getItemContainers=abstractMethod;UINav.prototype.getItemLinks=abstractMethod;UINav.prototype.getItems=function(){return this.items;};UINav.prototype.initializeItems=function(_L0){var _L1=this.getItemContainers();for(var i=0;i<_L1.length;i++){var _L3=(_L1[i].scry('a')||[])[0];if(!_L3)break;var _L4={};if(this.is_wrapped){_L4=(_L0[i]||{});}else _L4={'container':_L1[i],'link':_L3,'data':(_L0[i]||{})};this.items.push(_L4);if(CSS.hasClass(_L4.container,this.selectedClass))this.selectedItem=_L4;_L4.addClickHandler=this.addClickHandler.bind(this,_L4);_L4.addClickHandler(this.selectItem.bind(this,_L4));}};UINav.prototype.selectItem=function(_L0){if(_L0==this.selectedItem)return true;if(this.selectedItem)CSS.removeClass(this.selectedItem.container,this.selectedClass);if(_L0)CSS.addClass(_L0.container,this.selectedClass);this.selectedItem=_L0;return true;};UINav.prototype.deselectAll=function(){if(this.selectedItem)CSS.removeClass(this.selectedItem.container,this.selectedClass);this.selectedItem=null;};UINav.prototype.getSelectedItem=function(){return this.selectedItem;};UINav.prototype.addClickHandler=function(_L0,_L1){if(typeof _L0=='function'){_L1=_L0;this.getItems().each(function(_L1,_L0){this.addClickHandler(_L0,_L1);}.bind(this,_L1));return true;}else return Event.listen(_L0.link,'click',_L1);};function UINavGeneric(_L0,_L1,_L2){if(!this.selectedClass)this.selectedClass='UINavGeneric_ItemSelected';this.parent.construct(this,_L0,_L1,_L2);}UINavGeneric.extend('UINav');UINavGeneric.prototype.getItemContainers=function(){if(!this.containers)this.containers=DOM.scry(this.controller,'li');return this.containers;};UINavGeneric.prototype.getItemLinks=function(){if(!this.containerLinks)this.containerLinks=DOM.scry(this.controller,'li a');return this.containerLinks;};function UITabStructure(_L0,_L1,_L2){if(!this.selectedClass)this.selectedClass='UITabStructure_TabSelected';this.parent.construct(this,_L0,_L1,_L2);}UITabStructure.extend('UINavGeneric');UITabStructure.prototype.getItemContainers=function(){if(!this.tab_containers){this.tab_containers=[];var _L0=DOM.scry(this.controller,'li');for(var i=0;i<_L0.length;i++)this.tab_containers.push(_L0[i].childNodes[0]);}return this.tab_containers;};function UISourceList(_L0,_L1,_L2){if(!this.selectedClass)this.selectedClass='UISourceList_ItemSelected';this.parent.construct(this,_L0,_L1,_L2);}UISourceList.extend('UINavGeneric');
function UIFilterList(_L0,_L1,_L2){this.selectedClass='selected';this._itemsContainer=DOM.scry(_L0,'div.UIFilterList_List')[0];this.parent.construct(this,_L0,_L1,_L2);}UIFilterList.extend('UINav');UIFilterList.prototype.getItemContainers=function(){if(!this.containers)this.containers=DOM.scry(this.controller,'div.UIFilterList_Item');return this.containers;};UIFilterList.prototype.getItemLinks=function(){if(!this.containerLinks)this.containerLinks=DOM.scry(this.controller,'div.UIFilterList_Item a');return this.containerLinks;};UIFilterList.prototype.resetItemContainers=function(){this.containers=null;};UIFilterList.prototype.resetItemLinks=function(){this.containerLinks=null;};UIFilterList.prototype.setEditIconHandler=function(_L0){this._editIconHandler=_L0;return this;};UIFilterList.prototype.setLoading=function(_L0){CSS.conditionClass(this.controller,'UIFilterList_Loading',_L0);};UIFilterList.prototype.setCreateLinkHandler=function(_L0){var _L1=DOM.find(this.controller,'a.UIFilterList_Create');_L1.listen('click',_L0);};UIFilterList.prototype.addItem=function(_L0,_L1,pos,_L3,_L4){if(!pos)pos=0;var _L5=this.getItems();_L4=_L4?_L4:{};var _L6=$N('div',{className:'UIFilterList_Item'});var _L7=$N('a',{className:'UIFilterList_ItemLink',href:_L1});if(_L3){var _L8=$N('span',{className:'UIImageBlock_Image UIFilterList_Icon'});_L8.setStyle('backgroundImage','url('+_L3+')');var _L9=$N('div',{className:'UIImageBlock clearfix'});_L9.appendContent(_L8);_L9.appendContent($N('div',{className:'UIImageBlock_Content UIFilterList_Title'},_L0));_L7.appendContent(_L9);}else _L7.appendContent($N('div',{className:'UIImageBlock_Content UIFilterList_Title '+'UIFilterList_TitleWithoutIcon'},_L0));var _La=$N('span',{className:'UIFilterList_LoadingIndicator'});_L6.setContent([_L7,_La]);var _Lb={container:_L6,link:_L7,data:_L4};if(_L5.length>0){if(this.getItems()[pos]){DOM.insertBefore(_L6,_L5[pos].container);}else{pos=pos-1;DOM.insertAfter(_L5[pos].container,_L6);}}else{this._itemsContainer.appendContent(_L6);CSS.removeClass(this.controller,'UIFilterList_HasBlankState');}this.getItems().splice(pos,0,_Lb);this.getItemContainers().splice(pos,0,_Lb.container);this.getItemLinks().splice(pos,0,_Lb.link);return _Lb;};UIFilterList.prototype.setItemTitle=function(_L0,_L1){var _L2=DOM.find(_L0.link,'div.UIFilterList_Title');_L2.setContent(_L1);};UIFilterList.prototype.removeItem=function(_L0){var _L1=this.getItems();var _L2=null;for(var i=0;i<_L1.length;i++)if(_L1[i]==_L0){_L2=i;break;}if(_L2!=null){if(this.selectedItem==_L0)this.selectItem(null);this.getItemContainers().splice(_L2,1);this.getItemLinks().splice(_L2,1);this.getItems().splice(_L2,1);DOM.remove(_L0.container);}if(_L1.length==0)CSS.addClass(this.controller,'UIFilterList_HasBlankState');};
function UIStaticHomeFilter(_L0,_L1,_L2,_L3,_L4,_L5){this.parent.construct(this,_L0,_L2,_L4);copy_properties(this,{root:_L0,stream:_L5,assoc_id:_L1,num_visible:_L3});if(this.stream){UIStaticHomeFilter.activate(this,this.stream.getID());var _L6=function(){UIStaticHomeFilter.active[this.stream.getID()].each(function(_L8){if(this!==_L8)_L8.deselectAll();}.bind(this));}.bind(this);this.addClickHandler(_L6);this.stream.setHomeFilter(this);}var _L7=UIStaticHomeFilter.handlePageTransition.bind(this);PageTransitions.registerHandler(_L7);this.editModeLink=_L0.find('a.UIFilterList_EditLink');this.editModeLink.listen('click',this.enableEdit.bind(this));if(CSS.hasClass(this.root,'UIFilterList_ShowHiddenSection'))this.enableEdit();Arbiter.subscribe(Arbiter.LIST_EDITOR_LISTS_CHANGED,this._listsChanged.bind(this),Arbiter.SUBSCRIBE_NEW);}UIStaticHomeFilter.extend('UIFilterList');UIStaticHomeFilter.prototype={loadFilterByKey:function(_L0){if(_L0==UIIntentionalStream.FEED_FILTER_KEY_NEW_HIGHLIGHTS||_L0==UIIntentionalStream.FEED_FILTER_KEY_NEWS_FEED)_L0=UIIntentionalStream.FEED_FILTER_KEY_DUAL_NEWS_FEED;for(var i=0,l=this.items.length;i<l;i++){var _L3=this.items[i];if(_L3.data.filter==_L0)return this.selectItem(_L3);}return false;},_listsChanged:function(_L0,_L1){if(_L0==Arbiter.LIST_EDITOR_LISTS_CHANGED)if(_L1.is_new_list){var _L1={new_key:'fl'+'_'+_L1.list_info.list_id,id:this.assoc_id};new AsyncRequest().setURI('/ajax/filterlist.php').setData(_L1).setHandler(function(_L2){goURI(URI('/home.php').addQueryData({filter:_L2}),true);}.bind(null,_L1.new_key)).send();}else goURI(URI('/home.php'),true);}};UIStaticHomeFilter.handlePageTransition=function(uri){var _L1=uri.getQueryData();if(!this.stream||_L1.disable_nile||_L1.ref||(uri.getPath()!='/'&&uri.getPath()!='/home.php'))return false;this.loadFilterByKey(_L1.filter);var _L2={filter:_L1.filter};this.stream.refresh(UIIntentionalStream.REFRESH_TRANSITION,_L1,_L2);return true;};UIStaticHomeFilter.activate=function(_L0,_L1){if(!UIStaticHomeFilter.active[_L1])UIStaticHomeFilter.active[_L1]=[];UIStaticHomeFilter.active[_L1].push(_L0);};UIStaticHomeFilter.active={};UIStaticHomeFilter.prototype.enableEdit=function(){if(this.homeFilter){this.homeFilter.beginEditMode();}else Bootloader.loadComponents('UIHomeFilter',this.loadedResources.bind(this));};UIStaticHomeFilter.prototype.loadedResources=function(){this.homeFilter=new UIHomeFilter(this.controller,this.assoc_id,this.items,this.num_visible,this.data,true);this.homeFilter.beginEditMode();};
function PageCacheFeedTracking(){this.data=[];}PageCacheFeedTracking.instance=null;PageCacheFeedTracking.getInstance=function(){if(!PageCacheFeedTracking.instance)PageCacheFeedTracking.instance=new PageCacheFeedTracking();return PageCacheFeedTracking.instance;};copy_properties(PageCacheFeedTracking.prototype,{register:function(_L0){var _L1={'meta':_L0};this.data.push(_L1);},dispatch:function(){var _L0=new AsyncRequest().setMethod('POST').setURI('/ajax/feed_tracking_pagecache.php').setReadOnly(true).setOption('bundle',true).setData({'data':this.data}).send();return true;}});
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 replace_collected_data_attrib(_L0,_L1,_L2,_L3){var _L4='data-'+_L1;for(;_L0&&!DOM.isNode(_L0,'body');_L0=_L0.parentNode){var _L5=_L0.getAttribute(_L4);if(_L5){var _L6=JSON.decode(_L5);if(_L6[_L2]!==undefined){_L6[_L2]=_L3;_L0.setAttribute(_L4,JSON.encode(_L6));return true;}}}return false;}
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',STREAM_SOURCES:{9:true,10:true,11:true}});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)){if(ft.feedTrackingIsEnabled==1&&ft.STREAM_SOURCES[parseInt(_L2.src,10)])return;_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 CounterDisplay(_L0,_L1,_L2,_L3,_L4){copy_properties(this,{_name:_L0,_valueNode:$(_L1),_wrapperNode:$(_L2)||null,_statusClass:_L4,_rm:new RenderManager(this),_arbiterSubscription:null,_count:0});var _L5=this._valueNode.firstChild;if(_L5){var _L6=parseInt(_L5.nodeValue,10);if(!isNaN(_L6))this._count=_L6;}this._statusNode=_L3?$(_L3):null;this._subscribeAll();CounterDisplay.instances.push(this);onunloadRegister(this._destroy.bind(this),true);}copy_properties(CounterDisplay,{EVENT_TYPE_ADJUST:'CounterDisplay/adjust',EVENT_TYPE_UPDATE:'CounterDisplay/update',instances:[],adjustCount:function(_L0,_L1){Arbiter.inform(CounterDisplay.EVENT_TYPE_ADJUST+'/'+_L0,_L1);},setCount:function(_L0,_L1){Arbiter.inform(CounterDisplay.EVENT_TYPE_UPDATE+'/'+_L0,_L1);}});CounterDisplay.mixin({_destroy:function(){delete this._valueNode;delete this._wrapperNode;if(this._arbiterSubscription){Arbiter.unsubscribe(this._arbiterSubscription);delete this._arbiterSubscription;}CounterDisplay.instances.remove(this);},adjustCount:function(_L0){this._count=Math.max(0,this._count+_L0);this._rm.dirty();return this;},setCount:function(_L0){this._count=Math.max(0,_L0);this._rm.dirty();return this;},paint:function(){DOM.setText(this._valueNode,this._count);if(this._wrapperNode)if(this._count<=0){hide(this._wrapperNode);if(this._statusClass&&this._statusNode)CSS.removeClass(this._statusNode,this._statusClass);}else{show(this._wrapperNode);if(this._statusClass&&this._statusNode)CSS.addClass(this._statusNode,this._statusClass);}},_subscribeAll:function(){var _L0=[CounterDisplay.EVENT_TYPE_ADJUST+'/'+this._name,CounterDisplay.EVENT_TYPE_UPDATE+'/'+this._name];this._arbiterSubscription=Arbiter.subscribe(_L0,this._onInform.bind(this),Arbiter.SUBSCRIBE_NEW);},_onInform:function(_L0,_L1){_L1=parseInt(_L1);if(isNaN(_L1)){Util.warn("Passed invalid counter value: '%s'",_L1);return;}if(_L0.indexOf(CounterDisplay.EVENT_TYPE_ADJUST)!=-1){this.adjustCount(_L1);}else if(_L0.indexOf(CounterDisplay.EVENT_TYPE_UPDATE)!=-1){this.setCount(_L1);}else{Util.warn("Invalid event type in CounterDisplay handler: '%s'",_L0);return;}return;}});
!function(){var fns={isEmpty:function(_L1){return (_L1.value||'').match(/^\s*$/)||CSS.hasClass(_L1,'DOMControl_placeholder');},getValue:function(_L1){return fns.isEmpty(_L1)?'':_L1.value;}};NodeAugment.add(fns,'INPUT');NodeAugment.add(fns,'TEXTAREA');}();
function html_wordwrap(str,_L1,_L2){if(typeof _L1=='undefined')_L1=60;if(typeof _L2!='function')_L2=htmlize;var _L3=new RegExp("\\S{"+(_L1+1)+"}",'g');var _L4=0;var _L5=str;var _L6=[];var _L7=str.match(_L3);if(_L7)for(var i=0;i<_L7.length;i++){var _L9=_L7[i];var _La=_L4+_L5.indexOf(_L9);var _Lb=str.substring(_L4,_La);if(_Lb)_L6.push(_L2(_Lb));_L6.push(_L2(_L9)+'<wbr/>');_L4=_La+_L9.length;_L5=str.substring(_L4);}if(_L5)_L6.push(_L2(_L5));return _L6.join('');}function text_get_hyperlinks(str){if(typeof(str)!='string')return [];var _L1=str.match(/(?:(?:ht|f)tps?):\/\/[^\s"',]*[^\s"'.,?!]/ig);if(_L1&&_L1.length){var _L2={'>':'<',')':'(',']':'['};var _L3,_L4,pos=0,_L6,_L7,_L8,_L9;for(var i=0;i<_L1.length;i++){_L4=_L1[i];_L3=_L2[_L4[_L4.length-1]];if(_L3){_L6=str.indexOf(_L4);_L7=str.substr(pos,_L6);if(_L7.indexOf(_L3)!=-1)_L1[i]=_L4.substr(0,_L4.length-1);pos=_L6+_L4.length;}prev_link=_L4;}}return _L1;}function html_hyperlink(str,_L1,_L2,_L3){var _L4={'<':'>','*':'*','{':'}','[':']',"'":"'",'"':'"','#':'#','+':'+','-':'-','(':')'};if(typeof(str)=='undefined'||!str.toString)return '';if(typeof _L1!='function')_L1=htmlize;if(typeof _L2!='function')_L2=htmlize;var str=str.toString();var _L5=text_get_hyperlinks(str);var _L6=0;var _L7=str;var _L8=[];var _L7=str;if(_L5){var _L9=_L3?ge('post_form_id'):null;var _La=_L9?_L9.value:'';for(var i=0;i<_L5.length;i++){var _Lc=_L5[i];var _Ld=_L6+_L7.indexOf(_Lc);var _Le=_Lc.length;var _Lf=str.substring(_L6,_Ld);if(_Lf)_L8.push(_L1(_Lf));var _L10='';if(_Ld>0){var _L11=str[_Ld-1];if(typeof _L4[_L11]!='undefined'){var _L12=_L4[_L11];var _L13=_Lc.indexOf(_L12);if(_L13!=-1){_L10=_L1(_Lc.substring(_L13));_Lc=_Lc.substring(0,_L13);}}}var _L14=_L2(_Lc);if(_L3){var _L15="http://www.facebook.com/l.php?u="+URI.encodeComponent(_Lc)+'&h='+_La;}else var _L15=_Lc.replace(/"/g,'%22');_L8.push('<a href="'+_L15+'" target="_blank" rel="nofollow">'+_L14+'</a>'+_L10);_L6=_Ld+_Le;_L7=str.substring(_L6);}}if(_L7)_L8.push(_L1(_L7));return _L8.join('');}function nl2br(_L0){if(typeof(_L0)=='undefined'||!_L0.toString)return '';return _L0.toString().replace(/\n/g,'<br />');}function is_email(_L0){return /^([\w!.%+\-])+@([\w\-])+(?:\.[\w\-]+)+$/.test(_L0);}
window.__UIControllerRegistry=window.__UIControllerRegistry||{};
function UIPagelet(_L0,src,_L2,_L3){this._id=_L0||null;this._element=ge(_L0||$N('div'));this._src=src||null;this._context_data=_L2||{};this._data=_L3||{};this._handler=bagofholding;this._request=null;return this;}copy_properties(UIPagelet.prototype,{getElement:function(_L0){_L0=_L0||false;if(_L0)this._element=ge(this._id);return this._element;},setHandler:function(_L0){this._handler=_L0;return this;},go:function(src,_L1){if(arguments.length>=2||typeof src=='string'){this._src=src;this._data=_L1||{};}else if(arguments.length==1)this._data=src;this.refresh();return this;},refresh:function(_L0){var _L1=function(_L2){this._request=null;if(_L0&&this._id)this._element=ge(this._id);this._element.setContent(HTML(_L2.getPayload()));this._handler();}.bind(this);this._request=new AsyncRequest().setURI(this._src).setMethod('GET').setData({data:JSON.encode(merge(this._context_data,this._data))}).setReadOnly(true).setHandler(_L1).setOption('bundle',true);this._request.send();return this;},cancel:function(){if(this._request)this._request.abort();}});
onloadRegister(function(){Event.listen(document.documentElement,'submit',function(e){var _L1=e.getTarget().getElementsByTagName('*');for(var i=0;i<_L1.length;i++)if(_L1[i].getAttribute('required')=='true'&&$(_L1[i]).isEmpty()){_L1[i].focus();return false;}},Event.Priority.URGENT);});
var MegaphoneHelper={hideStory:function(_L0,_L1,_L2,_L3){var _L4={'mp_id':_L0,'location':_L1,'context':_L3};new AsyncRequest().setURI('/ajax/megaphone/megaphone_hide.php').setMethod('POST').setData(_L4).setHandler(function(_L6){if(_L6.isReplay()){var _L5=ge(_L2);_L5&&hide(_L5);}}).send();var _L5=ge(_L2);if(_L5)animation(_L5).to('height',0).duration(500).hide().go();},createModalStory:function(_L0,_L1,_L2,_L3,_L4,_L5){var _L6;if(!_L2||!_L2.length){_L2=Dialog.CLOSE;_L6=this.hideStory.bind(this,_L3,_L4,_L5);}else _L6=bagofholding;new Dialog().setImmediateRendering(true).setTitle(_L0).setBody(_L1).setModal(true,Dialog.MODALITY.WHITE).setStackable(true,true).setContentWidth(670).setAutoFocus(false).setButtons(_L2).setHandler(_L6).show();}};
function PresenceUpdater(){this.timerGranularity=presence.sitevars.UPDATE_GRANULARITY?presence.sitevars.UPDATE_GRANULARITY*1000:60000;this._init();}PresenceUpdater.prototype={_init:function(){this.handlers=[];this.updatePaused=0;this.updateNumber=0;this._runTimer();bind(Arbiter,Arbiter.inform,PresenceMessage.PRESENCE_UPDATER_READY,true,Arbiter.BEHAVIOR_STATE).defer();},register:function(_L0,_L1,_L2,_L3,_L4){this.handlers.push({'asyncParam':_L0,'checkCB':_L1,'responseCB':_L2,'errorCB':_L3,'transportErrorCB':_L4});},_runTimer:function(){clearTimeout(this.timer);this.timer=setTimeout(this.checkForUpdate.bind(this,false,[],false),this.timerGranularity);},forceUpdate:function(_L0){if(this.updatePaused)return;if(_L0!==undefined&&_L0.length>0){this.checkForUpdate(false,_L0,false);}else this.checkForUpdate(true,[],false);},pauseUpdate:function(){this.updatePaused++;},resumeUpdate:function(_L0){this.updatePaused--;this.forceUpdate(_L0);},checkForUpdate:function(_L0,_L1,_L2){if(!_L2)clearTimeout(this.timer);if(presence.isShutdown){if(!_L2)this._runTimer();return;}var _L3=presence.getTime();var _L4=[];var _L5={user:presence.user};for(var i=0;i<this.handlers.length;i++){var _L7=this.handlers[i];var _L8=_L0||(_L1.indexOf(_L7.asyncParam)!=-1);var _L9=_L7.checkCB(_L3,_L5,_L8);if(_L9){_L5[_L7.asyncParam]=1;_L4.push(_L7);}}if(_L4.length>0){this._sendUpdate(_L5,_L4,_L2);}else if(!_L2)this._runTimer();},runHandler:function(_L0){this.checkForUpdate(false,[_L0],true);},_initialHandler:function(_L0,_L1){if(_L0!=this.updateNumber)return false;},_onResponse:function(_L0,_L1,_L2){var _L3=_L2.getPayload();presence.updateServerTime(_L3.time);var _L4=presence.getTime();for(var i=0;i<_L0.length;i++){var _L6=_L0[i];var _L7=_L3[_L6.asyncParam];if(typeof _L7=='undefined'||!_L7){_L6.errorCB(_L2);}else _L6.responseCB(_L7,_L4);}presenceCookieManager.store();if(!_L1)this._runTimer();},_onError:function(_L0,_L1){for(var i=0;i<_L0.length;i++)_L0[i].errorCB(_L1);this._runTimer();},_onTransportError:function(_L0,_L1){for(var i=0;i<_L0.length;i++)_L0[i].transportErrorCB(_L1);this._runTimer();},_sendUpdate:function(_L0,_L1,_L2){this.updateNumber++;var uri=_L0['notifications']?'/ajax/presence/update.php':'/ajax/chat/buddy_list.php';var _L4=URI.getRequestURI().getQueryData();var _L5={};for(key in _L4)if(key.indexOf('buddy')==0)_L5[key]=_L4[key];if(_L5)uri=new URI(uri).setQueryData(_L5);this.async=new AsyncRequest().setInitialHandler(this._initialHandler.bind(this,this.updateNumber)).setHandler(this._onResponse.bind(this,_L1,_L2)).setErrorHandler(this._onError.bind(this,_L1)).setTransportErrorHandler(this._onTransportError.bind(this,_L1)).setOption('suppressErrorAlerts',true).setData(_L0).setURI(uri).send();}};
PYMK={addOthers:function(_L0){var ids=$$('input[name="pymk_replace"]').pull('value').join(',');var _L2=$N('input',{name:'unwanted',type:'hidden',value:ids});$(_L0).appendContent(_L2);}};
if(typeof deconcept=="undefined")var deconcept={};if(typeof deconcept.util=="undefined")deconcept.util={};if(typeof deconcept.SWFObjectUtil=="undefined")deconcept.SWFObjectUtil={};deconcept.SWFObject=function(swf,id,w,h,ver,c,_L6,_L7,_L8,_L9){if(!document.getElementById)return;this.DETECT_KEY=_L9?_L9:'detectflash';this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params={};this.variables={};this.attributes=[];this.fallback_html='';this.fallback_js_fcn=function(){};if(swf)this.setAttribute('swf',swf);if(id)this.setAttribute('id',id);if(w)this.setAttribute('width',w);if(h)this.setAttribute('height',h);this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(ver){if(!(ver instanceof Array))ver=[ver];var x;ver.each(function(ii){x=new deconcept.PlayerVersion(ii.toString().split('.'));if(x.major==this.installedVer.major){this.setAttribute('version',x);return;}else if(!this.getAttribute('version')||x.major<this.getAttribute('version').major)this.setAttribute('version',x);}.bind(this));}if(!window.opera&&document.all&&this.installedVer.major>7)if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs);};window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true;}if(c)this.addParam('bgcolor',c);var q=_L6?_L6:'high';this.addParam('quality',q);this.setAttribute('useExpressInstall',false);this.setAttribute('doExpressInstall',false);var xir=(_L7)?_L7:window.location;this.setAttribute('xiRedirectUrl',xir);this.setAttribute('redirectUrl','');if(_L8)this.setAttribute('redirectUrl',_L8);};deconcept.SWFObject.prototype={useExpressInstall:function(_L0){this.xiSWFPath=!_L0?"/swf/expressinstall.swf":_L0;this.setAttribute('useExpressInstall',true);},setAttribute:function(_L0,_L1){this.attributes[_L0]=_L1;},getAttribute:function(_L0){return this.attributes[_L0]||"";},addParam:function(_L0,_L1){this.params[_L0]=_L1;},getParams:function(){return this.params;},addVariable:function(_L0,_L1){this.variables[_L0]=_L1;},getVariable:function(_L0){return this.variables[_L0]||"";},getVariables:function(){return this.variables;},getVariablePairs:function(){var _L0=[];var key;var _L2=this.getVariables();for(key in _L2)_L0[_L0.length]=key+"="+_L2[key];return _L0;},getSWFHTML:function(){var _L0="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute('swf',this.xiSWFPath);}_L0='<embed type="application/x-shockwave-flash" src="'+htmlspecialchars(this.getAttribute('swf'))+'" width="'+htmlspecialchars(this.getAttribute('width'))+'" height="'+htmlspecialchars(this.getAttribute('height'))+'" style="'+htmlspecialchars(this.getAttribute('style')||"")+'"';_L0+=' id="'+htmlspecialchars(this.getAttribute('id'))+'" name="'+htmlspecialchars(this.getAttribute('id'))+'" ';var _L1=this.getParams();for(var key in _L1)_L0+=htmlspecialchars(key)+'="'+htmlspecialchars(_L1[key])+'" ';var _L3=this.getVariablePairs().join("&");if(_L3.length>0)_L0+='flashvars="'+_L3+'"';_L0+='/>';}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute('swf',this.xiSWFPath);}_L0='<object id="'+this.getAttribute('id')+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+this.getAttribute('width')+'" height="'+this.getAttribute('height')+'" style="'+(this.getAttribute('style')||"")+'">';_L0+='<param name="movie" value="'+this.getAttribute('swf')+'" />';var _L1=this.getParams();for(var key in _L1)_L0+='<param name="'+key+'" value="'+_L1[key]+'" />';var _L3=this.getVariablePairs().join("&");if(_L3.length>0)_L0+='<param name="flashvars" value="'+_L3+'" />';_L0+="</object>";}return _L0;},write:function(_L0){if(this.getAttribute('useExpressInstall')){var _L1=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(_L1)&&!this.installedVer.versionIsValid(this.getAttribute('version'))){this.setAttribute('doExpressInstall',true);this.addVariable("MMredirectURL",escape(this.getAttribute('xiRedirectUrl')));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title);}}var n=(typeof _L0=='string')?document.getElementById(_L0):_L0;if(this.skipDetect||this.getAttribute('doExpressInstall')||this.installedVer.versionIsValid(this.getAttribute('version'))){n.innerHTML=this.getSWFHTML();return true;}else{if(this.getAttribute('redirectUrl')!="")document.location.replace(this.getAttribute('redirectUrl'));need_version=this.getAttribute('version').major+'.'+this.getAttribute('version').minor+'.'+this.getAttribute('version').rev;have_version=this.installedVer.major+'.'+this.installedVer.minor+'.'+this.installedVer.rev;this.fallback_js_fcn(have_version,need_version);n.innerHTML=this.fallback_html;}return false;}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var _L0=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){for(k=0;k<navigator.plugins.length;k++)try{x=navigator.plugins[k];if(x.name=='Shockwave Flash'){PlayerVersion_tmp=new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));if(typeof _L0=='undefined'||PlayerVersion_tmp.major>_L0.major||(PlayerVersion_tmp.major==_L0.major&&(PlayerVersion_tmp.minor>_L0.minor||(PlayerVersion_tmp.minor==_L0.minor&&PlayerVersion_tmp.rev>_L0.rev))))_L0=PlayerVersion_tmp;}}catch(honk){}}else if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var axo=1;var _L2=3;while(axo)try{_L2++;axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+_L2);_L0=new deconcept.PlayerVersion([_L2,0,0]);}catch(e){axo=null;}}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}catch(e){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");_L0=new deconcept.PlayerVersion([6,0,21]);axo.AllowScriptAccess="always";}catch(e){if(_L0.major==6)return _L0;}try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}catch(e){}}if(axo!=null)_L0=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}return _L0;};deconcept.PlayerVersion=function(_L0){this.major=_L0[0]!=null?parseInt(_L0[0]):0;this.minor=_L0[1]!=null?parseInt(_L0[1]):0;this.rev=_L0[2]!=null?parseInt(_L0[2]):0;};deconcept.PlayerVersion.prototype.versionIsValid=function(fv){if(this.major<fv.major)return false;if(this.major>fv.major)return true;if(this.minor<fv.minor)return false;if(this.minor>fv.minor)return true;if(this.rev<fv.rev)return false;return true;};deconcept.util={getRequestParameter:function(_L0){var q=document.location.search||document.location.hash;if(_L0==null)return q;if(q){var _L2=q.substring(1).split("&");for(var i=0;i<_L2.length;i++)if(_L2[i].substring(0,_L2[i].indexOf("="))==_L0)return _L2[i].substring((_L2[i].indexOf("=")+1));}return "";}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var _L0=document.getElementsByTagName("OBJECT");for(var i=_L0.length-1;i>=0;i--){_L0[i].style.display='none';for(var x in _L0[i])if(typeof _L0[i][x]=='function')_L0[i][x]=function(){};}};if(!document.getElementById&&document.all)document.getElementById=function(id){return document.all[id];};var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;var flash_update_dialog_shown=false;function spawn_flash_update_dialog(_L0,_L1){if(flash_update_dialog_shown)return;flash_update_dialog_shown=true;new AsyncRequest().setURI('/ajax/flash_update_dialog.php').setData({have_version:_L0,need_version:_L1}).setMethod('GET').setReadOnly(true).send();}function setFlashFallback(id,_L1){var _L2=ge(id);var _L3=deconcept.SWFObjectUtil.getPlayerVersion();var _L4;_L1.each(function(ii){ii=new deconcept.PlayerVersion(ii.toString().split('.'));if(ii.major==_L3.major){_L4=ii;return;}else if(typeof _L4=='undefined'||ii.major<_L4.major)_L4=ii;}.bind(this));if(_L2&&_L3.major>0){var _L5=_L3.major+'.'+_L3.minor+'.'+_L3.rev;var _L6=_L4.major+'.'+_L4.minor+'.'+_L4.rev;_L2.innerHTML=_tx("Flash {required-version} wird ben\u00f6tigt um diesen Inhalt anzeigen zu k\u00f6nnen. Deine aktuelle Version ist {current-version}. Bitte lade die neuste Version des Flash Players herunter.",{'required-version':_L6,'current-version':_L5});}}function getFlashPlayer(){goURI('http://get.adobe.com/flashplayer');return false;}

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