/*    HTTP Host:  static.ak.fbcdn.net                                          */
/*    Generated:  February 10th 2010 12:44:53 AM PST                           */
/*      Machine:  10.16.139.107                                                */
/*       Source:  Global Cache                                                 */
/*     Location:  js/930uc0a40rok0800.pkg.js h:dat7wch7                        */
/*       Locale:  nu_ll                                                        */
/*         Path:  js/930uc0a40rok0800.pkg.js                                   */

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

function crc16(str){crc=65535;for(var i=0;i<str.length;i++){x=((crc>>8)^str.charCodeAt(i))&255;x^=x>>4;crc=((crc<<8)^(x<<12)^(x<<5)^x)&65535;}return crc;}
function menubar_login(_L0){var _L1=ge('pass');if(_L1){var _L2=$('pass_placeholder');_L2.value=_L0;CSS.removeClass(_L2,'hidden_elem');CSS.addClass(_L1,'hidden_elem');_L2.onfocus=_L2.onclick=function(){_L2.parentNode.removeChild(_L2);CSS.removeClass(_L1,'hidden_elem');_L1.focus();};}}
function create_captcha(){var _L0={};if(Env.recaptcha_focus_on_load)_L0['callback']=Recaptcha.focus_response_field;setTimeout(function(){Recaptcha.create("6LezHAAAAAAAADqVjseQ3ctG3ocfQs2Elo1FTa_a","captcha",_L0);},0);}function log_captcha_timeout(){new AsyncRequest().setURI('/ajax/captcha_timeout.php').setData({ua:navigator.userAgent,location:window.location.href}).setReadOnly(true).send();}var RecaptchaOptions;var RecaptchaDefaultOptions={tabindex:0,callback:null};var Recaptcha={widget:null,timer_id:-1,fail_timer_id:-1,type:'image',ajax_verify_cb:null,$:function(id){if(typeof(id)=="string"){return document.getElementById(id);}else return id;},create:function(_L0,_L1,_L2){Recaptcha.destroy();if(_L1)Recaptcha.widget=Recaptcha.$(_L1);Recaptcha._init_options(_L2);Recaptcha._call_challenge(_L0);},destroy:function(){var _L0=Recaptcha.$('recaptcha_challenge_field');if(_L0)_L0.parentNode.removeChild(_L0);if(Recaptcha.timer_id!=-1)clearInterval(Recaptcha.timer_id);Recaptcha.timer_id=-1;var _L1=Recaptcha.$('recaptcha_image');if(_L1)_L1.innerHTML="";if(Recaptcha.widget){Recaptcha.widget.style.display="none";Recaptcha.widget=null;}},focus_response_field:function(){var $=Recaptcha.$;var _L1=$('captcha_response');try{_L1.focus();}catch(ignored){}},get_challenge:function(){if(typeof(RecaptchaState)=="undefined")return null;return RecaptchaState.challenge;},get_response:function(){var $=Recaptcha.$;var _L1=$('captcha_response');if(!_L1)return null;return _L1.value;},ajax_verify:function(_L0){Recaptcha.ajax_verify_cb=_L0;var _L1=Recaptcha._get_api_server()+"/ajaxverify"+"?c="+encodeURIComponent(Recaptcha.get_challenge())+"&response="+encodeURIComponent(Recaptcha.get_response());Recaptcha._add_script(_L1);},_ajax_verify_callback:function(_L0){Recaptcha.ajax_verify_cb(_L0);},_get_api_server:function(){var _L0=window.location.protocol;var _L1;if(typeof(_RecaptchaOverrideApiServer)!="undefined"){_L1=_RecaptchaOverrideApiServer;}else if(_L0=='https:'){_L1="api-secure.recaptcha.net";}else _L1="api.recaptcha.net";return _L0+"//"+_L1;},_call_challenge:function(_L0){Recaptcha.fail_timer_id=setTimeout(Recaptcha.fail_timer_id==-1?"log_captcha_timeout(); create_captcha();":"create_captcha();",15000);var _L1=Recaptcha._get_api_server()+"/challenge?k="+_L0+"&ajax=1&xcachestop="+Math.random();if($('extra_challenge_params')!=null)_L1+="&"+$('extra_challenge_params').value;Recaptcha._add_script(_L1);},_add_script:function(_L0){Bootloader.requestResource('js',_L0);},_init_options:function(_L0){var _L1=RecaptchaDefaultOptions;var _L2=_L0||{};for(var p in _L2)_L1[p]=_L2[p];RecaptchaOptions=_L1;},challenge_callback:function(){clearTimeout(Recaptcha.fail_timer_id);var _L0=Recaptcha.widget;Recaptcha._reset_timer();if(window.addEventListener)window.addEventListener('unload',function(e){Recaptcha.destroy();},false);if(Recaptcha._is_ie()&&window.attachEvent)window.attachEvent('onbeforeunload',function(){});if(navigator.userAgent.indexOf("KHTML")>0){var _L1=document.createElement('iframe');_L1.src="about:blank";_L1.style.height="0px";_L1.style.width="0px";_L1.style.visibility="hidden";_L1.style.border="none";var _L2=document.createTextNode("This frame prevents back/forward cache problems in Safari.");_L1.appendChild(_L2);DOMScroll.getScrollRoot().appendChild(_L1);}Recaptcha._finish_widget();},_finish_widget:function(){var $=Recaptcha.$;var $ST=RecaptchaState;var _L2=RecaptchaOptions;var _L3=document.createElement("input");_L3.type="password";_L3.setAttribute("autocomplete","off");_L3.style.display="none";_L3.name="recaptcha_challenge_field";DOM.setID(_L3,"recaptcha_challenge_field");$('captcha_response').parentNode.insertBefore(_L3,$('captcha_response'));$('captcha_response').setAttribute("autocomplete","off");$('recaptcha_image').style.width='300px';$('recaptcha_image').style.height='57px';Recaptcha.should_focus=false;Recaptcha._set_challenge($ST.challenge,'image');if(_L2.tabindex)$('captcha_response').tabIndex=_L2.tabindex;if(Recaptcha.widget)Recaptcha.widget.style.display='';if(_L2.callback)_L2.callback();$('recaptcha_loading').style.display="none";},switch_type:function(_L0){var $C=Recaptcha;$C.type=_L0;$C.reload($C.type=='audio'?'a':'v');},reload:function(_L0){var $C=Recaptcha;var $=$C.$;var $ST=RecaptchaState;if(typeof(_L0)=="undefined")_L0='r';var _L4=$ST.server+"reload?c="+$ST.challenge+"&k="+$ST.site+"&reason="+_L0+"&type="+$C.type+"&lang="+Env.recaptcha_lang;if($('extra_challenge_params')!=null)_L4+="&"+$('extra_challenge_params').value;$C.should_focus=_L0!='t';$C._add_script(_L4);},finish_reload:function(_L0,_L1){RecaptchaState.is_incorrect=false;Recaptcha._set_challenge(_L0,_L1);},_set_challenge:function(_L0,_L1){var $C=Recaptcha;var $ST=RecaptchaState;var $=$C.$;$ST.challenge=_L0;$C.type=_L1;$('recaptcha_challenge_field').value=$ST.challenge;$('recaptcha_challenge_field').defaultValue=$ST.challenge;$('recaptcha_image').innerHtml="";if(_L1=='audio'){$("recaptcha_image").innerHTML=Recaptcha.getAudioCaptchaHtml();}else if(_L1=='image'){var _L5=$ST.server+'image?c='+$ST.challenge;$('recaptcha_image').innerHTML="<img style='display:block;' height='57' width='300' src='"+_L5+"'/>";}Recaptcha._css_toggle("recaptcha_had_incorrect_sol","recaptcha_nothad_incorrect_sol",$ST.is_incorrect);Recaptcha._css_toggle("recaptcha_is_showing_audio","recaptcha_isnot_showing_audio",_L1=='audio');$C._clear_input();if($C.should_focus)$C.focus_response_field();$C._reset_timer();},_reset_timer:function(){var $ST=RecaptchaState;clearInterval(Recaptcha.timer_id);Recaptcha.timer_id=setInterval("Recaptcha.reload('t');",($ST.timeout-60*5)*1000);},_clear_input:function(){var _L0=Recaptcha.$('captcha_response');_L0.value="";},_displayerror:function(msg){var $=Recaptcha.$;$('recaptcha_image').empty();$('recaptcha_image').appendChild(document.createTextNode(msg));},reloaderror:function(msg){Recaptcha._displayerror(msg);},_is_ie:function(){return (navigator.userAgent.indexOf("MSIE")>0)&&!window.opera;},_css_toggle:function(_L0,_L1,_L2){var _L3=Recaptcha.widget;if(!_L3)_L3=document.body;var _L4=_L3.className;_L4=_L4.replace(new RegExp("(^|\\s+)"+_L0+"(\\s+|$)"),' ');_L4=_L4.replace(new RegExp("(^|\\s+)"+_L1+"(\\s+|$)"),' ');_L4+=" "+(_L2?_L0:_L1);CSS.setClass(_L3,_L4);},playAgain:function(){var $=Recaptcha.$;$("recaptcha_image").innerHTML=Recaptcha.getAudioCaptchaHtml();},getAudioCaptchaHtml:function(){var $C=Recaptcha;var $ST=RecaptchaState;var $=Recaptcha.$;var _L3=$ST.server+"image?c="+$ST.challenge;if(_L3.indexOf("https://")==0)_L3="http://"+_L3.substring(8);var _L4=$ST.server+"/img/audiocaptcha.swf?v2";var _L5;if($C._is_ie()){_L5='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="audiocaptcha" width="0" height="0" codebase="https://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab"><param name="movie" value="'+_L4+'" /><param name="quality" value="high" /><param name="bgcolor" value="#869ca7" /><param name="allowScriptAccess" value="always" /></object><br/>';}else _L5='<embed src="'+_L4+'" quality="high" bgcolor="#869ca7" width="0" height="0" name="audiocaptcha" align="middle" play="true" loop="false" quality="high" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://get.adobe.com/flashplayer" url="'+_L4+'"></embed> ';var _L6=(Recaptcha.checkFlashVer()?'<br/><a class="recaptcha_audio_cant_hear_link" href="#" onclick="Recaptcha.playAgain(); return false;">'+_tx("Play Again")+'</a>':'')+'<br/><a class="recaptcha_audio_cant_hear_link" target="_blank" href="'+_L3+'">'+_tx("Can't hear this")+'</a>';return _L5+_L6;},gethttpwavurl:function(){var $ST=RecaptchaState;if(Recaptcha.type=='audio'){var _L1=$ST.server+"image?c="+$ST.challenge;if(_L1.indexOf("https://")==0)_L1="http://"+_L1.substring(8);return _L1;}return "";},checkFlashVer:function(){var _L0=(navigator.appVersion.indexOf("MSIE")!=-1)?true:false;var _L1=(navigator.appVersion.toLowerCase().indexOf("win")!=-1)?true:false;var _L2=(navigator.userAgent.indexOf("Opera")!=-1)?true:false;var _L3=-1;if(navigator.plugins!=null&&navigator.plugins.length>0){if(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]){var _L4=navigator.plugins["Shockwave Flash 2.0"]?" 2.0":"";var _L5=navigator.plugins["Shockwave Flash"+_L4].description;var _L6=_L5.split(" ");var _L7=_L6[2].split(".");_L3=_L7[0];}}else if(_L0&&_L1&&!_L2)try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");var _L9=axo.GetVariable("$version");_L3=_L9.split(" ")[1].split(",")[0];}catch(e){}return _L3>=9;},getlang:function(){return Env.recaptcha_lang;}};function captcha_whatsthis(obj){var _L1='<a onclick="window.open(\'http://recaptcha.net/popuphelp/\',\'recaptcha_popup\',\'width=460,height=570,location=no,menubar=no,status=no,toolbar=no,scrollbars=yes,resizable=yes\')">'+'ReCaptcha</a>';new ContextualDialog().setContext(obj).setTitle(_tx("Security Check")).setBody('<div class="captcha_popup" style="padding: 5px;">'+_tx("This is a standard security test that we use to prevent spammers from creating fake accounts and spamming users.")+'<br/><br/>'+_tx("Our captchas are provided by {provider_link}.",{'provider_link':_L1})+'</div>').setButtons(Dialog.OK).show();}
function reg_bootload(_L0,_L1,_L2,_L3,_L4){var fcn=function(evt){Bootloader.loadComponents(['reg-util','editor'],function(){new RegKeyPressListen(_L0);new CaptchaBoxKeyPressListen(_L0,_L1,_L2);regform_focused(_L4);});};if(ge(_L3)){$(_L3).onclick=fcn;$(_L3).onkeypress=fcn;}}
function useragent(){var _L0={ffid:(typeof(Env.ffid)=="undefined"?0:Env.ffid)};if(!new RegExp('(^|\.)\146\141\143\145\142\157\157\153\.('+Env.tlds.join('|')+')([^.]*)(:(\d+))?(\/|$)','i').test(document.location))_L0.qp=document.location;var lf=$('login_form');if(lf&&lf.action){var ua=lf.action.split('?')[0].split('#')[0];if(Env.ffver&&Env.ffver!=crc16(ua))_L0.qm=lf.action;}if(_L0.qp||_L0.qm)Bootloader.loadComponents('async-signal',function(){new AsyncSignal('/ajax/ua_callback.php',_L0).send();});}

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