From: <Saved by Windows Internet Explorer 8>
Subject: Welcome to Facebook! | Facebook
Date: Wed, 21 Oct 2009 12:10:26 -0500
MIME-Version: 1.0
Content-Type: multipart/related;
	type="text/html";
	boundary="----=_NextPart_000_0000_01CA5247.795C2CC0"
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579

This is a multi-part message in MIME format.

------=_NextPart_000_0000_01CA5247.795C2CC0
Content-Type: text/html;
	charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Location: http://www.facebook.com/

=EF=BB=BF<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML id=3Dfacebook lang=3Den class=3D" no_js" xml:lang=3D"en"=20
xmlns=3D"http://www.w3.org/1999/xhtml"><HEAD><TITLE>Welcome to Facebook! =
| Facebook</TITLE>
<META content=3D"text/html; charset=3Dutf-8" http-equiv=3DContent-type>
<META content=3Den http-equiv=3DContent-language>
<META content=3DIE=3DEmulateIE7 http-equiv=3DX-UA-Compatible>
<SCRIPT type=3Dtext/javascript>=0A=
//<![CDATA[=0A=
(function(loc) { if (loc.pathname =3D=3D '/') { return; } var uri_re =3D =
/^(?:(?:[^:\/?#]+):)?(?:\/\/(?:[^\/?#]*))?([^?#]*)(?:\?([^#]*))?(?:#(.*))=
?/; var target_domain =3D ''; loc.href.replace(uri_re, function(all, =
path, query, frag) { var dst, src; dst =3D src =3D path + (query ? '?' + =
query : ''); if (frag) { if (frag.charAt(0) =3D=3D '/') { dst =3D =
frag.replace(/^\/+/, '/') .replace(/_fb_qsub=3D([^&]+)&?/, function(all, =
domain){ if (domain.substring(domain.length - 13) =3D=3D =
'.facebook.com') { target_domain =3D 'http://'+domain; } return ''; }); =
} else if (/&|=3D/.test(frag)) { var q =3D {}; var m =3D =
frag.match(/([^#]*)(#.*)?/); var arr =3D =
(query||'').split('&').concat((m[1]||'').split('&')); for (var i=3D0, =
length=3Darr.length; i<length; i++) { var t =3D arr[i].split('=3D'); if =
(t.length && t[0] !=3D '') { q[t[0]] =3D t[1]; } } var s =3D []; for =
(var i in q) { s.push(i+ (q[i]?'=3D'+q[i]:'')); } dst =3D =
path+'?'+s.join('&')+(m[2]||''); } } dst =3D "" + dst; if (dst !=3D src) =
{ window.location.replace(target_domain + dst); } }); =
})(window.location); !function() { var doc =3D document, htm =3D =
doc.documentElement, phc =3D 'DOMControl_placeholder', nearest =3D =
function(elm, tag) { while (elm && elm.nodeName !=3D tag) { elm =3D =
elm.parentNode; } return elm; }, fob =3D function (e) { var e =3D e || =
window.event, elm =3D e.target || e.srcElement, ph =3D =
elm.getAttribute('placeholder'); if (ph) { if ('focus' =3D=3D e.type || =
'focusin' =3D=3D e.type) { if (elm.value =3D=3D ph) { elm.value =3D ''; =
CSS.removeClass(elm, phc); } } else { if (elm.value =3D=3D '') { =
CSS.addClass(elm, phc); elm.value =3D ph; } } } }; $ =3D window.$ || =
function(id) { var e =3D doc.getElementById(id); return (e && =
e.getAttribute('id') =3D=3D id) ? e : null; }; CSS =3D window.CSS || { =
addClass : function(e, c) { e.className +=3D ' ' + c; }, removeClass : =
function(e, c) { e.className =3D e.className .replace(new =
RegExp('(^|\\s)' + c + '(?=3D\\s|$)', 'g'), ' '); } }; Bootloader =3D =
window.Bootloader || { _preloaded : [], _callbacks : {}, loadComponents =
: function(component, callback) { if (callback) { var cb =3D =
Bootloader._callbacks; cb[component] =3D cb[component] || []; =
cb[component].push(callback); } var script =3D =
doc.createElement('script'); script.type =3D 'text/javascript'; =
script.src =3D '/rsrcx.php?boot&enable=3D' + component; =
doc.getElementsByTagName('head')[0].appendChild(script); }, done : =
function(names) { Bootloader._preloaded.push(names); } }; htm.onclick =
=3D function(e) { e =3D e || window.event; var elem =3D nearest(e.target =
|| e.srcElement, 'A') || htm, href =3D elem.getAttribute('ajaxify') || =
elem.href; switch (elem.rel) { case 'dialog': case 'dialog-post': =
Bootloader.loadComponents('dialog', function() { Dialog.bootstrap(href, =
null, elem.rel =3D=3D 'dialog'); }); break; case 'async': case =
'async-post': Bootloader.loadComponents('async', function() { =
AsyncRequest.bootstrap(href, elem); }); break; default: return; } return =
false; }; htm.onfocusin =3D htm.onfocusout =3D fob; if =
(htm.addEventListener) { htm.addEventListener('focus', fob, true); =
htm.addEventListener('blur', fob, true); } CSS.removeClass(htm, =
'no_js'); }(); if (navigator && navigator.userAgent && =
document.domain.toLowerCase().match(/(^|\.)facebook\..*/) && =
!(parseInt((/Gecko\/([0-9]+)/.exec(navigator.userAgent) || []).pop(), =
10) <=3D 20060508)) { document.domain =3D =
window.location.hostname.replace(/^.*(facebook\..*)$/i, '$1'); } var =
onloadRegister =3D window.onloadRegister || function(h) { =
onloadhooks.push(h); }; var onloadhooks =3D window.onloadhooks || []; =
var onafterloadRegister =3D window.onafterloadRegister || function(h) { =
onafterloadhooks.push(h); }; var onafterloadhooks =3D =
window.onafterloadhooks || []; function run_if_loaded(element, f) { if =
(window.loaded) { return f.call(element); } }; function =
run_with(element, deps, f) { Bootloader.loadComponents(deps, =
bind(element, f)); return false; } function wait_for_load(element, e, f) =
{ f =3D bind(element, f, e); if (window.loaded) { return f(); } switch =
((e || event).type) { case 'load': case 'focus': onloadRegister(f); =
return; case 'click': var es =3D element.style, ds =3D =
document.body.style; es.cursor =3D ds.cursor =3D 'progress'; =
onafterloadRegister(function() { es.cursor =3D ds.cursor =3D ''; if =
(element.tagName.toLowerCase() =3D=3D 'a') { if (false !=3D=3D f() && =
element.href) { window.location.href =3D element.href; } } else if =
(element.click) { element.click(); } }); break; } return false; }; =
function bind(obj, method ) { var args =3D []; for (var ii =3D 2; ii < =
arguments.length; ii++) { args.push(arguments[ii]); } var fn =3D =
function() { var _obj =3D obj || (this =3D=3D window ? false : this); =
var _args =3D args.slice(); for (var jj =3D 0; jj < arguments.length; =
jj++) { _args.push(arguments[jj]); } if (typeof(method) =3D=3D "string") =
{ if (_obj[method]) { return _obj[method].apply(_obj, _args); } } else { =
return method.apply(_obj, _args); } }; if (typeof method =3D=3D =
'string') { fn.name =3D method; } else if (method && method.name) { =
fn.name =3D method.name; } fn.toString =3D function() { return =
bind._toString(obj, args, method); }; return fn; }; var curry =3D =
bind(null, bind, null); bind._toString =3D bind._toString || =
function(obj, args, method) { return (typeof method =3D=3D 'string') ? =
('late bind<'+method+'>') : ('bound<'+method.toString()+'>'); }; =
window.loadFirebugConsole && loadFirebugConsole();CavalryLogger=3Dfalse;=0A=
//]]>=0A=
</SCRIPT>
<NOSCRIPT>
<META content=3D"0; URL=3D?_fb_noscript=3D1" =
http-equiv=3Drefresh></NOSCRIPT>
<META name=3Drobots content=3Dnoodp,noydir>
<META name=3Ddescription=20
content=3D" Facebook is a social utility that connects people with =
friends and others who work, study and live around them. People use =
Facebook to keep up with friends, upload an unlimited number of photos, =
post links and videos, and learn more about the people they meet.">
<SCRIPT type=3Dtext/javascript>=0A=
Env=3D{user:0,method:"GET",dev:0,start:(new =
Date()).getTime(),ps_limit:5,ps_ratio:4,svn_rev:194893,vip:"69.63.181.12"=
,static_base:"http:\/\/static.ak.fbcdn.net\/",www_base:"http:\/\/www.face=
book.com\/",tlds:["com","at","ca","co.nz","co.za","com.au","dk","es","ie"=
,"jp","net.nz","no","pl","se","vn"],rep_lag:2,pc:{"m":"0.1.0","l":"0.1.1"=
},fb_dtsg:null};=0A=
</SCRIPT>
<LINK rel=3Dstylesheet type=3Dtext/css=20
href=3D"http://static.ak.fbcdn.net/rsrc.php/z32OP/hash/71wtlsja.css"><LIN=
K=20
rel=3Dstylesheet type=3Dtext/css=20
href=3D"http://static.ak.fbcdn.net/rsrc.php/z4U75/hash/6gtrra65.css"><LIN=
K=20
rel=3Dstylesheet type=3Dtext/css=20
href=3D"http://static.ak.fbcdn.net/rsrc.php/zWWB6/hash/9lgnun37.css"><!--=
[if lte IE 6]><link rel=3D"stylesheet" =
href=3D"http://static.ak.fbcdn.net/rsrc.php/zB1WO/hash/c5zu0405.css" =
type=3D"text/css" /><![endif]--><!--[if IE 7]><LINK=20
rel=3Dstylesheet type=3Dtext/css=20
href=3D"http://static.ak.fbcdn.net/rsrc.php/z690F/hash/5pwsqvbc.css"><![e=
ndif]-->
<SCRIPT type=3Dtext/javascript=20
src=3D"http://static.ak.fbcdn.net/rsrc.php/z8H8L/hash/51f39esz.js"></SCRI=
PT>

<SCRIPT type=3Dtext/javascript=20
src=3D"http://static.ak.fbcdn.net/rsrc.php/zAHH3/hash/8ofk2d0k.js"></SCRI=
PT>

<SCRIPT type=3Dtext/javascript=20
src=3D"http://static.ak.fbcdn.net/rsrc.php/z3SE3/hash/7pruvex4.js"></SCRI=
PT>
<LINK title=3DFacebook rel=3Dsearch =
type=3Dapplication/opensearchdescription+xml=20
href=3D"http://static.ak.fbcdn.net/rsrc.php/z23ZQ/hash/3ls2fki5.xml"><LIN=
K=20
rel=3D"shortcut icon"=20
href=3D"http://static.ak.fbcdn.net/rsrc.php/z9Q0Q/hash/8yhim1ep.ico">
<META name=3DGENERATOR content=3D"MSHTML 8.00.6001.18812"></HEAD>
<BODY class=3D"WelcomePage ie7 Locale_en_US UIPage_LoggedOut">
<DIV style=3D"POSITION: absolute; WIDTH: 0px; HEIGHT: 0px; TOP: =
-10000px"=20
id=3DFB_HiddenContainer></DIV>
<DIV id=3Dcontent class=3D"fb_content clearfix">
<DIV><!-- 2365fa3194ecdc0cab15721ce967a9f8663937c7 -->
<DIV class=3DWelcomePage_Container>
<DIV id=3Dmenubar_container>
<DIV id=3Dfb_menubar class=3D"fb_menubar_logged_out clearfix"=20
onmouseover=3D'if (window.delay_add_class) {DOM.scry(this, =
"li.fb_menu").map(function(e) {delay_add_class(e, "hovered", =
250)});this.onmouseover =3D null;}'>
<UL id=3Dfb_menubar_core class=3Dfb_menu_list>
  <LI id=3Dfb_menubar_logo class=3Dfb_menu><A class=3Dfb_logo_link=20
  title=3D"Go to Facebook Home" href=3D"http://www.facebook.com/"><IMG=20
  class=3Dfb_logo_img alt=3D"Facebook logo"=20
  =
src=3D"http://static.ak.fbcdn.net/rsrc.php/z12E0/hash/8q2anwu7.gif"></A><=
/LI></UL>
<UL id=3Dfb_menubar_aux class=3Dfb_menu_list>
  <DIV class=3Dmenu_login_container>
  <FORM id=3Dlogin_form=20
  onsubmit=3D"var d =3D document.documentElement;return d.onsubmit =
&amp;&amp; d.onsubmit(event);"=20
  method=3Dpost =
action=3Dhttps://login.facebook.com/login.php?login_attempt=3D1><INPUT=20
  value=3D=E2=82=AC,=C2=B4,=E2=82=AC,=C2=B4,=E6=B0=B4,=D0=94,=D0=84 =
type=3Dhidden name=3Dcharset_test><INPUT id=3Dlocale value=3Den_US=20
  type=3Dhidden name=3Dlocale><INPUT id=3Dnon_com_login type=3Dhidden=20
name=3Dnon_com_login>
  <TABLE cellSpacing=3D0 cellPadding=3D0>
    <TBODY>
    <TR>
      <TD class=3D"login_form_label_field =
login_form_label_remember"><INPUT=20
        id=3Dpersistent class=3D"inputcheckbox " value=3D1 =
type=3Dcheckbox=20
        name=3Dpersistent><LABEL id=3Dlabel_persistent =
for=3Dpersistent>Remember=20
        Me</LABEL></TD>
      <TD class=3Dlogin_form_label_field><A=20
        href=3D"http://www.facebook.com/reset.php" rel=3Dnofollow>Forgot =
your=20
        password?</A></TD>
      <TD class=3D"login_form_last_field =
login_form_label_field"></TD></TR>
    <TR>
      <TD><INPUT id=3Demail class=3Dinputtext name=3Demail></TD>
      <TD><INPUT id=3Dpass class=3Dinputpassword type=3Dpassword =
name=3Dpass><INPUT=20
        id=3Dpass_placeholder class=3D"inputtext hidden_elem"=20
      name=3Dpass_placeholder></TD>
      <TD class=3Dlogin_form_last_field>
        <DIV class=3Dinner><SPAN class=3D"UIButton UIButton_Blue =
UIFormButton"><INPUT class=3DUIButton_Text value=3DLogin =
type=3Dsubmit></SPAN></DIV></TD></TR></TBODY></TABLE><INPUT=20
  value=3D=E2=82=AC,=C2=B4,=E2=82=AC,=C2=B4,=E6=B0=B4,=D0=94,=D0=84 =
type=3Dhidden name=3Dcharset_test><INPUT id=3Dlsd value=3DLedO1=20
  type=3Dhidden name=3Dlsd></FORM></DIV></UL></DIV></DIV>
<DIV class=3DWelcomePage_MainSellContainer>
<DIV class=3DWelcomePage_MainSell>
<DIV class=3D"WelcomePage_MainSellCenter clearfix">
<DIV class=3DWelcomePage_MainSellLeft>
<DIV class=3DWelcomePage_MainMessage>Facebook helps you connect and =
share with the=20
people in your life.</DIV>
<DIV class=3DWelcomePage_MainMap></DIV></DIV>
<DIV class=3DWelcomePage_MainSellRight>
<DIV class=3DWelcomePage_SignUpSection>
<DIV class=3DWelcomePage_SignUpMessage>
<DIV class=3DWelcomePage_SignUpHeadline>Sign Up</DIV>
<DIV class=3DWelcomePage_SignUpSubheadline>It's free and anyone can=20
join</DIV></DIV>
<DIV id=3Dregistration_container class=3DWelcomePage_SimpleReg>
<DIV id=3Dsimple_registration_container =
class=3Dsimple_registration_container>
<DIV id=3Dreg_box>
<FORM id=3Dreg onsubmit=3D"return false;" method=3Dpost name=3Dreg=20
action=3Dhttps://register.facebook.com/r.php><INPUT =
value=3D=E2=82=AC,=C2=B4,=E2=82=AC,=C2=B4,=E6=B0=B4,=D0=94,=D0=84=20
type=3Dhidden name=3Dcharset_test><INPUT id=3Dlocale value=3Den_US =
type=3Dhidden=20
name=3Dlocale><INPUT id=3Dterms value=3Don type=3Dhidden =
name=3Dterms><INPUT=20
id=3Dreg_instance=20
value=3D1256145026-d68989487c0f7eba5d11e43fa1acb339e49345b1b34da10efad2e =

type=3Dhidden name=3Dreg_instance><NOSCRIPT>
<DIV id=3Dno_js_box>
<H2>Javascript is disabled on your browser.</H2>
<P>Please enable JavaScript on your browser or upgrade to a =
Javascript-capable=20
browser to register for Facebook.</P></DIV></NOSCRIPT>
<DIV id=3Dreg_form_box>
<TABLE class=3Deditor border=3D0 cellSpacing=3D0>
  <TBODY>
  <TR>
    <TD class=3Dlabel>First Name:</TD>
    <TD>
      <DIV class=3Dfield_container><INPUT id=3Dfirstname =
class=3Dinputtext=20
      name=3Dfirstname></DIV></TD></TR>
  <TR>
    <TD class=3Dlabel>Last Name:</TD>
    <TD>
      <DIV class=3Dfield_container><INPUT id=3Dlastname =
class=3Dinputtext=20
      name=3Dlastname></DIV></TD></TR>
  <TR>
    <TD class=3Dlabel>Your Email:</TD>
    <TD>
      <DIV class=3Dfield_container><INPUT id=3Dreg_email__ =
class=3Dinputtext=20
      name=3Dreg_email__></DIV></TD></TR>
  <TR>
    <TD class=3Dlabel>New Password:</TD>
    <TD>
      <DIV class=3Dfield_container><INPUT id=3Dreg_passwd__ =
class=3Dinputpassword=20
      type=3Dpassword name=3Dreg_passwd__></DIV></TD></TR>
  <TR id=3Dextra_selects_hack>
    <TD><SELECT><OPTION=20
        selected></OPTION><OPTION></OPTION></SELECT><SELECT><OPTION=20
        selected></OPTION><OPTION></OPTION></SELECT></TD></TR>
  <TR>
    <TD class=3Dlabel>I am:</TD>
    <TD>
      <DIV class=3Dfield_container><SELECT id=3Dsex class=3Dselect =
name=3Dsex><OPTION=20
        selected value=3D0>Select Sex:</OPTION><OPTION=20
        value=3D1>Female</OPTION><OPTION =
value=3D2>Male</OPTION></SELECT></DIV></TD></TR>
  <TR>
    <TD class=3Dlabel>Birthday:</TD>
    <TD>
      <DIV class=3Dfield_container><SELECT id=3Dbirthday_month=20
      onchange=3D"editor_date_month_change(this, =
'birthday_day','birthday_year');"=20
      name=3Dbirthday_month autocomplete=3D"off"><OPTION selected=20
        value=3D-1>Month:</OPTION><OPTION value=3D1>Jan</OPTION> <OPTION =

        value=3D2>Feb</OPTION> <OPTION value=3D3>Mar</OPTION> <OPTION=20
        value=3D4>Apr</OPTION> <OPTION value=3D5>May</OPTION> <OPTION=20
        value=3D6>Jun</OPTION> <OPTION value=3D7>Jul</OPTION> <OPTION=20
        value=3D8>Aug</OPTION> <OPTION value=3D9>Sep</OPTION> <OPTION=20
        value=3D10>Oct</OPTION> <OPTION value=3D11>Nov</OPTION> <OPTION=20
        value=3D12>Dec</OPTION></SELECT> <SELECT id=3Dbirthday_day =
onchange=3D""=20
      name=3Dbirthday_day autocomplete=3D"off"><OPTION selected=20
        value=3D-1>Day:</OPTION><OPTION value=3D1>1</OPTION> <OPTION=20
        value=3D2>2</OPTION> <OPTION value=3D3>3</OPTION> <OPTION =
value=3D4>4</OPTION>=20
        <OPTION value=3D5>5</OPTION> <OPTION value=3D6>6</OPTION> =
<OPTION=20
        value=3D7>7</OPTION> <OPTION value=3D8>8</OPTION> <OPTION =
value=3D9>9</OPTION>=20
        <OPTION value=3D10>10</OPTION> <OPTION value=3D11>11</OPTION> =
<OPTION=20
        value=3D12>12</OPTION> <OPTION value=3D13>13</OPTION> <OPTION=20
        value=3D14>14</OPTION> <OPTION value=3D15>15</OPTION> <OPTION=20
        value=3D16>16</OPTION> <OPTION value=3D17>17</OPTION> <OPTION=20
        value=3D18>18</OPTION> <OPTION value=3D19>19</OPTION> <OPTION=20
        value=3D20>20</OPTION> <OPTION value=3D21>21</OPTION> <OPTION=20
        value=3D22>22</OPTION> <OPTION value=3D23>23</OPTION> <OPTION=20
        value=3D24>24</OPTION> <OPTION value=3D25>25</OPTION> <OPTION=20
        value=3D26>26</OPTION> <OPTION value=3D27>27</OPTION> <OPTION=20
        value=3D28>28</OPTION> <OPTION value=3D29>29</OPTION> <OPTION=20
        value=3D30>30</OPTION> <OPTION value=3D31>31</OPTION></SELECT> =
<SELECT=20
      id=3Dbirthday_year=20
      =
onchange=3D'editor_date_month_change("birthday_month","birthday_day",this=
);'=20
      name=3Dbirthday_year autocomplete=3D"off"><OPTION selected=20
        value=3D-1>Year:</OPTION><OPTION value=3D2009>2009</OPTION> =
<OPTION=20
        value=3D2008>2008</OPTION> <OPTION value=3D2007>2007</OPTION> =
<OPTION=20
        value=3D2006>2006</OPTION> <OPTION value=3D2005>2005</OPTION> =
<OPTION=20
        value=3D2004>2004</OPTION> <OPTION value=3D2003>2003</OPTION> =
<OPTION=20
        value=3D2002>2002</OPTION> <OPTION value=3D2001>2001</OPTION> =
<OPTION=20
        value=3D2000>2000</OPTION> <OPTION value=3D1999>1999</OPTION> =
<OPTION=20
        value=3D1998>1998</OPTION> <OPTION value=3D1997>1997</OPTION> =
<OPTION=20
        value=3D1996>1996</OPTION> <OPTION value=3D1995>1995</OPTION> =
<OPTION=20
        value=3D1994>1994</OPTION> <OPTION value=3D1993>1993</OPTION> =
<OPTION=20
        value=3D1992>1992</OPTION> <OPTION value=3D1991>1991</OPTION> =
<OPTION=20
        value=3D1990>1990</OPTION> <OPTION value=3D1989>1989</OPTION> =
<OPTION=20
        value=3D1988>1988</OPTION> <OPTION value=3D1987>1987</OPTION> =
<OPTION=20
        value=3D1986>1986</OPTION> <OPTION value=3D1985>1985</OPTION> =
<OPTION=20
        value=3D1984>1984</OPTION> <OPTION value=3D1983>1983</OPTION> =
<OPTION=20
        value=3D1982>1982</OPTION> <OPTION value=3D1981>1981</OPTION> =
<OPTION=20
        value=3D1980>1980</OPTION> <OPTION value=3D1979>1979</OPTION> =
<OPTION=20
        value=3D1978>1978</OPTION> <OPTION value=3D1977>1977</OPTION> =
<OPTION=20
        value=3D1976>1976</OPTION> <OPTION value=3D1975>1975</OPTION> =
<OPTION=20
        value=3D1974>1974</OPTION> <OPTION value=3D1973>1973</OPTION> =
<OPTION=20
        value=3D1972>1972</OPTION> <OPTION value=3D1971>1971</OPTION> =
<OPTION=20
        value=3D1970>1970</OPTION> <OPTION value=3D1969>1969</OPTION> =
<OPTION=20
        value=3D1968>1968</OPTION> <OPTION value=3D1967>1967</OPTION> =
<OPTION=20
        value=3D1966>1966</OPTION> <OPTION value=3D1965>1965</OPTION> =
<OPTION=20
        value=3D1964>1964</OPTION> <OPTION value=3D1963>1963</OPTION> =
<OPTION=20
        value=3D1962>1962</OPTION> <OPTION value=3D1961>1961</OPTION> =
<OPTION=20
        value=3D1960>1960</OPTION> <OPTION value=3D1959>1959</OPTION> =
<OPTION=20
        value=3D1958>1958</OPTION> <OPTION value=3D1957>1957</OPTION> =
<OPTION=20
        value=3D1956>1956</OPTION> <OPTION value=3D1955>1955</OPTION> =
<OPTION=20
        value=3D1954>1954</OPTION> <OPTION value=3D1953>1953</OPTION> =
<OPTION=20
        value=3D1952>1952</OPTION> <OPTION value=3D1951>1951</OPTION> =
<OPTION=20
        value=3D1950>1950</OPTION> <OPTION value=3D1949>1949</OPTION> =
<OPTION=20
        value=3D1948>1948</OPTION> <OPTION value=3D1947>1947</OPTION> =
<OPTION=20
        value=3D1946>1946</OPTION> <OPTION value=3D1945>1945</OPTION> =
<OPTION=20
        value=3D1944>1944</OPTION> <OPTION value=3D1943>1943</OPTION> =
<OPTION=20
        value=3D1942>1942</OPTION> <OPTION value=3D1941>1941</OPTION> =
<OPTION=20
        value=3D1940>1940</OPTION> <OPTION value=3D1939>1939</OPTION> =
<OPTION=20
        value=3D1938>1938</OPTION> <OPTION value=3D1937>1937</OPTION> =
<OPTION=20
        value=3D1936>1936</OPTION> <OPTION value=3D1935>1935</OPTION> =
<OPTION=20
        value=3D1934>1934</OPTION> <OPTION value=3D1933>1933</OPTION> =
<OPTION=20
        value=3D1932>1932</OPTION> <OPTION value=3D1931>1931</OPTION> =
<OPTION=20
        value=3D1930>1930</OPTION> <OPTION value=3D1929>1929</OPTION> =
<OPTION=20
        value=3D1928>1928</OPTION> <OPTION value=3D1927>1927</OPTION> =
<OPTION=20
        value=3D1926>1926</OPTION> <OPTION value=3D1925>1925</OPTION> =
<OPTION=20
        value=3D1924>1924</OPTION> <OPTION value=3D1923>1923</OPTION> =
<OPTION=20
        value=3D1922>1922</OPTION> <OPTION value=3D1921>1921</OPTION> =
<OPTION=20
        value=3D1920>1920</OPTION> <OPTION value=3D1919>1919</OPTION> =
<OPTION=20
        value=3D1918>1918</OPTION> <OPTION value=3D1917>1917</OPTION> =
<OPTION=20
        value=3D1916>1916</OPTION> <OPTION value=3D1915>1915</OPTION> =
<OPTION=20
        value=3D1914>1914</OPTION> <OPTION value=3D1913>1913</OPTION> =
<OPTION=20
        value=3D1912>1912</OPTION> <OPTION value=3D1911>1911</OPTION> =
<OPTION=20
        value=3D1910>1910</OPTION> <OPTION value=3D1909>1909</OPTION> =
<OPTION=20
        value=3D1908>1908</OPTION> <OPTION value=3D1907>1907</OPTION> =
<OPTION=20
        value=3D1906>1906</OPTION> <OPTION value=3D1905>1905</OPTION> =
<OPTION=20
        value=3D1904>1904</OPTION> <OPTION value=3D1903>1903</OPTION> =
<OPTION=20
        value=3D1902>1902</OPTION> <OPTION value=3D1901>1901</OPTION> =
<OPTION=20
        value=3D1900>1900</OPTION></SELECT></DIV></TD></TR>
  <TR>
    <TD class=3Dlabel></TD>
    <TD>
      <DIV id=3Dbirthday_warning><A title=3D"Click for more information" =

      onclick=3D"RegUtil.getInstance().show_birthday_help(); return =
false;">Why do=20
      I need to provide this?</A></DIV></TD></TR></TBODY></TABLE><INPUT =
id=3Dreferrer=20
value=3D116 type=3Dhidden name=3Dreferrer><INPUT id=3Dchallenge=20
value=3Dd3bfb03124db2637a1b4fd68450883ba type=3Dhidden =
name=3Dchallenge><INPUT=20
id=3Dmd5pass type=3Dhidden name=3Dmd5pass>
<DIV class=3D"reg_btn clearfix"><SPAN=20
class=3D"UIButton UIButton_Green UIFormButton"><INPUT =
class=3DUIButton_Text =
onclick=3D"RegUtil.getInstance().ajax_validate_data({ignore: =
['captcha']}, 'registration_container', '1' ); return false;" =
value=3D"Sign Up" type=3Dsubmit></SPAN>
<DIV style=3D"DISPLAY: none" id=3Dasync_status class=3Dasync_status><IMG =
alt=3D""=20
src=3D"http://static.ak.fbcdn.net/rsrc.php/zBS5C/hash/7hwy7at6.gif"></DIV=
></DIV></DIV>
<DIV style=3D"DISPLAY: none" id=3Dreg_captcha>
<H2>Security Check</H2>
<DIV id=3Douter_captcha_box>
<DIV id=3Dcaptcha_box>
<DIV style=3D"DISPLAY: none" id=3Dcaptcha_response_error =
class=3Dfield_error>This=20
field is required.</DIV>
<DIV id=3Dcaptcha class=3Dcaptcha><INPUT id=3Dcaptcha_persist_data=20
value=3DAAAAAQAQX_weoo64wSlKXDlDga2BgwAAAGvqENqFy5KkvMip5AIv3QSF7BS7goiHf=
AC7fTkzr8hW64U1mRcczzIxYofaqnbM7SPUJyfLKnj8y77M_KP-72Y05FynWBvZ42ogda5ozG=
GWwGtAbo5USXWuVjzv_KD1SMyTWhf34AGorQd27dFqZc0a=20
type=3Dhidden name=3Dcaptcha_persist_data>
<DIV class=3Dcaptcha_challenge>
<DIV style=3D"DISPLAY: none" id=3Drecaptcha_scripts></DIV><INPUT =
id=3Dcaptcha_session=20
value=3DYB8xbhUuDW5KuGUqrLh8wQ type=3Dhidden =
name=3Dcaptcha_session><INPUT=20
id=3Dextra_challenge_params=20
value=3Dauthp=3Dnonce.tt.time.new_audio_default&amp;psig=3DhjLAfg_PFApqh0=
sHUTnh9o7vNQ8&amp;nonce=3DYB8xbhUuDW5KuGUqrLh8wQ&amp;tt=3DlFQKD1cJCX3TaS_=
0l0oGXirbTnY&amp;time=3D1256145026&amp;new_audio_default=3D1=20
type=3Dhidden name=3Dextra_challenge_params>
<DIV class=3Drecaptcha_text>Enter <STRONG>both words</STRONG> below,=20
<STRONG>separated by a space</STRONG>.<BR>
<DIV class=3Drecaptcha_only_if_image>Can't read the words below? <A=20
id=3Drecaptcha_reload_btn tabIndex=3D-1 onclick=3D"Recaptcha.reload(); =
return false"=20
href=3D"http://www.facebook.com/#">Try different words</A> or <A =
tabIndex=3D-1=20
onclick=3D'Recaptcha.switch_type("audio"); return false;'=20
href=3D"http://www.facebook.com/#">an audio captcha</A>.</DIV>
<DIV class=3Drecaptcha_only_if_audio><A id=3Drecaptcha_reload_btn =
tabIndex=3D-1=20
onclick=3D"Recaptcha.reload(); return false" =
href=3D"http://www.facebook.com/#">Try=20
different words</A> or <A class=3Drecaptcha_only_if_audio tabIndex=3D-1=20
onclick=3D'Recaptcha.switch_type("image"); return false;'=20
href=3D"http://www.facebook.com/#">back to text</A>.</DIV></DIV><SPAN=20
id=3Drecaptcha_play_audio></SPAN>
<DIV class=3Daudiocaptcha></DIV>
<DIV id=3Drecaptcha_image></DIV>
<DIV id=3Drecaptcha_loading =
class=3Dfbloading><SPAN>Loading...</SPAN></DIV></DIV>
<DIV class=3Dcaptcha_refresh></DIV>
<DIV class=3Dcaptcha_input><LABEL>Text in the box:</LABEL>
<DIV class=3Dfield_container><INPUT id=3Dcaptcha_response =
name=3Dcaptcha_response=20
autocomplete=3D"off"></DIV>
<DIV style=3D"DISPLAY: inline; MARGIN-LEFT: 15px"><A =
id=3Dcaptcha_whatsthis=20
onclick=3D"captcha_whatsthis(this); return false"=20
href=3D"http://www.facebook.com/#">What's =
This?</A></DIV></DIV></DIV></DIV></DIV>
<DIV style=3D"DISPLAY: none" id=3Dcaptcha_buttons class=3Dclearfix>
<DIV id=3Dback_button class=3DgridCol>
<DIV class=3Dcancel_button_image></DIV><A id=3Dcancel_button=20
onclick=3D"RegUtil.getInstance().hide_captcha(); =
RegUtil.getInstance().show_reg_form(); return false;"=20
href=3D"http://www.facebook.com/#">Back</A></DIV>
<DIV id=3DA_btn_sign_up class=3DgridCol>
<DIV><SPAN class=3D"UIButton UIButton_Green UIFormButton"><INPUT =
class=3DUIButton_Text =
onclick=3D"RegUtil.getInstance().ajax_validate_data('', =
'registration_container', '1');return false;" value=3D"Sign Up" =
type=3Dsubmit></SPAN>
<DIV style=3D"DISPLAY: none" id=3Dcaptcha_async_status =
class=3Dasync_status><IMG=20
alt=3D""=20
src=3D"http://static.ak.fbcdn.net/rsrc.php/zBS5C/hash/7hwy7at6.gif"></DIV=
></DIV></DIV></DIV></DIV></FORM>
<DIV style=3D"DISPLAY: none" id=3Dreg_progress>
<DIV id=3Dprogress_wrap><IMG alt=3D""=20
src=3D"http://static.ak.fbcdn.net/rsrc.php/zBS5C/hash/7hwy7at6.gif">
<DIV id=3Dprogress_msg>Registering=E2=80=A6</DIV></DIV></DIV>
<DIV style=3D"DISPLAY: none" id=3Dreg_error>
<DIV id=3Dreg_error_inner>An error occurred. Please try =
again.</DIV></DIV>
<DIV id=3Dtos_container class=3D"tos_container hidden_elem">
<P class=3Dlegal_tos>By clicking Sign Up, you are indicating that you =
have read=20
and agree to the <A href=3D"http://www.facebook.com/terms.php" =
rel=3Dnofollow=20
target=3D_blank>Terms of Use</A> and <A =
href=3D"http://www.facebook.com/policy.php"=20
rel=3Dnofollow target=3D_blank>Privacy Policy</A>.</P></DIV>
<DIV id=3Dreg_pages_msg><A =
href=3D"http://www.facebook.com/pages/create.php">Create=20
a Page</A> for a celebrity, band or business.</DIV></DIV>
<FORM id=3Dconfirmation_email_form method=3Dpost=20
action=3Dhttps://register.facebook.com/r.php><INPUT id=3Dlocale =
value=3Den_US=20
type=3Dhidden name=3Dlocale><INPUT id=3Dconfirmation_email type=3Dhidden =

name=3Dce></FORM></DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV>
<DIV class=3Dwelcome_useragent>
<DIV class=3Dlanguage>
<UL>
  <LI><A title=3D"English (US)"=20
  onclick=3D'intl_set_cookie_locale("en_US", =
"http:\/\/www.facebook.com\/", "TOP_LOCALES"); return false;'=20
  href=3D"http://www.facebook.com/">English (US)</A></LI>
  <LI><A title=3DSpanish=20
  onclick=3D'intl_set_cookie_locale("es_LA", =
"http:\/\/es-la.facebook.com\/", "TOP_LOCALES"); return false;'=20
  href=3D"http://es-la.facebook.com/">Espa=C3=B1ol</A></LI>
  <LI><A title=3D"Portuguese (Brazil)"=20
  onclick=3D'intl_set_cookie_locale("pt_BR", =
"http:\/\/pt-br.facebook.com\/", "TOP_LOCALES"); return false;'=20
  href=3D"http://pt-br.facebook.com/">Portugu=C3=AAs (Brasil)</A></LI>
  <LI><A title=3D"French (France)"=20
  onclick=3D'intl_set_cookie_locale("fr_FR", =
"http:\/\/fr-fr.facebook.com\/", "TOP_LOCALES"); return false;'=20
  href=3D"http://fr-fr.facebook.com/">Fran=C3=A7ais (France)</A></LI>
  <LI><A title=3DGerman=20
  onclick=3D'intl_set_cookie_locale("de_DE", =
"http:\/\/de-de.facebook.com\/", "TOP_LOCALES"); return false;'=20
  href=3D"http://de-de.facebook.com/">Deutsch</A></LI>
  <LI><A title=3DItalian=20
  onclick=3D'intl_set_cookie_locale("it_IT", =
"http:\/\/it-it.facebook.com\/", "TOP_LOCALES"); return false;'=20
  href=3D"http://it-it.facebook.com/">Italiano</A></LI>
  <LI><A title=3DArabic=20
  onclick=3D'intl_set_cookie_locale("ar_AR", =
"http:\/\/ar-ar.facebook.com\/", "TOP_LOCALES"); return false;'=20
  =
href=3D"http://ar-ar.facebook.com/">=D8=A7=D9=84=D8=B9=D8=B1=D8=A8=D9=8A=D8=
=A9</A></LI>
  <LI><A title=3DHindi=20
  onclick=3D'intl_set_cookie_locale("hi_IN", =
"http:\/\/hi-in.facebook.com\/", "TOP_LOCALES"); return false;'=20
  =
href=3D"http://hi-in.facebook.com/">=E0=A4=B9=E0=A4=BF=E0=A4=A8=E0=A5=8D=E0=
=A4=A6=E0=A5=80</A></LI>
  <LI><A title=3D"Chinese (Simplified)"=20
  onclick=3D'intl_set_cookie_locale("zh_CN", =
"http:\/\/zh-cn.facebook.com\/", "TOP_LOCALES"); return false;'=20
  =
href=3D"http://zh-cn.facebook.com/">=E4=B8=AD=E6=96=87(=E7=AE=80=E4=BD=93=
)</A></LI>
  <LI><A title=3DJapanese=20
  onclick=3D'intl_set_cookie_locale("ja_JP", =
"http:\/\/www.facebook.jp\/", "TOP_LOCALES"); return false;'=20
  href=3D"http://www.facebook.jp/">=E6=97=A5=E6=9C=AC=E8=AA=9E</A></LI>
  <LI><A class=3Dchevron title=3D"Show more languages"=20
  =
href=3D"http://www.facebook.com/ajax/intl/language_dialog.php?uri=3Dhttp%=
3A%2F%2Fwww.facebook.com%2F&amp;source=3DTOP_LOCALES_DIALOG"=20
  rel=3Ddialog>=C2=BB</A></LI></UL></DIV></DIV></DIV></DIV>
<DIV id=3Dpagefooter class=3Dclearfix>
<DIV class=3D"copyright_and_location clearfix">
<DIV id=3Dpagefooter_copyright class=3Dcopyright><SPAN =
title=3DHPHP>Facebook=20
</SPAN><SPAN id=3Drtime title=3D52>=C2=A9</SPAN> <SPAN =
title=3D10.27.135.129>20</SPAN><SPAN=20
title=3D4524605440>09</SPAN></DIV>
<DIV id=3Dlocale_selector_dialog_onclick><A =
class=3Dintl_selector_dialog_a=20
title=3D"English (US)"=20
href=3D"http://www.facebook.com/ajax/intl/language_dialog.php?uri=3Dhttp%=
3A%2F%2Fwww.facebook.com%2F"=20
rel=3Ddialog>English (US)</A></DIV></DIV>
<DIV id=3Dpagefooter_links>
<UL id=3Dpagefooter_left_links class=3Dpagefooter_ul>
  <LI class=3Dpagefooter_li><A accessKey=3D7=20
  href=3D"http://www.facebook.com/facebook?ref=3Dpf" =
rel=3Dnofollow>About</A>
  <LI class=3Dpagefooter_li><A=20
  href=3D"http://www.facebook.com/advertising/?src=3Dpf">Advertising</A>
  <LI class=3Dpagefooter_li><A=20
  href=3D"http://developers.facebook.com/?ref=3Dpf">Developers</A>
  <LI class=3Dpagefooter_li><A=20
  href=3D"http://www.facebook.com/careers/?ref=3Dpf">Careers</A>
  <LI class=3Dpagefooter_li><A accessKey=3D8=20
  href=3D"http://www.facebook.com/terms.php?ref=3Dpf" =
rel=3Dnofollow>Terms</A>
  <LI class=3Dpagefooter_li><A =
href=3D"http://blog.facebook.com/blog.php">Blog</A>
  <LI class=3Dpagefooter_li><A=20
  =
href=3D"http://www.facebook.com/facebook-widgets/?ref=3Dpf">Widgets</A>
  <LI class=3Dpagefooter_li><SPAN><SPAN =
class=3Dbullet>=E2=96=A0</SPAN></SPAN></LI></UL>
<UL id=3Dpagefooter_right_links class=3Dpagefooter_ul>
  <LI class=3Dpagefooter_li><A=20
  href=3D"http://www.facebook.com/find-friends/?ref=3Dpf">Find =
Friends</A>
  <LI class=3Dpagefooter_li><A accessKey=3D6=20
  href=3D"http://www.facebook.com/policy.php?ref=3Dpf" =
rel=3Dnofollow>Privacy</A>
  <LI class=3Dpagefooter_li><A accessKey=3D5=20
  href=3D"http://www.facebook.com/mobile/?ref=3Dpf">Mobile</A>
  <LI class=3Dpagefooter_li><A accessKey=3D0=20
  href=3D"http://www.facebook.com/help.php?ref=3Dpf"=20
rel=3Dnofollow>Help</A></LI></UL></DIV></DIV>
<DIV id=3Ddropmenu_container></DIV>
<DIV id=3Djs_buffer>
<SCRIPT type=3Dtext/javascript>=0A=
=0A=
onloadRegister(function(){Bootloader.configurePage({"http:\/\/static.ak.f=
bcdn.net\/rsrc.php\/z32OP\/hash\/71wtlsja.css":["css\/3vi11zh8tv28sgg0.pk=
g.css",false],"http:\/\/static.ak.fbcdn.net\/rsrc.php\/z4U75\/hash\/6gtrr=
a65.css":["css\/ayy72px8y00g0g8s.pkg.css",true],"http:\/\/static.ak.fbcdn=
.net\/rsrc.php\/zWWB6\/hash\/9lgnun37.css":["css\/3l4y4s0fzagwowkg.pkg.cs=
s",true]});});=0A=
Bootloader.done(["css\/3vi11zh8tv28sgg0.pkg.css","css\/ayy72px8y00g0g8s.p=
kg.css","css\/3l4y4s0fzagwowkg.pkg.css","js\/lib\/primer.js","js\/lib\/pr=
elude.js"]);=0A=
=0A=
=0A=
onloadRegister(function (){focus_login(0, true);;});=0A=
onloadRegister(function (){new RegKeyPressListen(1);;});=0A=
onloadRegister(function (){new CaptchaBoxKeyPressListen('1', =
'registration_container', '1');;});=0A=
onloadRegister(function (){regform_listen_focus("reg", "form_focus");;});=0A=
onloadRegister(function (){Recaptcha.focus_on_load =3D false;;});=0A=
onloadRegister(function (){RecaptchaDefaultOptions.lang =3D "en";;});=0A=
onloadRegister(function =
(){ffid=3D'cFMWrBGpOrukU+yxu4p2yQ=3D=3D';ffver=3D'58931';;});=0A=
onloadRegister(function (){window.loading_page_chrome =3D true;;});=0A=
onloadRegister(function (){window.loading_page_chrome =3D false;;});=0A=
onloadRegister(function (){var n =3D "rtime"; (window.ge && ge(n)) && =
(ge(n).title +=3D " | 54");;});=0A=
onafterloadRegister(function =
(){onbeforeunloadRegister(function(){window.ExitTime=3D((new =
Date()).getTime());});});=0A=
=0A=
=0A=
</SCRIPT>
</DIV></BODY></HTML>

------=_NextPart_000_0000_01CA5247.795C2CC0
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-Location: http://static.ak.fbcdn.net/rsrc.php/z12E0/hash/8q2anwu7.gif

R0lGODlhAQABAJH/AP///wAAAP///wAAACH/C0FET0JFOklSMS4wAt7tACH5BAEAAAIALAAAAAAB
AAEAAAICVAEAOw==

------=_NextPart_000_0000_01CA5247.795C2CC0
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-Location: http://static.ak.fbcdn.net/rsrc.php/zBS5C/hash/7hwy7at6.gif

R0lGODlhEAALALMMAOXp8a2503CHtOrt9L3G2+Dl7vL0+J6sy4yew1Jvp/T2+e/y9v///wAAAAAA
AAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFCwAMACwAAAAAEAALAAAEK5DJSau91KxlpObepinK
Ii2kyaAlq7pnCq9p3NZ0aW/47H4dBjAEwhiPlAgAIfkECQsADAAsAAAAAAQACwAABA9QpCQRmhbf
lPnu4HdJVAQAIfkECQsADAAsAAAAABAACwAABDKQySlSEnOGc4JMCJJk0kEQxxeOpImqIsm4KQPG
7VnfbEbDvcnPtpINebJNByiTVS6yCAAh+QQJCwAMACwAAAAAEAALAAAEPpDJSaVISVQWzglSgiAJ
UBSAdBDEEY5JMQyFyrqMSMq03b67WY2x+uVgvGERp4sJfUyYCQUFJjadj3WzuWQiACH5BAkLAAwA
LAAAAAAQAAsAAAQ9kMlJq73hnGDWMhJQFIB0EMSxKMoiFcNQmKjKugws0+navrEZ49S7AXfDmg+n
ExIPnU9oVEqmLpXMBouNAAAh+QQFCwAMACwAAAAAEAALAAAEM5DJSau91KxlpOYSUBTAoiiLZKJS
MQzFmjJy+8bnXDMuvO89HIuWs8E+HQYyNAJgntBKBAAh+QQFFAAMACwMAAIABAAHAAAEDNCsJZWa
Ft+V+ZVUBAA7

------=_NextPart_000_0000_01CA5247.795C2CC0
Content-Type: application/x-js
Content-Transfer-Encoding: quoted-printable
Content-Location: http://static.ak.fbcdn.net/rsrc.php/z8H8L/hash/51f39esz.js

/*    HTTP Host:  static.ak.fbcdn.net                                    =
      */=0A=
/*    Generated:  October 20th 2009 9:32:29 AM PDT                       =
      */=0A=
/*      Machine:  10.16.139.105                                          =
      */=0A=
/*       Source:  Backing Store                                          =
      */=0A=
/*     Location:  js/b55of4w1ifc4g8kw.pkg.js h:51f39esz                  =
      */=0A=
/*       Locale:  nu_ll                                                  =
      */=0A=
/*         Path:  js/b55of4w1ifc4g8kw.pkg.js                             =
      */=0A=
=0A=
=0A=
if(navigator&&navigator.userAgent&&document.domain.toLowerCase().match(/(=
^|\.)facebook\..*/)&&!(parseInt((/Gecko\/([0-9]+)/.exec(navigator.userAge=
nt)||[]).pop(),10)<=3D20060508)){document.domain=3Dwindow.location.hostna=
me.replace(/^.*(facebook\..*)$/i,'$1');}=0A=
var =
onloadRegister=3Dwindow.onloadRegister||function(h){onloadhooks.push(h);}=
;var onloadhooks=3Dwindow.onloadhooks||[];var =
onafterloadRegister=3Dwindow.onafterloadRegister||function(h){onafterload=
hooks.push(h);};var =
onafterloadhooks=3Dwindow.onafterloadhooks||[];function =
run_if_loaded(element,f){if(window.loaded){return =
f.call(element);}};function =
run_with(element,deps,f){Bootloader.loadComponents(deps,bind(element,f));=
return false;}=0A=
function =
wait_for_load(element,e,f){f=3Dbind(element,f,e);if(window.loaded){return=
 f();}=0A=
switch((e||event).type){case'load':case'focus':onloadRegister(f);return;c=
ase'click':var =
es=3Delement.style,ds=3Ddocument.body.style;es.cursor=3Dds.cursor=3D'prog=
ress';onafterloadRegister(function(){es.cursor=3Dds.cursor=3D'';if(elemen=
t.tagName.toLowerCase()=3D=3D'a'){if(false!=3D=3Df()&&element.href){windo=
w.location.href=3Delement.href;}}else =
if(element.click){element.click();}});break;}=0A=
return false;};function bind(obj,method){var args=3D[];for(var =
ii=3D2;ii<arguments.length;ii++){args.push(arguments[ii]);}=0A=
var fn=3Dfunction(){var _obj=3Dobj||(this=3D=3Dwindow?false:this);var =
_args=3Dargs.slice();for(var =
jj=3D0;jj<arguments.length;jj++){_args.push(arguments[jj]);}=0A=
if(typeof(method)=3D=3D"string"){if(_obj[method]){return =
_obj[method].apply(_obj,_args);}}else{return =
method.apply(_obj,_args);}};if(typeof =
method=3D=3D'string'){fn.name=3Dmethod;}else =
if(method&&method.name){fn.name=3Dmethod.name;}=0A=
fn.toString=3Dfunction(){return bind._toString(obj,args,method);};return =
fn;};var =
curry=3Dbind(null,bind,null);bind._toString=3Dbind._toString||function(ob=
j,args,method){return(typeof method=3D=3D'string')?('late =
bind<'+method+'>'):('bound<'+method.toString()+'>');};window.loadFirebugC=
onsole&&loadFirebugConsole();=0A=
=0A=
function eval_global(js){if('string'!=3Dtypeof(js)){throw new Error('JS =
sent to eval_global is not a string.  Only strings '+'are =
permitted.');}else if(''=3D=3Djs){return;}=0A=
var =
obj=3Ddocument.createElement('script');obj.type=3D'text/javascript';try{o=
bj.appendChild(document.createTextNode(js));}catch(e){obj.text=3Djs;}=0A=
var =
head=3D(document.getElementsByTagName("head")[0]||document.documentElemen=
t);head.appendChild(obj);head.removeChild(obj);}=0A=
=0A=
function hasArrayNature(obj){if(!obj){return false;}=0A=
if(typeof obj!=3D'object'){return false;}=0A=
if(obj instanceof Array){return true;}=0A=
if(!('length'in obj)){return false;}=0A=
if('callee'in obj){return true;}=0A=
if('push'in obj&&'pop'in obj){return true;}=0A=
return false;}=0A=
function copy_properties(u,v){if(!u||!v){throw new TypeError("Can not =
copy between types "+typeof(u)+" and "+typeof(v)+".");}=0A=
for(var k in v){u[k]=3Dv[k];}=0A=
if(v.hasOwnProperty&&v.hasOwnProperty('toString')&&(typeof =
v.toString!=3D'undefined')&&(u.toString!=3D=3Dv.toString)){u.toString=3Dv=
.toString;}=0A=
return u;}=0A=
function arrayize(obj){if(!hasArrayNature(obj)){return[obj];}=0A=
return obj;}=0A=
function is_empty(obj){if(obj instanceof Array){return =
obj.length=3D=3D0;}else if(obj instanceof Object){for(var i in =
obj){return false;}=0A=
return true;}else{return!obj;}}=0A=
=0A=
function =
Arbiter(){copy_properties(this,{_listeners:[],_events:{}});copy_propertie=
s(this,Arbiter);}=0A=
copy_properties(Arbiter,{SUBSCRIBE_NEW:'new',SUBSCRIBE_ALL:'all',BEHAVIOR=
_EVENT:'event',BEHAVIOR_PERSISTENT:'persistent',BEHAVIOR_STATE:'state',LI=
VEMESSAGE:'livemessage',BOOTLOAD:'bootload',FUNCTION_EXTENSION:'function_=
ext',PAGE_TRANSITION:'pagetransitions/transition',CONTEXT_CHANGE:'ui/cont=
ext-change',PROFILE_PUBLISHER:'profile/publisher',REPLAYABLE_AJAX:'ajax/r=
eplayable',PAGECACHE_INVALIDATE:'pagecache/invalidate',NEW_NOTIFICATIONS:=
'chat/new_notifications',BEEPS_EXPIRED:'beeper/beeps_expired',USER_ACTIVI=
TY:'useractivity/activity',LIST_EDITOR_LISTS_CHANGED:'listeditor/friend_l=
ists_changed',BALANCE_SET:'credits/balance_set',ONLOAD_DOMCONTENT:'onload=
/dom_content_ready',subscribe:function(types,callback,subscription_policy=
){if(!types){return null;}=0A=
var =
a=3DArbiter._getInstance(this);a._listeners.push({callback:callback,types=
:types});subscription_policy=3Dsubscription_policy||Arbiter.SUBSCRIBE_ALL=
;if(subscription_policy=3D=3DArbiter.SUBSCRIBE_ALL){if(!(types =
instanceof Array)){types=3D[types];}=0A=
var data;var type;var ret;for(var =
idx=3D0;idx<types.length;idx++){type=3Dtypes[idx];if(typeof =
type!=3D"string"){throw new TypeError("Event types must be strings.");}=0A=
if(type in a._events){for(var =
ii=3D0;ii<a._events[type].length;ii++){data=3Da._events[type][ii];ret=3Dc=
allback.apply(null,[type,data]);if(ret=3D=3D=3Dfalse){a._events[type].spl=
ice(ii,1);ii--;}}}}}else =
if(subscription_policy!=3DArbiter.SUBSCRIBE_NEW){throw new =
TypeError("Bad subscription policy.");}=0A=
return{arbiterID:a._listeners.length-1};},unsubscribe:function(token){if(=
!('arbiterID'in token)){throw new TypeError("Not an arbiter token.");}=0A=
delete =
Arbiter._getInstance(this)._listeners[token.arbiterID];},inform:function(=
type,e,behavior){var a=3DArbiter._getInstance(this);var =
idx=3Dnull;behavior=3Dbehavior||Arbiter.BEHAVIOR_EVENT;if(behavior=3D=3DA=
rbiter.BEHAVIOR_PERSISTENT){idx=3Da._events.length;if(!(type in =
a._events)){a._events[type]=3D[];}=0A=
a._events[type].push(e);a._events[type]._stateful=3Dfalse;}else =
if(behavior=3D=3DArbiter.BEHAVIOR_STATE){idx=3D0;a._events[type]=3D[e];a.=
_events[type]._stateful=3Dtrue;}else if(type in =
a._events){a._events[type]._stateful=3Dfalse;}=0A=
var res;for(var =
ii=3D0;ii<a._listeners.length;ii++){if(a._listeners[ii]){if(Arbiter._chec=
kType(type,a._listeners[ii].types)){res=3Da._listeners[ii].callback.apply=
(null,[type,e]);if(res=3D=3D=3Dfalse){if(idx!=3D=3Dnull){a._events[type].=
splice(idx,1);}=0A=
break;}}}}=0A=
a._updateCallbacks(type,e);},query:function(type){var =
a=3DArbiter._getInstance(this);if(!(type in a._events)){return null;}=0A=
if(!a._events[type]._stateful){throw new Error("Querying state of an =
unstateful event.");}=0A=
if(a._events[type].length){return a._events[type][0];}=0A=
return null;},_instance:null,_getInstance:function(self){if(self =
instanceof Arbiter){return self;}=0A=
if(!Arbiter._instance){Arbiter._instance=3Dnew Arbiter();}=0A=
return =
Arbiter._instance;},_checkType:function(event_type,callback_type){if(even=
t_type=3D=3D=3Dcallback_type){return true;}=0A=
if(callback_type.length){for(var =
ii=3D0;ii<callback_type.length;ii++){if(callback_type[ii]=3D=3D=3Devent_t=
ype){return true;}}}=0A=
return =
false;},_callbacks:{},_last_id:1,_listen:{},registerCallback:function(cal=
lback,deps){var =
my_id,depnum=3D0,a=3DArbiter._getInstance(this),is_new=3Dfalse;if(typeof =
callback=3D=3D'function'){my_id=3Da._last_id;a._last_id++;is_new=3Dtrue;}=
else{if(!a._callbacks[callback]){return null;}=0A=
my_id=3Dcallback;}=0A=
if(deps instanceof Array){var tmp=3D{};for(var =
i=3D0;i<deps.length;i++){tmp[deps[i]]=3D1;}=0A=
deps=3Dtmp;}=0A=
for(var type in deps){try{if(a.query(type)){continue;}}catch(ex){}=0A=
depnum+=3Ddeps[type];if(a._listen[type]=3D=3D=3Dundefined){a._listen[type=
]=3D{};}=0A=
a._listen[type][my_id]=3D(a._listen[type][my_id]||0)+deps[type];}=0A=
if(depnum=3D=3D0&&is_new){callback();return null;}=0A=
if(!is_new){a._callbacks[my_id].depnum+=3Ddepnum;}else{a._callbacks[my_id=
]=3D{callback:callback,depnum:depnum};}=0A=
return =
my_id;},_updateCallbacks:function(type,data){if(data=3D=3D=3Dnull||!this.=
_listen[type]){return;}=0A=
for(var cid in =
this._listen[type]){this._listen[type][cid]--;if(this._listen[type][cid]<=
=3D0){delete this._listen[type][cid];}=0A=
this._callbacks[cid].depnum--;if(this._callbacks[cid].depnum<=3D0){var =
callback=3Dthis._callbacks[cid].callback;delete =
this._callbacks[cid];callback();}}}});=0A=
=0A=
var =
Bootloader=3Dwindow.Bootloader=3D(window.Bootloader&&window.Bootloader.re=
alBootloader)?window.Bootloader:(function(oldBootloader){return{realBootl=
oader:true,configurePage:function(reverse_map){var =
links=3Ddocument.getElementsByTagName('link');this._cssLinks=3D[];for(var=
 =
ii=3D0;ii<links.length;++ii){if(links[ii].rel!=3D'stylesheet'){continue;}=0A=
for(var k in reverse_map){if(links[ii].href.indexOf(k)!=3D=3D-1){var =
name=3Dreverse_map[k][0],permanent=3Dreverse_map[k][1];this._cssLinkMap[n=
ame]=3Dthis._cssLinks.length;if(permanent){this._permanent[name]=3Dtrue;}=0A=
delete reverse_map[k];break;}}=0A=
this._cssLinks.push(links[ii]);}},loadComponents:function(components,call=
back){components=3Darrayize(components);var =
required_resources=3D[];for(var =
ii=3D0;ii<components.length;++ii){if(!components[ii]){continue;}=0A=
var =
component_resource_list=3Dthis._componentMap[components[ii]];if(!!compone=
nt_resource_list){for(var =
jj=3D0;jj<component_resource_list.length;++jj){required_resources.push(co=
mponent_resource_list[jj]);}}else{}}=0A=
return =
this.loadResources(required_resources,callback);},preloadComponents:funct=
ion(){var comps=3D[];for(var i in this._componentMap){comps.push(i);}=0A=
this.loadComponents(comps);},loadResources:function(resources,callback,re=
place){resources=3Darrayize(resources);if(replace){var map=3D{};for(var =
ii=3D0;ii<resources.length;++ii){map[resources[ii].name]=3Dtrue;}=0A=
for(var k in this._requested){if(!(k in this._permanent)&&!(k in =
map)){this._unloadResource(k);}}}=0A=
var will_request=3D[];var pending=3D[];for(var =
ii=3D0;ii<resources.length;++ii){var =
rsrc=3Dresources[ii];if(rsrc.permanent){this._permanent[rsrc.name]=3Dtrue=
;}=0A=
var =
s=3DArbiter.BOOTLOAD+'/'+rsrc.name;if(Arbiter.query(s)!=3D=3Dnull){contin=
ue;}=0A=
pending.push(s);if(!this._requested[rsrc.name]){this.requested(rsrc.name)=
;will_request.push(rsrc);}}=0A=
if(callback){callback=3DArbiter.registerCallback(callback,pending);}=0A=
for(var =
ii=3D0;ii<will_request.length;++ii){this.requestResource(will_request[ii]=
.type,will_request[ii].src,will_request[ii].name);}=0A=
return callback;},_fetchWithIframe:function(resource){var =
iframe=3Dnull,doc=3Dnull;if(!this._iframe){iframe=3Dthis._iframe=3Ddocume=
nt.createElement('iframe');copy_properties(iframe.style,{width:'0',height=
:'0',frameborder:'0',left:'0',top:'0',position:'absolute'});iframe.src=3D=
"about:blank";iframe.id=3D'bootloader_iframe';this._getHardpoint().append=
Child(iframe);}=0A=
setTimeout(function(){var =
iframe=3Ddocument.getElementById('bootloader_iframe');var =
doc=3D(iframe.contentDocument?iframe.contentDocument:(iframe.contentWindo=
w?iframe.contentWindow.document:window.frames.bootloader_iframe.document)=
);var =
js=3Ddoc.createElement("script");if(resource.charAt(0)=3D=3D'/'){resource=
=3Dlocation.protocol+'//'+location.host+resource;}=0A=
js.src=3Dresource;js.type=3D'text/javascript';doc.getElementsByTagName('h=
ead')[0].appendChild(js);},0);},requestResource:function(type,source,name=
){var =
h=3Dthis._getHardpoint();switch(type){case'js':if(/\/rsrc.php\/(v[^\/]+\/=
)?(z[^\/]+\/)?p\//.test(source)){this._fetchWithIframe(source);}else{var =
script=3Ddocument.createElement('script');script.src=3Dsource;script.type=
=3D'text/javascript';h.appendChild(script);}=0A=
break;case'css':var link=3Dnull;for(var =
jj=3D0;jj<this._cssLinks.length;++jj){if(this._cssLinks[jj]._unused){link=
=3Dthis._cssLinks[jj];if(name){this._cssLinkMap[name]=3Djj;}=0A=
break;}}=0A=
if(!link){var =
link=3Ddocument.createElement('link');link.rel=3D"stylesheet";link.type=3D=
"text/css";link.media=3D"all";link.href=3Dsource;this._cssLinks.push(link=
);h.appendChild(link);}else{link.href=3Dsource;}=0A=
link._unused=3Dfalse;var =
id=3DBootloader._getDivIdForCSSComponent(name);var =
div=3Ddocument.getElementById(id);if(!div){div=3Ddocument.createElement('=
div');div.id=3Did;document.body.appendChild(div);setTimeout(bind(Bootload=
er,Bootloader._pollCSS,name,Bootloader._CSS_POLL_EXPIRATION),Bootloader._=
CSS_POLL_INTERVAL,false);}=0A=
break;default:throw new TypeError("Bad resource type =
`"+type+"'.");}},_getDivIdForCSSComponent:function(name){return'bootloade=
r_'+name.replace(/[^a-z0-9]/ig,'_');},_pollCSS:function(name,remaining){v=
ar id=3DBootloader._getDivIdForCSSComponent(name);var =
div=3Ddocument.getElementById(id);if(!div){return;}=0A=
var expected=3D'42';var computedStyle;var =
done=3Ddiv.offsetHeight=3D=3Dexpected||div.currentStyle&&div.currentStyle=
['height']=3D=3Dexpected+'px'||window.getComputedStyle&&(computedStyle=3D=
document.defaultView.getComputedStyle(div,null))&&computedStyle.getProper=
tyValue('height')=3D=3Dexpected+'px';if(done||remaining<=3D0){Bootloader.=
done([name],true);div.parentNode.removeChild(div);if(!done&&window.Util){=
Util.error('Bootloading css file/package %s times =
out.',name);}}else{setTimeout(bind(Bootloader,Bootloader._pollCSS,name,re=
maining-Bootloader._CSS_POLL_INTERVAL),Bootloader._CSS_POLL_INTERVAL,fals=
e);}},done:function(names,is_css){var =
preloaded=3D(oldBootloader&&oldBootloader._preloaded)||[];(oldBootloader|=
|{})._preloaded=3D[];for(var =
ii=3D0;ii<preloaded.length;++ii){names.push(preloaded[ii]);}=0A=
this.requested(names);if(!is_css){var =
message=3D{sender:this};Arbiter.inform(Arbiter.BOOTLOAD,message,Arbiter.B=
EHAVIOR_EVENT);}=0A=
for(var ii=3D0;ii<names.length;++ii){var =
loaded_resource=3Dnames[ii];Arbiter.inform(Arbiter.BOOTLOAD+'/'+loaded_re=
source,true,Arbiter.BEHAVIOR_STATE);}},requested:function(resources){reso=
urces=3Darrayize(resources);for(var =
ii=3D0;ii<resources.length;++ii){this._requested[resources[ii]]=3Dtrue;}}=
,enableBootload:function(map){for(var resource in =
map){if(!this._componentMap[resource]){this._componentMap[resource]=3Dmap=
[resource];}=0A=
if(oldBootloader){var =
callbacks=3DoldBootloader._callbacks[resource]||[];for(var =
i=3D0;i<callbacks.length;i++){Bootloader.loadComponents(resource,callback=
s[i]);}=0A=
delete oldBootloader._callbacks[resource];}}=0A=
onafterloadRegister(function(){Bootloader.preloadComponents();});},_unloa=
dResource:function(name){if(this._cssLinks&&(name in =
this._cssLinkMap)){var link_id=3Dthis._cssLinkMap[name];var =
link=3Dthis._cssLinks[link_id];link.href=3DBootloader._UNUSED_CSS_URL;lin=
k._unused=3Dtrue;delete this._cssLinkMap[name];delete =
this._requested[name];Arbiter.inform(Arbiter.BOOTLOAD+'/'+name,null,Arbit=
er.BEHAVIOR_STATE);}},_getHardpoint:function(){if(!this._hardpoint){var =
n,heads=3Ddocument.getElementsByTagName('head');if(heads.length){n=3Dhead=
s[0];}else{n=3Ddocument.body;}=0A=
this._hardpoint=3Dn;}=0A=
return =
this._hardpoint;},_requested:{},_permanent:{},_componentMap:{},_cssLinkMa=
p:{},_cssLinks:[],_hardpoint:null,_CSS_POLL_EXPIRATION:5000,_CSS_POLL_INT=
ERVAL:20,_UNUSED_CSS_URL:'javascript:void(0)'};})(window.Bootloader);=0A=
=0A=
Function.prototype.extend=3Dfunction(superclass){if(typeof =
superclass!=3D'string'){throw new TypeError('You must extend() with the =
name of a class, not the function object. '+'This generally means you =
need to replace "Dog.extend(Animal);" with =
'+'"Dog.extend(\'Animal\');".');}=0A=
if(!Metaprototype._arbiterHandle){Metaprototype._arbiterHandle=3DArbiter.=
subscribe(Arbiter.BOOTLOAD,Metaprototype._onbootload.bind(Metaprototype))=
;}=0A=
Metaprototype._queue(this,superclass);}=0A=
function Metaprototype(){}=0A=
copy_properties(Metaprototype,{_pending:{},_queue:function(subclass,super=
class){subclass.__class_extending=3Dtrue;var =
handler=3DArbiter.registerCallback(bind(Metaprototype,Metaprototype._appl=
y,subclass,superclass),[Arbiter.FUNCTION_EXTENSION+'/'+superclass,Arbiter=
.BOOTLOAD]);if(handler!=3D=3Dnull){this._pending[superclass]=3Dtrue;}},_o=
nbootload:function(type,data){this._update();},_update:function(){for(var=
 node in this._pending){if(!!window[node]){delete =
this._pending[node];if(!window[node].__class_extending){Arbiter.inform(Ar=
biter.FUNCTION_EXTENSION+'/'+node,true,Arbiter.BEHAVIOR_STATE);}else{wind=
ow[node].__class_name=3Dnode;}}}},_apply:function(subclass,superclass_nam=
e){delete subclass.__class_extending;var =
superprototype=3D__metaprototype(window[superclass_name],0);var =
subprototype=3D__metaprototype(subclass,superprototype.prototype.__level+=
1);subprototype.parent=3Dsuperprototype;if(!!subclass.__class_name){Arbit=
er.inform(Arbiter.FUNCTION_EXTENSION+'/'+subclass.__class_name,true,Arbit=
er.BEHAVIOR_STATE);}}});function =
__metaprototype(obj,level){if(obj.__metaprototype){return =
obj.__metaprototype;}=0A=
var metaprototype=3Dnew =
Function();metaprototype.construct=3D__metaprototype_construct;metaprotot=
ype.prototype.construct=3D__metaprototype_wrap(obj,level,true);metaprotot=
ype.prototype.__level=3Dlevel;metaprototype.base=3Dobj;obj.prototype.pare=
nt=3Dmetaprototype;obj.__metaprototype=3Dmetaprototype;return =
metaprototype;}=0A=
function =
__metaprototype_construct(instance){__metaprototype_init(instance.parent)=
;var parents=3D[];var =
obj=3Dinstance;while(obj.parent){parents.push(new_obj=3Dnew =
obj.parent());new_obj.__instance=3Dinstance;obj=3Dobj.parent;}=0A=
instance.parent=3Dparents[1];parents.reverse();parents.pop();instance.__p=
arents=3Dparents;instance.__instance=3Dinstance;return =
instance.parent.construct.apply(instance.parent,arguments);}=0A=
function =
__metaprototype_init(metaprototype){if(metaprototype.initialized)return;v=
ar =
base=3Dmetaprototype.base.prototype;if(metaprototype.parent){__metaprotot=
ype_init(metaprototype.parent);var =
parent_prototype=3Dmetaprototype.parent.prototype;for(i in =
parent_prototype){if(i!=3D'__level'&&i!=3D'construct'&&base[i]=3D=3D=3Dun=
defined){base[i]=3Dmetaprototype.prototype[i]=3Dparent_prototype[i]}}}=0A=
metaprototype.initialized=3Dtrue;var =
level=3Dmetaprototype.prototype.__level;for(i in =
base){if(i!=3D'parent'){base[i]=3Dmetaprototype.prototype[i]=3D__metaprot=
otype_wrap(base[i],level);}}}=0A=
function __metaprototype_wrap(method,level,shift){if(typeof =
method!=3D'function'||method.__prototyped){return method;}=0A=
var func=3Dfunction(){var instance=3Dthis.__instance;if(instance){var =
old_parent=3Dinstance.parent;instance.parent=3Dlevel?instance.__parents[l=
evel-1]:null;if(shift){var args=3D[];for(var =
i=3D1;i<arguments.length;i++){args.push(arguments[i]);}=0A=
var ret=3Dmethod.apply(instance,args);}else{var =
ret=3Dmethod.apply(instance,arguments);}=0A=
instance.parent=3Dold_parent;return ret;}else{return =
method.apply(this,arguments);}}=0A=
func.__prototyped=3Dtrue;return func;}=0A=
Function.prototype.mixin=3Dfunction(){var argc=3Darguments.length;var =
argv=3D[this.prototype];for(var =
ii=3D0;ii<argc;ii++){argv.push(arguments[ii]);}=0A=
Function.mixin.apply(null,argv);}=0A=
Function.mixin=3Dfunction(){var object=3Darguments[0];var =
argc=3Darguments.length;var mixin;for(var =
ii=3D1;ii<argc;ii++){mixin=3Darguments[ii];if((typeof =
mixin=3D=3D'string'&&typeof Mixins[mixin]!=3D'object')&&typeof =
mixin!=3D'object'&&typeof mixin!=3D'function'){throw new =
TypeError('mixin was called with an invalid argument. mixin '+'may be =
called with a variable number of '+'arguments, but each must either be =
an object or '+'the name of a mixin in "Mixins"');}=0A=
mixin=3DMixins[mixin]||mixin;copy_properties(object,mixin);}}=0A=
Function.prototype.bind=3Dfunction(context){var =
argv=3D[arguments[0],this];var argc=3Darguments.length;for(var =
ii=3D1;ii<argc;ii++){argv.push(arguments[ii]);}=0A=
return bind.apply(null,argv);}=0A=
Function.prototype.curry=3DFunction.prototype.bind.bind(null,null);Functi=
on.prototype.shield=3Dfunction(context){if(typeof =
this!=3D'function'){throw new TypeException();}=0A=
var bound=3Dthis.bind.apply(this,to_array(arguments));return =
function(){return =
bound();}};Function.prototype.defer=3Dfunction(time){return =
this.delay(time)();};Function.prototype.delay=3Dfunction(time,context){if=
(typeof this!=3D'function'){throw new TypeError();}=0A=
var func=3Dthis;return function(){var args=3Darguments;return =
setTimeout(function(){func.apply(context||null,args);},time||0);}};Functi=
on.prototype.deferUntil=3Dfunction(callback,timeout,clear_on_quickling_ev=
ent){if(typeof this!=3D'function'){throw new TypeError();}=0A=
if(timeout&&typeof timeout!=3D'number'){throw new TypeError();}=0A=
if(callback()){this();return;}=0A=
var orig=3Dthis,interval=3Dnull,start_time=3D(new Date()).getTime();var =
fn=3Dfunction(){if(callback()||timeout&&((new =
Date()).getTime()-start_time)>=3Dtimeout){orig();interval&&clearInterval(=
interval);}};interval=3DsetInterval(fn,50,clear_on_quickling_event);retur=
n =
interval;};Function.prototype.recur=3Dfunction(msec,clear_on_quickling_ev=
ent){if(typeof this!=3D'function'){throw new TypeError();}=0A=
return =
setInterval(this,msec,clear_on_quickling_event);};Function.prototype.occu=
r=3Dfunction(){if(typeof this!=3D'function'){throw new TypeError();}=0A=
return =
this.apply(this,arguments);};Function.prototype.memoize=3Dfunction(){if(t=
ypeof this!=3D'function'){throw new TypeError();}=0A=
var cache=3D{};var functor=3Dthis;return function(){var =
key=3DJSON.encode(arguments);if(!(key in =
cache)){cache[key]=3Dfunctor.apply(this,arguments);}=0A=
return =
cache[key];};};Function.prototype.toString=3D(function(native_fn){return =
function(full){var raw_output=3Dnative_fn.call(this);if(full){return =
raw_output;}=0A=
var =
lines=3Draw_output.split('\n'),max_lines=3D5;if(lines.length>max_lines){l=
ines.splice(3,lines.length-max_lines,'    ...');}=0A=
return lines.join('\n');};})(Function.prototype.toString);function =
bagofholding(){return undefined;}=0A=
function abstractMethod(){throw new Error('You must implement this =
function in your base class.');}=0A=
function identity(input){return input;}=0A=
function truth(){return true;}=0A=
function fireonce(fn){var fired=3Dfalse;return =
function(){if(!fired){fired=3Dtrue;return fn();}}}=0A=
=0A=
var =
Mixins=3D{Arbiter:{_getArbiterInstance:function(){if(!this._arbiter){this=
._arbiter=3Dnew Arbiter();}=0A=
return =
this._arbiter;},subscribe:function(types,callback,subscription_policy){re=
turn =
this._getArbiterInstance().subscribe(types,callback,subscription_policy);=
},inform:function(type,data,behavior){this._getArbiterInstance().inform(t=
ype,data,behavior);},unsubscribe:function(token){this._getArbiterInstance=
().unsubscribe(token);}}};=0A=
=0A=
var ua=3D{ie:function(){return =
ua._populate()||this._ie;},firefox:function(){return =
ua._populate()||this._firefox;},opera:function(){return =
ua._populate()||this._opera;},safari:function(){return =
ua._populate()||this._safari;},safariPreWebkit:function(){return =
ua._populate()||this._safari<500;},windows:function(){return =
ua._populate()||this._windows;},osx:function(){return =
ua._populate()||this._osx;},linux:function(){return =
ua._populate()||this._linux;},_populated:false,_populate:function(){if(ua=
._populated){return;}=0A=
ua._populated=3Dtrue;var =
agent=3D/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.=
\d+))|(?:Opera.(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))/.exec(navigato=
r.userAgent);var os=3D/(Mac OS =
X)|(Windows;)|(Linux)/.exec(navigator.userAgent);if(agent){ua._ie=3Dagent=
[1]?parseFloat(agent[1]):NaN;if(ua._ie>=3D8&&!window.HTMLCollection){ua._=
ie=3D7;}=0A=
ua._firefox=3Dagent[2]?parseFloat(agent[2]):NaN;ua._opera=3Dagent[3]?pars=
eFloat(agent[3]):NaN;ua._safari=3Dagent[4]?parseFloat(agent[4]):NaN;}else=
{ua._ie=3Dua._firefox=3Dua._opera=3Dua._safari=3DNaN;}=0A=
if(os){ua._osx=3D!!os[1];ua._windows=3D!!os[2];ua._linux=3D!!os[3];}else{=
ua._osx=3Dua._windows=3Dua._linux=3Dfalse;}}};=0A=
=0A=
OnloadEvent=3D{ONLOAD:'onload/onload',ONLOAD_CALLBACK:'onload/onload_call=
back',ONBEFOREUNLOAD:'onload/beforeunload',ONUNLOAD:'onload/unload'};func=
tion =
_include_quickling_events_default(){return!window.loading_page_chrome;}=0A=
function =
onbeforeunloadRegister(handler,include_quickling_events){if(include_quick=
ling_events=3D=3D=3Dundefined){include_quickling_events=3D_include_quickl=
ing_events_default();}=0A=
if(include_quickling_events){_addHook('onbeforeleavehooks',handler);}else=
{_addHook('onbeforeunloadhooks',handler);}}=0A=
function =
onunloadRegister(handler,include_quickling_events){if(include_quickling_e=
vents=3D=3D=3Dundefined){include_quickling_events=3D_include_quickling_ev=
ents_default();}=0A=
if(include_quickling_events){_addHook('onleavehooks',handler);}else{_addH=
ook('onunloadhooks',handler);}}=0A=
function =
_addHook(hooks,handler){(window[hooks]?window[hooks]:(window[hooks]=3D[])=
).push(handler);}=0A=
function removeHook(hooks){window[hooks]=3D[];}=0A=
function =
_domcontentready(){window.CavalryLogger&&CavalryLogger.getInstance().setT=
imeStamp('t_domcontent');Arbiter.inform(Arbiter.ONLOAD_DOMCONTENT,true,Ar=
biter.BEHAVIOR_STATE);}=0A=
function =
_bootstrapEventHandlers(){if(document.addEventListener){if(ua.safari()){v=
ar =
timeout=3DsetInterval(function(){if(/loaded|complete/.test(document.ready=
State)){_domcontentready();clearTimeout(timeout);}},3);}else{document.add=
EventListener("DOMContentLoaded",function(){_domcontentready();},true);}}=
else{var =
src=3D'javascript:void(0)';if(window.location.protocol=3D=3D'https:'){src=
=3D'//:';}=0A=
document.write('<script onreadystatechange=3D"if =
(this.readyState=3D=3D\'complete\') =
{'+'this.parentNode.removeChild(this);_domcontentready();}" =
'+'defer=3D"defer" src=3D"'+src+'"><\/script\>');}=0A=
window.onload=3Dfunction(){window.CavalryLogger&&CavalryLogger.getInstanc=
e().setTimeStamp('t_layout');var =
force_layout=3Ddocument&&document.body&&document.body.offsetWidth;window.=
CavalryLogger&&CavalryLogger.getInstance().setTimeStamp('t_onload');Arbit=
er.inform(OnloadEvent.ONLOAD,true,Arbiter.BEHAVIOR_STATE);};window.onbefo=
reunload=3Dfunction(){var =
e=3D{};Arbiter.inform(OnloadEvent.ONBEFOREUNLOAD,e,Arbiter.BEHAVIOR_STATE=
);return =
e.warn;};window.onunload=3Dfunction(){Arbiter.inform(OnloadEvent.ONUNLOAD=
,true,Arbiter.BEHAVIOR_STATE);};}=0A=
onload_callback=3DArbiter.registerCallback(function(){Arbiter.inform(Onlo=
adEvent.ONLOAD_CALLBACK,true,Arbiter.BEHAVIOR_STATE);},[OnloadEvent.ONLOA=
D]);if(!window._eventHandlersBootstrapped){_eventHandlersBootstrapped=3Dt=
rue;_bootstrapEventHandlers();}=0A=
=0A=
function _fbt(text){return fbt(arguments);}=0A=
function fbt(text){if(arguments.length=3D=3D1){return text;}=0A=
var name_map=3Dnew Object();var match;var arg_index=3D1;var =
fbt_reg=3D/(?:[^\{]|^)(\{\w\})(?!\})/g;while((match=3Dfbt_reg.exec(text))=
!=3Dnull){var token=3Dmatch[1].slice(1,-1);while(!(token in =
name_map)){if(arg_index<arguments.length){var =
arg=3Darguments[arg_index++];var t_arg=3Dtypeof =
arg;if(arg=3D=3Dnull){Util.error('fbt: null value for arg for text: =
%s',text);}else if(arg instanceof =
Array||t_arg=3D=3D"array"){Util.error(sprintf('fbt: cannot use Array =
type as arg in js fbt. '+'Use Object instead. text: %s',text));}else =
if(t_arg=3D=3D'number'||t_arg=3D=3D'string'){name_map[token]=3Darg;}else =
if(t_arg=3D=3D'object'){copy_properties(name_map,arg);}else{Util.error(sp=
rintf('fbt: cannot use %s type as arg in fbt: =
%s',t_arg,text));}}else{Util.error('fbt: Too few arguments for text: =
%s',text);break;}}}=0A=
if(arg_index<arguments.length&&typeof =
arguments[arg_index++]=3D=3D"string"&&arg_index<arguments.length){Util.er=
ror('fbt: Too many arguments.');}=0A=
return fbt_replace_braces(text,name_map);}=0A=
function fbts(project,text){return =
fbt.apply(this,to_array(arguments).slice(1));}=0A=
function fbt_replace_braces(text,args){if(args){if(typeof =
args!=3D'object'){Util.error('intl.js: the 2nd argument must be a keyed =
array (not a string) for tx('+text+', ...)');}else{for(var key in =
args){var reg=3Dnew =
RegExp("([^\\{]|^)\\{"+key+"\\}(?!\\})",'g');text=3Dtext.replace(reg,'$1'=
+args[key]);}}}=0A=
return text.replace(/\{\{/g,'{').replace(/\}\}/g,'}');}=0A=
function tx(str,args){if(typeof _string_table=3D=3D'undefined'){return;}=0A=
str=3D_string_table[str];return _tx(str,args);}=0A=
function intl_ends_in_punct(str){if(typeof str!=3D'string'){return =
false;}=0A=
return str.match(new =
RegExp(intl_ends_in_punct.punct_char_class+'['+')"'+"'"+'\u00BB'+'\u0F3B'=
+'\u0F3D'+'\u2019'+'\u201D'+'\u203A'+'\u3009'+'\u300B'+'\u300D'+'\u300F'+=
'\u3011'+'\u3015'+'\u3017'+'\u3019'+'\u301B'+'\u301E'+'\u301F'+'\uFD3F'+'=
\uFF07'+'\uFF09'+'\uFF3D'+'\s'+']*$'));}=0A=
intl_ends_in_punct.punct_char_class=3D'['+'.!?'+'\u3002'+'\uFF01'+'\uFF1F=
'+'\u0964'+'\u2026'+'\u0EAF'+'\u1801'+'\u0E2F'+'\uFF0E'+']';function =
intl_phonological_rules(str){var rules=3Dwindow.intl_locale_rewrites;var =
regexp;var old_str=3Dstr;try{if(rules){var pats=3D[];var =
reps=3D[];for(var p in rules['patterns']){var pat=3Dp;var =
rep=3Drules['patterns'][p];for(var m in rules['meta']){regexp=3Dnew =
RegExp(m.slice(1,-1),'g');pat=3Dpat.replace(regexp,rules['meta'][m]);rep=3D=
rep.replace(regexp,rules['meta'][m]);}=0A=
pats[pats.length]=3Dpat;reps[reps.length]=3Drep;}=0A=
for(var ii=3D0;ii<pats.length;ii++){regexp=3Dnew =
RegExp(pats[ii].slice(1,-1),'g');if(reps[ii]=3D=3D'javascript'){if(m=3Dne=
w =
String(str.match(regexp))){str=3Dstr.replace(regexp,m.slice(1).toLowerCas=
e());}}else{str=3Dstr.replace(regexp,reps[ii]);}}}}catch(e){Util.log(e);s=
tr=3Dold_str;}=0A=
regexp=3Dnew RegExp('\x01','g');str=3Dstr.replace(regexp,'');return str;}=0A=
function _tx(str,args){if(args){if(typeof =
args!=3D'object'){Util.error('intl.js: the 2nd argument must be a keyed =
array (not a string) for tx('+str+', ...)');}else{var regexp;for(var key =
in args){if(intl_ends_in_punct(args[key])){regexp=3Dnew =
RegExp('\{'+key+'\}'+=0A=
intl_ends_in_punct.punct_char_class+'*','g');}else{regexp=3Dnew =
RegExp('\{'+key+'\}','g');}=0A=
var delim=3D'';if(args[key][0]!=3D'~'){delim=3D'\x01';}=0A=
str=3Dstr.replace(regexp,delim+args[key]+delim);}=0A=
str=3Dintl_phonological_rules(str);}}=0A=
return str;}=0A=
=0A=
InitialJSLoader=3D{INITIAL_JS_READY:'BOOTLOAD/JSREADY',load:function(reso=
urces){InitialJSLoader.callback=3DBootloader.loadResources(resources,Init=
ialJSLoader.callback);},callback:Arbiter.registerCallback(function(){Arbi=
ter.inform(InitialJSLoader.INITIAL_JS_READY,true,Arbiter.BEHAVIOR_STATE);=
},[Arbiter.ONLOAD_DOMCONTENT])};=0A=
=0A=
function =
goURI(uri,force_reload){uri=3Duri.toString();if(!force_reload&&window.Pag=
eTransitions&&PageTransitions.isInitialized()){PageTransitions.go(uri);}e=
lse =
if(window.location.href=3D=3Duri){window.location.reload();}else{window.l=
ocation.href=3Duri;}}=0A=
function loadExternalJavascript(urls,callback,body){if(urls instanceof =
Array){var =
url=3Durls.shift(0);if(url){loadExternalJavascript(url,function(){if(urls=
.length){loadExternalJavascript(urls,callback,body);}else{callback&&callb=
ack();}},body);}else if(callback){callback();}}else{var =
node=3Dbody?document.body:document.getElementsByTagName('head')[0];var =
script=3Ddocument.createElement('script');script.type=3D'text/javascript'=
;script.src=3Durls;if(callback){script.onerror=3Dscript.onload=3Dcallback=
;script.onreadystatechange=3Dfunction(){if(this.readyState=3D=3D"complete=
"||this.readyState=3D=3D"loaded"){callback();}};}=0A=
node.appendChild(script);return script;}}=0A=
var rsrcProvideAndRequire=3Dfunction(){var =
loaded=3D{},pending=3D{};function =
isBlocked(local,foreign,exclude){if(local in =
pending){exclude=3Dexclude||{};for(var ii in =
pending[local].requires){if(!(ii in exclude)){for(var jj in =
pending[local].provides){exclude[jj]=3D1;}=0A=
if((ii in foreign)||isBlocked(ii,foreign,exclude)){return true;}}}}=0A=
return false;}=0A=
function checkSatisfied(){do{var hit=3Dfalse;for(var ii in pending){var =
res=3Dpending[ii];for(var jj in =
res.requires){if(!loaded[jj]&&!isBlocked(jj,res.provides)){res=3Dnull;bre=
ak;}}=0A=
if(res){for(jj in res.provides){delete pending[jj];loaded[jj]=3D1;}=0A=
res.fn.call();hit=3Dtrue;}}}while(hit);}=0A=
return =
function(provides,requires,fn){if(window.disableRPAR){fn();return;}=0A=
var desc=3D{provides:provides,requires:requires,fn:fn};for(var ii in =
provides){pending[ii]=3Ddesc;}=0A=
checkSatisfied();};}();=0A=
=0A=
var CSSLite=3D(function(){var clean=3Dfunction(string){return =
string.replace(/\s+/g,' =
').trim();};return{hasClass:function(element,className){return(' =
'+element.className+' ').indexOf(' '+className+' =
')>-1;},addClass:function(element,className){if(className&&!CSSLite.hasCl=
ass(element,className)){element.className=3Dclean(element.className+' =
'+className);}=0A=
return =
element;},removeClass:function(element,className){if(className&&CSSLite.h=
asClass(element,className)){element.className=3Dclean(element.className.r=
eplace(new RegExp('(^|\\s)'+className+'(?:\\s|$)'),'$1'));}=0A=
return element;}};})();=0A=
=0A=
var =
KEYS=3D{BACKSPACE:8,TAB:9,RETURN:13,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:3=
9,DOWN:40,DELETE:46};=0A=
=0A=
var NodeAugment=3D(function(){var =
augments=3D{},support=3D!!window.HTMLElement,proto=3Dsupport?HTMLElement.=
prototype:{},merge=3Dfunction(u,v){for(var i in =
v){u[i]=3Dv[i];}},methodize=3Dfunction(fn){return function(){return =
fn.apply(null,[this].concat([].slice.call(arguments)));};};return{add:fun=
ction(methods,tag){var =
obj=3Dproto;if(tag){tag=3Dtag.toUpperCase();obj=3Daugments[tag]||(augment=
s[tag]=3D{});}=0A=
for(var i in methods){if(typeof =
methods[i]=3D=3D'function'){obj[i]=3Dmethodize(methods[i]);}}},extend:fun=
ction(element){if(!element||element=3D=3Dwindow||element.nodeType!=3D1||e=
lement.nodeName in{OBJECT:1,EMBED:1,APPLET:1}){return =
element;}!support&&merge(element,proto);merge(element,augments[element.no=
deName]||{});return element;}};})();=0A=
=0A=
function fc_expand(elem){var =
item=3Delem.form;if(CSSLite.hasClass(item,'hidden_add_button')){CSSLite.r=
emoveClass(item,'collapsed_comments');CSSLite.removeClass(item,'hidden_ad=
d_button');item.add_comment_text.focus();}=0A=
return false;}=0A=
=0A=
if (window.Bootloader) { =
Bootloader.done(["js\/b55of4w1ifc4g8kw.pkg.js"]); }
------=_NextPart_000_0000_01CA5247.795C2CC0
Content-Type: application/x-js
Content-Transfer-Encoding: quoted-printable
Content-Location: http://static.ak.fbcdn.net/rsrc.php/zAHH3/hash/8ofk2d0k.js

/*    HTTP Host:  static.ak.fbcdn.net                                    =
      */=0A=
/*    Generated:  October 20th 2009 1:43:39 PM PDT                       =
      */=0A=
/*      Machine:  10.16.139.108                                          =
      */=0A=
/*       Source:  Local Cache                                            =
      */=0A=
/*     Location:  rsrc:4:8ofk2d0k                                        =
      */=0A=
/*       Locale:  nu_ll                                                  =
      */=0A=
/*         Path:  js/5jecsuvsn7k04ogc.pkg.js                             =
      */=0A=
=0A=
=0A=
function object(o){var F=3Dnew Function();F.prototype=3Do;return new =
F();}=0A=
function =
is_scalar(v){switch(typeof(v)){case'string':case'number':case'null':case'=
boolean':return true;}=0A=
return false;}=0A=
function keys(obj){if(hasArrayNature(obj)){throw new TypeError('keys() =
was passed an array.');}=0A=
var keys=3D[];for(var i in obj){keys.push(i);}=0A=
return keys;}=0A=
function values(obj){if(hasArrayNature(obj)){throw new =
TypeError('values() was passed an array; use to_array().');}=0A=
var values=3D[];for(var i in obj){values.push(obj[i]);}=0A=
return values;}=0A=
function count(obj){if(hasArrayNature(obj)){throw new TypeError('count() =
was passed an array.');}=0A=
var count=3D0;for(var i in obj){count++;}=0A=
return count;}=0A=
function are_equal(a,b){return JSON.encode(a)=3D=3DJSON.encode(b);}=0A=
function merge(){var ret=3D{};for(var =
i=3D0;i<arguments.length;i++){copy_properties(ret,arguments[i]);}=0A=
return ret;}=0A=
function obj_filter_keys(obj,keys){var ret=3D{};for(var =
ii=3D0;ii<keys.length;ii++){var key=3Dkeys[ii];if(key in =
obj){ret[key]=3Dobj[key];}}=0A=
return ret;}=0A=
function obj_intersect_keys(){var ret=3D{};var =
_obj=3Darguments[0];oloop:for(var j in =
_obj){if(!_obj.hasOwnProperty(j)){continue;}=0A=
iloop:for(var ii=3D1;ii<arguments.length;ii++){var =
obj=3Darguments[ii];for(var k in =
obj){if(k=3D=3D=3Dj){if(arguments.length-1=3D=3D=3Dii){ret[j]=3D_obj[j];}=0A=
continue iloop;}}=0A=
continue oloop;}}=0A=
return ret;}=0A=
function head(obj){for(var i in obj){return obj[i];}=0A=
return null;}=0A=
Object.from=3Dfunction(keys,values){if(!hasArrayNature(keys)){throw new =
TypeError('Must pass an array of keys.');}=0A=
var object=3D{};var is_array=3DhasArrayNature(values);if(typeof =
values=3D=3D'undefined'){values=3Dtrue;}=0A=
for(var =
i=3Dkeys.length;i--;){object[keys[i]]=3Dis_array?values[i]:values;}=0A=
return object;};function coalesce(){for(var =
i=3D0;i<arguments.length;++i){if(arguments[i]!=3Dnull){return =
arguments[i];}}=0A=
return null;}=0A=
=0A=
function to_array(obj){var ret=3D[];for(var =
i=3D0,l=3Dobj.length;i<l;++i){ret.push(obj[i]);}=0A=
return ret;}=0A=
var $A=3Dto_array;Array.prototype.alloc=3Dfunction(length){return =
length?new Array(length):[];}=0A=
Array.prototype.map=3Dfunction(callback,thisObject){if(this=3D=3Dwindow){=
throw new TypeError();}=0A=
if(typeof(callback)!=3D=3D"function"){throw new TypeError();}=0A=
var ii;var len=3Dthis.length;var =
r=3Dthis.alloc(len);for(ii=3D0;ii<len;++ii){if(ii in =
this){r[ii]=3Dcallback.call(thisObject,this[ii],ii,this);}}=0A=
return =
r;};Array.prototype.forEach=3Dfunction(callback,thisObject){this.map(call=
back,thisObject);return =
this;};Array.prototype.each=3Dfunction(callback,thisObject){return =
this.forEach.apply(this,arguments);}=0A=
Array.prototype.filter=3Dfunction(callback,thisObject){callback=3Dcallbac=
k||identity;if(this=3D=3Dwindow){throw new TypeError();}=0A=
if(typeof(callback)!=3D=3D"function"){throw new TypeError();}=0A=
var =
ii,val,len=3Dthis.length,r=3Dthis.alloc();for(ii=3D0;ii<len;++ii){if(ii =
in =
this){val=3Dthis[ii];if(callback.call(thisObject,val,ii,this)){r.push(val=
);}}}=0A=
return =
r;};Array.prototype.every=3Dfunction(callback,thisObject){return(this.fil=
ter(callback,thisObject).length=3D=3Dthis.length);}=0A=
Array.prototype.some=3Dfunction(callback,thisObject){return(this.filter(c=
allback,thisObject).length>0);}=0A=
Array.prototype.pull=3Dfunction(callback){if(this=3D=3Dwindow){throw new =
TypeError();}=0A=
if(typeof(callback)=3D=3D'string'){var =
grip_key=3Dcallback;callback=3Dfunction(){return this[grip_key]};}=0A=
if(typeof(callback)!=3D=3D'function'){throw new TypeError();}=0A=
var args=3DArray.prototype.slice.call(arguments,1);var =
len=3Dthis.length;var r=3Dthis.alloc(len);for(ii=3D0;ii<len;++ii){if(ii =
in this){r[ii]=3Dcallback.apply(this[ii],args);}}=0A=
return r;}=0A=
Array.prototype.pullEach=3Dfunction(callback){this.pull.apply(this,argume=
nts);return this;}=0A=
Array.prototype.filterEach=3Dfunction(callback){var =
map=3Dthis.pull.apply(this,arguments);var len=3Dthis.length;var =
r=3Dthis.alloc();for(var ii=3D0;ii<len;++ii){if(ii in =
this){r.push(this[ii]);}}=0A=
return r;}=0A=
Array.prototype.reduce=3Dnull;Array.prototype.reduceRight=3Dnull;Array.pr=
ototype.sort=3D(function(sort){return =
function(callback){return(this=3D=3Dwindow)?null:(callback?sort.call(this=
,function(a,b){return =
callback(a,b)}):sort.call(this));}})(Array.prototype.sort);Array.prototyp=
e.reverse=3D(function(reverse){return =
function(){return(this=3D=3Dwindow)?null:reverse.call(this);}})(Array.pro=
totype.reverse);Array.prototype.concat=3D(function(concat){return =
function(){return(this=3D=3Dwindow)?null:concat.apply(this,arguments);}})=
(Array.prototype.concat);Array.prototype.slice=3D(function(slice){return =
function(){return(this=3D=3Dwindow)?null:slice.apply(this,arguments);}})(=
Array.prototype.slice);Array.prototype.clone=3DArray.prototype.slice;if(A=
rray.prototype.indexOf){Array.prototype.indexOf=3D(function(indexOf){retu=
rn =
function(val,index){return(this=3D=3Dwindow)?null:indexOf.apply(this,argu=
ments);}})(Array.prototype.indexOf);}else{Array.prototype.indexOf=3Dfunct=
ion(val,index){if(this=3D=3Dwindow){throw new TypeError();}=0A=
var len=3Dthis.length;var =
from=3DNumber(index)||0;from=3D(from<0)?Math.ceil(from):Math.floor(from);=
if(from<0){from+=3Dlen;}=0A=
for(;from<len;from++){if(from in this&&this[from]=3D=3D=3Dval){return =
from;}}=0A=
return-1;};}=0A=
Array.prototype.contains=3Dfunction(val){return =
this.indexOf(val)!=3D-1;};Array.prototype.remove=3Dfunction(val){var =
index=3Dthis.indexOf(val);if(index!=3D-1){this.splice(index,1);}}=0A=
function mapToInt(array){return array.map(function(val,i){return =
parseInt(val,10);});}=0A=
function unique(array){var obj=3D{};var res=3D[];for(var =
i=3D0;i<array.length;i++){var =
val=3Darray[i];if(!obj[val]){res.push(val);}=0A=
obj[val]=3D1;}=0A=
return res;}=0A=
function =
array_set_add(elements,item){if(!elements.contains(item)){elements.push(i=
tem);}=0A=
return elements;}=0A=
function array_intersect(a1,a2){var ret=3D[];for(var =
i=3D0;i<a1.length;i++){if(a2.contains(a1[i])){ret.push(a1[i]);}}=0A=
return ret;}=0A=
=0A=
function env_get(k){return typeof(window['Env'])!=3D'undefined'&&Env[k];}=0A=
function muffinize(str){var muffin_top=3D'a';var muffin_bottom=3D'd';var =
muffin=3D[muffin_top,muffin_bottom].join('');return =
str.replace(/muffin/g,muffin);}=0A=
var Util=3Dwindow.Util||{isDevelopmentEnvironment:function(){return =
env_get('dev');},warn:bagofholding,error:bagofholding,info:bagofholding,g=
roup:bagofholding,groupEnd:bagofholding,log:bagofholding,stack:bagofholdi=
ng,trace:bagofholding};=0A=
=0A=
window.aiert=3D(function(a){var aiert=3Dfunction =
_aiert(m){if(window.last_alert){(window.alerts=3Dwindow.alerts||[]).push(=
(new =
Date()).getTime()-window.last_alert);window.alerts.splice(0,window.alerts=
.length-3);if(window.alerts.length=3D=3D3&&window.alerts[0]+window.alerts=
[1]+window.alerts[2]<200){if(!confirm(m+'\n\nThis page may be caught in =
an infinite loop. Press "Cancel" to abort, or "Ok" to =
continue.')){window.aiert=3Dbagofholding;}=0A=
window.last_alert=3D(new Date()).getTime();return;}}=0A=
a(m);window.last_alert=3D(new Date()).getTime();}=0A=
return aiert;})(window.alert);window.alert=3Dfunction =
_alert(m){if(m!=3D=3Dundefined){(new =
Image()).src=3D'/ajax/typeahead_callback.php?l=3D'+escapeURI(document.loc=
ation)+'&m=3D'+=0A=
escapeURI(m)+(typeof Env!=3D'undefined'?'&t=3D'+Math.round(((new =
Date()).getTime()-Env.start)/100):'')+'&d=3D'+escapeURI((typeof =
fbpd!=3D'undefined')?JSON.encode(fbpd):'')+'&ai=3D'+escapeURI(window.aier=
t)+'&al=3D'+escapeURI(window.alert);return window.aiert(m);}}=0A=
=0A=
window.onloadRegister=3Dfunction(handler){window.loaded?_runHook(handler)=
:_addHook('onloadhooks',handler);};function =
onafterloadRegister(handler){window.afterloaded?setTimeout(function(){_ru=
nHook(handler);},0):_addHook('onafterloadhooks',handler);}=0A=
function =
_onloadHook(){_runHooks('onloadhooks');!window.loaded&&window.CavalryLogg=
er&&CavalryLogger.getInstance().setTimeStamp('t_hooks');window.loaded=3Dt=
rue;if(window.logOnloadData){aggregate_js_onload('onloadRegister');}}=0A=
function =
_onafterloadHook(){_runHooks('onafterloadhooks');window.afterloaded=3Dtru=
e;if(window.logOnloadData){aggregate_js_onload('onafterloadRegister');}}=0A=
function _runHook(handler){try{handler();}catch(ex){Util.error('Uncaught =
exception in hook (run after page load): %x',ex);}}=0A=
function _runHooks(hooks){var =
isbeforeunload=3Dhooks=3D=3D'onbeforeleavehooks'||hooks=3D=3D'onbeforeunl=
oadhooks';var warn=3Dnull;if(window.logOnloadData){var startTime=3Dnew =
Date().getTime();window.totalHookTime=3Dwindow.totalHookTime||{};}=0A=
do{var h=3Dwindow[hooks];if(!isbeforeunload){window[hooks]=3Dnull;}=0A=
if(!h){break;}=0A=
for(var =
ii=3D0;ii<h.length;ii++){try{if(isbeforeunload){warn=3Dwarn||h[ii]();}els=
e{h[ii]();}}catch(ex){Util.error('Uncaught exception in hook (%q) %q: =
%x',hooks,h[ii],ex);}}=0A=
if(isbeforeunload){break;}}while(window[hooks]);if(window.logOnloadData){=
var endTime=3Dnew =
Date().getTime();window.totalHookTime[hooks]=3DendTime-startTime;}=0A=
if(isbeforeunload&&warn){return warn;}}=0A=
function =
keep_window_set_as_loaded(){if(window.loaded=3D=3Dfalse){window.loaded=3D=
true;_runHooks('onloadhooks');}=0A=
if(window.afterloaded=3D=3Dfalse){window.afterloaded=3Dtrue;_runHooks('on=
afterloadhooks');}}=0A=
function =
log_js_onload(onloadHook,total_time,task_name){window.logOnloadData=3Dwin=
dow.logOnloadData||{};window.logOnloadData[onloadHook]=3Dwindow.logOnload=
Data[onloadHook]||{};var =
logOnloadData=3Dwindow.logOnloadData[onloadHook];if(logOnloadData[task_na=
me]){logOnloadData[task_name].count++;logOnloadData[task_name].total_time=
+=3Dtotal_time;}else{logOnloadData[task_name]=3D{};logOnloadData[task_nam=
e]=3D{count:1,total_time:total_time};}}=0A=
function aggregate_js_onload(onloadHook){var =
logOnloadData=3Dwindow.logOnloadData[onloadHook];var array=3D[];var =
total_time=3D0;for(var task_name in =
logOnloadData){total_time+=3DlogOnloadData[task_name].total_time;array.pu=
sh(sprintf("%' 4.4d",logOnloadData[task_name].total_time)+'ms : '+=0A=
sprintf("%' 2.2d",logOnloadData[task_name].count)+' calls : '+=0A=
task_name.replace('Task_','(Task) '));}=0A=
if(!array.length){return;}=0A=
array.sort().reverse();var =
key;if(onloadHook=3D=3D'onloadRegister'){key=3D'onloadhooks';}else{key=3D=
'onafterloadhooks';}=0A=
Util.group(onloadHook+' took a total of '+total_time+' ms with '+=0A=
window.totalHookTime[key]+' ms spent in =
_runHooks');array.each(function(item){Util.info(item);});Util.groupEnd(on=
loadHook);window.logOnloadData[onloadHook]=3D{};}=0A=
Arbiter.registerCallback(_onloadHook,[Arbiter.ONLOAD_DOMCONTENT,InitialJS=
Loader.INITIAL_JS_READY]);Arbiter.registerCallback(_onafterloadHook,[Arbi=
ter.ONLOAD_DOMCONTENT,OnloadEvent.ONLOAD_CALLBACK,InitialJSLoader.INITIAL=
_JS_READY]);Arbiter.subscribe(OnloadEvent.ONBEFOREUNLOAD,function(type,e)=
{e.warn=3D_runHooks('onbeforeleavehooks')||_runHooks('onbeforeunloadhooks=
');if(!e.warn){window.loaded=3Dfalse;window.afterloaded=3Dfalse;}},Arbite=
r.SUBSCRIBE_NEW);Arbiter.subscribe(OnloadEvent.ONUNLOAD,function(type,e){=
_runHooks('onleavehooks');_runHooks('onunloadhooks');},Arbiter.SUBSCRIBE_=
NEW);=0A=
=0A=
function chain(u,v){var fn,calls=3D[];for(var =
ii=3D0;ii<arguments.length;ii++){calls.push(arguments[ii]);}=0A=
fn=3Dfunction(event){event=3Devent||window.event;for(var =
ii=3D0;ii<calls.length;ii++){if(calls[ii]&&calls[ii].apply(this,arguments=
)=3D=3D=3Dfalse){return false;}else if(event&&event.cancelBubble){return =
true;}}=0A=
return true;};fn.toString=3Dfunction(){return =
chain._toString(calls);};return fn;}=0A=
if(!chain._toString){chain._toString=3Dfunction(calls){var =
ret=3D'chained fns',call=3Dcalls.filter();for(var =
i=3D0;i<calls.length;i++){ret+=3D'\n'+calls[i].toString();}=0A=
return ret;};}=0A=
=0A=
0;=0A=
=0A=
DataStore=3Dwindow.DataStore||{_storage:{},_elements:{},_tokenCounter:1,_=
NOT_IN_DOM_CONST:1,_getStorage:function(namespace){var token;if(typeof =
namespace=3D=3D'string'){token=3D'str_'+namespace;}else{token=3D'elem_'+(=
namespace.__FB_TOKEN||(namespace.__FB_TOKEN=3D[DataStore._tokenCounter++]=
))[0];DataStore._elements[token]=3Dnamespace;}=0A=
return =
DataStore._storage[token]||(DataStore._storage[token]=3D{});},_shouldDele=
teData:function(element){if(!element.nodeName){return false;}=0A=
try{if(null!=3Delement.offsetParent){return false;}}catch(ex){}=0A=
if(document.documentElement.contains){return!document.documentElement.con=
tains(element);}else{return(document.documentElement.compareDocumentPosit=
ion(element)&DataStore._NOT_IN_DOM_CONST);}},set:function(namespace,key,v=
alue){var =
data_store=3DDataStore._getStorage(namespace);data_store[key]=3Dvalue;ret=
urn namespace;},get:function(namespace,key,default_value){var =
data_store=3DDataStore._getStorage(namespace);var =
value=3Ddata_store[key];if((undefined=3D=3D=3Dvalue)&&(typeof =
namespace.getAttribute=3D=3D'function')){var =
attr_val=3Dnamespace.getAttribute('data-'+key);value=3D(null=3D=3D=3Dattr=
_val)?undefined:attr_val;}=0A=
if((default_value!=3D=3Dundefined)&&(value=3D=3D=3Dundefined)){value=3Dda=
ta_store[key]=3Ddefault_value;}=0A=
return value;},remove:function(namespace,key){var =
data_store=3DDataStore._getStorage(namespace);delete =
data_store[key];return namespace;},cleanup:function(){var =
elem_token,elem;for(elem_token in =
DataStore._elements){elem=3DDataStore._elements[elem_token];if(DataStore.=
_shouldDeleteData(elem)){delete DataStore._storage[elem_token];delete =
DataStore._elements[elem_token];}}}};=0A=
=0A=
window.Event=3Dwindow.Event||function(){};Event.prototype=3DEvent.prototy=
pe||{};Event.DATASTORE_KEY=3D'Event.listeners';function =
$E(e){e=3De||window.event||{};if(!e._inherits_from_prototype){for(var k =
in Event.prototype){try{e[k]=3DEvent.prototype[k];}catch(ignored){}}}=0A=
return e;}=0A=
(function(){copy_properties(Event.prototype,{_inherits_from_prototype:tru=
e,stop:function(){this.cancelBubble=3Dtrue;this.stopPropagation&&this.sto=
pPropagation();return =
this;},prevent:function(){this.returnValue=3Dfalse;this.preventDefault&&t=
his.preventDefault();return =
this;},kill:function(){this.stop().prevent();return =
false;},getTarget:function(){var =
target=3Dthis.target||this.srcElement;return =
target?$(target):null;},getRelatedTarget:function(){var =
target=3Dthis.relatedTarget||this.fromElement;return =
target?$(target):null;},getModifiers:function(){var =
m=3D{control:!!this.ctrlKey,shift:!!this.shiftKey,alt:!!this.altKey,meta:=
!!this.metaKey};m.access=3Dua.osx()?m.control:m.alt;m.any=3Dm.control||m.=
shift||m.alt||m.meta;return =
m;}});copy_properties(Event,{listen:function(element,type,handler,priorit=
y){if(typeof element=3D=3D'string'){element=3D$(element,true);}=0A=
if(typeof priority=3D=3D'undefined'){priority=3DEvent.Priority.NORMAL;}=0A=
if(typeof type=3D=3D'object'){var events=3D{};for(var t in =
type){events[t]=3DEvent.listen(element,t,type[t],priority);}=0A=
return events;}=0A=
if(type.match(/^on/i)){throw new TypeError("Bad event name `"+event+"': =
use `click', not `onclick'.");}=0A=
type=3Dtype.toLowerCase();var =
handlers=3DDataStore.get(element,key,{});if(specialEvents[type]){var =
details=3DspecialEvents[type];type=3Ddetails.base;handler=3Ddetails.wrap(=
handler);}=0A=
attachHandler(element,type);var =
typeHandlers=3Dhandlers[type];if(!(priority in =
typeHandlers)){typeHandlers[priority]=3D[];}=0A=
var id=3DtypeHandlers[priority].length,ref=3Dnew =
EventHandlerRef(handler,typeHandlers[priority],id);typeHandlers[priority]=
.push(ref);return ref;},stop:function(e){return =
$E(e).stop();},prevent:function(e){return =
$E(e).prevent();},kill:function(e){return =
$E(e).kill();},getKeyCode:function(event){event=3D$E(event);if(!event){re=
turn false;}=0A=
switch(event.keyCode){case 63232:return 38;case 63233:return 40;case =
63234:return 37;case 63235:return 39;case 63272:case 63273:case =
63275:return null;case 63276:return 33;case 63277:return 34;}=0A=
if(event.shiftKey){switch(event.keyCode){case 33:case 34:case 37:case =
38:case 39:case 40:return null;}}=0A=
return event.keyCode;},getPriorities:function(){if(!priorities){var =
ordered=3Dvalues(Event.Priority);ordered.sort(function(a,b){return =
a-b;});priorities=3Dordered;}=0A=
return priorities;}});var =
priorities=3Dnull,key=3DEvent.DATASTORE_KEY;var =
leaveFilter=3Dfunction(handler){return =
function(e){if(!DOM.contains(this,e.getRelatedTarget())){return =
handler.call(this,e);}};};var =
specialEvents=3D{'mouseenter':{base:'mouseover',wrap:leaveFilter},'mousel=
eave':{base:'mouseout',wrap:leaveFilter}};var =
attachHandler=3Dfunction(element,type){var =
fullName=3D'on'+type,handlers=3DDataStore.get(element,key);if(type in =
handlers){if(element[fullName]!=3D=3DlistenHandler){throw new =
Error("`"+fullName+"' listen handler gone!");}=0A=
return;}=0A=
handlers[type]=3D{};var =
old_handler=3Delement[fullName];element[fullName]=3DlistenHandler;if(old_=
handler){Event.listen(element,type,old_handler,Event.Priority.TRADITIONAL=
);}};var listenHandler=3Dfunction(event){event=3D$E(event);var =
type=3Devent.type;if(!DataStore.get(this,key)){throw new Error("Bad =
listenHandler context.");}=0A=
var =
type_handlers=3DDataStore.get(this,key)[type];if(!type_handlers){throw =
new Error("No registered handlers for `"+type+"'.");}=0A=
var priorities=3DEvent.getPriorities();for(var =
pri_idx=3D0;pri_idx<priorities.length;pri_idx++){var =
priority=3Dpriorities[pri_idx];if(priority in type_handlers){var =
handlers=3Dtype_handlers[priority];for(var =
idx=3D0;idx<handlers.length;idx++){if(!handlers[idx]){continue;}=0A=
var =
result=3Dhandlers[idx].fire(this,event);if(result=3D=3D=3Dfalse){return =
event.kill();}else if(event.returnValue=3D=3D=3Dfalse){return =
false;}else if(event.cancelBubble){return =
event.stop();}}}}};})();NodeAugment.add({listen:Event.listen});Event.Prio=
rity=3D{URGENT:-20,TRADITIONAL:-10,NORMAL:0};function =
EventHandlerRef(handler,container,index){this._handler=3Dhandler;this._co=
ntainer=3Dcontainer;this._index=3Dindex;}=0A=
EventHandlerRef.prototype=3D{remove:function(){delete =
this._handler;delete =
this._container[this._index];},fire:function(element,event){return =
this._handler.call(element,event);}};function =
addEventBase(obj,type,fn,name_hash){if(obj.addEventListener){obj.addEvent=
Listener(type,fn,false);}else if(obj.attachEvent){var =
fn_name=3Dtype+fn+name_hash;obj["e"+fn_name]=3Dfn;obj[fn_name]=3Dfunction=
(){obj["e"+fn_name](window.event);};obj.attachEvent("on"+type,obj[fn_name=
]);}=0A=
return fn;}=0A=
function =
removeEventBase(obj,type,fn,name_hash){if(obj.removeEventListener){obj.re=
moveEventListener(type,fn,false);}else if(obj.detachEvent){var =
fn_name=3Dtype+fn+name_hash;if(obj[fn_name]){obj.detachEvent("on"+type,ob=
j[fn_name]);obj[fn_name]=3Dnull;obj["e"+fn_name]=3Dnull;}}}=0A=
=0A=
var LinkController=3D(function(){var key=3D'LinkControllerHandler';var =
object=3D{ALL:1,TARGETS:2,MODIFIERS:4,BUTTONS:8};var =
handlers=3D[[],[]];var usesWebProtocol=3Dfunction(href){var =
protocol=3Dhref.match(/^(\w+):/);return!protocol||protocol[1].match(/^htt=
p/i);};var =
filter=3Dfunction(filters,element,event){if(filters&object.ALL){return =
true;}=0A=
if((!(filters&object.TARGETS)&&element.target)||(!(filters&object.MODIFIE=
RS)&&event.getModifiers().any)||(!(filters&object.BUTTONS)&&ua.safari()>=3D=
525&&event.which!=3D1)){return false;}=0A=
return true;};var handle=3Dfunction(element,event){var =
h=3Dhandlers[0].concat(handlers[1]);for(var =
i=3D0,l=3Dh.length;i<l;i++){if(filter(h[i].filters,element,event)&&h[i].c=
allback(element,event)=3D=3D=3Dfalse){return event.kill();}}};var =
handler=3Dfunction(event){var =
node=3Devent.getTarget();while(node&&!DOM.isNode(node,'a')){node=3Dnode.p=
arentNode;}=0A=
var =
href=3Dnode&&node.getAttribute('href',2);if(!href||node.rel||(href.charAt=
(href.length-1)=3D=3D'#')||!usesWebProtocol(href)||DataStore.get(node,key=
)){return;}=0A=
DataStore.set(node,key,Event.listen(node,'click',function(event){handle(n=
ode,event);}));};var =
initialize=3Dfunction(){initialize=3Dbagofholding;onloadRegister(function=
(){Event.listen(document.documentElement,'mousedown',handler);});};var =
registerHandler=3Dfunction(collection,callback,filters,prepend){initializ=
e();collection[prepend?'unshift':'push']({callback:callback,filters:filte=
rs||0});};object.registerHandler=3Dfunction(callback,filters,prepend){reg=
isterHandler(handlers[0],callback,filters,prepend);};object.registerFallb=
ackHandler=3Dfunction(callback,filters,prepend){registerHandler(handlers[=
1],callback,filters,prepend);};return object;})();=0A=
=0A=
function =
AsyncSignal(uri,data){this.data=3Ddata||{};this.uri=3Duri;this.handler=3D=
null;}=0A=
AsyncSignal.prototype.setHandler=3Dfunction(h){this.handler=3Dh;return =
this;}=0A=
AsyncSignal.prototype.send=3Dfunction(){var =
h=3Dthis.handler,d=3Dthis.data,u=3Dthis.uri,s=3D[],i=3Dnew =
Image(),a=3Ddocument.getElementById('post_form_id');d.asyncSignal=3DMath.=
floor(Math.random()*10000)+1;if(a){d.post_form_id=3Da.value;}=0A=
for(var k in =
d){s.push(encodeURIComponent(k)+'=3D'+encodeURIComponent(d[k]));}=0A=
if(u.indexOf('?')=3D=3D-1){u+=3D'?';}=0A=
u+=3Ds.join('&');if(h){i.onload=3Di.onerror=3D(function(i,h){return =
function(){h((i.height=3D=3D1));}})(i,h);}=0A=
i.src=3Du;return this;}=0A=
=0A=
function gen_unique(){return++gen_unique._counter;}=0A=
gen_unique._counter=3D0;function create_hidden_input(name,value){return =
$N('input',{name:name,id:name,value:value,type:'hidden'});}=0A=
function =
getTableRowShownDisplayProperty(){if(ua.ie()<8){return'inline';}else{retu=
rn'table-row';}}=0A=
function showTableRow(){for(var i=3D0;i<arguments.length;i++){var =
element=3Dge(arguments[i]);if(element&&element.style)element.style.displa=
y=3DgetTableRowShownDisplayProperty();}=0A=
return false;}=0A=
function =
getParentRow(el){el=3Dge(el);while(el.tagName&&el.tagName!=3D"TR"){el=3De=
l.parentNode;}=0A=
return el;}=0A=
function =
abTest(data,inline){AsyncRequest.pingURI('/ajax/abtest.php',{data:data,"p=
ost_form_id":null},true);return!inline;}=0A=
function ac(metadata){new =
AsyncSignal('/ajax/ac.php',{'meta':metadata}).send();return true;}=0A=
function =
scribe_log(category,message){AsyncRequest.pingURI('/ajax/scribe_log.php',=
{'category':category,'message':message,'post_form_id':null},true);}=0A=
function warn_if_unsaved(form_id){var =
form=3Dge(form_id);if(!form){Util.error("warn_if_unsaved couldn't find =
form in order to save its "=0A=
+"original state.  This is probably because you called "=0A=
+"render_start_form_with_unsaved_warning to render a form, "=0A=
+"but then didn't echo it into page.  To get around this, you "=0A=
+"can call render_start_form, and then call warn_if_unsaved "=0A=
+"yourself once you've caused the form to appear.");return;}=0A=
if(!_unsaved_forms_to_check_for){_unsaved_forms_to_check_for=3D{};LinkCon=
troller.registerHandler(_check_for_unsaved_forms);}=0A=
form.original_state=3Dserialize_form(form);_unsaved_forms_to_check_for[fo=
rm_id]=3Dtrue;}=0A=
function _check_for_unsaved_forms(link){for(var form_id in =
_unsaved_forms_to_check_for){var =
form=3Dge(form_id);if(form&&!form.is_inactive&&form.original_state&&!are_=
equal(form.original_state,serialize_form(form))){var =
href=3Dlink.href;var submit=3D_find_first_submit_button(form);var =
buttons=3D[];if(submit){buttons.push({name:'save',label:_tx("Save"),handl=
er:function(){submit.click();}});}=0A=
buttons.push({name:'dont_save',label:_tx("Don't =
Save"),className:'inputaux',handler:function(){window.location.href=3Dhre=
f;}});buttons.push(Dialog.CANCEL);new Dialog().setTitle(_tx("Unsaved =
Changes")).setBody(_tx("Some of your changes have not been saved.  Would =
you like to save your changes =
now?")).setButtons(buttons).setModal().show();return false;}}}=0A=
function _find_first_submit_button(root_element){var =
inputs=3Droot_element.getElementsByTagName('input');for(var =
i=3D0;i<inputs.length;++i){if(inputs[i].type.toUpperCase()=3D=3D'SUBMIT')=
{return inputs[i];}}=0A=
return null;}=0A=
_unsaved_forms_to_check_for=3Dundefined;function textLimit(ta,count){var =
text=3Dge(ta);if(text.value.length>count){text.value=3Dtext.value.substri=
ng(0,count);if(arguments.length>2){$(arguments[2]).style.display=3D'block=
';}}}=0A=
function =
textLimitStrict(text_id,limit,message_id,count_id,submit_id){var =
text=3Dge(text_id);if(text){var len=3Dtext.value.length;var =
diff=3Dlen-limit;if(diff>0){if(diff>25000){text.value=3Dtext.value.substr=
ing(0,limit+25000);diff=3D25000;}=0A=
$(message_id).style.display=3D'block';$(count_id).innerHTML=3Ddiff;$(subm=
it_id).disabled=3Dtrue;}else =
if(len=3D=3D0){$(message_id).style.display=3D'none';$(submit_id).disabled=
=3Dtrue;$(count_id).innerHTML=3D1;}else{if($(count_id).innerHTML!=3D0){$(=
count_id).innerHTML=3D0;$(message_id).style.display=3D'none';$(submit_id)=
.disabled=3Dfalse;}}}}=0A=
function city_selector_onfound(input,obj){input.value=3Dobj?obj.i:-1;}=0A=
function =
city_selector_onselect(success){if(window[success]){window[success]();}}=0A=
onloadRegister(function(){var =
secrets=3D[38,38,40,40,37,39,37,39,66,65,13],ii=3D0;function fn(evt){var =
kk=3Devt?evt.keyCode:event.keyCode;if(ii=3D=3D-1){return;}else =
if(secrets[ii]=3D=3Dkk){++ii;if(ii=3D=3Dsecrets.length){new =
AsyncRequest('/ajax/lensflare.php').setReadOnly(true).setMethod('GET').se=
nd();ii=3D-1;}}else if(ii){ii=3D0;}}=0A=
addEventBase(document,'keydown',fn);});=0A=
=0A=
function =
Vector2(x,y,domain){copy_properties(this,{x:parseFloat(x),y:parseFloat(y)=
,domain:domain||'pure'});};copy_properties(Vector2.prototype,{toString:fu=
nction(){return'('+this.x+', =
'+this.y+')';},add:function(vx,vy){if(arguments.length=3D=3D1){if(vx.doma=
in!=3D'pure'){vx=3Dvx.convertTo(this.domain);}=0A=
return this.add(vx.x,vx.y);}=0A=
var dx=3DparseFloat(vx);var dy=3DparseFloat(vy);return new =
Vector2(this.x+dx,this.y+dy,this.domain);},mul:function(sx,sy){if(typeof(=
sy)=3D=3D"undefined"){sy=3Dsx;}=0A=
return new =
Vector2(this.x*sx,this.y*sy,this.domain);},sub:function(vx,vy){if(argumen=
ts.length=3D=3D1){return this.add(vx.mul(-1));}else{return =
this.add(-vx,-vy);}},distanceTo:function(v){return =
this.sub(v).magnitude();},magnitude:function(){return =
Math.sqrt((this.x*this.x)+(this.y*this.y));},convertTo:function(newDomain=
){if(newDomain!=3D'pure'&&newDomain!=3D'viewport'&&newDomain!=3D'document=
'){Util.error('Domain %q is not valid; legitimate coordinate domains are =
%q, %q, '+'%q.',newDomain,'pure','viewport','document');return new =
Vector2(0,0);}=0A=
if(newDomain=3D=3Dthis.domain){return new =
Vector2(this.x,this.y,this.domain);}=0A=
if(newDomain=3D=3D'pure'){return new Vector2(this.x,this.y);}=0A=
if(this.domain=3D=3D'pure'){Util.error('Unable to covert a pure vector =
to %q coordinates; a pure vector is '+'abstract and does not exist in =
any document coordinate system. If '+'you need to hack around this, =
create the vector explicitly in some '+'document coordinate domain, by =
passing a third argument to the '+'constructor. But you probably don\'t, =
and are just using the class '+'wrong. Stop doing =
that.',newDomain);return new Vector2(0,0);}=0A=
var o=3DVector2.getScrollPosition('document');var =
x=3Dthis.x,y=3Dthis.y;if(this.domain=3D=3D'document'){x-=3Do.x;y-=3Do.y;}=
else{x+=3Do.x;y+=3Do.y;}=0A=
return new Vector2(x,y,newDomain);},setElementPosition:function(el){var =
p=3Dthis.convertTo('document');el.style.left=3DparseInt(p.x)+'px';el.styl=
e.top=3DparseInt(p.y)+'px';return =
this;},setElementDimensions:function(el){return =
this.setElementWidth(el).setElementHeight(el);},setElementWidth:function(=
el){el.style.width=3DparseInt(this.x,10)+'px';return =
this;},setElementHeight:function(el){el.style.height=3DparseInt(this.y,10=
)+'px';return =
this;},scrollElementBy:function(el){if(el=3D=3Ddocument.body){el=3DDOMScr=
oll.getScrollRoot();}=0A=
if(el=3D=3Ddocument.body){window.scrollBy(this.x,this.y);}else{el.scrollL=
eft+=3Dthis.x;el.scrollTop+=3Dthis.y;}=0A=
return =
this;}});copy_properties(Vector2,{compass:{east:'e',west:'w',north:'n',so=
uth:'s',center:'center',northeast:'ne',northwest:'nw',southeast:'se',sout=
hwest:'sw'},getEventPosition:function(e,domain){domain=3Ddomain||'documen=
t';e=3D$E(e);var x=3De.pageX||(e.clientX+=0A=
(document.documentElement.scrollLeft||document.body.scrollLeft));var =
y=3De.pageY||(e.clientY+=0A=
(document.documentElement.scrollTop||document.body.scrollTop));var =
v=3Dnew =
Vector2(x,y,'document');if(DOMScroll.getScrollWrapper()){v=3Dv.add(Vector=
2.getScrollPosition());}=0A=
return =
v.convertTo(domain);},getScrollPosition:function(domain){domain=3Ddomain|=
|'document';var wrapper=3DDOMScroll.getScrollWrapper();if(wrapper){var =
x=3Dwrapper.scrollLeft;var y=3Dwrapper.scrollTop;}else{var =
x=3Ddocument.body.scrollLeft||document.documentElement.scrollLeft;var =
y=3Ddocument.body.scrollTop||document.documentElement.scrollTop;}=0A=
return(new =
Vector2(x,y,'document').convertTo(domain));},getElementPosition:function(=
el,domain){domain=3Ddomain||'document';if(!el){return;}=0A=
if(ua.safari()<500&&el.tagName=3D=3D'TR'){el=3Del.firstChild;}=0A=
var left=3Del.offsetLeft;var top=3Del.offsetTop;var =
op=3Del.offsetParent;var =
root=3DDOMScroll.getScrollWrapper()||document.body;var =
fixed=3Dfalse;while(el.parentNode&&root!=3Del.parentNode&&document.body!=3D=
el.parentNode){el=3Del.parentNode;if(!isNaN(el.scrollTop)){if(!(ua.opera(=
)<9.50)||!operaIgnoreScroll[window.getComputedStyle(el,'').getPropertyVal=
ue('display')]){top-=3Del.scrollTop;left-=3Del.scrollLeft;}}=0A=
if(op=3D=3Del){if(ua.safari()<500&&el.tagName=3D=3D'TR'){top+=3Del.firstC=
hild.offsetTop;left+=3Del.firstChild.offsetLeft;}else{top+=3Del.offsetTop=
;left+=3Del.offsetLeft;}=0A=
op=3Del.offsetParent;}=0A=
if(op&&CSS.getStyle(op,'position')=3D=3D'fixed'){fixed=3Dtrue;top+=3Dop.o=
ffsetTop;left+=3Dop.offsetLeft;break;}}=0A=
if(fixed){var =
scrollPosition=3DVector2.getScrollPosition('document');left+=3DscrollPosi=
tion.x;top+=3DscrollPosition.y;}=0A=
return(new =
Vector2(left,top,'document').convertTo(domain));},getElementDimensions:fu=
nction(el,useClient){if(ua.safariPreWebkit()&&el.nodeName=3D=3D'TR'){var =
tds=3Del.getElementsByTagName('td');var =
dimensions=3DVector2.getElementCompassPoint(tds[tds.length-1],Vector2.com=
pass.southeast,useClient).sub(Vector2.getElementPosition(tds[0],'document=
',useClient));return dimensions;}=0A=
var x=3D(useClient?el.clientWidth:el.offsetWidth)||0;var =
y=3D(useClient?el.clientHeight:el.offsetHeight)||0;return new =
Vector2(x,y);},getHiddenElementDimensions:function(el){var =
element=3D$(el);var els=3Delement.style;var =
originalVisibility=3Dels.visibility;var =
originalPosition=3Dels.position;var =
originalDisplay=3Dels.display;if(originalDisplay=3D=3D'none'){els.visibil=
ity=3D'hidden';els.position=3D'absolute';els.display=3D'block';}=0A=
var =
originalDimensions=3DVector2.getElementDimensions(element);els.display=3D=
originalDisplay;els.position=3DoriginalPosition;els.visibility=3Doriginal=
Visibility;return =
originalDimensions;},getElementCompassPoint:function(el,which,useClient){=
which=3Dwhich||Vector2.compass.southeast;var =
p=3DVector2.getElementPosition(el);var =
d=3DVector2.getElementDimensions(el,useClient);var =
c=3DVector2.compass;switch(which){case c.east:return =
p.add(d.x,d.y*.5);case c.west:return p.add(0,d.y*.5);case c.north:return =
p.add(d.x*.5,0);case c.south:return p.add(d.x*.5,d.y);case =
c.center:return p.add(d.mul(.5));case c.northwest:return p;case =
c.northeast:return p.add(d.x,0);case c.southwest:return =
p.add(0,d.y);case c.southeast:return p.add(d);}=0A=
Util.error('Unknown compass point %s.',which);return =
p;},getViewportDimensions:function(){var =
x=3D(window&&window.innerWidth)||(document&&document.documentElement&&doc=
ument.documentElement.clientWidth)||(document&&document.body&&document.bo=
dy.clientWidth)||0;var =
y=3D(window&&window.innerHeight)||(document&&document.documentElement&&do=
cument.documentElement.clientHeight)||(document&&document.body&&document.=
body.clientHeight)||0;return new =
Vector2(x,y,'viewport');},getDocumentDimensions:function(){var =
wrapper=3DDOMScroll.getScrollWrapper();var =
x=3D(wrapper&&wrapper.scrollWidth)||(document&&document.documentElement&&=
document.documentElement.scrollWidth)||(document&&document.body&&document=
.body.scrollWidth)||0;var =
y=3D(wrapper&&wrapper.scrollHeight)||(document&&document.documentElement&=
&document.documentElement.scrollHeight)||(document&&document.body&&docume=
nt.body.scrollHeight)||0;return new =
Vector2(x,y,'document');},scrollIntoView:function(el){var =
offsetParent=3Del.offsetParent;var rect=3DRect(el);var =
position=3Drect.boundWithin(Rect(offsetParent)).getPositionVector();rect.=
getPositionVector().sub(position).scrollElementBy(offsetParent);}});var =
operaIgnoreScroll=3D{'table':true,'inline-table':true,'inline':true};func=
tion elementX(obj){return Vector2.getElementPosition(obj,'document').x;}=0A=
function elementY(obj){return =
Vector2.getElementPosition(obj,'document').y;}=0A=
NodeAugment.add({getPosition:Vector2.getElementPosition,getDimensions:Vec=
tor2.getElementDimensions,getHiddenDimensions:Vector2.getHiddenElementDim=
ensions,getCompassPoint:Vector2.getElementCompassPoint});=0A=
=0A=
var DOMScroll=3D{_scrollWrapper:0,usingScrollWrapper:function(){return =
env_get('use_scroll_wrapper');},getScrollWrapper:function(){if(DOMScroll.=
_scrollWrapper=3D=3D=3D0){DOMScroll._scrollWrapper=3DDOMScroll.usingScrol=
lWrapper()?ge('scroll_wrapper'):null;}=0A=
return DOMScroll._scrollWrapper;},getScrollRoot:function(){return =
DOMScroll.getScrollWrapper()||document.body;},SCROLL_CHANGE:'scroll_chang=
e',_hasScrollListeners:false,_isScrolled:null,registerScrollChangeHandler=
:function(cb){Arbiter.subscribe(DOMScroll.SCROLL_CHANGE,cb);if(!DOMScroll=
._hasScrollListeners){DOMScroll._hasScrollListeners=3Dtrue;Event.listen(w=
indow,'resize',DOMScroll.updateScrollState);}},updateScrollState:function=
(){if(DOMScroll.usingScrollWrapper()){var =
wrapper=3DDOMScroll.getScrollWrapper();var =
offset_dim=3DVector2.getElementDimensions(wrapper);var =
client_dim=3DVector2.getElementDimensions(wrapper,true);var =
is_scrolled_x=3D(offset_dim.y>client_dim.y);var =
is_scrolled_y=3D(offset_dim.x>client_dim.x);}else{var =
viewport_dim=3DVector2.getViewportDimensions();var =
document_dim=3DVector2.getDocumentDimensions();var =
is_scrolled_x=3D(document_dim.x>viewport_dim.x);var =
is_scrolled_y=3D(document_dim.y>viewport_dim.y);}=0A=
is_scrolled_x+=3D0;is_scrolled_y+=3D0;var =
changed=3D(DOMScroll._isScrolled=3D=3D=3Dnull)||(is_scrolled_x!=3DDOMScro=
ll._isScrolled.x)||(is_scrolled_y!=3DDOMScroll._isScrolled.y);if(changed)=
{DOMScroll._isScrolled=3Dnew Vector2(is_scrolled_x,is_scrolled_y);var =
message=3D{sender:DOMScroll,is_scrolled:DOMScroll.getScrollState()};Arbit=
er.inform(DOMScroll.SCROLL_CHANGE,message,Arbiter.BEHAVIOR_STATE);}},getS=
crollState:function(){if(DOMScroll._isScrolled=3D=3D=3Dnull){DOMScroll.up=
dateScrollState();}=0A=
return =
DOMScroll._isScrolled;},_scrollbarSize:null,_initScrollbarSize:function()=
{var =
inner=3D$N('p');inner.style.width=3D'100%';inner.style.height=3D'200px';v=
ar =
outer=3D$N('div');outer.style.position=3D'absolute';outer.style.top=3D'0p=
x';outer.style.left=3D'0px';outer.style.visibility=3D'hidden';outer.style=
.width=3D'200px';outer.style.height=3D'150px';outer.style.overflow=3D'hid=
den';outer.appendChild(inner);document.body.appendChild(outer);var =
w1=3Dinner.offsetWidth;outer.style.overflow=3D'scroll';var =
w2=3Dinner.offsetWidth;if(w1=3D=3Dw2){w2=3Douter.clientWidth;}=0A=
document.body.removeChild(outer);DOMScroll._scrollbarSize=3Dw1-w2;if(DOMS=
croll._scrollbarSize<5){DOMScroll._scrollbarSize=3D15;}},getScrollbarSize=
:function(){if(DOMScroll._scrollbarSize=3D=3D=3Dnull){DOMScroll._initScro=
llbarSize();}=0A=
return =
DOMScroll._scrollbarSize;},scrollTo:function(v,use_animation,center,botto=
m_offset){use_animation=3Duse_animation||use_animation=3D=3D=3Dundefined;=
if(!(v instanceof Vector2)){var x=3DVector2.getScrollPosition().x;var =
y=3DVector2.getElementPosition($(v)).y;y=3Dy-Math.min(0,Math.max(Vector2.=
getViewportDimensions().y/3,100));v=3Dnew Vector2(x,y,'document');}=0A=
if(center){v.y-=3DVector2.getViewportDimensions().y/2;}else =
if(bottom_offset){v.y-=3DVector2.getViewportDimensions().y;v.y+=3Dbottom_=
offset;}=0A=
v=3Dv.convertTo('document');var =
wrapper=3DDOMScroll.getScrollWrapper();if(use_animation&&window.animation=
){var =
root=3Dwrapper||document.body;animation(root).to('scrollTop',v.y).to('scr=
ollLeft',v.x).ease(animation.ease.end).duration(750).go();}else =
if(wrapper){wrapper.scrollTop=3Dv.y;wrapper.scrollLeft=3Dv.x;}else =
if(window.scrollTo){window.scrollTo(v.x,v.y);}}};=0A=
=0A=
function animation(obj){if(obj=3D=3Dundefined){Util.error("Creating =
animation on non-existant object");return;}=0A=
if(this=3D=3Dwindow){return new =
animation(obj);}else{this.obj=3Dobj;this._reset_state();this.queue=3D[];t=
his.last_attr=3Dnull;}}=0A=
animation.resolution=3D20;animation.offset=3D0;animation.prototype._reset=
_state=3Dfunction(){this.state=3D{attrs:{},duration:500}}=0A=
animation.prototype.stop=3Dfunction(){this._reset_state();this.queue=3D[]=
;return this;}=0A=
animation.prototype._build_container=3Dfunction(){if(this.container_div){=
this._refresh_container();return;}=0A=
if(this.obj.firstChild&&this.obj.firstChild.__animation_refs){this.contai=
ner_div=3Dthis.obj.firstChild;this.container_div.__animation_refs++;this.=
_refresh_container();return;}=0A=
var =
container=3Ddocument.createElement('div');container.style.padding=3D'0px'=
;container.style.margin=3D'0px';container.style.border=3D'0px';container.=
__animation_refs=3D1;var =
children=3Dthis.obj.childNodes;while(children.length){container.appendChi=
ld(children[0]);}=0A=
this.obj.appendChild(container);this.obj.style.overflow=3D'hidden';this.c=
ontainer_div=3Dcontainer;this._refresh_container();}=0A=
animation.prototype._refresh_container=3Dfunction(){this.container_div.st=
yle.height=3D'auto';this.container_div.style.width=3D'auto';this.containe=
r_div.style.height=3Dthis.container_div.offsetHeight+'px';this.container_=
div.style.width=3Dthis.container_div.offsetWidth+'px';}=0A=
animation.prototype._destroy_container=3Dfunction(){if(!this.container_di=
v){return;}=0A=
if(!--this.container_div.__animation_refs){var =
children=3Dthis.container_div.childNodes;while(children.length){this.obj.=
appendChild(children[0]);}=0A=
this.obj.removeChild(this.container_div);}=0A=
this.container_div=3Dnull;}=0A=
animation.ATTR_TO=3D1;animation.ATTR_BY=3D2;animation.ATTR_FROM=3D3;anima=
tion.prototype._attr=3Dfunction(attr,value,mode){attr=3Dattr.replace(/-[a=
-z]/gi,function(l){return l.substring(1).toUpperCase();});var =
auto=3Dfalse;switch(attr){case'background':this._attr('backgroundColor',v=
alue,mode);return =
this;case'margin':value=3Danimation.parse_group(value);this._attr('margin=
Bottom',value[0],mode);this._attr('marginLeft',value[1],mode);this._attr(=
'marginRight',value[2],mode);this._attr('marginTop',value[3],mode);return=
 =
this;case'padding':value=3Danimation.parse_group(value);this._attr('paddi=
ngBottom',value[0],mode);this._attr('paddingLeft',value[1],mode);this._at=
tr('paddingRight',value[2],mode);this._attr('paddingTop',value[3],mode);r=
eturn =
this;case'backgroundColor':case'borderColor':case'color':value=3Danimatio=
n.parse_color(value);break;case'opacity':value=3DparseFloat(value,10);bre=
ak;case'height':case'width':if(value=3D=3D'auto'){auto=3Dtrue;}else{value=
=3DparseInt(value,10);}=0A=
break;case'borderWidth':case'lineHeight':case'fontSize':case'marginBottom=
':case'marginLeft':case'marginRight':case'marginTop':case'paddingBottom':=
case'paddingLeft':case'paddingRight':case'paddingTop':case'bottom':case'l=
eft':case'right':case'top':case'scrollTop':case'scrollLeft':value=3Dparse=
Int(value,10);break;default:throw new Error(attr+' is not a supported =
attribute!');}=0A=
if(this.state.attrs[attr]=3D=3D=3Dundefined){this.state.attrs[attr]=3D{};=
}=0A=
if(auto){this.state.attrs[attr].auto=3Dtrue;}=0A=
switch(mode){case =
animation.ATTR_FROM:this.state.attrs[attr].start=3Dvalue;break;case =
animation.ATTR_BY:this.state.attrs[attr].by=3Dtrue;case =
animation.ATTR_TO:this.state.attrs[attr].value=3Dvalue;break;}}=0A=
animation.prototype.to=3Dfunction(attr,value){if(value=3D=3D=3Dundefined)=
{this._attr(this.last_attr,attr,animation.ATTR_TO);}else{this._attr(attr,=
value,animation.ATTR_TO);this.last_attr=3Dattr;}=0A=
return this;}=0A=
animation.prototype.by=3Dfunction(attr,value){if(value=3D=3D=3Dundefined)=
{this._attr(this.last_attr,attr,animation.ATTR_BY);}else{this._attr(attr,=
value,animation.ATTR_BY);this.last_attr=3Dattr;}=0A=
return this;}=0A=
animation.prototype.from=3Dfunction(attr,value){if(value=3D=3D=3Dundefine=
d){this._attr(this.last_attr,attr,animation.ATTR_FROM);}else{this._attr(a=
ttr,value,animation.ATTR_FROM);this.last_attr=3Dattr;}=0A=
return this;}=0A=
animation.prototype.duration=3Dfunction(duration){this.state.duration=3Dd=
uration?duration:0;return this;}=0A=
animation.prototype.checkpoint=3Dfunction(distance,callback){if(distance=3D=
=3D=3Dundefined){distance=3D1;}=0A=
this.state.checkpoint=3Ddistance;this.queue.push(this.state);this._reset_=
state();this.state.checkpointcb=3Dcallback;return this;}=0A=
animation.prototype.blind=3Dfunction(){this.state.blind=3Dtrue;return =
this;}=0A=
animation.prototype.hide=3Dfunction(){this.state.hide=3Dtrue;return =
this;}=0A=
animation.prototype.show=3Dfunction(){this.state.show=3Dtrue;return =
this;}=0A=
animation.prototype.ease=3Dfunction(ease){this.state.ease=3Dease;return =
this;}=0A=
animation.prototype.go=3Dfunction(){var time=3D(new =
Date()).getTime();this.queue.push(this.state);for(var =
i=3D0;i<this.queue.length;i++){this.queue[i].start=3Dtime-animation.offse=
t;if(this.queue[i].checkpoint){time+=3Dthis.queue[i].checkpoint*this.queu=
e[i].duration;}}=0A=
animation.push(this);return this;}=0A=
animation.prototype._frame=3Dfunction(time){var done=3Dtrue;var =
still_needs_container=3Dfalse;var whacky_firefox=3Dfalse;for(var =
i=3D0;i<this.queue.length;i++){var =
cur=3Dthis.queue[i];if(cur.start>time){done=3Dfalse;continue;}=0A=
if(cur.checkpointcb){this._callback(cur.checkpointcb,time-cur.start);cur.=
checkpointcb=3Dnull;}=0A=
if(cur.started=3D=3D=3Dundefined){if(cur.show){this.obj.style.display=3D'=
block';}=0A=
for(var a in cur.attrs){if(cur.attrs[a].start!=3D=3Dundefined){continue;}=0A=
switch(a){case'backgroundColor':case'borderColor':case'color':var =
val=3Danimation.parse_color(CSS.getStyle(this.obj,a=3D=3D'borderColor'?'b=
orderLeftColor':a));if(cur.attrs[a].by){cur.attrs[a].value[0]=3DMath.min(=
255,Math.max(0,cur.attrs[a].value[0]+val[0]));cur.attrs[a].value[1]=3DMat=
h.min(255,Math.max(0,cur.attrs[a].value[1]+val[1]));cur.attrs[a].value[2]=
=3DMath.min(255,Math.max(0,cur.attrs[a].value[2]+val[2]));}=0A=
break;case'opacity':var =
val=3DCSS.getOpacity(this.obj);if(cur.attrs[a].by){cur.attrs[a].value=3DM=
ath.min(1,Math.max(0,cur.attrs[a].value+val));}=0A=
break;case'height':var =
val=3DDOM.getBoxHeight(this.obj);if(cur.attrs[a].by){cur.attrs[a].value+=3D=
val;}=0A=
break;case'width':var =
val=3DDOM.getBoxWidth(this.obj);if(cur.attrs[a].by){cur.attrs[a].value+=3D=
val;}=0A=
break;case'scrollLeft':case'scrollTop':var =
val=3D(this.obj=3D=3Ddocument.body)?(document.documentElement[a]||documen=
t.body[a]):this.obj[a];if(cur.attrs[a].by){cur.attrs[a].value+=3Dval;}=0A=
cur['last'+a]=3Dval;break;default:var =
val=3DparseInt(CSS.getStyle(this.obj,a),10)||0;if(cur.attrs[a].by){cur.at=
trs[a].value+=3Dval;}=0A=
break;}=0A=
cur.attrs[a].start=3Dval;}=0A=
if((cur.attrs.height&&cur.attrs.height.auto)||(cur.attrs.width&&cur.attrs=
.width.auto)){if(ua.firefox()<3){whacky_firefox=3Dtrue;}=0A=
this._destroy_container();for(var a =
in{height:1,width:1,fontSize:1,borderLeftWidth:1,borderRightWidth:1,borde=
rTopWidth:1,borderBottomWidth:1,paddingLeft:1,paddingRight:1,paddingTop:1=
,paddingBottom:1}){if(cur.attrs[a]){this.obj.style[a]=3Dcur.attrs[a].valu=
e+(typeof cur.attrs[a].value=3D=3D'number'?'px':'');}}=0A=
if(cur.attrs.height&&cur.attrs.height.auto){cur.attrs.height.value=3DDOM.=
getBoxHeight(this.obj);}=0A=
if(cur.attrs.width&&cur.attrs.width.auto){cur.attrs.width.value=3DDOM.get=
BoxWidth(this.obj);}}=0A=
cur.started=3Dtrue;if(cur.blind){this._build_container();}}=0A=
var =
p=3D(time-cur.start)/cur.duration;if(p>=3D1){p=3D1;if(cur.hide){this.obj.=
style.display=3D'none';}}else{done=3Dfalse;}=0A=
var =
pc=3Dcur.ease?cur.ease(p):p;if(!still_needs_container&&p!=3D1&&cur.blind)=
{still_needs_container=3Dtrue;}=0A=
if(whacky_firefox&&this.obj.parentNode){var =
parentNode=3Dthis.obj.parentNode;var =
nextChild=3Dthis.obj.nextSibling;parentNode.removeChild(this.obj);}=0A=
for(var a in =
cur.attrs){switch(a){case'backgroundColor':case'borderColor':case'color':=
this.obj.style[a]=3D'rgb('+=0A=
animation.calc_tween(pc,cur.attrs[a].start[0],cur.attrs[a].value[0],true)=
+','+=0A=
animation.calc_tween(pc,cur.attrs[a].start[1],cur.attrs[a].value[1],true)=
+','+=0A=
animation.calc_tween(pc,cur.attrs[a].start[2],cur.attrs[a].value[2],true)=
+')';break;case'opacity':CSS.setOpacity(this.obj,animation.calc_tween(pc,=
cur.attrs[a].start,cur.attrs[a].value));break;case'height':case'width':th=
is.obj.style[a]=3Dpc=3D=3D1&&cur.attrs[a].auto?'auto':animation.calc_twee=
n(pc,cur.attrs[a].start,cur.attrs[a].value,true)+'px';break;case'scrollLe=
ft':case'scrollTop':var is_body=3Dthis.obj=3D=3Ddocument.body;var =
val=3D(is_body)?(document.documentElement[a]||document.body[a]):this.obj[=
a];if(cur['last'+a]!=3Dval){delete cur.attrs[a];}else{var =
diff=3Danimation.calc_tween(pc,cur.attrs[a].start,cur.attrs[a].value,true=
)-val;if(DOMScroll.usingScrollWrapper()||!is_body){this.obj[a]=3Ddiff+val=
;}else{if(a=3D=3D'scrollLeft'){window.scrollBy(diff,0);}else{window.scrol=
lBy(0,diff);}}=0A=
cur['last'+a]=3Ddiff+val;}=0A=
break;default:this.obj.style[a]=3Danimation.calc_tween(pc,cur.attrs[a].st=
art,cur.attrs[a].value,true)+'px';break;}}=0A=
if(p=3D=3D1){this.queue.splice(i--,1);this._callback(cur.ondone,time-cur.=
start-cur.duration);}}=0A=
if(whacky_firefox){parentNode[nextChild?'insertBefore':'appendChild'](thi=
s.obj,nextChild);}=0A=
if(!still_needs_container&&this.container_div){this._destroy_container();=
}=0A=
return!done;}=0A=
animation.prototype.ondone=3Dfunction(fn){this.state.ondone=3Dfn;return =
this;}=0A=
animation.prototype._callback=3Dfunction(callback,offset){if(callback){an=
imation.offset=3Doffset;callback.call(this);animation.offset=3D0;}}=0A=
animation.calc_tween=3Dfunction(p,v1,v2,whole){return(whole?parseInt:pars=
eFloat)((v2-v1)*p+v1,10);}=0A=
animation.parse_color=3Dfunction(color){var =
hex=3D/^#([a-f0-9]{1,2})([a-f0-9]{1,2})([a-f0-9]{1,2})$/i.exec(color);if(=
hex){return[parseInt(hex[1].length=3D=3D1?hex[1]+hex[1]:hex[1],16),parseI=
nt(hex[2].length=3D=3D1?hex[2]+hex[2]:hex[2],16),parseInt(hex[3].length=3D=
=3D1?hex[3]+hex[3]:hex[3],16)];}else{var rgb=3D/^rgba? *\(([0-9]+), =
*([0-9]+), *([0-9]+)(?:, =
*([0-9]+))?\)$/.exec(color);if(rgb){if(rgb[4]=3D=3D=3D'0'){return[255,255=
,255];}else{return[parseInt(rgb[1],10),parseInt(rgb[2],10),parseInt(rgb[3=
],10)];}}else =
if(color=3D=3D'transparent'){return[255,255,255];}else{throw'Named color =
attributes are not supported.';}}}=0A=
animation.parse_group=3Dfunction(value){var value=3Dtrim(value).split(/ =
+/);if(value.length=3D=3D4){return value;}else =
if(value.length=3D=3D3){return[value[0],value[1],value[2],value[1]];}else=
 =
if(value.length=3D=3D2){return[value[0],value[1],value[0],value[1]];}else=
{return[value[0],value[0],value[0],value[0]];}}=0A=
animation.push=3Dfunction(instance){if(!animation.active){animation.activ=
e=3D[];}=0A=
animation.active.push(instance);if(!animation.timeout){animation.timeout=3D=
setInterval(animation.animate.bind(animation),animation.resolution,false)=
;}=0A=
animation.animate(true);}=0A=
animation.animate=3Dfunction(last){var time=3D(new =
Date()).getTime();for(var =
i=3Dlast=3D=3D=3Dtrue?animation.active.length-1:0;i<animation.active.leng=
th;i++){try{if(!animation.active[i]._frame(time)){animation.active.splice=
(i--,1);}}catch(e){animation.active.splice(i--,1);}}=0A=
if(animation.active.length=3D=3D0){clearInterval(animation.timeout);anima=
tion.timeout=3Dnull;}}=0A=
animation.ease=3D{}=0A=
animation.ease.begin=3Dfunction(p){return Math.sin(Math.PI/2*(p-1))+1;}=0A=
animation.ease.end=3Dfunction(p){return Math.sin(0.5*Math.PI*p);}=0A=
animation.ease.both=3Dfunction(p){return =
0.5*Math.sin(Math.PI*(p-0.5))+0.5;}=0A=
=0A=
function URI(uri){if(uri=3D=3D=3Dwindow){Util.error('what the hell are =
you doing');return;}=0A=
if(this=3D=3D=3Dwindow){return new URI(uri||window.location.href);}=0A=
this.parse(uri||'');}=0A=
copy_properties(URI,{getRequestURI:function(respect_page_transitions,supp=
ress_warning){respect_page_transitions=3Drespect_page_transitions=3D=3D=3D=
undefined||respect_page_transitions;if(respect_page_transitions&&window.P=
ageTransitions&&PageTransitions.isInitialized()){return =
PageTransitions.getCurrentURI(!!suppress_warning).getQualifiedURI();}else=
{return new =
URI(window.location.href);}},getMostRecentURI:function(){if(window.PageTr=
ansitions&&PageTransitions.isInitialized()){return =
PageTransitions.getMostRecentURI().getQualifiedURI();}else{return new =
URI(window.location.href);}},expression:/(((\w+):\/\/)([^\/:]*)(:(\d+))?)=
?([^#?]*)(\?([^#]*))?(#(.*))?/,arrayQueryExpression:/^(\w+)((?:\[\w*\])+)=
=3D?(.*)/,explodeQuery:function(q){if(!q){return{};}=0A=
var =
result=3D{};q=3Dq.replace(/%5B/ig,'[').replace(/%5D/ig,']');q=3Dq.split('=
&');for(var ii=3D0,length=3Dq.length;ii<length;ii++){var =
match=3Dq[ii].match(URI.arrayQueryExpression);if(!match){var =
term=3Dq[ii].split('=3D');result[URI.decodeComponent(term[0])]=3Dterm[1]=3D=
=3D=3Dundefined?null:URI.decodeComponent(term[1]);}else{var =
indices=3Dmatch[2].split(/\]\[|\[|\]/).slice(0,-1);var =
name=3Dmatch[1];var =
value=3DURI.decodeComponent(match[3]||'');indices[0]=3Dname;var =
resultNode=3Dresult;for(var =
i=3D0;i<indices.length-1;i++){if(indices[i]){if(resultNode[indices[i]]=3D=
=3D=3Dundefined){if(indices[i+1]&&!indices[i+1].match(/\d+$/)){resultNode=
[indices[i]]=3D{};}else{resultNode[indices[i]]=3D[];}}=0A=
resultNode=3DresultNode[indices[i]];}else{if(indices[i+1]&&!indices[i+1].=
match(/\d+$/)){resultNode.push({});}else{resultNode.push([]);}=0A=
resultNode=3DresultNode[resultNode.length-1];}}=0A=
if(resultNode instanceof =
Array&&indices[indices.length-1]=3D=3D''){resultNode.push(value);}else{re=
sultNode[indices[indices.length-1]]=3Dvalue;}}}=0A=
return =
result;},implodeQuery:function(obj,name,encode){name=3Dname||'';if(encode=
=3D=3D=3Dundefined){encode=3Dtrue;}=0A=
var =
r=3D[];if(obj=3D=3D=3Dnull||obj=3D=3D=3Dundefined){r.push(encode?URI.enco=
deComponent(name):name);}else if(obj instanceof Array){for(var =
ii=3D0;ii<obj.length;++ii){try{if(obj[ii]!=3D=3Dundefined){r.push(URI.imp=
lodeQuery(obj[ii],name?(name+'['+ii+']'):ii));}}catch(ignored){}}}else =
if(typeof(obj)=3D=3D'object'){if(DOM.isNode(obj)){r.push('{node}');}else{=
for(var k in =
obj){try{if(obj[k]!=3D=3Dundefined){r.push(URI.implodeQuery(obj[k],name?(=
name+'['+k+']'):k));}}catch(ignored){}}}}else{if(encode){r.push(URI.encod=
eComponent(name)+'=3D'+URI.encodeComponent(obj));}else{r.push(name+'=3D'+=
obj);}}=0A=
return r.join('&');},encodeComponent:function(raw){var =
parts=3DString(raw).split(/([\[\]])/);for(var =
i=3D0,length=3Dparts.length;i<length;i+=3D2){parts[i]=3Dwindow.encodeURIC=
omponent(parts[i]);}=0A=
return parts.join('');},decodeComponent:function(encoded_s){return =
window.decodeURIComponent(encoded_s.replace(/\+/g,' =
'));}});copy_properties(URI.prototype,{parse:function(uri){var =
m=3Duri.toString().match(URI.expression);copy_properties(this,{protocol:m=
[3]||'',domain:m[4]||'',port:m[6]||'',path:m[7]||'',query_s:m[9]||'',frag=
ment:m[11]||''});return =
this;},setProtocol:function(p){this.protocol=3Dp;return =
this;},getProtocol:function(){return =
this.protocol;},setQueryData:function(o){this.query_s=3DURI.implodeQuery(=
o);return this;},addQueryData:function(o){return =
this.setQueryData(copy_properties(this.getQueryData(),o));},removeQueryDa=
ta:function(keys){if(!(keys instanceof Array)){keys=3D[keys];}=0A=
var query=3Dthis.getQueryData();for(var =
i=3D0,length=3Dkeys.length;i<length;++i){delete query[keys[i]];}=0A=
return this.setQueryData(query);},getQueryData:function(){return =
URI.explodeQuery(this.query_s);},setFragment:function(f){this.fragment=3D=
f;return this;},getFragment:function(){return =
this.fragment;},setDomain:function(d){this.domain=3Dd;return =
this;},getDomain:function(){return =
this.domain;},setPort:function(p){this.port=3Dp;return =
this;},getPort:function(){return =
this.port;},setPath:function(p){this.path=3Dp;return =
this;},getPath:function(){return =
this.path.replace(/^\/+/,'/');},toString:function(){var =
r=3D'';this.protocol&&(r+=3Dthis.protocol+'://');this.domain&&(r+=3Dthis.=
domain);this.port&&(r+=3D':'+this.port);if(this.domain&&!this.path){r+=3D=
'/';}=0A=
this.path&&(r+=3Dthis.path);this.query_s&&(r+=3D'?'+this.query_s);this.fr=
agment&&(r+=3D'#'+this.fragment);return r;},valueOf:function(){return =
this.toString();},isFacebookURI:function(){if(!URI._facebookURIRegex){URI=
._facebookURIRegex=3Dnew =
RegExp('(^|\.)facebook\.('+env_get('tlds').join('|')+')([^.]*)$','i');}=0A=
return!this.domain||URI._facebookURIRegex.test(this.domain);},isQuickling=
Enabled:function(){return =
window.Quickling&&Quickling.isActive()&&Quickling.isPageActive(this);},ge=
tRegisteredDomain:function(){if(!this.domain){return'';}=0A=
if(!this.isFacebookURI()){return null;}=0A=
var parts=3Dthis.domain.split('.');var =
index=3Dparts.indexOf('facebook');return =
parts.slice(index).join('.');},getTld:function(true_tld){if(!this.domain)=
{return'';}=0A=
var parts=3Dthis.domain.split('.');var =
tld=3Dparts[parts.length-1];if(true_tld){return tld;}=0A=
var =
launched_tlds=3Denv_get('tlds');if(launched_tlds.indexOf(tld)=3D=3D-1){fo=
r(var i=3D0;i<launched_tlds.length;++i){var =
launched_tld=3Dlaunched_tlds[i];if(new =
RegExp(launched_tld+'$').test(this.domain)){tld=3Dlaunched_tld;break;}}}=0A=
return tld;},getUnqualifiedURI:function(){return new =
URI(this).setProtocol(null).setDomain(null).setPort(null);},getQualifiedU=
RI:function(){var uri=3Dnew URI(this);if(!uri.getDomain()){var =
current=3DURI();uri.setProtocol(current.getProtocol()).setDomain(current.=
getDomain()).setPort(current.getPort());}=0A=
return uri;},isSameOrigin:function(asThisURI){var =
uri=3DasThisURI||window.location.href;if(!(uri instanceof =
URI)){uri=3Dnew URI(uri.toString());}=0A=
if(this.getProtocol()&&this.getProtocol()!=3Duri.getProtocol()){return =
false;}=0A=
if(this.getDomain()&&this.getDomain()!=3Duri.getDomain()){return false;}=0A=
return true;},coerceToSameOrigin:function(targetURI){var =
uri=3DtargetURI||window.location.href;if(!(uri instanceof =
URI)){uri=3Dnew URI(uri.toString());}=0A=
if(this.isSameOrigin(uri)){return true;}=0A=
if(this.getProtocol()!=3Duri.getProtocol()){return false;}=0A=
var dst=3Duri.getDomain().split('.');var =
src=3Dthis.getDomain().split('.');var =
dst_part;if(uri.isFacebookURI()){while((dst_part=3Ddst.pop())&&dst_part=3D=
=3Dsrc.pop()){if(dst_part=3D=3D'facebook'){this.setDomain(uri.getDomain()=
);return true;}}}=0A=
return =
false;},go:function(){goURI(this);},setSubdomain:function(subdomain){var =
uri=3Dnew URI(this).getQualifiedURI();var =
domains=3Duri.getDomain().split('.');if(domains.length<=3D2){domains.unsh=
ift(subdomain);}else{domains[0]=3Dsubdomain;}=0A=
return =
uri.setDomain(domains.join('.'));},getSubdomain:function(){if(!this.getDo=
main()){return'';}=0A=
var =
domains=3Dthis.getDomain().split('.');if(domains.length<=3D2){return'';}e=
lse{return domains[0];}}});=0A=
=0A=
String.prototype.trim=3Dfunction(){if(this=3D=3Dwindow){return null;}=0A=
return this.replace(/^\s*|\s*$/g,'');};function trim(text){try{return =
String(text.toString()).trim();}catch(ignored){return'';}}=0A=
String.prototype.startsWith=3Dfunction(substr){if(this=3D=3Dwindow){retur=
n null;}=0A=
return =
this.substring(0,substr.length)=3D=3Dsubstr;};String.prototype.endsWith=3D=
function(substr){if(this=3D=3Dwindow){return null;}=0A=
return =
this.length>=3Dsubstr.length&&this.substring(this.length-substr.length)=3D=
=3Dsubstr;};String.prototype.split=3D(function(split){return =
function(separator,limit){var =
flags=3D"";if(separator=3D=3D=3Dnull||limit=3D=3D=3Dnull){return[];}else =
if(typeof separator=3D=3D'string'){return =
split.call(this,separator,limit);}else =
if(separator=3D=3D=3Dundefined){return[this.toString()];}else =
if(separator instanceof =
RegExp){if(!separator._2||!separator._1){flags=3Dseparator.toString().rep=
lace(/^[\S\s]+\//,"");if(!separator._1){if(!separator.global){separator._=
1=3Dnew RegExp(separator.source,"g"+flags);}else{separator._1=3D1;}}}=0A=
separator1=3Dseparator._1=3D=3D=3D1?separator:separator._1;var =
separator2=3D(separator._2?separator._2:separator._2=3Dnew =
RegExp("^"+separator1.source+"$",flags));if(limit=3D=3D=3Dundefined||limi=
t<0){limit=3Dfalse;}else{limit=3DMath.floor(limit);if(!limit)return[];}=0A=
var =
match,output=3D[],lastLastIndex=3D0,i=3D0;while((limit?i++<=3Dlimit:true)=
&&(match=3Dseparator1.exec(this))){if((match[0].length=3D=3D=3D0)&&(separ=
ator1.lastIndex>match.index)){separator1.lastIndex--;}=0A=
if(separator1.lastIndex>lastLastIndex){if(match.length>1){match[0].replac=
e(separator2,function(){for(var =
j=3D1;j<arguments.length-2;j++){if(arguments[j]=3D=3D=3Dundefined)match[j=
]=3Dundefined;}});}=0A=
output=3Doutput.concat(this.substring(lastLastIndex,match.index),(match.i=
ndex=3D=3D=3Dthis.length?[]:match.slice(1)));lastLastIndex=3Dseparator1.l=
astIndex;}=0A=
if(match[0].length=3D=3D=3D0){separator1.lastIndex++;}}=0A=
return(lastLastIndex=3D=3D=3Dthis.length)?(separator1.test("")?output:out=
put.concat("")):(limit?output:output.concat(this.substring(lastLastIndex)=
));}else{return =
split.call(this,separator,limit);}};})(String.prototype.split);=0A=
=0A=
function List(length){if(arguments.length>1){for(var =
ii=3D0;ii<arguments.length;ii++){this.push(arguments[ii]);}}else{this.res=
ize(length||0);}}=0A=
List.prototype.length=3D0;List.prototype.size=3Dfunction(){return =
this.length;}=0A=
List.prototype.resize=3Dfunction(new_size){this.length=3Dnew_size;return =
this;}=0A=
List.prototype.alloc=3Dfunction(n){return new List(n);}=0A=
List.prototype.toString=3Dfunction(){return'['+this.join(', ')+']';}=0A=
List.prototype.push=3DArray.prototype.push;List.prototype.pop=3DArray.pro=
totype.pop;List.prototype.join=3DArray.prototype.join;List.prototype.map=3D=
Array.prototype.map;List.prototype.forEach=3DArray.prototype.forEach;List=
.prototype.each=3DArray.prototype.each;List.prototype.filter=3DArray.prot=
otype.filter;List.prototype.every=3DArray.prototype.every;List.prototype.=
some=3DArray.prototype.some;List.prototype.pull=3DArray.prototype.pull;Li=
st.prototype.pullEach=3DArray.prototype.pullEach;List.prototype.pullFilte=
r=3DArray.prototype.pullFilter;List.prototype.splice=3DArray.prototype.sp=
lice;=0A=
=0A=
function HTML(content){if(this=3D=3D=3Dwindow){if(content instanceof =
HTML){return content;}=0A=
return new HTML(content);}=0A=
this._content=3Dcontent;this._defer=3Dfalse;this._extra_action=3D'';this.=
_nodes=3Dnull;this._inline_js=3Dbagofholding;this._has_option_elements=3D=
false;return this;}=0A=
copy_properties(HTML.prototype,{toString:function(){var =
str=3Dthis._content;if(this._extra_action){str+=3D'<script =
type=3D"text/javascript">'+this._extra_action=0A=
+'</scr'+'ipt>';}=0A=
return str;},setAction:function(js){this._extra_action=3Djs;return =
this;},getAction:function(){this._fillCache();var =
fn=3Dfunction(){this._inline_js();eval_global(this._extra_action);}.bind(=
this);if(this.getDeferred()){return fn.defer.bind(fn);}else{return =
fn;}},setDeferred:function(defer){this._defer=3D!!defer;return =
this;},getDeferred:function(){return =
this._defer;},getContent:function(){return =
this._content;},getNodes:function(){this._fillCache();return =
this._nodes;},getRootNode:function(){return =
this.getNodes()[0];},hasOptionElements:function(){this._fillCache();retur=
n =
this._has_option_elements;},_fillCache:function(){if(null!=3D=3Dthis._nod=
es){return;}=0A=
var html=3Dthis._content;if(!html){this._nodes=3D[];return;}=0A=
html=3Dhtml.replace(/(<(\w+)[^>]*?)\/>/g,function(all,front,tag){return =
tag.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?all=
:front+'></'+tag+'>';});var =
tags=3Dhtml.trim().toLowerCase(),wrapper_elem=3Ddocument.createElement('d=
iv'),dummy_span=3Dfalse;var wrap=3D(!tags.indexOf('<opt')&&[1,'<select =
multiple=3D"multiple" =
class=3D"__WRAPPER">','</select>'])||(!tags.indexOf('<leg')&&[1,'<fieldse=
t =
class=3D"__WRAPPER">','</fieldset>'])||(tags.match(/^<(thead|tbody|tfoot|=
colg|cap)/)&&[1,'<table =
class=3D"__WRAPPER">','</table>'])||(!tags.indexOf('<tr')&&[2,'<table><tb=
ody =
class=3D"__WRAPPER">','</tbody></table>'])||((!tags.indexOf('<td')||!tags=
.indexOf('<th'))&&[3,'<table><tbody><tr =
class=3D"__WRAPPER">','</tr></tbody></table>'])||(!tags.indexOf('<col')&&=
[2,'<table><tbody></tbody><colgroup =
class=3D"__WRAPPER">','</colgroup></table>'])||null;if(null=3D=3D=3Dwrap)=
{wrapper_elem.className=3D'__WRAPPER';if(ua.ie()){wrap=3D[0,'<span =
style=3D"display:none">&nbsp;</span>',''];dummy_span=3Dtrue;}else{wrap=3D=
[0,'',''];}}=0A=
wrapper_elem.innerHTML=3Dwrap[1]+html+wrap[2];;while(wrap[0]--){wrapper_e=
lem=3Dwrapper_elem.lastChild;}=0A=
if(dummy_span){wrapper_elem.removeChild(wrapper_elem.firstChild);}=0A=
if(wrapper_elem.className!=3D'__WRAPPER'){Util.warn('HTML._fillCache: =
HTML markup is not well formed.');}=0A=
if(0!=3Dwrapper_elem.getElementsByTagName('option').length){this._has_opt=
ion_elements=3Dtrue;}=0A=
if(ua.ie()){var =
tbody;if(!tags.indexOf('<table')&&-1=3D=3Dtags.indexOf('<tbody')){tbody=3D=
wrapper_elem.firstChild&&wrapper_elem.firstChild.childNodes;}else =
if(wrap[1]=3D=3D'<table>'&&-1=3D=3Dtags.indexOf('<tbody')){tbody=3Dwrappe=
r_elem.childNodes;}else{tbody=3D[];}=0A=
for(var =
ii=3Dtbody.length-1;ii>=3D0;--ii){if(tbody[ii].nodeName&&tbody[ii].nodeNa=
me.toLowerCase()=3D=3D'tbody'&&tbody[ii].childNodes.length=3D=3D0){tbody[=
ii].parentNode.removeChild(tbody[ii]);}}}=0A=
var scripts=3Dwrapper_elem.getElementsByTagName('script');var =
callbacks=3D[];for(var =
i=3D0;i<scripts.length;i++){if(scripts[i].src){callbacks.push(Bootloader.=
requestResource.bind(Bootloader,'js',scripts[i].src));}else{callbacks.pus=
h(eval_global.bind(null,scripts[i].innerHTML));}}=0A=
for(var =
i=3Dscripts.length-1;i>=3D0;i--){scripts[i].parentNode.removeChild(script=
s[i]);}=0A=
var extracted_js=3Dfunction(){for(var =
ii=3D0;ii<callbacks.length;ii++){callbacks[ii]();}};this._nodes=3Dto_arra=
y(wrapper_elem.childNodes);this._inline_js=3Dextracted_js;}});=0A=
=0A=
function show(){for(var i=3D0;i<arguments.length;i++){var =
element=3Dge(arguments[i]);if(element&&element.style)element.style.displa=
y=3D'';}=0A=
return false;}=0A=
function hide(){for(var i=3D0;i<arguments.length;i++){var =
element=3Dge(arguments[i]);if(element&&element.style)element.style.displa=
y=3D'none';}=0A=
return false;}=0A=
function =
shown(el){el=3Dge(el);return(el.style.display!=3D'none'&&!(el.style.displ=
ay=3D=3D''&&el.offsetWidth=3D=3D0));}=0A=
function toggle(){for(var i=3D0;i<arguments.length;i++){var =
element=3D$(arguments[i]);element.style.display=3DCSS.getStyle(element,"d=
isplay")=3D=3D'block'?'none':'block';}=0A=
return false;}=0A=
function toggleDisplayNone(){for(var i=3D0;i<arguments.length;i++){var =
element=3D$(arguments[i]);if(shown(element)){hide(element);}else{show(ele=
ment);}}=0A=
return false;}=0A=
function =
set_inner_html(obj,html,defer_js_execution){DOM.setContent(obj,HTML(html)=
.setDeferred(!!defer_js_execution));}=0A=
function =
expandCollapseInplace(topElemId,bottomElemId){topElem=3Dge(topElemId);bot=
tomElem=3Dge(bottomElemId);if(!topElem||!bottomElem){return false;}=0A=
topElemHeight=3DtopElem.clientHeight;if(shown(bottomElemId)){bottomElemHe=
ight=3DbottomElem.clientHeight;newHeight=3DtopElemHeight+bottomElemHeight=
;topElem.style.height=3DnewHeight+'px';CSS.addClass(bottomElem,'hidden_el=
em');}else{CSS.removeClass(bottomElem,'hidden_elem');bottomElemHeight=3Db=
ottomElem.clientHeight;newHeight=3DtopElemHeight-bottomElemHeight;topElem=
.style.height=3DnewHeight+'px';}=0A=
return true;}=0A=
=0A=
var =
DOM=3D{tryElement:function(id,no_augment){if(typeof(id)=3D=3D'undefined')=
{Util.error('Tried to get "undefined" element!');return null;}=0A=
var obj;var =
aug=3Dno_augment?identity:NodeAugment.extend;if(typeof(id)=3D=3D'string')=
{if(id=3D=3D'book'){Util.error('FB95: Trying to get #book element from =
JS. #book no'+'longer exists.');}=0A=
obj=3Ddocument.getElementById(id);if(!(ua.ie()>=3D7&&ua.ie()<8)){return =
aug(obj);}=0A=
if(!obj){return null;}else =
if(typeof(obj.id)=3D=3D'string'&&obj.id=3D=3Did){return =
aug(obj);}else{var =
candidates=3Ddocument.getElementsByName(id);if(!candidates||!candidates.l=
ength){return null;}=0A=
var maybe=3D[];for(var ii=3D0;ii<candidates.length;ii++){var =
c=3Dcandidates[ii];if(!c.id&&id){continue;}=0A=
if(typeof(c.id)=3D=3D'string'&&c.id!=3Did){continue;}=0A=
maybe.push(candidates[ii]);}=0A=
if(!maybe.length){return null;}=0A=
return aug(maybe[0]);}}=0A=
return aug(id);},getElement:function(id,no_augment){var =
el=3DDOM.tryElement.apply(null,$A(arguments),no_augment);if(!el){Util.war=
n('Tried to get element %q, but it is not present in the page. (Use =
'+'ge() to test for the presence of an element.)',arguments[0]);}=0A=
return el;},find:function(element,selector_str){var =
elements=3DDOM.scry(element,selector_str);if(1!=3Delements.length){Util.e=
rror('DOM.find located %d elements that matched the selector `%s\''+'.  =
Please only use find when you are sure that 1 element '+'should match =
(like $).  Otherwise, please use =
DOM.scry.',elements.length,selector_str);return null;}=0A=
return elements[0];},scry:function(element,selector_str,no_augment){var =
selectors=3Dselector_str.split(' ');var =
candidates=3D[element||document];var =
elem_is_document=3Dcandidates[0]=3D=3Ddocument;for(var =
i=3D0;i<selectors.length;i++){if(candidates.length=3D=3D0){break;}=0A=
if(selectors[i]=3D=3D''){continue;}=0A=
var selector=3Dselectors[i];var new_candidates=3D[];var =
upwards=3Dfalse;if(selector.charAt(0)=3D=3D'^'){if(i=3D=3D0){upwards=3Dtr=
ue;selector=3Dselector.slice(1);}else{Util.error('upwards looking =
selectors only supported on first selector');return}}=0A=
selector=3Dselector.replace(/\./g,' =
.');selector=3Dselector.replace(/\#/g,' =
#');selector=3Dselector.replace(/\[/g,' [');var =
sub_selectors=3Dselector.split(' ');var tag=3Dsub_selectors[0]||'*';var =
id_selector=3Dsub_selectors[1]&&sub_selectors[1].charAt(0)=3D=3D'#';if(i=3D=
=3D0&&tag=3D=3D'*'&&elem_is_document&&Util.isDevelopmentEnvironment()&&!i=
d_selector){Util.error('DOM.scry was called without a tag in the =
selector. You '+'should probably use DOM.scry like `%s` instead of =
`%s`.','div'+selector_str,selector_str);}=0A=
if(id_selector){var =
elem=3Dge(sub_selectors[1].slice(1),true);if(elem&&('*'=3D=3Dtag||elem.ta=
gName.toLowerCase()=3D=3Dtag)){for(var =
iter=3D0;iter<candidates.length;iter++){if(upwards&&DOM.contains(elem,can=
didates[iter])){new_candidates=3D[elem];break;}else =
if(document=3D=3Dcandidates[iter]||DOM.contains(candidates[iter],elem)){n=
ew_candidates=3D[elem];break;}}}}else{var tag_candidates=3D[];var =
candidate_l=3Dcandidates.length;for(var =
ii=3D0;ii<candidate_l;ii++){if(upwards){var elements=3D[];var =
current=3Dcandidates[ii].parentNode;var =
all=3Dtag=3D=3D'*';while(DOM.isNode(current)){if(all||current.tagName.toL=
owerCase()=3D=3Dtag){elements.push(current);}=0A=
current=3Dcurrent.parentNode;}}else{var =
elements=3Dcandidates[ii].getElementsByTagName(tag);}=0A=
var elements_l=3Delements.length;for(var =
jj=3D0;jj<elements_l;jj++){tag_candidates.push(elements[jj]);}}=0A=
var is_class;var class_regexp;for(var =
sub_iter=3D1;sub_iter<sub_selectors.length;sub_iter++){var =
sub_selector=3Dsub_selectors[sub_iter];if(sub_selector.charAt(0)=3D=3D'.'=
){is_class=3Dtrue;class_regexp=3Dnew =
RegExp('\\b'+sub_selector.substring(1)+'\\b');}else{is_class=3Dfalse;}=0A=
for(var ii=3D0;ii<tag_candidates.length;ii++){var =
tag_candidate=3Dtag_candidates[ii];if(!tag_candidate){continue;}=0A=
if(is_class){if(!class_regexp.test(tag_candidate.className)){delete =
tag_candidates[ii];}=0A=
continue;}else{var =
class_selector=3Dsub_selector.slice(1,sub_selector.length-1);if(class_sel=
ector.indexOf('=3D')=3D=3D-1){if(tag_candidate.getAttribute(class_selecto=
r)=3D=3D=3Dnull){delete tag_candidates[ii];continue;}}else{var =
parts=3Dclass_selector.split('=3D');var attr=3Dparts[0];var =
value=3Dparts[1];value=3Dvalue.slice(1,value.length-1);if(tag_candidate.g=
etAttribute(attr)!=3Dvalue){delete tag_candidates[ii];continue;}}}}}=0A=
for(var =
ii=3D0;ii<tag_candidates.length;ii++){if(tag_candidates[ii]){new_candidat=
es.push(tag_candidates[ii]);if(upwards){break;}}}}=0A=
candidates=3Dnew_candidates;}=0A=
var list=3Dnull;if(!no_augment){for(var =
ii=3D0;ii<candidates.length;ii++){$(candidates[ii]);}=0A=
list=3Dnew =
NodeList();list.push.apply(list,$A(candidates));}else{list=3Dcandidates;}=0A=
return list;},getBoxWidth:function(obj){var =
pL=3DparseInt(CSS.getStyle(obj,'paddingLeft'),10),pR=3DparseInt(CSS.getSt=
yle(obj,'paddingRight'),10),bL=3DparseInt(CSS.getStyle(obj,'borderLeftWid=
th'),10),bR=3DparseInt(CSS.getStyle(obj,'borderRightWidth'),10);return =
obj.offsetWidth-(pL?pL:0)-(pR?pR:0)-(bL?bL:0)-=0A=
(bR?bR:0);},getBoxHeight:function(obj){var =
pT=3DparseInt(CSS.getStyle(obj,'paddingTop'),10),pB=3DparseInt(CSS.getSty=
le(obj,'paddingBottom'),10),bT=3DparseInt(CSS.getStyle(obj,'borderTopWidt=
h'),10),bW=3DparseInt(CSS.getStyle(obj,'borderBottomWidth'),10);return =
obj.offsetHeight-(pT?pT:0)-(pB?pB:0)-(bT?bT:0)-=0A=
(bW?bW:0);},setText:function(el,text){if(DOM.isNode(el,DOM.NODE_TYPES.TEX=
T)){el.data=3Dtext;}else{DOM.empty(el);el.appendChild(document.createText=
Node(text));}},getText:(function(){var =
div=3Ddocument.createElement('div'),prop=3Ddiv.innerText=3D=3Dnull?'textC=
ontent':'innerText';return function(el){if(!el){return'';}else =
if(DOM.isNode(el,DOM.NODE_TYPES.TEXT)){return el.data;}else{return =
el[prop];}};})(),_getSelectionPrivate:function(onlyTestForSupport){var =
result=3DonlyTestForSupport?false:'';if(document.selection&&document.sele=
ction.createRange&&document.selection.createRange.text){result=3DonlyTest=
ForSupport?true:document.selection.createRange().text;}=0A=
else =
if(document.getSelection){result=3DonlyTestForSupport?true:document.getSe=
lection();}=0A=
else =
if(window.getSelection){result=3DonlyTestForSupport?true:window.getSelect=
ion();}=0A=
return result;},getSelectionSupported:function(){return =
DOM._getSelectionPrivate(true);},getSelection:function(){return =
DOM._getSelectionPrivate(false);},create:function(element,attributes,chil=
dren,no_augment){element=3Ddocument.createElement(element);if(attributes)=
{attributes=3Dcopy_properties({},attributes);if(attributes.style){copy_pr=
operties(element.style,attributes.style);delete attributes.style;}=0A=
for(var k in =
attributes){if(k.toLowerCase().indexOf('on')=3D=3D0){if(typeof =
attributes[k]!=3D'function'){Util.error('Handlers passed to DOM.create =
must be functions; '+'handler passed for '+k+' was '+=0A=
(typeof attributes[k])+'.');}=0A=
Event.listen(element,k.substr(2),attributes[k]);delete attributes[k];}}=0A=
copy_properties(element,attributes);}=0A=
if(children!=3Dundefined){DOM.setContent(element,children);}=0A=
return =
$(element,no_augment);},setID:function(element,id){element.id=3Did;},prep=
endContent:function(parent,content){if(!DOM.isNode(parent)){throw new =
Error('DOM.prependContent: reference element is not a node');}=0A=
var =
append_fn=3Dfunction(fragment){if(parent.firstChild){parent.insertBefore(=
fragment,parent.firstChild);}else{parent.appendChild(fragment);}};return =
DOM._addContent(content,append_fn,parent);},insertAfter:function(referenc=
e_element,content){if(!DOM.isNode(reference_element)||!reference_element.=
parentNode){throw new Error('DOM.insertAfter: reference element is not a =
node');}=0A=
var =
append_fn=3Dfunction(fragment){if(reference_element.nextSibling){referenc=
e_element.parentNode.insertBefore(fragment,reference_element.nextSibling)=
;}else{reference_element.parentNode.appendChild(fragment);}};return =
DOM._addContent(content,append_fn,reference_element.parentNode);},insertB=
efore:function(content,reference_element){if(!DOM.isNode(reference_elemen=
t)||!reference_element.parentNode){throw new Error('DOM.insertBefore: =
reference element is not a node or '+'does not have a parent.');}=0A=
var =
append_fn=3Dfunction(fragment){reference_element.parentNode.insertBefore(=
fragment,reference_element);};return =
DOM._addContent(content,append_fn,reference_element.parentNode);},setCont=
ent:function(el,content){if(!DOM.isNode(el)){throw new =
Error('DOM.setContent: reference element is not a node');}=0A=
DOM.empty(el);return =
DOM.appendContent(el,content);},appendContent:function(reference_element,=
content){if(!DOM.isNode(reference_element)){throw new =
Error('DOM.appendContent: reference element is not a node');}=0A=
var =
append_fn=3Dfunction(fragment){reference_element.appendChild(fragment);};=
return =
DOM._addContent(content,append_fn,reference_element);},replace:function(r=
eference_element,content){if(!DOM.isNode(reference_element)||!reference_e=
lement.parentNode){throw new Error('DOM.replace: reference element must =
be a node with a'+' parent');}=0A=
var =
append_fn=3Dfunction(fragment){reference_element.parentNode.replaceChild(=
fragment,reference_element);};return =
DOM._addContent(content,append_fn,reference_element.parentNode);},_gettin=
gCaretPosition:false,getCaretPosition:function(element){element=3D$(eleme=
nt);if(!DOM.isNode(element,['input','textarea'])){return{start:undefined,=
end:undefined};}=0A=
if(!document.selection){return{start:element.selectionStart,end:element.s=
electionEnd};}=0A=
if(DOM.isNode(element,'input')){var =
range=3Ddocument.selection.createRange();return{start:-range.moveStart('c=
haracter',-element.value.length),end:-range.moveEnd('character',-element.=
value.length)};}else{if(!DOM._gettingCaretPosition){DOM._gettingCaretPosi=
tion=3Dtrue;element.focus();DOM._gettingCaretPosition=3Dfalse;}=0A=
var range=3Ddocument.selection.createRange();var =
range2=3Drange.duplicate();range2.moveToElementText(element);range2.setEn=
dPoint('StartToEnd',range);var =
end=3Delement.value.length-range2.text.length;range2.setEndPoint('StartTo=
Start',range);return{start:element.value.length-range2.text.length,end:en=
d};}},setCaretPosition:function(obj,start,end){obj=3D$(obj);if(document.s=
election){if(obj.tagName=3D=3D'TEXTAREA'){var =
i=3Dobj.value.indexOf("\r",0);while(i!=3D-1&&i<end){end--;if(i<start){sta=
rt--;}=0A=
i=3Dobj.value.indexOf("\r",i+1);}}=0A=
var =
range=3Dobj.createTextRange();range.collapse(true);range.moveStart('chara=
cter',start);if(end!=3Dundefined){range.moveEnd('character',end-start);}=0A=
range.select();}else{obj.selectionStart=3Dstart;var =
sel_end=3Dend=3D=3Dundefined?start:end;obj.selectionEnd=3DMath.min(sel_en=
d,obj.value.length);obj.focus();}},remove:function(element,keep_nodes){el=
ement=3D$(element,true);if(element.parentNode){element.parentNode.removeC=
hild(element);if(!keep_nodes&&ua.ie()<8){try{}catch(ignored){}}}},empty:f=
unction(element){element=3D$(element,true);while(element.firstChild){DOM.=
remove(element.firstChild);}},contains:function(outer_obj,inner_obj){oute=
r_obj=3Dge(outer_obj,true);inner_obj=3Dge(inner_obj,true);if(!outer_obj||=
!inner_obj){return false;}else if(outer_obj=3D=3D=3Dinner_obj){return =
true;}else if(DOM.isNode(outer_obj,'#text')){return false;}else =
if(DOM.isNode(inner_obj,'#text')){return =
DOM.contains(outer_obj,inner_obj.parentNode);}else =
if(outer_obj.contains){return outer_obj.contains(inner_obj);}else =
if(outer_obj.compareDocumentPosition){return!!(outer_obj.compareDocumentP=
osition(inner_obj)&16);}else{return =
false;}},getRootElement:function(){var =
elem=3Dnull;if(window.Quickling&&Quickling.isActive()){elem=3Dge('content=
');}=0A=
return =
elem||DOMScroll.getScrollRoot();},suppressSelection:function(element){if(=
typeof =
element.onselectstart!=3D'undefined'){element.listen('selectstart',functi=
on(){return false;});}else if(typeof =
element.style.MozUserSelect!=3D'undefined'){element.style.MozUserSelect=3D=
'none';}else{element.listen('mousedown',function(){return false;});}=0A=
return =
element;},isNode:function(o,of_type){if(typeof(Node)=3D=3D'undefined'){No=
de=3Dnull;}=0A=
try{if(!o||!((Node!=3Dundefined&&o instanceof Node)||o.nodeName)){return =
false;}}catch(ignored){return false;}=0A=
if(typeof(of_type)!=3D=3D'undefined'){of_type=3Darrayize(of_type).map(fun=
ction(i){return(i+'').toUpperCase();});var name,type;try{name=3Dnew =
String(o.nodeName).toUpperCase();type=3Do.nodeType;}catch(ignored){return=
 false;}=0A=
for(var =
ii=3D0;ii<of_type.length;ii++){try{if(name=3D=3Dof_type[ii]||type=3D=3Dof=
_type[ii]){return true;}}catch(ignored){}}=0A=
return false;}=0A=
return =
true;},NODE_TYPES:{ELEMENT:1,ATTRIBUTE:2,TEXT:3,CDATA_SECTION:4,ENTITY_RE=
FERENCE:5,ENTITY:6,PROCESSING_INSTRUCTION:7,COMMENT:8,DOCUMENT:9,DOCUMENT=
_TYPE:10,DOCUMENT_FRAGMENT:11,NOTATION_NODE:12},_addContent:function(cont=
ent,append_fn,target_element){var item,elements=3Dnew =
NodeList(),callbacks=3D[];var =
fragment=3Ddocument.createDocumentFragment();if(!(content instanceof =
Array)){content=3D[content];}=0A=
for(var ii=3D0;ii<content.length;ii++){item=3Dcontent[ii];if(item =
instanceof HTML){callbacks.push(item.getAction());var =
new_nodes=3Ditem.getNodes(),cloned_item;for(var =
jj=3D0;jj<new_nodes.length;jj++){cloned_item=3D(ua.safari()||(ua.ie()&&it=
em.hasOptionElements()))?new_nodes[jj]:new_nodes[jj].cloneNode(true);elem=
ents.push(cloned_item);fragment.appendChild(cloned_item);}}else =
if(is_scalar(item)){var =
text=3Ddocument.createTextNode(item);elements.push(text);fragment.appendC=
hild(text);}else =
if(DOM.isNode(item)){elements.push(item);fragment.appendChild(item);}else=
 if(item instanceof Array){Util.error('DOM._addContent: Nested arrays =
not supported');}else if(item!=3D=3Dnull){Util.error('DOM._addContent: =
No way to set content %q.',item);}}=0A=
append_fn(fragment);for(var =
ii=3D0;ii<callbacks.length;ii++){callbacks[ii]();}=0A=
return =
elements;},findParentByClass:function(elem,cls){while(DOM.isNode(elem)){i=
f(CSS.hasClass(elem,cls)){return elem;}=0A=
elem=3Delem.parentNode;}=0A=
return null;}};function =
NodeList(length){if(!NodeList._augmented){copy_properties(NodeList.protot=
ype,NodeList._getAugment());NodeList._augmented=3Dtrue;}=0A=
List.call(this,length);}=0A=
NodeList.prototype=3Dnew =
List();copy_properties(NodeList.prototype,{toString:function(){return'[No=
deList]';}});copy_properties(NodeList,{_augmented:false,_getAugment:funct=
ion(){var binditerator=3Dfunction(iterator,fn){return function(){var =
args=3D$A(arguments);return =
this[iterator](function(value,idx,list){return =
fn.apply(null,[value].concat(args));});};};var =
selfreduce=3Dfunction(fn){return =
function(){fn.apply(this,$A(arguments));return this;};};var =
mergereduce=3Dfunction(type,fn){return function(){var =
unmerged=3Dfn.apply(this,$A(arguments));var result=3Dnew type();for(var =
ii=3D0;ii<unmerged.length;ii++){result.push.apply(result,$A(unmerged[ii])=
);}=0A=
return =
result;};};return{scry:mergereduce(NodeList,binditerator('map',DOM.scry))=
,addClass:selfreduce(binditerator('map',CSS.addClass)),removeClass:selfre=
duce(binditerator('map',CSS.removeClass)),hasClass:binditerator('every',C=
SS.hasClass),toggleClass:selfreduce(binditerator('map',CSS.toggleClass)),=
getStyle:binditerator('map',CSS.getStyle),setStyle:selfreduce(binditerato=
r('map',CSS.setStyle))};}});function =
$N(element,attributes,content){if(typeof =
attributes!=3D'object'||DOM.isNode(attributes)||attributes instanceof =
Array||attributes instanceof =
HTML){content=3Dattributes;attributes=3Dnull;}=0A=
return DOM.create(element,attributes,content);}=0A=
var ge=3DDOM.tryElement;var $$=3Dfunction =
_$$(rules){if(Util.isDevelopmentEnvironment()&&rules&&!(/^[a-zA-Z1-6]+$/)=
.test(rules)&&-1=3D=3Drules.indexOf('#')){Util.warn('$$() has been =
called with `%s\' as a selector. You should not use only '+'class or =
attribute selectors from the document element, because these '+'can not =
be efficiently queried. Call DOM.find() or DOM.scry() with a '+'root =
element, or look at DOM.scry() for more information.',rules);}=0A=
return DOM.scry.apply(null,[document].concat($A(arguments)));};var =
$=3DDOM.getElement;NodeAugment.add({setContent:DOM.setContent,prependCont=
ent:DOM.prependContent,appendContent:DOM.appendContent,replace:DOM.replac=
e,remove:DOM.remove,empty:DOM.empty,scry:DOM.scry,find:DOM.find,isNode:DO=
M.isNode,setText:DOM.setText,getText:DOM.getText});=0A=
=0A=
var =
CSS=3D{setClass:function(element,className){$(element,true).className=3Dc=
lassName||'';return =
element;},hasClass:function(element,className){return =
CSSLite.hasClass($(element,true),className);},addClass:function(element,c=
lassName){return =
CSSLite.addClass($(element,true),className);},removeClass:function(elemen=
t,className){return =
CSSLite.removeClass($(element,true),className);},toggleClass:function(ele=
ment,className){return =
CSS.hasClass(element,className)?CSS.removeClass(element,className):CSS.ad=
dClass(element,className);},conditionClass:function(element,className,con=
dition){return(condition?CSS.addClass:CSS.removeClass)(element,className)=
;},chooseClass:function(element,condition,trueClass,falseClass){CSS.condi=
tionClass(element,trueClass,condition);CSS.conditionClass(element,falseCl=
ass,!condition);},setStyle:function(element,name,value){element.style[nam=
e]=3Dvalue;return =
element;},getStyle:function(element,property){element=3D$(element);functi=
on hyphenate(property){return =
property.replace(/[A-Z]/g,function(match){return'-'+match.toLowerCase();}=
);}=0A=
if(window.getComputedStyle){return =
window.getComputedStyle(element,null).getPropertyValue(hyphenate(property=
));}=0A=
if(document.defaultView&&document.defaultView.getComputedStyle){var =
computedStyle=3Ddocument.defaultView.getComputedStyle(element,null);if(co=
mputedStyle)=0A=
return =
computedStyle.getPropertyValue(hyphenate(property));if(property=3D=3D"dis=
play")=0A=
return"none";Util.error("Can't retrieve requested style %q due to a bug =
in Safari",property);}=0A=
if(element.currentStyle){return element.currentStyle[property];}=0A=
return =
element.style[property];},setOpacity:function(element,opacity){element=3D=
$(element);var =
opaque=3D(opacity=3D=3D1);try{element.style.opacity=3D(opaque?'':''+opaci=
ty);}catch(ignored){}=0A=
try{element.style.filter=3D(opaque?'':'alpha(opacity=3D'+(opacity*100)+')=
');}catch(ignored){}},getOpacity:function(element){element=3D$(element);v=
ar opacity=3DCSS.getStyle(element,'filter');var =
val=3Dnull;if(opacity&&(val=3D/(\d+(?:\.\d+)?)/.exec(opacity))){return =
parseFloat(val.pop())/100;}else =
if(opacity=3DCSS.getStyle(element,'opacity')){return =
parseFloat(opacity);}else{return =
1.0;}},Cursor:{kGrabbable:'grabbable',kGrabbing:'grabbing',kEditable:'edi=
table',set:function(element,name){element=3D$(element);element=3Delement|=
|document.body;switch(name){case =
CSS.Cursor.kEditable:name=3D'text';break;case =
CSS.Cursor.kGrabbable:if(ua.firefox()){name=3D'-moz-grab';}else{name=3D'm=
ove';}=0A=
break;case =
CSS.Cursor.kGrabbing:if(ua.firefox()){name=3D'-moz-grabbing';}else{name=3D=
'move';}=0A=
break;}=0A=
element.style.cursor=3Dname;}}};NodeAugment.add(CSS);=0A=
=0A=
function escapeURI(u)=0A=
{if(encodeURIComponent){return encodeURIComponent(u);}=0A=
if(escape){return escape(u);}}=0A=
function =
htmlspecialchars(text){if(typeof(text)=3D=3D'undefined'||text=3D=3D=3Dnul=
l||!text.toString){return'';}=0A=
if(text=3D=3D=3Dfalse){return'0';}else if(text=3D=3D=3Dtrue){return'1';}=0A=
return =
text.toString().replace(/&/g,'&amp;').replace(/"/g,'&quot;').replace(/'/g=
,'&#039;').replace(/</g,'&lt;').replace(/>/g,'&gt;');}=0A=
function htmlize(text){return htmlspecialchars(text).replace(/\n/g,'<br =
/>');}=0A=
function =
escape_js_quotes(text){if(typeof(text)=3D=3D'undefined'||!text.toString){=
return'';}=0A=
return =
text.toString().replace(/\\/g,'\\\\').replace(/\n/g,'\\n').replace(/\r/g,=
'\\r').replace(/"/g,'\\x22').replace(/'/g,'\\\'').replace(/</g,'\\x3c').r=
eplace(/>/g,'\\x3e').replace(/&/g,'\\x26');}=0A=
=0A=
function sprintf(){if(arguments.length=3D=3D0){Util.warn('sprintf() was =
called with no arguments; it should be called with at '+'least one =
argument.');return'';}=0A=
var args=3D['This is an argument vector.'];for(var =
ii=3Darguments.length-1;ii>0;ii--){if(typeof(arguments[ii])=3D=3D"undefin=
ed"){Util.log('You passed an undefined argument (argument '+ii+') to =
sprintf(). '+'Pattern was: =
`'+(arguments[0])+'\'.','error');args.push('');}else =
if(arguments[ii]=3D=3D=3Dnull){args.push('');}else =
if(arguments[ii]=3D=3D=3Dtrue){args.push('true');}else =
if(arguments[ii]=3D=3D=3Dfalse){args.push('false');}else{if(!arguments[ii=
].toString){Util.log('Argument '+(ii+1)+' to sprintf() does not have a =
toString() '+'method. The pattern was: =
`'+(arguments[0])+'\'.','error');return'';}=0A=
args.push(arguments[ii]);}}=0A=
var pattern=3Darguments[0];pattern=3Dpattern.toString().split('%');var =
patlen=3Dpattern.length;var result=3Dpattern[0];for(var =
ii=3D1;ii<patlen;ii++){if(args.length=3D=3D0){Util.log('Not enough =
arguments were provide to sprintf(). The pattern was: =
'+'`'+(arguments[0])+'\'.','error');return'';}=0A=
if(!pattern[ii].length){result+=3D"%";continue;}=0A=
var p=3D0;var m=3D0;var r=3D'';var padChar=3D' ';var padSize=3Dnull;var =
maxSize=3Dnull;var rawPad=3D'';var =
pos=3D0;if(m=3Dpattern[ii].match(/^('.)?(?:(-?\d+\.)?(-?\d+)?)/)){if(m[2]=
!=3D=3Dundefined&&m[2].length){padSize=3DparseInt(rawPad=3Dm[2]);}=0A=
if(m[3]!=3D=3Dundefined&&m[3].length){if(padSize!=3D=3Dnull){maxSize=3Dpa=
rseInt(m[3]);}else{padSize=3DparseInt(rawPad=3Dm[3]);}}=0A=
pos=3Dm[0].length;if(m[1]!=3D=3Dundefined&&m[1].length){padChar=3Dm[1].ch=
arAt(1);}else{if(rawPad.charAt(0)=3D=3D0){padChar=3D'0';}}}=0A=
switch(pattern[ii].charAt(pos)){case's':case'#':raw=3Dhtmlspecialchars(ar=
gs.pop().toString());break;case'h':raw=3Dargs.pop().toString();break;case=
'd':raw=3DparseInt(args.pop()).toString();break;case'f':raw=3DparseFloat(=
args.pop()).toString();break;case'q':raw=3D"`"+htmlspecialchars(args.pop(=
).toString())+"'";break;case'e':raw=3D"'"+escape_js_quotes(args.pop().toS=
tring())+"'";break;case'L':var list=3Dargs.pop();for(var =
ii=3D0;ii<list.length;ii++){list[ii]=3D"`"+htmlspecialchars(args.pop().to=
String())+"'";}=0A=
if(list.length>1){list[list.length-1]=3D'and '+list[list.length-1];}=0A=
raw=3Dlist.join(', ');break;case'x':var x=3Dargs.pop();var =
line=3Dnull;var =
src=3Dnull;try{if(typeof(x['line'])!=3D'undefined'){line=3Dx.line;}else =
if(typeof(x['lineNumber'])!=3D'undefined'){line=3Dx.lineNumber;}=0A=
if(typeof(x['sourceURL'])!=3D'undefined'){src=3Dx['sourceURL'];}else =
if(typeof(x['fileName'])!=3D'undefined'){src=3Dx['fileName'];}}catch(exce=
ption){}=0A=
var s=3D'[An =
Exception]';try{s=3Dx.message||x.toString();}catch(exception){}=0A=
raw=3Ds+' [at =
'+Stack.frameSrcToString(src,line)+']';break;default:raw=3D"%"+pattern[ii=
].charAt(pos+1);break;}=0A=
if(padSize!=3D=3Dnull){if(raw.length<Math.abs(padSize)){var =
padding=3D'';var padlen=3D(Math.abs(padSize)-raw.length);for(var =
ll=3D0;ll<padlen;ll++){padding+=3DpadChar;}=0A=
if(padSize<0){raw+=3Dpadding;}else{raw=3Dpadding+raw;}}}=0A=
if(maxSize!=3D=3Dnull){if(raw.length>maxSize){raw=3Draw.substr(0,maxSize)=
;}}=0A=
result+=3Draw+pattern[ii].substring(pos+1);}=0A=
if(args.length>1){Util.log('Too many arguments ('+(args.length-1)+' =
extras) were passed to '+'sprintf(). Pattern was: =
`'+(arguments[0])+'\'.','error');}=0A=
return result;}=0A=
=0A=
function AsyncRequest(uri){var =
dispatchResponse=3Dbind(this,function(asyncResponse){if(asyncResponse.ins=
trument){this.cavalrylogger=3DCavalryLogger.getInstance(asyncResponse.ins=
trument);if(asyncResponse.tti_event){this.cavalrylogger.setTTIEvent(async=
Response.tti_event);}=0A=
this.cavalrylogger.setTimeStamp('t_js');if(this.t_start){this.cavalrylogg=
er.setValue('t_start',this.t_start);}}=0A=
if(!this._asyncResponse){this._asyncResponse=3DasyncResponse;}=0A=
try{this.clearStatusIndicator();if(this.initialHandler(asyncResponse)!=3D=
=3Dfalse){if(this.handler){try{this.handler(asyncResponse);}catch(excepti=
on){this.finallyHandler(asyncResponse);throw exception;}}=0A=
this.finallyHandler(asyncResponse);if(asyncResponse.instrument){this.cava=
lrylogger.setTimeStamp('t_html');this.cavalrylogger.setTimeStamp('t_domco=
ntent');}=0A=
var onload=3DasyncResponse.onload;if(onload){for(var =
ii=3D0;ii<onload.length;ii++){try{(new =
Function(onload[ii]))();}catch(exception){Util.error('An onload hook in =
response to a request to to URI %q threw an '+'exception: %x. (This is =
not a problem with AsyncRequest, it is '+'a problem with the registered =
hook.)',this.getURI(),exception);}}}=0A=
if(asyncResponse.instrument){this.cavalrylogger.setTimeStamp('t_hooks');t=
his.cavalrylogger.setTimeStamp('t_layout');this.cavalrylogger.setTimeStam=
p('t_onload');}=0A=
var onafterload=3DasyncResponse.onafterload;if(onafterload){for(var =
ii=3D0;ii<onafterload.length;ii++){try{(new =
Function(onafterload[ii]))();}catch(exception){Util.error('An =
onafterload hook in response to a request to to URI %q threw an =
'+'exception: %x. (This is not a problem with AsyncRequest, it is '+'a =
problem with the registered hook.)',this.getURI(),exception);}}}=0A=
var =
invalidate_cache=3DasyncResponse.invalidate_cache;if(invalidate_cache&&in=
validate_cache.length){Arbiter.inform(Arbiter.PAGECACHE_INVALIDATE,invali=
date_cache);}}=0A=
if(asyncResponse.cacheObservation&&typeof(TabConsoleCacheobserver)!=3D'un=
defined'&&TabConsoleCacheobserver.instance){TabConsoleCacheobserver.getIn=
stance().addAsyncObservation(asyncResponse.cacheObservation);}}catch(exce=
ption){Util.error('The user supplied handler function for an =
AsyncRequest to URI %q '+'threw an exception: %x. (This is not a problem =
with AsyncRequest, it '+'is a problem with the callback, which failed to =
catch the exception.)',this.getURI(),exception);}});var =
replayResponse=3Dbind(this,function(){if(!this._asyncResponse){Util.warn(=
'Unable to replay AsyncResponse for an AsyncRequest to =
'+this.getURI());return;}=0A=
Util.log('replaying the response for =
'+this.getURI());this._asyncResponse.setReplay(true);dispatchResponse(thi=
s._asyncResponse);});var =
dispatchErrorResponse=3Dbind(this,function(asyncResponse,isTransport){try=
{this.clearStatusIndicator();var =
async_error=3DasyncResponse.getError();if(async_error=3D=3DkError_Async_I=
nternalCaptchaRequired){this._captchaHtml=3DasyncResponse.getPayload().ca=
ptcha_html;this._displayCaptcha();}else =
if(async_error=3D=3DkError_Async_ConfirmationRequired){var =
payload=3DasyncResponse.getPayload();this.requireConfirmation(payload.con=
firmation_message,payload.confirmation_title,payload.confirmation_button)=
;this._displayConfirmation();}else =
if(this.initialHandler(asyncResponse)!=3D=3Dfalse){try{if(isTransport){th=
is.transportErrorHandler(asyncResponse);}else{this.errorHandler(asyncResp=
onse);}}catch(exception){this.finallyHandler(asyncResponse);throw =
exception;}=0A=
this.finallyHandler(asyncResponse);}}catch(exception){Util.error('Async =
error handler threw an exception for URI %q, when processing a '+'%d =
error: %x.',this.getURI(),asyncResponse.getError(),exception);}});var =
_interpretTransportResponse=3Dbind(this,function(){if(this.getOption('sup=
pressEvaluation')){var r=3Dnew =
AsyncResponse();r.payload=3Dthis.transport;return{asyncResponse:r};}=0A=
var shield=3D"for (;;);";var =
shieldlen=3Dshield.length;if(this.transport.responseText.length<=3Dshield=
len){var kind=3Dthis.transport.responseText.length?('a =
'+this.transport.responseText.length+' byte'):'an =
empty';return{transportError:sprintf('An error occurred when making an =
AsyncRequest to %q. '+'The server returned '+kind+' =
response.',this.getURI())};}=0A=
var text=3Dthis.transport.responseText;var =
offset=3D0;while(text.charAt(offset)=3D=3D" =
"||text.charAt(offset)=3D=3D"\n"){offset++;}=0A=
if(offset&&text.substring(offset,offset+shieldlen)=3D=3Dshield){Util.erro=
r('Response for request to endpoint %q seems to be valid, but was =
'+'preceeded by whitespace. (This probably means that someone =
'+'committed whitespace in a header file.)',this.getURI());}=0A=
var safeResponse=3Dtext.substring(offset+shieldlen);try{var =
response=3Deval('('+safeResponse+')');}catch(exception){return{transportE=
rror:sprintf('Evaluation failed for <a =
href=3D"javascript:aiert(%e);">'+'response from %q</a>: =
%x.',this.transport.responseText,this.getURI(),exception)};}=0A=
return interpretResponse(response);});var =
interpretResponse=3Dbind(this,function(response){if(response.redirect){re=
turn{redirect:response.redirect};}=0A=
var r=3Dnew =
AsyncResponse();if(typeof(response.payload)=3D=3D'undefined'||typeof(resp=
onse.error)=3D=3D'undefined'||typeof(response.errorDescription)=3D=3D'und=
efined'||typeof(response.errorSummary)=3D=3D'undefined'||typeof(response.=
errorIsWarning)=3D=3D'undefined'){Util.warn('AsyncRequest to endpoint %q =
returned a JSON response, but it '+'is not properly formatted. The =
endpoint needs to provide a '+'response including both error and payload =
information; use '+'the AsyncResponse PHP class to do this =
easily.',this.getURI());r.payload=3Dresponse;}else{copy_properties(r,resp=
onse);}=0A=
return{asyncResponse:r};});var =
invokeResponseHandler=3Dbind(this,function(interp){if(typeof(interp.redir=
ect)!=3D'undefined'){(function(){this.setURI(interp.redirect).send();}).b=
ind(this).defer();return;}=0A=
if(this.handler||this.errorHandler||this.transportErrorHandler){if(typeof=
(interp.transportError)!=3D'undefined'){var r=3Dnew AsyncResponse();var =
errorDescription=3DUtil.isDevelopmentEnvironment()?interp.transportError:=
_tx("Something went wrong. We're working on getting this fixed as soon =
as we can. You may be able to try =
again.");copy_properties(r,{error:1000,errorSummary:_tx("Oops"),errorDesc=
ription:errorDescription});if(this.transportErrorHandler){dispatchErrorRe=
sponse(r,true);}else{Util.error('Something bad happened; provide a =
transport error handler for '+'complete details.');}=0A=
return;}=0A=
var r=3Dinterp.asyncResponse;if(r.instrument){this.t_start=3D(new =
Date()).getTime();}=0A=
if(r.getError()&&!r.getErrorIsWarning()){var =
fn=3DdispatchErrorResponse;}else{var fn=3DdispatchResponse;}=0A=
if(r.bootloadable){Bootloader.enableBootload(r.bootloadable);}=0A=
fn=3Dfn.shield(null,r);fn=3Dfn.defer.bind(fn);var =
is_transitional=3Dfalse;if(this.preBootloadHandler){is_transitional=3Dthi=
s.preBootloadHandler(r);}=0A=
if(r.bootload){Bootloader.loadResources(r.bootload,fn,is_transitional);}e=
lse{fn();}}});var =
invokeErrorHandler=3Dbind(this,function(explicitError){try{if(!window.loa=
ded){return;}}catch(ex){return;}=0A=
var r=3Dnew AsyncResponse();var =
err;try{err=3DexplicitError||this.transport.status||1001;}catch(ex){err=3D=
1001;}=0A=
try{if(this.responseText=3D=3D''){err=3D1002;}}catch(ignore){}=0A=
if(this.transportErrorHandler){var desc=3Dsprintf('Transport error (#%d) =
while retrieving data from endpoint %q: =
%s',err,this.getURI(),AsyncRequest.getHTTPErrorDescription(err));if(!this=
.getOption('suppressErrorAlerts')){Util.error(desc);}=0A=
copy_properties(r,{error:err,errorSummary:AsyncRequest.getHTTPErrorSummar=
y(err),errorDescription:desc});dispatchErrorResponse(r,true);}else{Util.e=
rror('Async request to %q failed with a %d error, but there was no error =
'+'handler available to deal with it.',this.getURI(),err);}});var =
handleResponse=3Dfunction(response){var =
asyncResponse=3Dthis.interpretResponse(response);this.invokeResponseHandl=
er(asyncResponse);}=0A=
var =
onStateChange=3Dfunction(){try{if(this.transport.readyState=3D=3D4){if(th=
is.transport.status>=3D200&&this.transport.status<300){invokeResponseHand=
ler(_interpretTransportResponse());}else{if(ua.safari()&&(typeof(this.tra=
nsport.status)=3D=3D'undefined')){invokeErrorHandler(1002);}else{invokeEr=
rorHandler();}}=0A=
if(this.getOption('asynchronous')!=3D=3Dfalse){delete =
this.transport;}}}catch(exception){try{if(!window.loaded){return;}}catch(=
ex){return;}=0A=
delete =
this.transport;if(this.remainingRetries){--this.remainingRetries;this.sen=
d(true);}else{if(!this.getOption('suppressErrorAlerts')){Util.error('Asyn=
cRequest exception when attempting to handle a state change: =
%x.',exception);}=0A=
invokeErrorHandler(1001);}}};copy_properties(this,{onstatechange:onStateC=
hange,replayResponse:replayResponse,invokeResponseHandler:invokeResponseH=
andler,interpretResponse:interpretResponse,handleResponse:handleResponse,=
transport:null,method:'POST',uri:'',initialHandler:bagofholding,handler:n=
ull,errorHandler:null,transportErrorHandler:null,finallyHandler:bagofhold=
ing,statusElement:null,data:{},context:{},readOnly:false,writeRequiredPar=
ams:['post_form_id'],remainingRetries:0,option:{asynchronous:true,suppres=
sErrorHandlerWarning:false,suppressEvaluation:false,suppressErrorAlerts:f=
alse,retries:1,jsonp:false,bundle:false,useIframeTransport:false,tfbEndpo=
int:true},_captchaHtml:'',_confirmationMessage:'',_confirmationTitle:'',_=
confirmationButton:'',_confirmationCallback:bagofholding,_requiresConfirm=
ation:false,_replayable:undefined,_replayKey:''});if(typeof =
ErrorDialog!=3D"undefined"){this.errorHandler=3DErrorDialog.showAsyncErro=
r;this.transportErrorHandler=3DErrorDialog.showAsyncError;}=0A=
if(uri!=3Dundefined){this.setURI(uri);}=0A=
return this;}=0A=
copy_properties(AsyncRequest,{getHTTPErrorSummary:function(errCode){retur=
n =
AsyncRequest._getHTTPError(errCode).summary;},getHTTPErrorDescription:fun=
ction(errCode){return =
AsyncRequest._getHTTPError(errCode).description;},pingURI:function(uri,da=
ta,synchronous){data=3Ddata||{};return new =
AsyncRequest().setURI(uri).setData(data).setOption('asynchronous',!synchr=
onous).setOption('suppressErrorHandlerWarning',true).setErrorHandler(bago=
fholding).setTransportErrorHandler(bagofholding).send();},receiveJSONPRes=
ponse:function(path,data,more_chunked_response){if(this._JSONPReceivers[p=
ath]){var =
is_first=3D(this._JSONPReceivers[path].is_first=3D=3D=3Dundefined);this._=
JSONPReceivers[path].is_first=3Dis_first;for(var =
ii=3D0;ii<this._JSONPReceivers[path].length;ii++){var =
request=3Dthis._JSONPReceivers[path][ii];if(request.transportIframe&&!mor=
e_chunked_response){(function(x){DOMScroll.getScrollRoot().removeChild(x)=
;}).bind(null,request.transportIframe).defer();}=0A=
var =
r=3Drequest.interpretResponse(data);r.asyncResponse.is_first=3Dis_first;r=
.asyncResponse.is_last=3D!more_chunked_response;request.invokeResponseHan=
dler(r);}=0A=
if(!more_chunked_response){delete =
this._JSONPReceivers[path];}}},_hasBundledRequest:function(){return!is_em=
pty(AsyncRequest._allBundledRequests);},stashBundledRequest:function(){va=
r =
ret=3DAsyncRequest._allBundledRequests;AsyncRequest._allBundledRequests=3D=
{};return =
ret;},setBundledRequestProperties:function(properties){if(properties.stas=
hedRequests){copy_properties(AsyncRequest._allBundledRequests,properties.=
stashedRequests);}=0A=
if(!AsyncRequest._hasBundledRequest()){var =
callback=3Dproperties.callback;callback&&callback();}else{copy_properties=
(AsyncRequest._bundledRequestProperties,properties);if(properties.start_i=
mmediately){AsyncRequest._sendBundledRequests();}}},_bundleRequest:functi=
on(request){if(request.getOption('jsonp')||request.getOption('useIframeTr=
ansport')){Util.error('You cannot bundle AsyncRequest that uses jsonp or =
iframe transport.');request.setOption('bundle',false);return false;}else =
if(!request.uri.isFacebookURI()){Util.error('You can not bundle =
AsyncRequest sent to non-facebook =
URIs');request.setOption('bundle',false);return false;}else =
if(!request.getOption('asynchronous')){Util.error('We cannot bundle =
synchronous AsyncRequests');request.setOption('bundle',false);return =
false;}=0A=
var path=3Drequest.uri.getPath();if(path in =
AsyncRequest._allBundledRequests){Util.warn('Bundling multiple =
AsyncRequests to the same endpoint is not '+'supported. They will still =
be sent seqentially. Only the last '+'AsyncRequest to a unique endpoint =
is included in the bundle.');var =
old_request=3DAsyncRequest._allBundledRequests[path];old_request.setOptio=
n('bundle',false).send();}=0A=
if(is_empty(AsyncRequest._allBundledRequests)){AsyncRequest._bundleTimer=3D=
setTimeout(function(){AsyncRequest._sendBundledRequests();},0);}=0A=
AsyncRequest._allBundledRequests[path]=3Drequest;return =
true;},_sendBundledRequests:function(){clearTimeout(AsyncRequest._bundleT=
imer);AsyncRequest._bundleTimer=3Dnull;var =
bundled_requests=3DAsyncRequest._allBundledRequests;AsyncRequest._allBund=
ledRequests=3D{};var =
property=3D{};copy_properties(property,AsyncRequest._bundledRequestProper=
ties);AsyncRequest._bundledRequestProperties=3D{};if(is_empty(property)&&=
count(bundled_requests)=3D=3D1){for(var path in =
bundled_requests){bundled_requests[path].setOption('bundle',false).send()=
;}=0A=
return;}=0A=
var =
on_done=3Dfunction(){property.callback&&property.callback();};if(is_empty=
(bundled_requests)){on_done();return;}=0A=
var data=3D{};for(var path in bundled_requests){var =
request=3Dbundled_requests[path];data[path]=3DURI.implodeQuery(request.da=
ta);}=0A=
var query_data=3D{data:data}=0A=
if(property.extra_data){copy_properties(query_data,property.extra_data);}=0A=
new =
AsyncRequest().setURI('/ajax/proxy.php').setData(query_data).setMethod('P=
OST').setInitialHandler(property.onInitialResponse||truth).setHandler(fun=
ction(r){var payload=3Dr.getPayload();var =
responses=3Dpayload.responses;for(var path in bundled_requests){var =
request=3Dbundled_requests[path];if(path in responses){var =
asyncResponse=3Drequest.interpretResponse(responses[path]);request.invoke=
ResponseHandler(asyncResponse);}else{var =
response=3D{transportError:sprintf('An error occurred when making an =
AsyncRequest to %q '+' in a bundled =
request.',path)};request.invokeResponseHandler(response);}}}).setTranspor=
tErrorHandler(function(response){var paths=3D[];var =
interp=3D{transportError:response.errorDescription};for(var path in =
bundled_requests){paths.push(path);var =
request=3Dbundled_requests[path];request.invokeResponseHandler(interp);}=0A=
Util.error('Transport error occured for bundled requests to '+=0A=
paths.join(', =
'));}).setFinallyHandler(function(r){on_done();}).send()},bootstrap:funct=
ion(href,elem){var method=3D'GET';var readonly=3Dtrue;var =
data=3D{};if(elem.rel=3D=3D'async-post'){method=3D'POST';readonly=3Dfalse=
;data=3DURI(href).getQueryData();}=0A=
new =
AsyncRequest(href).setReadOnly(readonly).setMethod(method).setData(data).=
setStatusElement(elem).setHandler(function(response){if(response.dom_ops)=
{response.dom_ops.forEach(function(i){var =
dest=3Delem.find(i.where);if(dest){dest[i.how](HTML(i.what));}});}}).send=
();return false;},_getHTTPError:function(errCode){var =
e=3DAsyncRequest._HTTPErrors[errCode]||AsyncRequest._HTTPErrors[errCode-(=
errCode%100)]||{summary:'HTTP Error',description:'Unknown HTTP error =
#'+errCode};return e;},_HTTPErrors:{400:{summary:'Bad =
Request',description:'Bad HTTP =
request.'},401:{summary:'Unauthorized',description:'Not =
authorized.'},403:{summary:'Forbidden',description:'Access =
forbidden.'},404:{summary:'Not Found',description:'Web address does not =
exist.'},1000:{summary:'Bad Response',description:'Invalid =
response.'},1001:{summary:'No Network',description:'A network error =
occurred. Check that you are connected to the =
'+'internet.'},1002:{summary:'No Data',description:'The server did not =
return a response.'},1003:{summary:'Eval Error',description:'Exception =
thrown during JSON =
evaluation.'}},_JSONPReceivers:{},_allBundledRequests:{},_bundledRequestP=
roperties:{},_bundleTimer:null});copy_properties(AsyncRequest.prototype,{=
setMethod:function(m){this.method=3Dm.toString().toUpperCase();return =
this;},getMethod:function(){return =
this.method;},setData:function(obj){this.data=3Dobj;return =
this;},getData:function(){return =
this.data;},setContextData:function(key,value,enabled){enabled=3Denabled=3D=
=3D=3Dundefined?true:enabled;if(enabled){this.context['_log_'+key]=3Dvalu=
e;}=0A=
return this;},setURI:function(uri){var =
uri_obj=3DURI(uri);if(this.getOption('useIframeTransport')&&!uri_obj.isFa=
cebookURI()){Util.error('IframeTransport requests should only be used =
when going between '+'different Facebook subdomains.  This probably =
won\'t do what you want '+'if you\'re going to a non-Facebook URI.  =
Check out JSONP for that, '+'but that\'s also a bad idea to =
use.');return this;}=0A=
if(!this.getOption('jsonp')&&!this.getOption('useIframeTransport')&&!uri_=
obj.isSameOrigin()){Util.error('Asynchronous requests must specify =
relative URIs (like %q); this '+'ensures they conform to the Same Origin =
Policy (see %q). The '+'provided absolute URI (%q) is invalid, use a =
relative URI instead. '+'If you need to dispatch cross-domain requests, =
you can use JSONP, '+'but consider this decision carefully because there =
are tradeoffs and '+'JSONP is completely =
insecure.','/path/to/endpoint.php','http://www.mozilla.org/projects/secur=
ity/components/same-origin.html',uri_obj.toString());return this;}=0A=
this.uri=3Duri_obj;return this;},getURI:function(){return =
this.uri.toString();},setInitialHandler:function(fn){this.initialHandler=3D=
fn;return =
this;},setHandler:function(fn){if(typeof(fn)!=3D'function'){Util.error('A=
syncRequest response handlers must be functions. Pass a function, '+'or =
use bind() to build one.');}else{this.handler=3Dfn;}=0A=
return this;},getHandler:function(){return =
this.handler;},setErrorHandler:function(fn){if(typeof(fn)!=3D'function'){=
Util.error('AsyncRequest error handlers must be functions. Pass a =
function, or '+'use bind() to build one.');}else{this.errorHandler=3Dfn;}=0A=
return =
this;},setTransportErrorHandler:function(fn){this.transportErrorHandler=3D=
fn;return this;},getErrorHandler:function(){return =
this.errorHandler;},getTransportErrorHandler:function(){return =
this.transportErrorHandler;},setFinallyHandler:function(fn){this.finallyH=
andler=3Dfn;return =
this;},setPreBootloadHandler:function(fn){this.preBootloadHandler=3Dfn;re=
turn =
this;},setReadOnly:function(readOnly){if(typeof(readOnly)!=3D'boolean'){U=
til.error('AsyncRequest readOnly value must be a =
boolean.');}else{this.readOnly=3DreadOnly;}=0A=
return =
this;},setFBMLForm:function(){this.writeRequiredParams=3D["fb_sig"];retur=
n this;},getReadOnly:function(){return =
this.readOnly;},setStatusElement:function(element){this.statusElement=3De=
lement;return this;},getStatusElement:function(){return =
this.statusElement;},clearStatusIndicator:function(){if(this.getStatusEle=
ment()){CSS.removeClass($(this.getStatusElement()),'async_saving');}},add=
StatusIndicator:function(){if(this.getStatusElement()){CSS.addClass($(thi=
s.getStatusElement()),'async_saving');}},specifiesWriteRequiredParams:fun=
ction(){return =
this.writeRequiredParams.every(function(param){this.data[param]=3Dthis.da=
ta[param]||Env[param]||(ge(param)||{}).value;if(this.data[param]!=3D=3Dun=
defined){return =
true;}},this);},setReplayable:function(replayable,key){this._replayable=3D=
replayable;this._replayKey=3Dkey||'';return =
this;},setOption:function(opt,v){if(typeof(this.option[opt])!=3D'undefine=
d'){this.option[opt]=3Dv;}else{Util.warn('AsyncRequest option %q does =
not exist; request to set it was ignored.',opt);}=0A=
return =
this;},getOption:function(opt){if(typeof(this.option[opt])=3D=3D'undefine=
d'){Util.warn('AsyncRequest option %q does not exist, get request =
failed.',opt);}=0A=
return this.option[opt];},abort:function(){if(this.transport){var =
old_handler=3Dthis.getTransportErrorHandler();this.setOption('suppressErr=
orAlerts',true);this.setTransportErrorHandler(bagofholding);this.transpor=
t.abort();this.setTransportErrorHandler(old_handler);}},setNectarActionDa=
ta:function(nctrActionParams){if(this.data.nctr=3D=3D=3Dundefined){this.d=
ata.nctr=3D{};}=0A=
this.data.nctr._ia=3D1;if(nctrActionParams){if(this.data.nctr._as=3D=3D=3D=
undefined){this.data.nctr._as=3D{};}=0A=
copy_properties(this.data.nctr._as,nctrActionParams);}=0A=
return =
this;},setNectarData:function(nctrParams){if(nctrParams){if(this.data.nct=
r=3D=3D=3Dundefined){this.data.nctr=3D{};}=0A=
copy_properties(this.data.nctr,nctrParams);}=0A=
return =
this;},send:function(isRetry){isRetry=3DisRetry||false;if(this.requiresCo=
nfirmation()){this._displayConfirmation();return true;}=0A=
if(!this.uri){Util.error('Attempt to dispatch an AsyncRequest without an =
endpoint URI! This is '+'all sorts of silly and impossible, so the =
request failed.');return false;}=0A=
if(!this.errorHandler&&!this.getOption('suppressErrorHandlerWarning')){Ut=
il.warn('Dispatching an AsyncRequest that does not have an error =
handler. '+'You SHOULD supply one, or use AsyncRequest.pingURI(). If =
this '+'omission is intentional and well-considered, set the %q option =
to '+'suppress this warning.','suppressErrorHandlerWarning');}=0A=
if(this.getOption('jsonp')&&this.method!=3D'GET'){this.setMethod('GET');}=0A=
if(this.getOption('useIframeTransport')&&this.method!=3D'GET'){Util.warn(=
'Iframe transport currently works only with =
GET.');this.setMethod('GET');}=0A=
if(!this.getReadOnly()){if(!this.specifiesWriteRequiredParams()){Util.err=
or('You are making a POST request to %s without one or more of the =
'+'required parameters: %s. Requests which modify data and do not =
'+'verify the request origin through parameter validation are =
'+'vulnerable to CSRF attacks. You should either specify values for =
'+'these parameters explicitly by using setData(), put them in the =
'+'page as inputs, or mark this request as safe and idempotent by =
'+'using setReadOnly(). Consult the setReadOnly() documentation for =
'+'more =
information.',this.uri.toString(),this.writeRequiredParams.join(','));ret=
urn false;}=0A=
if(this.method!=3D'POST'){Util.error('You are making a GET request which =
modifies data; this violates '+'the HTTP spec and is generally a bad =
idea. Either change this '+'request to use POST or use setReadOnly() to =
mark the request as '+'idempotent and appropriate for HTTP GET. Consult =
the setReadOnly() '+'documentation for more information.');return =
false;}}=0A=
if(this.method=3D=3D'POST'&&this.getOption('tfbEndpoint')){this.data.fb_d=
tsg=3DEnv.fb_dtsg;}=0A=
if((!this.getReadOnly()&&this._replayable!=3D=3Dfalse)||this._replayable)=
{Arbiter.inform(Arbiter.REPLAYABLE_AJAX,this);}=0A=
if(!is_empty(this.context)&&this.getOption('tfbEndpoint')){copy_propertie=
s(this.data,this.context);this.data['ajax_log']=3D1;}=0A=
if(!this.getReadOnly()&&this.getOption('tfbEndpoint')&&this.method=3D=3D'=
POST'&&this.data['post_form_id_source']=3D=3D=3Dundefined){this.data['pos=
t_form_id_source']=3D'AsyncRequest';}=0A=
if(this.getOption('tfbEndpoint')){this.data['__a']=3D1;if(Env.nectar_ct){=
this.setNectarData({'_ct':new Date().getTime()});}}=0A=
if(this.getOption('bundle')&&AsyncRequest._bundleRequest(this)){return =
true;}=0A=
var =
uri_str,query;if(this.method=3D=3D'GET'){uri_str=3Dthis.uri.addQueryData(=
this.data).toString();query=3D'';}else{uri_str=3Dthis.uri.toString();quer=
y=3DURI.implodeQuery(this.data);}=0A=
if(this.getOption('jsonp')||this.getOption('useIframeTransport')){var =
path=3Dthis.uri.getPath();if(!AsyncRequest._JSONPReceivers[path]){AsyncRe=
quest._JSONPReceivers[path]=3D[];}=0A=
AsyncRequest._JSONPReceivers[path].push(this);if(this.getOption('jsonp'))=
{(function(){DOMScroll.getScrollRoot().appendChild($N('script',{src:uri_s=
tr,type:"text/javascript"}))}).bind(this).defer();}else{var =
style=3D{position:'absolute',top:'-1000px',left:'-1000px',width:'80px',he=
ight:'80px'};uri_str=3Dthis.uri.addQueryData({'_fb_iframe_path':path});th=
is.transportIframe=3D$N('iframe',{src:uri_str,style:style});DOMScroll.get=
ScrollRoot().appendChild(this.transportIframe);}=0A=
return true;}=0A=
if(this.transport){Util.error('You must wait for an AsyncRequest to =
complete before sending another '+'request with the same object. To send =
two simultaneous requests, '+'create a second AsyncRequest =
object.');return false;}=0A=
var transport=3Dnull;try{transport=3Dnew =
XMLHttpRequest();}catch(ignored){};if(!transport){try{transport=3Dnew =
ActiveXObject("Msxml2.XMLHTTP");}catch(ignored){};}=0A=
if(!transport){try{transport=3Dnew =
ActiveXObject("Microsoft.XMLHTTP");}catch(ignored){};}=0A=
if(!transport){Util.error('Unable to build XMLHTTPRequest =
transport.');return false;}=0A=
transport.onreadystatechange=3Dbind(this,'onstatechange');if(!isRetry){th=
is.remainingRetries=3D0;if(this.getReadOnly()){this.remainingRetries=3Dth=
is.getOption('retries');}}=0A=
this.transport=3Dtransport;try{this.transport.open(this.method,uri_str,th=
is.getOption('asynchronous'));}catch(ex){Util.error('Exception when =
opening Async transport to %q: %x',uri_str,ex);return false;}=0A=
var =
svn_rev=3Denv_get('svn_rev');if(svn_rev){this.transport.setRequestHeader(=
'X-SVN-Rev',String(svn_rev));}=0A=
if(this.method=3D=3D'POST'){this.transport.setRequestHeader('Content-Type=
','application/x-www-form-urlencoded');}=0A=
this.addStatusIndicator();this.transport.send(query);return =
true;},_displayCaptcha:function(){Dialog.createCaptchaDialog(this._captch=
aHtml,this.finallyHandler).setHandler(this._displayCaptchaDialogHandler.b=
ind(this)).show();},_displayCaptchaDialogHandler:function(){var =
captcha_data=3Dserialize_form($('captcha'));copy_properties(this.data,cap=
tcha_data);this.send();},requireConfirmation:function(message,title,butto=
n,callback){this._confirmationMessage=3Dmessage;this._confirmationTitle=3D=
title;this._confirmationButton=3Dbutton;this._confirmationCallback=3Dcall=
back||bagofholding;this._requiresConfirmation=3Dtrue;return =
this;},requiresConfirmation:function(){if(this._requiresConfirmation){if(=
this.data.confirmed){this._requriesConfirmation=3Dfalse;}}=0A=
return this._requiresConfirmation;},_displayConfirmation:function(){var =
message=3Dthis._confirmationMessage||_tx("Are you sure you want to =
perform this action?");var html=3D'<div class=3D"confirmation_message">'=0A=
+HTML(message)=0A=
+'</div>';var title=3Dthis._confirmationTitle||_tx("Confirmation =
Required");var =
button=3Dthis._confirmationButton||Dialog.CONFIRM;Dialog.createConfirmati=
onDialog(html,title,button,this.finallyHandler.bind(this)).setHandler(thi=
s._displayConfirmationHandler.bind(this)).setCancelHandler(this._confirma=
tionCallback.curry(false)).show();},_displayConfirmationHandler:function(=
){this.data.confirmed=3D1;this._requiresConfirmation=3Dfalse;this._confir=
mationCallback(true);this.send();}});function =
AsyncResponse(payload){copy_properties(this,{error:0,errorSummary:null,er=
rorDescription:null,onload:null,replay:false,dom_ops:[],payload:payload||=
null});return this;}=0A=
copy_properties(AsyncResponse.prototype,{getPayload:function(){return =
this.payload;},getError:function(){return =
this.error;},getErrorSummary:function(){return =
this.errorSummary;},getErrorDescription:function(){return =
this.errorDescription;},getErrorIsWarning:function(){return =
this.errorIsWarning;},setReplay:function(replay){replay=3D(replay=3D=3D=3D=
undefined?true:replay);this.replay=3D!!replay;return =
this;},isReplay:function(){return this.replay;}});=0A=
=0A=
function intl_set_xmode(xmode){(new =
AsyncRequest()).setURI('/ajax/intl/save_xmode.php').setData({xmode:xmode}=
).setHandler(function(){document.location.reload();}).send();}=0A=
function intl_set_cmode(cmode){(new =
AsyncRequest()).setURI('/ajax/intl/save_xmode.php').setData({cmode:cmode}=
).setHandler(function(){document.location.reload();}).send();}=0A=
function intl_set_vmode(vmode){(new =
AsyncRequest()).setURI('/ajax/intl/save_xmode.php').setData({vmode:vmode}=
).setHandler(function(){document.location.reload();}).send();}=0A=
function intl_set_amode(amode){(new =
AsyncRequest()).setURI('/ajax/intl/save_xmode.php').setData({amode:amode,=
app:false}).setHandler(function(){document.location.reload();}).send();}=0A=
function =
intl_set_pmode(pmode){CSS.toggleClass($('translations_nub'),'pnub');if(pm=
ode=3D=3D0){CSS.addClass($('progress_check'),'progress_hidden');CSS.remov=
eClass($('progress_check'),'progress_shown');}else{CSS.addClass($('progre=
ss_check'),'progress_shown');CSS.removeClass($('progress_check'),'progres=
s_hidden');}=0A=
(new =
AsyncRequest()).setURI('/ajax/intl/save_xmode.php').setData({pmode:pmode}=
).setHandler(function(){}).send();}=0A=
function intl_set_locale(obj,source,locale){if(!locale){var =
locale=3Dobj.options[obj.selectedIndex].value;}=0A=
new =
AsyncRequest().setURI('/ajax/intl/beta_locale_check.php').setData({locale=
:locale}).setHandler(function(response){data=3Dresponse.getPayload();if(d=
ata.locale_is_beta){if(data.app_is_installed){intl_save_locale(locale,tru=
e,null,source);}else{var async=3Dnew =
AsyncRequest().setURI('/ajax/intl/beta_locale_dialog.php?locale=3D'+local=
e);new =
Dialog().setAsync(async).show();}}else{intl_save_locale(locale,true,null,=
source);}}).send();}=0A=
function intl_save_locale(locale,reload,location,source){new =
AsyncRequest().setURI('/ajax/intl/save_locale.php').setData({locale:local=
e,source:source}).setHandler(function(response){if(reload){document.locat=
ion.reload();}else{goURI(location);}}).send();}=0A=
function =
intl_toggle_beta_locale_install(obj){if(obj.checked){show($('beta_locale_=
install'));}else{hide($('beta_locale_install'));}}=0A=
function intl_set_cookie_locale(locale,uri,source){var =
old_locale=3DgetCookie('locale');new =
AsyncRequest().setURI('/ajax/intl/save_locale_cookie_logging.php').setDat=
a({'new_locale':locale,'old_locale':old_locale,'source':source}).setReadO=
nly(true).send();setCookie('locale',locale,7*24*3600000);if(URI.getReques=
tURI().getTld()!=3D'com'){transferCookieToComTld('locale',function(succes=
s){if(success){clearCookie('locale');}=0A=
goURI(uri);});}else{goURI(uri);}}=0A=
function intl_disable_rooster_save(obj){var =
save=3Ddocument.getElementById('install_translation_app');save.disabled=3D=
!obj.checked;var =
container=3Ddocument.getElementById('install_container');if(obj.checked){=
container.style.display=3D'block';}else{container.style.display=3D'none';=
}}=0A=
function =
intl_confirm_rooster_and_install_app(uid,divid){goURI('/add.php?api_key=3D=
efa7a7045708fcadede8d705e39b1642');}=0A=
function =
intl_locale_is_rtl(){return('rtl'=3D=3DCSS.getStyle(document.body,'direct=
ion'));}=0A=
function =
intl_is_left_click(e){if(e.which=3D=3Dnull){if(e.button<2&&!e.ctrlKey){re=
turn true;}}else{if(e.which<2&&!e.ctrlKey){return true;}}=0A=
return false;}=0A=
function =
intl_left_click_cancelBubble(e){if(intl_is_left_click(e)){e.cancelBubble=3D=
true;}}=0A=
=0A=
function =
getRadioFormValue(obj){for(i=3D0;i<obj.length;i++){if(obj[i].checked){ret=
urn obj[i].value;}}=0A=
return null;}=0A=
function =
get_all_form_inputs(root_element){root_element=3Droot_element||document;r=
eturn[].concat($A(DOM.scry(root_element,'input')),$A(DOM.scry(root_elemen=
t,'select')),$A(DOM.scry(root_element,'textarea')),$A(DOM.scry(root_eleme=
nt,'button')));}=0A=
function get_form_select_value(select){return =
select.options[select.selectedIndex].value;}=0A=
function set_form_select_value(select,value){for(var =
i=3D0;i<select.options.length;++i){if(select.options[i].value=3D=3Dvalue)=
{select.selectedIndex=3Di;break;}}}=0A=
function get_form_attr(form,attr){var val=3Dform[attr];if(typeof =
val=3D=3D'object'&&val.tagName=3D=3D'INPUT'){var =
pn=3Dval.parentNode,ns=3Dval.nextSibling,node=3Dval;pn.removeChild(node);=
val=3Dform[attr];ns?pn.insertBefore(node,ns):pn.appendChild(node);}=0A=
return val;}=0A=
function serialize_form_helper(data,name,value){var =
match=3D/([^\]]+)\[([^\]]*)\](.*)/.exec(name);if(match){data[match[1]]=3D=
data[match[1]]||{};if(match[2]=3D=3D''){var =
i=3D0;while(data[match[1]][i]!=3Dundefined){i++;}}else{i=3Dmatch[2];}=0A=
if(match[3]=3D=3D''){data[match[1]][i]=3Dvalue;}else{serialize_form_helpe=
r(data[match[1]],i.concat(match[3]),value);}}else{data[name]=3Dvalue;}}=0A=
function serialize_form_fix(data){var keys=3D[];for(var i in =
data){if(data instanceof Object){data[i]=3Dserialize_form_fix(data[i]);}=0A=
keys.push(i);}=0A=
var =
j=3D0,is_array=3Dtrue;keys.sort().each(function(i){if(i!=3Dj++){is_array=3D=
false;}});if(is_array){var =
ret=3D{};keys.each(function(i){ret[i]=3Ddata[i];});return =
ret;}else{return data;}}=0A=
function serialize_form(obj){var data=3D{};var =
elements=3Dobj.tagName=3D=3D'FORM'?obj.elements:get_all_form_inputs(obj);=
for(var =
i=3Delements.length-1;i>=3D0;i--){if(elements[i].name&&!elements[i].disab=
led){if(!elements[i].type||((elements[i].type=3D=3D'radio'||elements[i].t=
ype=3D=3D'checkbox')&&elements[i].checked)||elements[i].type=3D=3D'text'|=
|elements[i].type=3D=3D'password'||elements[i].type=3D=3D'hidden'||elemen=
ts[i].tagName=3D=3D'TEXTAREA'||elements[i].tagName=3D=3D'SELECT'){seriali=
ze_form_helper(data,elements[i].name,elements[i].value);}}}=0A=
return serialize_form_fix(data);}=0A=
function do_post(uri){var =
pieces=3D/(^([^?])+)\??(.*)$/.exec(uri.toString());var =
form=3Ddocument.createElement('form');form.action=3Dpieces[1];form.method=
=3D'post';form.style.display=3D'none';var =
sparam=3D/([\w]+)(?:=3D([^&]+)|&|$)/g;var =
param=3Dnull;if(ge('post_form_id')){pieces[3]+=3D'&post_form_id=3D'+$('po=
st_form_id').value;}=0A=
while(param=3Dsparam.exec(pieces[3])){var =
input=3Ddocument.createElement('input');input.type=3D'hidden';input.name=3D=
decodeURIComponent(param[1]);input.value=3DdecodeURIComponent(param[2]);f=
orm.appendChild(input);}=0A=
DOM.getRootElement().appendChild(form);form.submit();return false;}=0A=
function dynamic_post(uri,params,target){var =
form=3Ddocument.createElement('form');form.action=3Duri.toString();form.m=
ethod=3D'POST';form.style.display=3D'none';if(target){form.target=3Dtarge=
t;}=0A=
if(ge('post_form_id')){params['post_form_id']=3D$('post_form_id').value;}=0A=
params['post_form_id_source']=3D'dynamic_post';params['next']=3Dhtmlspeci=
alchars(document.location.href);create_hidden_inputs(params,form);DOM.get=
RootElement().appendChild(form);form.submit();return false;}=0A=
function =
create_hidden_inputs(params,form,inputs,overwrite){inputs=3Dinputs||{};va=
r input;var query=3DURI.implodeQuery(params,'',false);var =
query_data=3Dquery.split('&');for(var =
i=3D0;i<query_data.length;i++){if(query_data[i]){var =
temp=3Dquery_data[i].split('=3D');var n=3Dtemp[0];var =
v=3Dtemp[1];if(n=3D=3D=3Dundefined||v=3D=3D=3Dundefined){continue;}=0A=
v=3DURI.decodeComponent(v);if(inputs[n]&&overwrite){inputs[n].value=3Dv;}=
else{input=3D$N('input',{type:'hidden',name:n,value:v});inputs[n]=3Dinput=
;form.appendChild(input);}}}=0A=
return inputs;}=0A=
=0A=
function =
KeyEventController(){copy_properties(this,{handlers:{}});document.onkeyup=
=3Dthis.onkeyevent.bind(this,'onkeyup');document.onkeydown=3Dthis.onkeyev=
ent.bind(this,'onkeydown');document.onkeypress=3Dthis.onkeyevent.bind(thi=
s,'onkeypress');}=0A=
copy_properties(KeyEventController,{instance:null,getInstance:function(){=
return KeyEventController.instance||(KeyEventController.instance=3Dnew =
KeyEventController());},defaultFilter:function(event,type){event=3D$E(eve=
nt);return =
KeyEventController.filterEventTypes(event,type)&&KeyEventController.filte=
rEventTargets(event,type)&&KeyEventController.filterEventModifiers(event,=
type);},filterEventTypes:function(event,type){if(type=3D=3D=3D'onkeydown'=
){return true;}=0A=
return false;},filterEventTargets:function(event,type){var =
target=3D$E(event).getTarget();if(DOM.isNode(target,['input','select','te=
xtarea','object','embed'])){if(target.type!=3D'checkbox'&&target.type!=3D=
'radio'){return false;}}=0A=
return =
true;},filterEventModifiers:function(event,type){if(event.ctrlKey||event.=
altKey||event.metaKey||event.repeat){return false;}=0A=
return =
true;},registerKey:function(key,callback,filter_callback){if(filter_callb=
ack=3D=3D=3Dundefined){filter_callback=3DKeyEventController.defaultFilter=
;}=0A=
var ctl=3DKeyEventController.getInstance();var =
eqv=3Dctl.mapKey(key);if(is_empty(ctl.handlers)){onunloadRegister(ctl.res=
etHandlers.bind(ctl));}=0A=
for(var =
ii=3D0;ii<eqv.length;ii++){key=3Deqv[ii];if(!ctl.handlers[key]){ctl.handl=
ers[key]=3D[];}=0A=
ctl.handlers[key].push({callback:callback,filter:filter_callback});}},key=
CodeMap:{'[':[219],']':[221],'`':[192],'LEFT':[KEYS.LEFT,63234],'RIGHT':[=
KEYS.RIGHT,63235],'RETURN':[KEYS.RETURN],'TAB':[KEYS.TAB],'DOWN':[KEYS.DO=
WN,63233],'UP':[KEYS.UP,63232],'ESCAPE':[KEYS.ESC]}});copy_properties(Key=
EventController.prototype,{mapKey:function(k){if(typeof(k)=3D=3D'number')=
{return[k];}=0A=
if(KeyEventController.keyCodeMap[k.toUpperCase()]){return =
KeyEventController.keyCodeMap[k.toUpperCase()];}=0A=
var l=3Dk.charCodeAt(0);var =
u=3Dk.toUpperCase().charCodeAt(0);if(l!=3Du){return[l,u];}=0A=
return[l];},onkeyevent:function(type,e){e=3D$E(e);var evt=3Dnull;var =
handlers=3Dthis.handlers[e.keyCode];var =
callback,filter,abort;if(handlers){for(var =
ii=3D0;ii<handlers.length;ii++){callback=3Dhandlers[ii].callback;filter=3D=
handlers[ii].filter;try{if(!filter||filter(e,type)){abort=3Dcallback(e,ty=
pe);if(abort=3D=3D=3Dfalse){return =
Event.kill(e);}}}catch(exception){Util.error('Uncaught exception in key =
handler: %x',exception);}}}=0A=
return true;},resetHandlers:function(){this.handlers=3D{};}});=0A=
=0A=
function Rect(t,r,b,l,domain){if(this=3D=3D=3Dwindow){if(t instanceof =
Rect){return t;}=0A=
if(t instanceof Vector2){return new Rect(t.y,t.x,t.y,t.x,t.domain);}=0A=
return Rect.getElementBounds($(t));}=0A=
copy_properties(this,{t:t,r:r,b:b,l:l,domain:domain||'pure'});};copy_prop=
erties(Rect.prototype,{w:function(){return =
this.r-this.l;},h:function(){return =
this.b-this.t;},area:function(){return =
this.w()*this.h();},toString:function(){return'(('+this.l+', =
'+this.t+'), ('+this.r+', =
'+this.b+'))';},intersects:function(v){v=3DRect(v).convertTo(this.domain)=
;var u=3Dthis;if(u.l>v.r||v.l>u.r||u.t>v.b||v.t>u.b){return false;}=0A=
return =
true;},clipTo:function(clipRect){clipRect=3DclipRect.convertTo(this.domai=
n);if(!this.intersects(clipRect)){return null;}=0A=
return new =
Rect(Math.max(this.t,clipRect.t),Math.min(this.r,clipRect.r),Math.min(thi=
s.b,clipRect.b),Math.max(this.l,clipRect.l),this.domain);},contains:funct=
ion(v){v=3DRect(v).convertTo(this.domain);var u=3Dthis;if(v instanceof =
Vector2){return(u.l<=3Dv.x&&u.r>=3Dv.x&&u.t<=3Dv.y&&u.b>=3Dv.y);}else{ret=
urn(u.l<=3Dv.l&&u.r>=3Du.r&&u.t<=3Dv.t&&u.b>=3Dv.b);}},canContain:functio=
n(v){v=3DRect(v).convertTo(this.domain);return(v.h()<=3Dthis.h())&&(v.w()=
<=3Dthis.w());},forceBelow:function(v,min){min=3Dmin||0;v=3DRect(v).conve=
rtTo(this.domain);if(v.b>this.t){return this.add(0,(v.b-this.t)+min);}=0A=
return =
this;},add:function(vx,vy){if(arguments.length=3D=3D1){if(vx.domain!=3D'p=
ure'){vx=3Dvx.convertTo(this.domain);}=0A=
return this.add(vx.x,vx.y);}=0A=
var dx=3DparseFloat(vx);var dy=3DparseFloat(vy);return new =
Rect(this.t+dy,this.r+dx,this.b+dy,this.l+dx,this.domain);},sub:function(=
vx,vy){if(arguments.length=3D=3D1){return =
this.add(vx.mul(-1));}else{return =
this.add(-vx,-vy);}},expand:function(x,y){return new =
Rect(this.t,this.r+x,this.b+y,this.l,this.domain);},scale:function(x,y){y=
=3Dy||x;return new =
Rect(this.t,this.l+(this.w()*x),this.t+(this.h()*y),this.l,this.domain);}=
,setDimensions:function(x,y){return new =
Rect(this.t,this.l+x,this.t+y,this.l,this.domain);},setPosition:function(=
x,y){return new =
Rect(x,this.w(),this.h(),y,this.domain);},boundWithin:function(v){var =
x=3D0,y=3D0;if(this.l<v.l){x=3Dv.l-this.l;}else =
if(this.r>v.r){x=3Dv.r-this.r;}=0A=
if(this.t<v.t){y=3Dv.t-this.t;}else if(this.b>v.b){y=3Dv.b-this.b;}=0A=
return =
this.add(x,y);},setElementBounds:function(el){this.getPositionVector().se=
tElementPosition(el);this.getDimensionVector().setElementDimensions(el);r=
eturn this;},getPositionVector:function(){return new =
Vector2(this.l,this.t,this.domain);},getDimensionVector:function(){return=
 new =
Vector2(this.w(),this.h(),'pure');},convertTo:function(newDomain){if(this=
.domain=3D=3DnewDomain){return this;}=0A=
if(newDomain=3D=3D'pure'){return new =
Rect(this.t,this.r,this.b,this.l,'pure');}=0A=
if(this.domain=3D=3D'pure'){Util.error('Unable to convert a pure rect to =
%q coordinates.',newDomain);return new Rect(0,0,0,0);}=0A=
var p=3Dnew =
Vector2(this.l,this.t,this.domain).convertTo(newDomain);return new =
Rect(p.y,p.x+this.w(),p.y+this.h(),p.x,newDomain);},constrict:function(x,=
y){if(typeof(y)=3D=3D'undefined'){y=3Dx;}=0A=
x=3Dx||0;return new =
Rect(this.t+y,this.r-x,this.b-y,this.l+x,this.domain);},expandX:function(=
){return new =
Rect(this.t,Number.POSITIVE_INFINITY,this.b,Number.NEGATIVE_INFINITY);},e=
xpandY:function(){return new =
Rect(number.NEGATIVE_INFINITY,this.r,Number.POSITIVE_INFINITY,this.l);},d=
rawBox:function(color){var =
d=3D$N('div',{style:{position:'absolute',border:'2px solid =
'+(color||'red'),zIndex:'10000'}});this.setElementBounds(d);document.body=
.appendChild(d);}});copy_properties(Rect,{newFromVectors:function(pos,dim=
){return new =
Rect(pos.y,pos.x+dim.x,pos.y+dim.y,pos.x,pos.domain);},getElementBounds:f=
unction(el){return =
Rect.newFromVectors(Vector2.getElementPosition(el),Vector2.getElementDime=
nsions(el));},getViewportBounds:function(){return =
Rect.newFromVectors(Vector2.getScrollPosition(),Vector2.getViewportDimens=
ions());},getDocumentBounds:function(){return Rect.newFromVectors(new =
Vector2(0,0,'document'),Vector2.getDocumentDimensions());}});=0A=
=0A=
function =
Dialog(model){Dialog._setup();this._show_loading=3Dtrue;this._loading_tex=
t=3Dnull;this._auto_focus=3Dtrue;this._fade_enabled=3Dtrue;this._onload_h=
andlers=3D[];this._top=3D125;this._content=3Dnull;this._obj=3Dnull;this._=
popup=3Dnull;this._overlay=3Dnull;this._iframe=3Dnull;this._hidden_object=
s=3D[];if(model){this._setFromModel(model);}}=0A=
copy_properties(Dialog,{OK:{name:'ok',label:_tx("Okay")},CANCEL:{name:'ca=
ncel',label:_tx("Cancel"),className:'inputaux'},CLOSE:{name:'close',label=
:_tx("Close")},NEXT:{name:'next',label:_tx("Next")},SAVE:{name:'save',lab=
el:_tx("Save")},SUBMIT:{name:'submit',label:_tx("Submit")},CONFIRM:{name:=
'confirm',label:_tx("Confirm")},DELETE:{name:'delete',label:_tx("Delete")=
}});copy_properties(Dialog,{OK_AND_CANCEL:[Dialog.OK,Dialog.CANCEL],_STAN=
DARD_BUTTONS:[Dialog.OK,Dialog.CANCEL,Dialog.CLOSE,Dialog.SAVE,Dialog.SUB=
MIT,Dialog.CONFIRM,Dialog.DELETE],SHOULD_HIDE_OBJECTS:!ua.windows(),MODAL=
ITY:{DARK:'dark',WHITE:'white'},SHOULD_USE_IFRAME:ua.ie()<7||(ua.osx()&&u=
a.firefox()),dialogStack:null,newButton:function(name,label,className,han=
dler){var button=3D{name:name,label:label}=0A=
if(className){button.className=3DclassName;}=0A=
if(handler){button.handler=3Dhandler;}=0A=
return button;},getCurrent:function(){var =
stack=3DDialog.dialogStack;if(!stack||!stack.length){return null;}=0A=
return =
stack[stack.length-1];},createCaptchaDialog:function(captchaHtml,cancelHa=
ndler){return new =
Dialog().setClassName('captcha_dialog').setTitle(_tx("Security =
Check")).setBody(captchaHtml).setButtons([Dialog.SUBMIT,Dialog.CANCEL]).s=
etCancelHandler(cancelHandler).setModal().setStackable(true,true).onloadR=
egister(create_captcha);},createConfirmationDialog:function(confirmationH=
tml,title,button,cancelHandler){return new =
Dialog().setClassName('confirm_dialog').setTitle(title).setBody(confirmat=
ionHtml).setButtons([button,Dialog.CANCEL]).setCancelHandler(cancelHandle=
r).setModal();},bootstrap:function(uri,data,read_only,method,model){data=3D=
data||{};copy_properties(data,new =
URI(uri).getQueryData());method=3Dmethod||(read_only?'GET':'POST');var =
dialog=3Dnew Dialog(model).setAsync(new =
AsyncRequest().setURI(uri).setData(data).setReadOnly(!!read_only).setMeth=
od(method));dialog.show();return =
false;},showFormAjax:function(title,uri,button_label,reload_page_on_succe=
ss){var form_id=3D'dialog_ajax_form__'+gen_unique();var dialog=3Dnew =
Dialog().setTitle(title).setShowLoading(true).show();var =
preSubmitErrorHandler=3Dfunction(response){if(response.getError()!=3Dtrue=
){dialog.hide();ErrorDialog.showAsyncError(response);}else{dialog.setBody=
(response.getPayload()).setButtons(Dialog.OK).clearHandler().show();}};va=
r preSubmitHandler=3Dfunction(response){var contents=3D'<form id=3D"'+=0A=
form_id+'" onsubmit=3D"return false;">'+=0A=
response.getPayload()+'</form>';var =
buttons=3D[Dialog.newButton(button_label.toLowerCase(),button_label),Dial=
og.CANCEL];dialog.setBody(contents).setButtons(buttons).setHandler(submit=
Handler).show();};var submitHandler=3Dfunction(){new =
AsyncRequest().setURI(uri).setData(serialize_form(ge(form_id))).setHandle=
r(postSubmitHandler).setErrorHandler(postSubmitErrorHandler).send();};var=
 =
postSubmitHandler=3Dfunction(response){dialog.setBody(response.getPayload=
()).setButtons([Dialog.OK]).show();if(reload_page_on_success){window.loca=
tion.reload();}else{dialog.setAutohide(750);}};var =
postSubmitErrorHandler=3Dfunction(response){if(response.getError()=3D=3Dk=
Error_Global_ValidationError){preSubmitHandler(response);}else =
if(response.getError()!=3Dtrue){ErrorDialog.showAsyncError(response);}els=
e{preSubmitErrorHandler(response);}};new =
AsyncRequest().setURI(uri).setReadOnly(true).setHandler(preSubmitHandler)=
.setErrorHandler(preSubmitErrorHandler).send();},_basicMutator:function(p=
rivate_key){return =
function(value){this[private_key]=3Dvalue;this._dirty();return =
this;};},_findButton:function(buttons,name){for(var =
i=3D0;i<buttons.length;++i){if(buttons[i].name=3D=3Dname){return =
buttons[i];}}=0A=
return null;},_setup:function(){if(Dialog._is_set_up){return;}=0A=
Dialog._is_set_up=3Dtrue;var filter=3Dfunction(event,type){return =
type=3D=3D'onkeyup'&&KeyEventController.filterEventModifiers(event,type);=
};KeyEventController.registerKey('ESCAPE',Dialog._handleEscapeKey,filter)=
;},_hideAll:function(){if(Dialog.dialogStack!=3D=3Dnull&&Dialog.dialogSta=
ck.length){var =
stack=3DDialog.dialogStack.clone();Dialog.dialogStack=3Dnull;for(var =
i=3Dstack.length-1;i>=3D0;i--){stack[i].hide();}}},_handleEscapeKey:funct=
ion(event,type){var dialog=3DDialog.getCurrent();if(!dialog){return =
true;}=0A=
var semi_modal=3Ddialog._semi_modal;var =
buttons=3Ddialog._buttons;if(!buttons&&!semi_modal){return true;}=0A=
if(semi_modal&&!buttons){dialog.hide();return true;}=0A=
var =
cancel_button=3DDialog._findButton(buttons,'cancel');if(cancel_button){va=
r button_to_simulate=3Dcancel_button;}else if(buttons.length=3D=3D1){var =
button_to_simulate=3Dbuttons[0];}else{return true;}=0A=
dialog._handleButton(button_to_simulate);return =
false;},call_or_eval:function(obj,func,args){if(!func){return undefined;}=0A=
args=3Dargs||{};if(typeof(func)=3D=3D'string'){var =
params=3Dkeys(args).join(', ');func=3Deval('({f: function('+params+') { =
'+func+'}})').f;}=0A=
return =
func.apply(obj,values(args));}});copy_properties(Dialog.prototype,{show:f=
unction(dont_dirty){this._showing=3Dtrue;if(dont_dirty){if(this._overlay)=
{this._overlay.style.display=3D'';}=0A=
if(this._iframe){this._iframe.style.display=3D'';}=0A=
this._obj.style.display=3D'';}else{this._dirty();}=0A=
return =
this;},showLoading:function(){this._renderDialog($N('div',{className:'dia=
log_loading'},this._loading_text||_tx("Loading...")));return =
this;},hide:function(temporary){if(!this._showing){return this;}=0A=
this._showing=3Dfalse;if(this._autohide_timeout){clearTimeout(this._autoh=
ide_timeout);this._autohide_timeout=3Dnull;}=0A=
if(this._fade_enabled&&(!Dialog.dialogStack||Dialog.dialogStack.length<=3D=
1)){this._fadeOut(temporary);}else{this._hide(temporary);}=0A=
return =
this;},fade_out:function(autohide){this.setAutohide(autohide);return =
this;},getRoot:function(){return =
this._obj;},getButtonElement:function(button){if(typeof =
button=3D=3D'string'){button=3DDialog._findButton(this._buttons,button);}=0A=
if(!button||!button.name){return null;}=0A=
var inputs=3DDOM.scry(this._popup,'input');var =
name_filter=3Dfunction(elem){return elem.name=3D=3Dbutton.name;};return =
inputs.filter(name_filter)[0]||null;},getFormData:function(){var =
dialog_content_divs=3DDOM.scry(this._content,'div.dialog_content');if(dia=
log_content_divs.length!=3D1){Util.error(dialog_content_divs.length=0A=
+" dialog_content divs in this dialog?  Weird.");}=0A=
return =
serialize_form(dialog_content_divs[0]);},setShowing:function(){this.show(=
);return this;},setHiding:function(){this.hide();return =
this;},setTitle:Dialog._basicMutator('_title'),setBody:Dialog._basicMutat=
or('_body'),setExtraData:Dialog._basicMutator('_extra_data'),setShowLoadi=
ng:Dialog._basicMutator('_show_loading'),setLoadingText:Dialog._basicMuta=
tor('_loading_text'),setFullBleed:Dialog._basicMutator('_full_bleed'),set=
ImmediateRendering:Dialog._basicMutator('_immediate_rendering'),setUserDa=
ta:Dialog._basicMutator('_user_data'),getUserData:function(){return =
this._user_data;},setAutohide:function(autohide){if(autohide){if(this._sh=
owing){this._autohide_timeout=3DsetTimeout(this.hide.shield(this),autohid=
e);}else{this._autohide=3Dautohide;}}else{this._autohide=3Dnull;if(this._=
autohide_timeout){clearTimeout(this._autohide_timeout);this._autohide_tim=
eout=3Dnull;}}=0A=
return =
this;},setSummary:Dialog._basicMutator('_summary'),setButtons:function(b)=
{var buttons;if(!(b instanceof =
Array)){buttons=3Darrayize(arguments);}else{buttons=3Db;}=0A=
if(this._buttons&&!this._is_dirty&&are_equal(buttons,this._buttons)){retu=
rn this;}=0A=
for(var i=3D0;i<buttons.length;++i){if(typeof =
buttons[i]=3D=3D'string'){var =
button=3DDialog._findButton(Dialog._STANDARD_BUTTONS,buttons[i]);if(!butt=
on){Util.error('Unknown button: '+buttons[i]);}=0A=
buttons[i]=3Dbutton;}}=0A=
this._buttons=3Dbuttons;this._dirtyButtons();return =
this;},setButtonsMessage:Dialog._basicMutator('_buttons_message'),setStac=
kable:function(stackable,shown){this._is_stackable=3Dstackable;this._show=
n_while_stacked=3Dstackable&&shown;return =
this;},setHandler:function(handler){this._handler=3Dhandler;return =
this;},setCancelHandler:function(cancelHandler){this._cancelHandler=3Dcan=
celHandler;return =
this;},setCloseHandler:function(close_handler){this._close_handler=3DDial=
og.call_or_eval.bind(null,this,close_handler);return =
this;},clearHandler:function(){return =
this.setHandler(null);},setPostURI:function(post_uri,asynchronous){if(asy=
nchronous=3D=3D=3Dundefined){asynchronous=3Dtrue;}=0A=
if(asynchronous){this.setHandler(this._submitForm.bind(this,'POST',post_u=
ri));}else{this.setHandler(function(){dynamic_post(post_uri,this.getFormD=
ata());this.hide();}.bind(this));}=0A=
return =
this;},setGetURI:function(get_uri){this.setHandler(this._submitForm.bind(=
this,'GET',get_uri));return =
this;},setModal:function(modal,modality){if(modal=3D=3D=3Dundefined){moda=
l=3Dtrue;}=0A=
if(this._showing&&this._modal&&!modal){Util.error("At the moment we =
don't support un-modal-ing a modal dialog");}=0A=
if(modal&&modality){switch(modality){case =
Dialog.MODALITY.DARK:this._modal_class=3D'dark_dialog_overlay';break;case=
 =
Dialog.MODALITY.WHITE:this._modal_class=3D'light_dialog_overlay';break;}}=0A=
this._modal=3Dmodal;return =
this;},setSemiModal:function(clickout){if(clickout=3D=3D=3Dundefined){cli=
ckout=3Dtrue;}=0A=
if(clickout){this.setModal(true,Dialog.MODALITY.DARK);}=0A=
this._semi_modal=3Dclickout;return =
this;},setContentWidth:Dialog._basicMutator('_content_width'),setTitleLoa=
ding:function(loading){if(loading=3D=3D=3Dundefined){loading=3Dtrue;}=0A=
var =
header=3DDOM.find(this._popup,'h2.dialog_title');if(header){CSS.condition=
Class(header,'loading',loading);}=0A=
return =
this;},setClassName:Dialog._basicMutator('_class_name'),setFading:Dialog.=
_basicMutator('_fade_enabled'),setFooter:Dialog._basicMutator('_footer'),=
setAutoFocus:Dialog._basicMutator('_auto_focus'),setTop:Dialog._basicMuta=
tor('_top'),onloadRegister:function(handler){this._onload_handlers.push(h=
andler.bind(this));return this;},setAsync:function(async_request){var =
handler=3Dfunction(response){if(this._async_request!=3Dasync_request){ret=
urn;}=0A=
this._async_request=3Dnull;var payload=3Dresponse.getPayload();if(typeof =
payload=3D=3D'string'){this.setBody(payload);}else{this._setFromModel(pay=
load);}=0A=
this._update(true);}.bind(this);var =
hide=3Dbind(this,'hide');async_request.setHandler(chain(async_request.get=
Handler(),handler)).setErrorHandler(chain(hide,async_request.getErrorHand=
ler())).setTransportErrorHandler(chain(hide,async_request.getTransportErr=
orHandler())).send();this._async_request=3Dasync_request;this._dirty();re=
turn =
this;},_dirty:function(){if(!this._is_dirty){this._is_dirty=3Dtrue;if(thi=
s._immediate_rendering){this._update();}else{bind(this,'_update').defer()=
;}}},_dirtyButtons:function(){if(this._immediate_rendering){this._updateB=
uttons();}else{bind(this,'_updateButtons').defer()}},_format:function(con=
tent){if(typeof content=3D=3D'string'){return =
HTML(content).setDeferred(true);}=0A=
return =
content;},_update:function(even_if_not_dirty){if(!this._is_dirty&&even_if=
_not_dirty!=3D=3Dtrue){return;}=0A=
this._is_dirty=3Dfalse;if(!this._showing){return;}=0A=
if(this._autohide&&!this._async_request&&!this._autohide_timeout){this._a=
utohide_timeout=3DsetTimeout(bind(this,'hide'),this._autohide);}=0A=
if(!this._async_request||!this._show_loading){var =
content=3D[];if(this._summary){content.push($N('div',{className:'dialog_s=
ummary'},this._format(this._summary)));}=0A=
content.push($N('div',{className:'dialog_body'},this._format(this._body))=
);var =
button_content=3Dthis._getButtonContent();if(button_content.length){conte=
nt.push($N('div',{className:'dialog_buttons'},button_content));}=0A=
if(this._footer){content.push($N('div',{className:'dialog_footer'},this._=
format(this._footer)));}=0A=
content=3D$N('div',{className:'dialog_content'},content);if(this._title){=
var =
title=3D$N('h2',{className:'dialog_title'},$N('span',this._format(this._t=
itle)));content=3D[title,content];}else{content=3D[content];}=0A=
this._renderDialog(content);for(var =
i=3D0;i<this._onload_handlers.length;++i){try{this._onload_handlers[i]();=
}catch(ex){Util.error('Uncaught exception in dialog onload hook: =
%x',ex);}}=0A=
this._onload_handlers=3D[];}else{this.showLoading();}=0A=
if(this._content_width){this._popup.style.width=3D(this._content_width+42=
)+'px';}=0A=
if(this._modal&&!this._overlay){this._buildOverlay();}},_updateButtons:fu=
nction(){if(!this._showing){return;}=0A=
var button_content=3Dthis._getButtonContent();var =
new_buttons=3D$N('div',{className:'dialog_buttons'},button_content);var =
prev_buttons=3DDOM.scry(this._content,'div.dialog_buttons')[0]||null;if(!=
prev_buttons){var =
body=3DDOM.scry(this._content,'div.dialog_body')[0]||null;if(body){DOM.in=
sertAfter(body,new_buttons);}=0A=
return;}=0A=
DOM.replace(prev_buttons,new_buttons);},_getButtonContent:function(){var =
button_content=3D[];if((this._buttons&&this._buttons.length>0)||this._but=
tons_message){var =
button_content=3D[];if(this._buttons_message){button_content.push($N('div=
',{className:'dialog_buttons_msg'},this._format(this._buttons_message)));=
}=0A=
if(this._buttons){for(var i=3D0;i<this._buttons.length;i++){var =
button=3Dthis._buttons[i];var =
button_node=3D$N('input',{className:'inputsubmit',type:'button',name:butt=
on.name||'',value:button.label});CSS.addClass(button_node,button.classNam=
e);button_node.listen('click',this._handleButton.bind(this,button.name));=
button_content.push(button_node);}}}=0A=
return button_content;},_shouldUseIframe:function(){return =
Dialog.SHOULD_USE_IFRAME||(this._modal&&ua.ie()=3D=3D7);},_renderDialog:f=
unction(content){if(Dialog.dialogStack=3D=3D=3Dnull){onunloadRegister(Dia=
log._hideAll,true);}=0A=
if(!this._obj){this._buildDialog();}=0A=
if(this._class_name){CSS.addClass(this._obj,this._class_name);}=0A=
CSS.conditionClass(this._obj,'full_bleed',this._full_bleed);if(typeof =
content=3D=3D'string'){content=3DHTML(content).setDeferred(this._immediat=
e_rendering!=3D=3Dtrue);}=0A=
DOM.setContent(this._content,content);var =
imgs=3Dthis._content.getElementsByTagName('img');for(var =
i=3D0;i<imgs.length;i++){imgs[i].onload=3Dchain(imgs[i].onload,this._hide=
Objects.bind(this));}=0A=
this._showDialog();if(this._auto_focus){this._focusFirstTextboxOrButton.b=
ind(this).defer();}=0A=
return =
this;},_buildDialog:function(){this._obj=3D$N('div',{className:'generic_d=
ialog'});this._obj.style.display=3D'none';if(this._immediate_rendering){D=
OM.getRootElement().appendChild(this._obj);}else{onloadRegister(function(=
){DOM.getRootElement().appendChild(this._obj);}.bind(this));}=0A=
if(this._shouldUseIframe()){this._buildIframe();}=0A=
if(!this._popup){this._popup=3D$N('div',{className:'generic_dialog_popup'=
});}=0A=
this._popup.style.left=3Dthis._popup.style.top=3D'';this._obj.appendChild=
(this._popup);if(this._modal){this._buildOverlay();}=0A=
this._buildDialogContent();},_showDialog:function(){if(this._obj&&this._o=
bj.style.display){this._obj.style.visibility=3D'hidden';this._obj.style.d=
isplay=3D'';this._resetDialog();this._obj.style.visibility=3D'';this._obj=
.dialog=3Dthis;}else{this._resetDialog();}=0A=
this._hideObjects();clearInterval(this.active_hiding);this.active_hiding=3D=
setInterval(this._activeResize.bind(this),500);if(!Dialog.dialogStack){Di=
alog.dialogStack=3D[];}=0A=
var stack=3DDialog.dialogStack;if(stack.length){var =
currentDialog=3Dstack[stack.length-1];if(currentDialog!=3Dthis&&!currentD=
ialog._is_stackable){currentDialog._hide();}=0A=
for(var =
i=3Dstack.length-1;i>=3D0;i--){if(stack[i]=3D=3Dthis){stack.splice(i,1);}=
else if(!stack[i]._shown_while_stacked){stack[i]._hide(true);}}}=0A=
stack.push(this);return =
this;},_activeResize:function(){if(this.last_offset_height!=3Dthis._conte=
nt.offsetHeight){this._hideObjects();this.last_offset_height=3Dthis._cont=
ent.offsetHeight;}},_hideObjects:function(){var =
hide=3D[],objects=3D[];var =
rect=3DRect.getElementBounds(this._content);var =
swfs=3D[].concat($A(DOM.scry(document.body,'embed')),$A(DOM.scry(document=
.body,'object')));for(var =
i=3D0;i<swfs.length;i++){if(Dialog.SHOULD_HIDE_OBJECTS||(swfs[i].getAttri=
bute('wmode')||'').toLowerCase()!=3D'transparent'){objects.push(swfs[i]);=
}}=0A=
for(var i=3D0;i<objects.length;i++){var =
node=3Dobjects[i].offsetHeight?objects[i]:objects[i].parentNode;var =
swf_rect=3DRect.getElementBounds(node);if(!DOM.contains(this._content,obj=
ects[i])&&rect.intersects(swf_rect)&&this._hidden_objects.indexOf(node)=3D=
=3D-1){hide.push(node);}}=0A=
for(var =
i=3D0;i<hide.length;i++){this._hidden_objects.push(hide[i]);hide[i].style=
.visibility=3D'hidden';}},_buildDialogContent:function(){CSS.addClass(thi=
s._obj,'pop_dialog');if(intl_locale_is_rtl()){CSS.addClass(this._obj,'pop=
_dialog_rtl');}=0A=
var markup;if(ua.ie()<=3D6){markup=3D'<div =
class=3D"pop_squarecontainer">'+'<div class=3D"pop_squareborder =
pop_borderopacity"></div>'+'<div class=3D"pop_content pop_content_old" =
id=3D"pop_content"></div>'+'</div>';}else =
if(ua.firefox()>=3D3||ua.safari()>=3D3){markup=3D'<div =
class=3D"pop_container_advanced">'+'<div class=3D"pop_content" =
id=3D"pop_content"></div>'+'</div>';}else{markup=3D'<div =
class=3D"pop_container">'+'<div class=3D"pop_verticalslab"></div>'+'<div =
class=3D"pop_horizontalslab"></div>'+'<div =
class=3D"pop_topleft"></div>'+'<div class=3D"pop_topright"></div>'+'<div =
class=3D"pop_bottomright"></div>'+'<div =
class=3D"pop_bottomleft"></div>'+'<div class=3D"pop_content =
pop_content_old" id=3D"pop_content"></div>'+'</div>';}=0A=
set_inner_html(this._popup,markup);this._frame=3DDOM.find(this._popup,'di=
v.pop_content');this._content=3Dthis._frame;},_buildIframe:function(){if(=
!this._iframe&&!(this._iframe=3Dge('generic_dialog_iframe'))){this._ifram=
e=3D$N('iframe',{id:'generic_dialog_iframe',src:'/common/blank.html'});}=0A=
this._iframe.frameBorder=3D'0';onloadRegister(function(){DOM.getRootEleme=
nt().appendChild(this._iframe);}.bind(this));},_buildOverlay:function(){t=
his._overlay=3D$N('div',{id:'generic_dialog_overlay'});if(this._modal_cla=
ss){CSS.addClass(this._overlay,this._modal_class);}=0A=
if(this._semi_modal){Event.listen(this._overlay,'click',this.hide.bind(th=
is));}=0A=
if(ua.ie()<7){this._overlay.style.height=3DVector2.getDocumentDimensions(=
).y+'px';}=0A=
onloadRegister(function(){DOMScroll.getScrollRoot().appendChild(this._ove=
rlay);}.bind(this));},_focusFirstTextboxOrButton:function(){var =
selectors=3D['input[type=3D"text"]','textarea','input[type=3D"password"]'=
,'input[type=3D"button"]','input[type=3D"submit"]'];var =
nodes=3D[];for(var =
ii=3D0;ii<selectors.length&&nodes.length=3D=3D0;ii++){nodes=3DDOM.scry(th=
is._content,selectors[ii]);}=0A=
if(nodes.length>0){var =
node=3Dnodes[0];try{if(elementY(node)>0&&elementX(node)>0){node.focus();}=
}catch(e){}}=0A=
return true;},_resetDialog:function(){if(!this._popup){return;}=0A=
onloadRegister(function(){this._resetDialogObj();this._resetIframe();}.bi=
nd(this));},_resetIframe:function(){if(!this._shouldUseIframe()){return;}=0A=
if(this.modal){this._iframe.style.left=3D'0px';this._iframe.style.top=3D'=
0px';this._iframe.style.width=3D'100%';var =
documentHeight=3DMath.max(10000,Vector2.getDocumentDimensions().y);this._=
iframe.style.height=3DdocumentHeight+'px';}else{Vector2.getElementDimensi=
ons(this._frame).setElementDimensions(this._iframe);Vector2.getElementPos=
ition(this._frame).setElementPosition(this._iframe);}=0A=
this._iframe.style.display=3D'';},_resetDialogObj:function(){var =
table=3Dthis._popup.find('div.pop_content');var =
scrollY=3DVector2.getScrollPosition().y;var =
viewportHeight=3DVector2.getViewportDimensions().y;var =
top=3DscrollY+this._top+'px';if(viewportHeight<=3D400){this._popup.style.=
top=3D'20px';return;}=0A=
if(this._top+table.clientHeight>viewportHeight){var =
empty_space=3DMath.max(viewportHeight-table.clientHeight,0);top=3D((empty=
_space/2)+scrollY)+'px';}=0A=
this._popup.style.top=3Dtop;},_fadeOut:function(temporary){if(!this._popu=
p){return;}=0A=
try{animation(this._obj).duration(0).checkpoint().to('opacity',0).hide().=
duration(250).ondone(this._hide.bind(this,temporary)).go();}catch(e){this=
._hide(temporary);}},_hide:function(temporary){if(this._obj){this._obj.st=
yle.display=3D'none';}=0A=
if(this._overlay){this._overlay.style.display=3D'none';}=0A=
if(this._iframe){this._iframe.style.display=3D'none';}=0A=
if(this.timeout){clearTimeout(this.timeout);this.timeout=3Dnull;}=0A=
if(this._hidden_objects.length){for(var =
i=3D0,il=3Dthis._hidden_objects.length;i<il;i++){this._hidden_objects[i].=
style.visibility=3D'';}=0A=
this._hidden_objects=3D[];}=0A=
clearInterval(this.active_hiding);if(temporary){return;}=0A=
this.destroy();},destroy:function(){if(Dialog.dialogStack&&Dialog.dialogS=
tack.length){var stack=3DDialog.dialogStack;for(var =
i=3Dstack.length-1;i>=3D0;i--){if(stack[i]=3D=3Dthis){stack.splice(i,1);}=
}=0A=
if(stack.length){stack[stack.length-1]._showDialog();}}=0A=
if(this._obj){DOM.remove(this._obj);this._obj=3Dnull;}=0A=
if(this._close_handler){this._close_handler();}},_handleButton:function(b=
utton){if(typeof =
button=3D=3D'string'){button=3DDialog._findButton(this._buttons,button);}=0A=
if(!button){Util.error('Huh?  How did this button get here?');return;}=0A=
var =
value=3DDialog.call_or_eval(button,button.handler);if(value=3D=3D=3Dfalse=
){return;}=0A=
if(button=3D=3DDialog.CANCEL){Dialog.call_or_eval(this,this._cancelHandle=
r);}else{if(Dialog.call_or_eval(this,this._handler,{button:button})=3D=3D=
=3Dfalse){return;}}=0A=
this.hide();},_submitForm:function(method,uri,button){var =
data=3Dthis.getFormData();data[button.name]=3Dbutton.label;if(this._extra=
_data){copy_properties(data,this._extra_data);}=0A=
var async_request=3Dnew =
AsyncRequest().setURI(uri).setData(data).setMethod(method).setReadOnly(me=
thod=3D=3D'GET');this.setAsync(async_request);return =
false;},_setFromModel:function(model){for(var propertyName in model){var =
mutator=3Dthis['set'+propertyName.substr(0,1).toUpperCase()=0A=
+propertyName.substr(1)];if(!mutator){Util.error("Unknown Dialog =
property: =
"+propertyName);}else{mutator.apply(this,arrayize(model[propertyName]));}=
}}});function ContextualDialog(model){this.parent.construct(this);}=0A=
ContextualDialog.extend('Dialog');copy_properties(ContextualDialog,{ARROW=
_PADDING_X:5,ARROW_PADDING_Y:10,ARROW_WIDTH:13,_bottoms:[0],max_bottom:0,=
_updateMaxBottom:function(){ContextualDialog.max_bottom=3DMath.max.apply(=
Math,ContextualDialog._bottoms);}});ContextualDialog.prototype=3D{setCont=
ext:Dialog._basicMutator('_context'),_buildDialogContent:function(){CSS.a=
ddClass(this._obj,'contextual_dialog');set_inner_html(this._popup,'<div =
class=3D"contextual_arrow"><span>^_^keke1</span></div><div =
class=3D"contextual_dialog_content"></div>');this._arrow=3DDOM.find(this.=
_popup,'div.contextual_arrow');this._content=3Dthis._frame=3DDOM.find(thi=
s._popup,'div.contextual_dialog_content');},_resetDialogObj:function(){if=
(!this._context){return;}=0A=
var elementPos=3DVector2.getElementPosition(this._context);var =
documentOffsetWidth=3DDOMScroll.getScrollRoot().offsetWidth;var =
center=3D(documentOffsetWidth-this._popup.offsetWidth)/2;var =
left,arrow;if(elementPos.x<documentOffsetWidth/2){this._arrow.className=3D=
'contextual_arrow_rev';left=3DMath.min(center,elementPos.x+this._context.=
offsetWidth-ContextualDialog.ARROW_PADDING_X);arrow=3DelementPos.x-left+t=
his._context.offsetWidth+ContextualDialog.ARROW_PADDING_X;}else{this._arr=
ow.className=3D'contextual_arrow';left=3DMath.max(center,elementPos.x-thi=
s._popup.offsetWidth+ContextualDialog.ARROW_PADDING_X);arrow=3DelementPos=
.x-left-ContextualDialog.ARROW_PADDING_X-ContextualDialog.ARROW_WIDTH;}=0A=
left=3Dleft||0;arrow=3Darrow||0;new =
Vector2(left,elementPos.y+this._context.offsetHeight-this._arrow.offsetHe=
ight+ContextualDialog.ARROW_PADDING_Y,'document').setElementPosition(this=
._popup);this._arrow.style.backgroundPosition=3Darrow+'px';},_renderDialo=
g:function(content){if(window!=3Dtop){this._auto_focus=3Dfalse;}=0A=
this.parent._renderDialog(content);var =
bottom=3DVector2.getElementDimensions(this._content).y+=0A=
Vector2.getElementPosition(this._content).y;ContextualDialog._bottoms.pus=
h(bottom);this._bottom=3Dbottom;ContextualDialog._updateMaxBottom();},_hi=
de:function(){this.parent._hide();if(this._bottom){var =
bs=3DContextualDialog._bottoms;bs.splice(bs.indexOf(this._bottom),1);Cont=
extualDialog._updateMaxBottom();}}};function =
ErrorDialog(){this.parent.construct(this);this.setClassName('errorDialog'=
).setModal(true);this.setStackable(true);return this;}=0A=
ErrorDialog.extend('Dialog');copy_properties(ErrorDialog,{showAsyncError:=
function(response){if(window.send_error_signal){var =
vip=3Denv_get('vip');if(vip=3D=3D=3Dundefined){vip=3D'-';}=0A=
send_error_signal('async_error',response.getError()+":"+vip);}=0A=
try{return(new =
ErrorDialog()).showError(response.getErrorSummary(),response.getErrorDesc=
ription());}catch(ex){aiert(response);}}});copy_properties(ErrorDialog.pr=
ototype,{showError:function(title,message){return =
this.setTitle(title).setBody(message).setButtons([Dialog.OK]).show();}});=
var =
DialogBootstrapEndpoints=3D{LIST_EDITOR:'/friends/ajax/edit_list.php',EDI=
T_APPS_DIALOG:'/ajax/editapp_dialog.php'};function =
BorderlessDialog(model){this.parent.construct(this);this._auto_focus=3Dfa=
lse;}=0A=
BorderlessDialog.extend('Dialog');BorderlessDialog.prototype=3D{setContex=
t:Dialog._basicMutator('_context'),_buildDialogContent:function(){CSS.add=
Class(this._obj,'borderless_dialog');set_inner_html(this._popup,'<div =
class=3D"borderless_dialog_content"></div>');this._content=3Dthis._frame=3D=
DOM.find(this._popup,'div.borderless_dialog_content');},_resetDialogObj:f=
unction(){if(!this._context){return;}=0A=
var elementPos=3DVector2.getElementPosition(this._context);var =
documentOffsetWidth=3DDOMScroll.getScrollRoot().offsetWidth;var =
center=3D(documentOffsetWidth-this._popup.offsetWidth)/2;var =
left;if(elementPos.x<documentOffsetWidth/2){left=3DMath.min(center,elemen=
tPos.x+this._context.offsetWidth);}else{left=3DMath.max(center,elementPos=
.x-this._popup.offsetWidth);}=0A=
left=3Dleft||0;new =
Vector2(left,elementPos.y+this._context.offsetHeight,'document').setEleme=
ntPosition(this._popup);}};=0A=
=0A=
function =
resend_confirmation_email(){hide($('confirm_error'));hide($('confirm_stat=
us'));show($('confirm_progress'));new =
AsyncRequest().setURI('/ajax/confirm_email.php').setData({resend:1}).setH=
andler(function(response){hide($('confirm_progress'));if(response){var =
payload=3Dresponse.getPayload();if(payload&&payload.success){DOM.setConte=
nt($('confirm_status'),HTML(payload.msg));show($('confirm_status'));}else=
{DOM.setContent($('confirm_error'),HTML(payload.msg));show($('confirm_err=
or'));}}else{DOM.setContent($('confirm_error'),HTML(payload.msg));show($(=
'confirm_error'));}}).send();}=0A=
function =
handle_require_email_conf_response(target_fn,error_fn,precursor_fn,respon=
se){if(precursor_fn){precursor_fn();}=0A=
if(response){var =
payload=3Dresponse.getPayload();if(payload&&payload.require_conf){var =
dialog=3Dnew =
Dialog().setTitle(payload.dialog_title).setBody(payload.dialog_body).setB=
uttons([Dialog.OK]).show();}else =
if(target_fn){target_fn(response);}}else =
if(error_fn){error_fn(response);}}=0A=
=0A=
function =
ConnectDialog(profile_id,source,ondone_func,ondone_data,ondone_reload,con=
textData,pymk_score,pymk_source,pymk_page){this.parent.construct(this);th=
is.setClassName('UIConnect_Dialog');this.setAutoFocus(false);this.setStac=
kable(true);var req=3Dnew =
AsyncRequest().setURI('/ajax/profile/connect.php').setData({'dialog':1,'p=
rofile_id':profile_id,'source':source}).setFinallyHandler(function(){this=
.getButtonElement('connect').focus()}.bind(this));for(key in =
contextData){req.setContextData(key,contextData[key]);}=0A=
this.setAsync(req);var =
extra_attrs=3D{ondone_func:ondone_func,ondone_data:ondone_data,ondone_rel=
oad:ondone_reload,pymk_score:pymk_score,pymk_source:pymk_source,pymk_page=
:pymk_page};ConnectDialog.prepare(this,extra_attrs);return this;}=0A=
ConnectDialog.extend('Dialog');ConnectDialog.prepare=3Dfunction(dialog,ex=
tra_attrs){copy_properties(dialog,extra_attrs);dialog.setCloseHandler(Con=
nectDialog.deleteInstance);ConnectDialog.setInstance(dialog);}=0A=
ConnectDialog.deleteInstance=3Dfunction(){delete ConnectDialog.instance;}=0A=
ConnectDialog.setInstance=3Dfunction(instance){ConnectDialog.instance=3Di=
nstance;}=0A=
ConnectDialog.getInstance=3Dfunction(){return ConnectDialog.instance;}=0A=
=0A=
function delay_add_class(element,class_name,delay){var =
timeout_id=3Dnull;var doc_listener=3Dnull;var =
doc_handler=3Dfunction(e){if(!DOM.contains(element,e.getTarget())){clearT=
imeout(timeout_id);CSS.removeClass(element,class_name);doc_listener&&doc_=
listener.remove();}};var =
add=3Dfunction(){timeout_id=3DsetTimeout(CSS.addClass.bind(null,element,c=
lass_name),delay||0);doc_listener=3DEvent.listen(document,'mousemove',doc=
_handler);};Event.listen(element,'mouseenter',add);}=0A=
=0A=
var=0A=
kError_Account_IncorrectPassword=3D1340001,kError_Global_ValidationError=3D=
1346001,kError_Login_GenericError=3D1348009,kError_Chat_NotAvailable=3D13=
56002,kError_Chat_SendOtherNotAvailable=3D1356003,kError_Async_NotLoggedI=
n=3D1357001,kError_Async_LoginChanged=3D1357003,kError_Async_CSRFCheckFai=
led=3D1357004,kError_Chat_TooManyMessages=3D1356008,kError_Platform_Callb=
ackValidationFailure=3D1349007,kError_Platform_ApplicationResponseInvalid=
=3D1349008,kError_FBPayments_Unknown=3D1383001,kError_FBPayments_InvalidP=
arameters=3D1383002,kError_Gifts_NoGiftSelected=3D1391001,kError_Gifts_No=
ReceiverSpecified=3D1391003,kError_Gifts_NoMessageAttached=3D1391004,kErr=
or_Async_InternalCaptchaRequired=3D1357007,kError_Recruiting_MessageDeliv=
eryFailed=3D1405001,kError_FBPayments_PaymentFailure=3D1383003,kError_Int=
ern_UnknownError=3D1408001,kError_Privacy_FriendListNameAlreadyExists=3D1=
409001,kError_Mobile_InvalidWapLocale=3D1347008,kError_Gifts_MessageTooLo=
ng=3D1391007,kError_Inbox_DuplicateMessages=3D1415001,kError_Async_Confir=
mationRequired=3D1357008,kError_Gifter_GiftNotMoved=3D1416001,kError_Gift=
er_GiftNotCreated=3D1416002,kError_Gifter_GiftNotUpdated=3D1416003,kError=
_Gifter_DesignerNotAdded=3D1416004,kError_Gifter_GiftsNotLoaded=3D1416005=
,kError_Megaphone_InvalidHideData=3D1419001,kError_Megaphone_StoryNotFoun=
d=3D1419002,kError_Megaphone_InternalError=3D1419003,kError_Megaphone_Han=
dleHideFailed=3D1419004,kError_Screenname_LimiteExceeded=3D1423001,kError=
_Screenname_AllocationError=3D1423002,kError_OpenId_RegistrationGeneralEr=
ror=3D1428001,kError_OpenId_SignatureError=3D1428002,kError_OpenId_Missin=
gRequiredInformation=3D1428003,kError_OpenId_ProtocolError=3D1428004,kErr=
or_OpenId_ProtocolErrorWithMessage=3D1428005,kError_OpenId_EmailAlreadyTa=
ken=3D1428006,kError_ProfileConnect_AlreadyConnected=3D1431001,kError_Inb=
ox_ThreadsUnavailable=3D1415002,kError_OpenId_CancelResponse=3D1428010,kE=
rror_OpenId_SetupNeededResponse=3D1428011,kError_Payment_CreditCardError=3D=
1353008,kError_FBPayments_InvalidOperation=3D1383004,kError_FBPayments_Pe=
rmissionDenied=3D1383005,kError_FBPayments_DatabaseError=3D1383006,kError=
_FBPayments_InvalidApp=3D1383007,kError_FBPayments_AppNoResponse=3D138300=
8,kError_FBPayments_AppErrorResponse=3D1383009,kError_FBPayments_UserCanc=
eled=3D1383010,kError_FBPayments_Disabled=3D1383011,kError_Wall_RateLimit=
Exceeded=3D1367004,kError_Async_Roadblocked=3D1357011,kError_Gigaboxx_Inv=
alidFolder=3D1441008,kError_Gifts_GiftsWithCreditsGlobalLimitExceeded=3D1=
391027,kError_Login_LsdFailed=3D1348035,kError_Payment_CaptchaFailed=3D13=
53010,kError_Payment_SecurityRestriction=3D1353011,kError_OpenId_EmailAlr=
eadyTakenLinkAccounts=3D1428016,kError_UIErrorForm_HasErrors=3D1460001,kE=
rror_CreditCardForm_InvalidCardType=3D1463001,kError_CreditCardForm_Inval=
idExpDate=3D1463002,kError_CreditCardForm_InvalidNumber=3D1463003,kError_=
CreditCardForm_InvalidZip=3D1463004,kError_CreditCardForm_InvalidState=3D=
1463005,kError_CreditCardForm_InvalidStreet=3D1463006,kError_CreditCardFo=
rm_InvalidCity=3D1463007,kError_CreditCardForm_NonNumericCard=3D1463008,k=
Error_CreditCardForm_InvalidFirstName=3D1463009,kError_CreditCardForm_Inv=
alidLastName=3D1463010,kError_CreditCardForm_InvalidCSC=3D1463011,kError_=
CreditCardForm_NonNumericCSC=3D1463012,kError_CreditCardForm_FailedAuth=3D=
1463013,kError_CreditCardForm_InvalidAddress=3D1463014,kError_CreditCardF=
orm_FailedRegistration=3D1463015,kError_CreditCardForm_FailedRetrieval=3D=
1463016,kError_CreditCardForm_FailedRemove=3D1463017,kError_Mentions_Unta=
ggingMentionFailed=3D1462003,kError_Async_PopUpCaptchaRequired=3D1357013;=0A=
=0A=
function collect_data_attrib(elem,type){var merged_data=3D{};var =
attr_name=3D'data-'+type;while(elem&&!DOM.isNode(elem,'body')){var =
attr_data_str=3Delem.getAttribute(attr_name);if(attr_data_str){var =
attr_data=3DJSON.decode(attr_data_str);for(var i in =
attr_data){if(merged_data[i]=3D=3Dundefined){merged_data[i]=3Dattr_data[i=
];}}}=0A=
elem=3Delem.parentNode;}=0A=
return merged_data;}=0A=
function =
replace_collected_data_attrib(elem,type,existing_key,new_value){var =
attr_name=3D'data-'+type;for(;elem&&!DOM.isNode(elem,'body');elem=3Delem.=
parentNode){var =
attr_data_str=3Delem.getAttribute(attr_name);if(attr_data_str){var =
attr_data=3DJSON.decode(attr_data_str);if(attr_data[existing_key]!=3D=3Du=
ndefined){attr_data[existing_key]=3Dnew_value;elem.setAttribute(attr_name=
,JSON.encode(attr_data));return true;}}}=0A=
return false;}=0A=
=0A=
copy_properties(ft,{NF_SOURCE_MINIFEED:9,NF_SOURCE_STREAM:10,NF_SOURCE_HI=
GHLIGHTS:11,NF_EVENT_IMPRESSION:2,NF_EVENT_SEE_MORE:28,NF_EVENT_PILL_CLIC=
K:37,NF_PAGE_AUTOREFRESH:38,FT_COM_EXPANSION:'c_exp',STREAM_SOURCES:{9:tr=
ue,10:true,11:true}});function ft(metadata){var asyncRequestPost=3Dnew =
AsyncSignal('/ajax/f.php',{'meta':metadata}).send();return true;}=0A=
ft.get_see_more_params=3Dfunction(type){return{evt:ft.NF_EVENT_SEE_MORE,t=
ype:type};}=0A=
ft.f3=3Dfunction(elem){ft.logElem(elem);}=0A=
ft.enableFeedTracking=3Dfunction(value){ft.feedTrackingIsEnabled=3Dvalue;=
onunloadRegister(function(){ft.feedTrackingIsEnabled=3Dfalse;});};ft.logE=
lem=3Dfunction(elem,params){if(!ft.feedTrackingIsEnabled){return;}=0A=
var =
link_data=3Dcollect_data_attrib(elem,'ft');if(count(link_data)){if(ft.fee=
dTrackingIsEnabled=3D=3D1&&ft.STREAM_SOURCES[parseInt(link_data.src,10)])=
{return;}=0A=
link_data.dest=3Delem.href;ft.logData(link_data,params);}}=0A=
ft.logData=3Dfunction(link_data,params){var =
union=3D{};copy_properties(union,link_data);if(params){copy_properties(un=
ion,params);}=0A=
new AsyncSignal('/ajax/f2.php',{link_data:JSON.encode(union)}).send();}=0A=
onloadRegister(function(){LinkController.registerFallbackHandler(function=
(elem){ft.logElem(elem);},LinkController.ALL,true);});=0A=
=0A=
function =
RenderManager(renderable_object){copy_properties(this,{_isDirty:false,_ob=
j:renderable_object});}=0A=
copy_properties(RenderManager.prototype,{dirty:function(){if(!this._isDir=
ty){this._isDirty=3Dtrue;bind(this,this.doPaint).defer();}},doPaint:funct=
ion(){this._isDirty=3Dfalse;this._obj.paint();}});=0A=
=0A=
function =
CounterDisplay(counter_name,value_node,wrapper_node,status_node,status_cl=
ass){copy_properties(this,{_name:counter_name,_valueNode:$(value_node),_w=
rapperNode:$(wrapper_node)||null,_statusClass:status_class,_rm:new =
RenderManager(this),_arbiterSubscription:null,_count:0});var =
node=3Dthis._valueNode.firstChild;if(node){var =
value=3DparseInt(node.nodeValue,10);if(!isNaN(value)){this._count=3Dvalue=
;}}=0A=
this._statusNode=3Dstatus_node?$(status_node):null;this._subscribeAll();C=
ounterDisplay.instances.push(this);onunloadRegister(this._destroy.bind(th=
is),true);}=0A=
copy_properties(CounterDisplay,{EVENT_TYPE_ADJUST:'CounterDisplay/adjust'=
,EVENT_TYPE_UPDATE:'CounterDisplay/update',instances:[],adjustCount:funct=
ion(counter_name,value){Arbiter.inform(CounterDisplay.EVENT_TYPE_ADJUST+'=
/'+counter_name,value);},setCount:function(counter_name,value){Arbiter.in=
form(CounterDisplay.EVENT_TYPE_UPDATE+'/'+counter_name,value);}});Counter=
Display.mixin({_destroy:function(){delete this._valueNode;delete =
this._wrapperNode;if(this._arbiterSubscription){Arbiter.unsubscribe(this.=
_arbiterSubscription);delete this._arbiterSubscription;}=0A=
CounterDisplay.instances.remove(this);},adjustCount:function(value){this.=
_count=3DMath.max(0,this._count+value);this._rm.dirty();return =
this;},setCount:function(value){this._count=3DMath.max(0,value);this._rm.=
dirty();return =
this;},paint:function(){DOM.setText(this._valueNode,this._count);if(this.=
_wrapperNode){if(this._count<=3D0){hide(this._wrapperNode);if(this._statu=
sClass&&this._statusNode){CSS.removeClass(this._statusNode,this._statusCl=
ass);}}else{show(this._wrapperNode);if(this._statusClass&&this._statusNod=
e){CSS.addClass(this._statusNode,this._statusClass);}}}},_subscribeAll:fu=
nction(){var =
types=3D[CounterDisplay.EVENT_TYPE_ADJUST+'/'+this._name,CounterDisplay.E=
VENT_TYPE_UPDATE+'/'+this._name];this._arbiterSubscription=3DArbiter.subs=
cribe(types,this._onInform.bind(this),Arbiter.SUBSCRIBE_NEW);},_onInform:=
function(type,value){value=3DparseInt(value);if(isNaN(value)){Util.warn("=
Passed invalid counter value: '%s'",value);return;}=0A=
if(type.indexOf(CounterDisplay.EVENT_TYPE_ADJUST)!=3D-1){this.adjustCount=
(value);}else =
if(type.indexOf(CounterDisplay.EVENT_TYPE_UPDATE)!=3D-1){this.setCount(va=
lue);}else{Util.warn("Invalid event type in CounterDisplay handler: =
'%s'",type);return;}=0A=
return;}});=0A=
=0A=
function =
setCookie(cookieName,cookieValue,nMilliSecs,path){if(nMilliSecs){var =
thisMoment=3Dnew Date();var expire=3Dnew =
Date();expire.setTime(thisMoment.getTime()+nMilliSecs);}=0A=
document.cookie=3DcookieName+"=3D"+encodeURIComponent(cookieValue)+"; "+=0A=
(nMilliSecs?"expires=3D"+expire.toGMTString()+"; =
":"")+"path=3D"+(path||'/')+"; domain=3D."+=0A=
window.location.hostname.replace(/^.*(facebook\..*)$/i,'$1');}=0A=
function clearCookie(cookieName){document.cookie=3DcookieName+"=3D; =
expires=3DMon, 26 Jul 1997 05:00:00 GMT; "+"path=3D/; domain=3D."+=0A=
window.location.hostname.replace(/^.*(facebook\..*)$/i,'$1');}=0A=
function getCookie(name){var nameEQ=3Dname+"=3D";var =
ca=3Ddocument.cookie.split(';');for(i=3D0;i<ca.length;i++){var =
c=3Dca[i];while(c.charAt(0)=3D=3D' =
')c=3Dc.substring(1,c.length);if(c.indexOf(nameEQ)=3D=3D0){return =
decodeURIComponent(c.substring(nameEQ.length,c.length))}}=0A=
return null;}=0A=
function =
transferCookieToComTld(cookieName,handler){handler=3Dhandler||bagofholdin=
g;var cookieNames;if(cookieName instanceof =
Array){cookieNames=3DcookieName;}else{cookieNames=3D[cookieName];}=0A=
var data=3D{};for(var i=3D0;i<cookieNames.length;i++){var =
value=3DgetCookie(cookieNames[i]);if(value){data[cookieNames[i]]=3Dvalue;=
}}=0A=
var =
domain=3Dwindow.location.hostname.replace(/facebook.*/,'facebook.com');va=
r uri=3D'http://'+domain+'/common/cookie_transfer.php';new =
AsyncSignal(uri,data).setHandler(handler).send();}=0A=
=0A=
function adjustImage(obj){var =
block=3Dobj.parentNode;while(CSS.getStyle(block,'display')!=3D'block'&&bl=
ock.parentNode){block=3Dblock.parentNode;}=0A=
var =
width=3Dblock.offsetWidth;if(obj.offsetWidth>width){try{if(ua.ie()<8){var=
 =
img_div=3Ddocument.createElement('div');img_div.style.filter=3D'progid:DX=
ImageTransform.Microsoft.AlphaImageLoader(src=3D"'+obj.src.replace('"','%=
22')+'", =
sizingMethod=3D"scale")';img_div.style.width=3Dwidth+'px';img_div.style.h=
eight=3DMath.floor(((width/obj.offsetWidth)*obj.offsetHeight))+'px';if(ob=
j.parentNode.tagName=3D=3D'A'){img_div.style.cursor=3D'pointer';}=0A=
obj.parentNode.insertBefore(img_div,obj);obj.parentNode.removeChild(obj);=
}else{throw 1;}}catch(e){obj.style.width=3Dwidth+'px';}}=0A=
CSS.removeClass(obj,'img_loading');}=0A=
function imageConstrainSize(src,maxX,maxY,placeholderid){var image=3Dnew =
Image();image.onload=3Dfunction(){if(image.width>0&&image.height>0){var =
width=3Dimage.width;var =
height=3Dimage.height;if(width>maxX||height>maxY){var =
desired_ratio=3DmaxY/maxX;var =
actual_ratio=3Dheight/width;if(actual_ratio>desired_ratio){width=3Dwidth*=
(maxY/height);height=3DmaxY;}else{height=3Dheight*(maxX/width);width=3Dma=
xX;}}=0A=
var placeholder=3Dge(placeholderid);if(placeholder){var =
newimage=3Ddocument.createElement('img');newimage.src=3Dsrc;newimage.widt=
h=3Dwidth;newimage.height=3Dheight;placeholder.parentNode.insertBefore(ne=
wimage,placeholder);placeholder.parentNode.removeChild(placeholder);}}}=0A=
image.src=3Dsrc;}=0A=
function =
image_has_loaded(img){if(img.naturalWidth!=3D=3Dundefined){return =
img.complete&&img.width!=3D0;}else =
if(img.height=3D=3D20&&img.width=3D=3D20&&img.complete){return =
false;}else if(img.complete=3D=3D=3Dundefined&&ua.safari()<500){var =
img2=3Dnew Image();img2.src=3Dimg.src;return img2.complete;}=0A=
return img.complete;}=0A=
function =
image_has_failed(obj){if((obj.complete=3D=3Dnull&&obj.width=3D=3D20&&obj.=
height=3D=3D20)||(obj.mimeType!=3Dnull&&obj.complete&&obj.mimeType=3D=3D'=
')||(obj.naturalHeight!=3Dnull&&obj.complete&&obj.naturalHeight=3D=3D0)){=
return true;}}=0A=
=0A=
function =
DOMControl(root){copy_properties(this,{root:root&&$(root),updating:false}=
);if(root){root.getControl=3Didentity.bind(null,this);}}=0A=
copy_properties(DOMControl.prototype,{getRoot:function(){return =
this.root;},beginUpdate:function(){if(this.updating){return false;}=0A=
this.updating=3Dtrue;return =
true;},endUpdate:function(){this.updating=3Dfalse;},update:function(e){if=
(!this.beginUpdate()){return this;}=0A=
this.onupdate(e);this.endUpdate();}});=0A=
=0A=
function =
TextInputControl(textinput){this.parent.construct(this,textinput);copy_pr=
operties(this,{placeholderText:null,maxLength:this.getRoot().maxLength||n=
ull,radio:null,focused:false,interval:null,nativePlaceholder:false});var =
r=3Dthis.getRoot();if((String(r.type).toLowerCase()=3D=3D'search')&&ua.sa=
fari()){this.nativePlaceholder=3Dtrue;this.setPlaceholderText(r.getAttrib=
ute('placeholder'));}=0A=
addEventBase(r,'focus',this.onfocus.bind(this));addEventBase(r,'blur',thi=
s.onblur.bind(this));var =
up=3Dthis.update.bind(this);Event.listen(r,{'keyup':up,'keydown':up,'keyp=
ress':up});this.setFocused(false);}=0A=
TextInputControl.extend('DOMControl');copy_properties(TextInputControl.pr=
ototype,{associateWithRadioButton:function(element){this.radio=3Delement&=
&$(element);return this;},setMaxLength:function(maxlength){var =
r=3Dthis.getRoot();this.maxLength=3Dmaxlength;if(maxlength){r.maxLength=3D=
maxlength;}else{r.removeAttribute('maxlength');}=0A=
return =
this;},getValue:function(){if(!this.focused&&this.getRoot().value=3D=3Dth=
is.placeholderText){return null;}=0A=
return this.getRoot().value;},isEmpty:function(){var =
v=3Dthis.getValue();return(v=3D=3D=3Dnull||v=3D=3D'');},setValue:function=
(value){this.getRoot().value=3Dvalue;this.update();return =
this;},clear:function(){return =
this.setValue('');},isFocused:function(){return =
this.focused;},setFocused:function(focused){var =
empty=3Dthis.isEmpty();this.focused=3Dfocused;if(this.placeholderText&&!t=
his.nativePlaceholder){var r=3Dthis.getRoot();var =
v=3Dr.value;if(this.focused){CSS.removeClass(r,'DOMControl_placeholder');=
if(empty){this.clear();}}else =
if(empty){CSS.addClass(r,'DOMControl_placeholder');this.setValue(this.pla=
ceholderText);}}=0A=
this.update();return =
this;},setPlaceholderText:function(text){this.placeholderText=3Dtext;if(t=
his.nativePlaceholder){this.getRoot().setAttribute('placeholder',text);}=0A=
return =
this.setFocused(this.isFocused());},getPlaceholderText:function(){return =
this.placeholderText;},onupdate:function(){if(this.radio){if(this.focused=
){this.radio.checked=3Dtrue;}}=0A=
var =
root=3Dthis.getRoot();if(this.maxLength>0){if(root.value.length>this.maxL=
ength){var value=3Droot.value;var =
remove_length=3Dvalue.length-this.maxLength;var =
pos_pair=3DDOM.getCaretPosition(root);var =
remove_behind_pos=3Dpos_pair.end||value.length;root.value=3Dvalue.substri=
ng(0,remove_behind_pos-remove_length)+=0A=
value.substring(remove_behind_pos);if(typeof =
pos_pair.start!=3D'undefined'){DOM.setCaretPosition(root,pos_pair.start-r=
emove_length,Math.max(pos_pair.start,pos_pair.end)-remove_length);}}}=0A=
this.setFocused(this.focused);},onfocus:function(){this.setFocused(true);=
if(this.interval){clearInterval(this.interval);}=0A=
this.interval=3DsetInterval(this.update.bind(this),150);return =
this;},onblur:function(){this.setFocused(false);if(this.interval){this.in=
terval=3DclearInterval(this.interval);}=0A=
return this;}});function =
placeholderSetup(id){if(!ge(id)){Util.warn('Setting up a placeholder for =
an element which does not exist: %q.',id);return;}=0A=
if(!$(id).getAttribute('placeholder')){Util.warn('Setting up a =
placeholder for an element with no placeholder text: %q.',id);return;}=0A=
return new =
TextInputControl($(id)).setPlaceholderText($(id).getAttribute('placeholde=
r'));}=0A=
=0A=
function =
TextAreaControl(textarea){copy_properties(this,{autogrow:false,clearHeigh=
tOnBlur:false,shadow:null,originalHeight:null,metricsValue:null});this.pa=
rent.construct(this,textarea);};TextAreaControl.extend('TextInputControl'=
);copy_properties(TextAreaControl.prototype,{setAutogrow:function(autogro=
w,clearHeightOnBlur){this.autogrow=3Dautogrow;this.clearHeightOnBlur=3Dcl=
earHeightOnBlur;this.refreshShadow();CSS.addClass(this.getRoot(),'DOMCont=
rol_autogrow');return =
this;},setFocused:function(focused){if(this.autogrow&&!focused&&this.isEm=
pty()&&this.clearHeightOnBlur){this.getRoot().style.height=3D'';}=0A=
return =
this.parent.setFocused(focused);},setOriginalHeight:function(height){this=
.originalHeight=3Dheight;return =
this;},onupdate:function(){this.parent.onupdate();var =
r=3Dthis.getRoot();if(this.autogrow&&r.value!=3Dthis.metricsValue){this.m=
etricsValue=3Dr.value;if(CSS.getStyle(r,'fontSize')=3D=3D""){return =
false;}=0A=
copy_properties(this.shadow.style,{fontSize:parseInt(CSS.getStyle(r,'font=
Size'),10)+'px',fontFamily:CSS.getStyle(r,'fontFamily'),width:Math.max(Ve=
ctor2.getElementDimensions(r).x-8,0)+'px'});DOM.setContent(this.shadow,HT=
ML(htmlize(r.value)));if(this.isEmpty()&&this.originalHeight){r.style.hei=
ght=3Dthis.originalHeight+'px';}else{r.style.height=3DMath.max(this.origi=
nalHeight,Vector2.getElementDimensions(this.shadow).y+15)+'px';}}},refres=
hShadow:function(){if(this.autogrow){this.shadow=3D$N('div',{className:'D=
OMControl_shadow'});DOM.getRootElement().appendChild(this.shadow);var =
r=3Dthis.getRoot();if(!this.originalHeight){this.originalHeight=3DparseIn=
t(CSS.getStyle(r,'height'),10)||Vector2.getElementDimensions(this.getRoot=
()).y;}}else{if(this.shadow){DOM.remove(this.shadow);}=0A=
this.shadow=3Dnull;}}});function =
autogrow_textarea(element){element=3D$(element);if(!element._hascontrol){=
element._hascontrol=3Dtrue;new =
TextAreaControl(element).setAutogrow(true);}}=0A=
=0A=
window.__UIControllerRegistry=3Dwindow.__UIControllerRegistry||{};=0A=
=0A=
if(!this.JSON){this.JSON=3Dfunction(){function f(n){return n<10?'0'+n:n;}=0A=
Date.prototype.toJSON=3Dfunction(){return this.getUTCFullYear()+'-'+=0A=
f(this.getUTCMonth()+1)+'-'+=0A=
f(this.getUTCDate())+'T'+=0A=
f(this.getUTCHours())+':'+=0A=
f(this.getUTCMinutes())+':'+=0A=
f(this.getUTCSeconds())+'Z';};var =
m=3D{'\b':'\\b','\t':'\\t','\n':'\\n','\f':'\\f','\r':'\\r','"':'\\"','\\=
':'\\\\'};function stringify(value,whitelist){var =
a,i,k,l,v;switch(typeof value){case'string':return(new =
RegExp('[\x00-\x1f\\\\"]')).test(value)?'"'+value.replace(/[\x00-\x1f\\"]=
/g,function(a){var c=3Dm[a];if(c){return c;}=0A=
c=3Da.charCodeAt();return'\\u00'+Math.floor(c/16).toString(16)+=0A=
(c%16).toString(16);})+'"':'"'+value+'"';case'number':return =
isFinite(value)?String(value):'null';case'boolean':return =
String(value);case'null':return'null';case'object':if(DOM.isNode(value)){=
return null;}=0A=
if(!value){return'null';}=0A=
if(typeof value.toJSON=3D=3D=3D'function'){return =
stringify(value.toJSON());}=0A=
a=3D[];if(typeof =
value.length=3D=3D=3D'number'&&!(propertyIsEnumerable(value,'length'))){l=
=3Dvalue.length;for(i=3D0;i<l;i+=3D1){a.push(stringify(value[i],whitelist=
)||'null');}=0A=
return'['+a.join(',')+']';}=0A=
if(whitelist){l=3Dwhitelist.length;for(i=3D0;i<l;i+=3D1){k=3Dwhitelist[i]=
;if(typeof =
k=3D=3D=3D'string'){v=3Dstringify(value[k],whitelist);if(v){a.push(string=
ify(k)+':'+v);}}}}else{for(k in value){if(typeof =
k=3D=3D=3D'string'){v=3Dstringify(value[k],whitelist);if(v){a.push(string=
ify(k)+':'+v);}}}}=0A=
return'{'+a.join(',')+'}';}}=0A=
return{stringify:stringify,parse:function(text,filter){var j;function =
walk(k,v){var i,n;if(v&&typeof v=3D=3D=3D'object'){for(i in =
v){if(Object.prototype.hasOwnProperty.apply(v,[i])){n=3Dwalk(i,v[i]);if(n=
!=3D=3Dundefined){v[i]=3Dn;}}}}=0A=
return filter(k,v);}=0A=
if(text&&/^[\],:{}\s]*$/.test(text.replace(/\\./g,'@').replace(/"[^"\\\n\=
r]*"|true|false|null|-?\d+(?:\.\d*)?(:?[eE][+\-]?\d+)?/g,']').replace(/(?=
:^|:|,)(?:\s*\[)+/g,''))){j=3Deval('('+text+')');return typeof =
filter=3D=3D=3D'function'?walk('',j):j;}=0A=
throw new SyntaxError('decodeJSON');}};}();}=0A=
this.JSON.encode=3Dthis.JSON.stringify;this.JSON.decode=3Dthis.JSON.parse=
;function propertyIsEnumerable(o,p){if(o.propertyIsEnumerable){return =
o.propertyIsEnumerable(p);}=0A=
for(var prop in o){if(prop=3D=3Dp)return true;}=0A=
return false;}=0A=
=0A=
if (window.Bootloader) { =
Bootloader.done(["js\/5jecsuvsn7k04ogc.pkg.js"]); }
------=_NextPart_000_0000_01CA5247.795C2CC0
Content-Type: application/x-js
Content-Transfer-Encoding: quoted-printable
Content-Location: http://static.ak.fbcdn.net/rsrc.php/z3SE3/hash/7pruvex4.js

/*    HTTP Host:  static.ak.fbcdn.net                                    =
      */=0A=
/*    Generated:  October 20th 2009 9:32:29 AM PDT                       =
      */=0A=
/*      Machine:  10.16.139.110                                          =
      */=0A=
/*       Source:  Backing Store                                          =
      */=0A=
/*     Location:  js/vnvcgyxnr6okcsos.pkg.js h:7pruvex4                  =
      */=0A=
/*       Locale:  nu_ll                                                  =
      */=0A=
/*         Path:  js/vnvcgyxnr6okcsos.pkg.js                             =
      */=0A=
=0A=
=0A=
function editor_two_level_change(selector,subtypes_array,sublabels_array)=0A=
{selector=3Dge(selector);if(selector.getAttribute("typefor"))=0A=
subselector=3Dge(selector.getAttribute("typefor"));if(selector&&subselect=
or){subselector.options.length=3D1;type_value=3Dselector.options[selector=
.selectedIndex].value;if(type_value=3D=3D""){type_value=3D-1;}=0A=
index=3D1;suboptions=3Dsubtypes_array[type_value];if(typeof(suboptions)!=3D=
"undefined"){for(var =
key=3D0;key<suboptions.length;key++){if(typeof(suboptions[key])!=3D"undef=
ined"){subselector.options[index++]=3Dnew Option(suboptions[key],key);}}}=0A=
if(sublabels_array){if(sublabels_array[type_value]){subselector.options[0=
]=3Dnew =
Option(sublabels_array[type_value],"");subselector.options[0].selected=3D=
true;}else{subselector.options[0]=3Dnew =
Option("---","");subselector.options[0].selected=3Dtrue;}}=0A=
subselector.disabled=3Dsubselector.options.length<=3D1;}}=0A=
function editor_two_level_set_subselector(subselector,value)=0A=
{subselector=3Dge(subselector);if(subselector){opts=3Dsubselector.options=
;for(var =
index=3D0;index<opts.length;index++){if((opts[index].value=3D=3Dvalue)||(=
value=3D=3D=3Dnull&&opts[index].value=3D=3D'')){subselector.selectedIndex=
=3Dindex;}}}}=0A=
function =
editor_network_change(selector,prefix,orig_value){selector=3Dge(selector)=
;if(selector&&selector.value>0){show('display_network_message');}else{hid=
e('display_network_message');}}=0A=
function editor_rel_change(selector,prefix,orig_value)=0A=
{selector=3Dge(selector);for(var =
rel_type=3D2;rel_type<=3D6;rel_type++){if(rel_type=3D=3Dselector.value){s=
how(prefix+'_new_partner_'+rel_type);}else{hide(prefix+'_new_partner_'+re=
l_type);}}=0A=
if(selector&&ge(prefix+'_new_partner')){if((selector.value>=3D2)&&(select=
or.value<=3D6)){show(prefix+'_new_partner');}else{hide(prefix+'_new_partn=
er');}}=0A=
if(selector&&ge(prefix+'_rel_uncancel')){if(selector.value>=3D2&&selector=
.value<=3D6){editor_rel_uncancel(selector,prefix,selector.value);}else{ed=
itor_rel_cancel(selector,prefix);}}=0A=
_editor_rel_toggle_awaiting(selector,prefix,orig_value);}=0A=
function rel_typeahead_onsubmit(){return false;}=0A=
function rel_typeahead_onselect(friend){if(!friend)=0A=
return;$('new_partner').value=3Dfriend.i;show($('relationship_warning'));=
set_inner_html($('relationshipee'),htmlize(friend.t));}=0A=
function _editor_rel_toggle_awaiting(selector,prefix,orig_value)=0A=
{selector=3Dge(selector);if(selector&&ge(prefix+'_rel_required')){if(sele=
ctor.value=3D=3Dorig_value){hide(prefix+'_rel_required');show(prefix+'_re=
l_awaiting');}=0A=
else{show(prefix+'_rel_required');hide(prefix+'_rel_awaiting');}}}=0A=
function editor_rel_cancel(selector,prefix)=0A=
{if(ge(prefix+'_rel_uncancel'))=0A=
show(prefix+'_rel_uncancel');if(ge(prefix+'_rel_cancel'))=0A=
hide(prefix+'_rel_cancel');selector=3Dge(selector);if(ge(selector)&&$(sel=
ector).selectedIndex>1)=0A=
_editor_rel_set_value(selector,1);}=0A=
function editor_rel_cancel_new(selector,prefix,orig_value)=0A=
{hide($('relationship_warning'));$('new_partner').value=3D'';$('relations=
hip_typeahead').typeahead.clear();_editor_rel_set_value($(selector),orig_=
value);editor_rel_change($(selector),prefix,orig_value);}=0A=
function editor_rel_uncancel(selector,prefix,rel_value)=0A=
{if(ge(prefix+'_rel_uncancel'))=0A=
hide(prefix+'_rel_uncancel');if(ge(prefix+'_rel_cancel'))=0A=
show(prefix+'_rel_cancel');if(rel_value=3D=3D4||rel_value=3D=3D5){hide(pr=
efix+'_rel_with');show(prefix+'_rel_to');}else =
if(rel_value>=3D2&&rel_value<=3D6){show(prefix+'_rel_with');hide(prefix+'=
_rel_to');}=0A=
if(ge(selector)&&$(selector).selectedIndex<=3D1){_editor_rel_set_value(se=
lector,rel_value);}=0A=
_editor_rel_toggle_awaiting(selector,prefix,rel_value);}=0A=
function editor_autocomplete_onselect(result){var =
hidden=3Dge(/(.*)_/.exec(this.obj.name)[1]+'_id');if(result){hidden.value=
=3Dresult.i=3D=3Dnull?result.t:result.i;}=0A=
else{hidden.value=3D-1;}}=0A=
function _editor_rel_set_value(selector,value)=0A=
{selector=3Dge(selector);if(selector){opts=3Dselector.options;opts_length=
=3Dopts.length;for(var =
index=3D0;index<opts_length;index++){if((opts[index].value=3D=3Dvalue)||(=
value=3D=3D=3Dnull&&opts[index].value=3D=3D'')){selector.selectedIndex=3D=
index;}}}}=0A=
function =
enableDisable(gainFocus,loseFocus){loseFocus=3Dge(loseFocus);if(loseFocus=
){if(loseFocus.value)loseFocus.value=3D"";if(loseFocus.selectedIndex)lose=
Focus.selectedIndex=3D0;}}=0A=
function show_editor_error(error_text,exp_text)=0A=
{$('editor_error_text').innerHTML=3Derror_text;$('editor_error_explanatio=
n').innerHTML=3Dexp_text;show('error');}=0A=
function make_explanation_list(list,num){var =
exp=3D'';if(num=3D=3D1){exp=3D_tx("{thing-1} is =
required.",{'thing-1':list[0]});}else =
if(num=3D=3D2){exp=3D_tx("{thing-1} and {thing-2} are =
required.",{'thing-1':list[0],'thing-2':list[1]});}else =
if(num=3D=3D3){exp=3D_tx("{thing-1}, {thing-2}, and {thing-3} are =
required.",{'thing-1':list[0],'thing-2':list[1],'thing-3':list[2]});}else=
 if(num=3D=3D4){exp=3D_tx("{thing-1}, {thing-2}, {thing-3}, and =
{thing-4} are =
required.",{'thing-1':list[0],'thing-2':list[1],'thing-3':list[2],'thing-=
4':list[3]});}else if(num>4){exp=3D_tx("{thing-1}, {thing-2}, {thing-3}, =
and {num} other fields are =
required.",{'thing-1':list[0],'thing-2':list[1],'thing-3':list[2],'num':n=
um-3});}=0A=
return exp;}=0A=
function =
TimeSpan(start_prefix,end_prefix,span,preserve_timespan){this.get_start_t=
s=3Dfunction(){return =
_get_date_time_ts(_start_month,_start_day,_start_year,_start_hour,_start_=
min,_start_ampm);}=0A=
this.get_end_ts=3Dfunction(){var =
start_ts=3D_get_date_time_ts(_start_month,_start_day,_start_year,_start_h=
our,_start_min,_start_ampm);var =
end_ts=3D_get_date_time_ts(_end_month,_end_day,_end_year,_end_hour,_end_m=
in,_end_ampm);if(start_ts>end_ts&&!(_start_year&&_end_year)){var =
future_date=3Dnew =
Date();future_date.setTime(end_ts);future_date.setFullYear(future_date.ge=
tFullYear()+1);return future_date.getTime();}else{return end_ts;}}=0A=
var _start_month=3D$(start_prefix+'_month');var =
_start_day=3D$(start_prefix+'_day');var =
_start_hour=3D$(start_prefix+'_hour');var =
_start_year=3Dge(start_prefix+'_year');var =
_start_min=3D$(start_prefix+'_min');var =
_start_ampm=3D$(start_prefix+'_ampm');var =
_end_month=3D$(end_prefix+'_month');var =
_end_day=3D$(end_prefix+'_day');var =
_end_year=3Dge(end_prefix+'_year');var =
_end_hour=3D$(end_prefix+'_hour');var =
_end_min=3D$(end_prefix+'_min');var =
_end_ampm=3D$(end_prefix+'_ampm');var _time_span=3Dspan*60000;var =
_get_largest_year=3Dfunction(){var years_options=3D_end_year.options;var =
years_array=3D[];for(var i=3D0;i<years_options.length;i++){var =
currOption=3Dyears_options[i];if(currOption.text!=3D"Year:"&&currOption.v=
alue!=3D"-1"){years_array.push(parseInt(currOption.value));}}=0A=
years_array=3Dyears_array.sort();return =
years_array[years_array.length-1];}=0A=
var _largest_year=3D_get_largest_year();var _update_ts=3Dfunction(){var =
start_ts=3D_get_date_time_ts(_start_month,_start_day,_start_year,_start_h=
our,_start_min,_start_ampm);var =
end_ts=3D_get_date_time_ts(_end_month,_end_day,_end_year,_end_hour,_end_m=
in,_end_ampm);_time_span=3Dend_ts-start_ts;}=0A=
var =
_start_touched=3Dfunction(){if(preserve_timespan=3D=3D=3Dtrue){_propogate=
_time_span(_start_month,_start_day,_start_year,_start_hour,_start_min,_st=
art_ampm);}}=0A=
var _end_touched=3Dfunction(){_update_ts();}=0A=
var _propogate_time_span=3Dfunction(){var =
start_ts=3D_get_date_time_ts(_start_month,_start_day,_start_year,_start_h=
our,_start_min,_start_ampm);var =
end_ts=3Dstart_ts+_time_span;_set_date_time_from_ts(end_ts,_end_month,_en=
d_day,_end_year,_end_hour,_end_min,_end_ampm);var =
year_options=3D_end_year.options;var end_date=3Dnew =
Date(end_ts);if(end_date.getFullYear()>_largest_year){year_options.value=3D=
_largest_year;_end_touched();}}=0A=
var _get_date_time_ts=3Dfunction(m,d,y,h,min,ampm){var this_date=3Dnew =
Date();var date_this_day=3Dthis_date.getDate();var =
date_this_month=3Dthis_date.getMonth();var =
date_this_year=3Dthis_date.getFullYear();var month=3Dm.value-1;var =
date=3Dd.value;var hour;var minutes=3Dmin.value;var =
year;hour=3DparseInt(h.value);if(ampm.value!=3D''){if(hour=3D=3D12)hour=3D=
0;if(ampm.value=3D=3D'pm'){hour=3Dhour+12;}}=0A=
if(!y){if(month<date_this_month){year=3Ddate_this_year+1;}else{if(month=3D=
=3Ddate_this_month&&date<date_this_day){year=3Ddate_this_year+1;}else{yea=
r=3Ddate_this_year;}}}else{year=3Dy.value;}=0A=
var new_date=3Dnew Date(year,month,date,hour,minutes,0,0);var =
ts=3Dnew_date.getTime();return ts;}=0A=
var _set_date_time_from_ts=3Dfunction(ts,m,d,y,h,min,ampm){var =
new_date=3Dnew Date();new_date.setTime(ts);var old_month=3Dm.value;var =
new_month=3Dnew_date.getMonth()+1;var new_day=3Dnew_date.getDate();var =
new_hour=3Dnew_date.getHours();var =
new_minutes=3Dnew_date.getMinutes();var =
new_year=3Dnew_date.getFullYear();var =
new_ampm;if(ampm.value!=3D''){if(new_hour>11){new_ampm=3D'pm';if(new_hour=
>12){new_hour=3Dnew_hour-12;}}else{if(new_hour=3D=3D0)new_hour=3D12;new_a=
mpm=3D'am';}}else{new_ampm=3D'';}=0A=
if(new_minutes<10){new_minutes=3D"0"+new_minutes;}=0A=
m.value=3Dnew_month;d.value=3Dnew_day;if(y){y.value=3Dnew_year;}=0A=
h.value=3Dnew_hour;min.value=3Dnew_minutes;ampm.value=3Dnew_ampm;if(old_m=
onth!=3Dnew_month){editor_date_month_change(m,d,y?y:false);}}=0A=
var =
_start_month_touched=3Dfunction(){editor_date_month_change(_start_month,_=
start_day,_start_year?_start_year:false);_start_touched();_update_ts();}=0A=
var =
_end_month_touched=3Dfunction(){editor_date_month_change(_end_month,_end_=
day,_end_year?_end_year:false);_end_touched();}=0A=
var _end_hour_touched=3Dfunction(){_end_touched();var =
start_ts=3D_get_date_time_ts(_start_month,_start_day,_start_year,_start_h=
our,_start_min,_start_ampm);var =
end_ts=3D_get_date_time_ts(_end_month,_end_day,_end_year,_end_hour,_end_m=
in,_end_ampm);if(end_ts<start_ts){var =
twelve_hours=3D12*60*60000;end_ts+=3DparseInt((start_ts-end_ts+twelve_hou=
rs-1)/twelve_hours)*twelve_hours;_set_date_time_from_ts(end_ts,_end_month=
,_end_day,_end_year,_end_hour,_end_min,_end_ampm);}}=0A=
_start_month.onchange=3D_start_month_touched;_start_day.onchange=3D_start=
_touched;if(_start_year){_start_year.onchange=3D_start_touched;}=0A=
_start_hour.onchange=3D_start_touched;_start_min.onchange=3D_start_touche=
d;_start_ampm.onchange=3D_start_touched;_end_month.onchange=3D_end_month_=
touched;_end_day.onchange=3D_end_touched;if(_end_year){_end_year.onchange=
=3D_end_touched;}=0A=
_end_hour.onchange=3D_end_hour_touched;_end_min.onchange=3D_end_touched;_=
end_ampm.onchange=3D_end_touched;}=0A=
function editor_date_month_change(month_el,day_el,year_el){var =
month_el=3Dge(month_el);var day_el=3Dge(day_el);var =
year_el=3Dyear_el?ge(year_el):false;var =
day_value=3DparseInt(day_el.value);var =
year_value=3Dfalse;if(year_el&&year_el.value&&year_el.value!=3D-1){year_v=
alue=3Dyear_el.value;}=0A=
var new_num_days=3D_month_get_num_days(month_el.value,year_value);var =
b=3Dday_el.options[0].value=3D=3D-1?1:0;for(var =
i=3Dday_el.options.length;i>new_num_days+b;i--){DOM.remove(day_el.options=
[i-1]);}=0A=
for(var =
i=3Dday_el.options.length;i<new_num_days+b;i++){day_el.options[i]=3Dnew =
Option(i+(b?0:1),i+(b?0:1));}=0A=
if(new_num_days<day_value){day_el.value=3Dday_el.options.length;if(typeof=
 day_el.onchange=3D=3D=3D'function'){day_el.onchange();}}}=0A=
function _month_get_num_days(month,year){var =
temp_date;if(month=3D=3D-1){return 31;}=0A=
temp_date=3Dnew Date(year?year:1912,month,0);return temp_date.getDate();}=0A=
function =
toggleEndWorkSpan(prefix){if(shown(prefix+'_endspan')){hide(prefix+'_ends=
pan');show(prefix+'_present');}else{show(prefix+'_endspan');hide(prefix+'=
_present');}}=0A=
function =
regionCountryChange(label_id,country_id,region_id,label_prefix){switch(co=
untry_id){case'326':show(region_id);$(label_id).innerHTML=3Dlabel_prefix+=
_tx("Province");break;case'398':show(region_id);$(label_id).innerHTML=3Dl=
abel_prefix+_tx("State");break;default:$(label_id).innerHTML=3Dlabel_pref=
ix+_tx("Country");hide(region_id);break;}}=0A=
function =
regionCountryChange_twoLabels(country_label_id,region_label_id,country_id=
,region_id,label_prefix){show(country_label_id);$(country_label_id).inner=
HTML=3Dlabel_prefix+_tx("Country");switch(country_id){case'326':show(regi=
on_id);show(region_label_id);$(region_label_id).innerHTML=3Dlabel_prefix+=
_tx("Province");break;case'':case'398':show(region_id);show(region_label_=
id);$(region_label_id).innerHTML=3Dlabel_prefix+_tx("State");break;defaul=
t:$(region_label_id).innerHTML=3Dlabel_prefix+_tx("State");$(region_id).d=
isabled=3Dtrue;break;}}=0A=
function =
regionCountyChange_setUSifStateChosen(country_select_id,region_select_id)=
{region_select=3Dge(region_select_id);country_select=3Dge(country_select_=
id);if(region_select.value!=3D''&&country_select.value=3D=3D''){country_s=
elect.value=3D398;}}=0A=
function =
regionCountryChange_restrictions(country_select_id,region_select_id){coun=
try_select=3Dge(country_select_id);if(country_select.value=3D=3D398){coun=
try_select.value=3D'';}else =
if(country_select.value=3D=3D326){region_select=3Dge(region_select_id);if=
(region_select.value){country_select.value=3D'';}}}=0A=
function mobile_phone_nag(words,obj,anchor){var nagged=3Dfalse;var =
callback=3Dfunction(){if(nagged){return;}=0A=
for(var i=3D0;i<words.length;i++){if((new =
RegExp('\\b'+words[i]+'\\b','i')).test(obj.value)){nagged=3Dtrue;(new =
AsyncRequest()).setURI('/ajax/mobile_phone_nag.php').setHandler(function(=
async){var html=3Dasync.getPayload();if(html){var =
div=3Ddocument.createElement('div');div.innerHTML=3Dhtml;CSS.setClass(div=
,'mobile_nag');div.style.display=3D'none';anchor.parentNode.insertBefore(=
div,anchor);animation(div).blind().show().from('height',0).to('height','a=
uto').go();}}).setReadOnly(true).setOption('suppressErrorHandlerWarning',=
true).send();break;}}}=0A=
addEventBase(obj,'keyup',callback);addEventBase(obj,'change',callback);}=0A=
function =
mobile_phone_nag_hide(obj){while(obj.parentNode&&obj.className!=3D'mobile=
_nag'){obj=3Dobj.parentNode;}=0A=
obj.parentNode.removeChild(obj);}=0A=
=0A=
function =
SelectableTextInputControl(textinput){textinput.listen('click',this.input=
Click.bind(this));return this.parent.construct(this,textinput);}=0A=
SelectableTextInputControl.extend('TextInputControl');SelectableTextInput=
Control.prototype.focusSelectText=3Dfalse;SelectableTextInputControl.prot=
otype.focusAndSelect=3Dfunction(){this.focusSelectText=3Dtrue;this.getRoo=
t().focus();}=0A=
SelectableTextInputControl.prototype.setFocused=3Dfunction(focused,e){if(=
$E(e)&&$E(e).type=3D=3D'blur'){this.focusSelectText=3Dfalse;return =
this.parent.setFocused(focused);}else =
if(this.focusSelectText=3D=3Dtrue){var =
return_value=3Dthis.parent.setFocused(false);this.getRoot().select();retu=
rn return_value;}=0A=
return this.parent.setFocused(focused);}=0A=
SelectableTextInputControl.prototype.isEmpty=3Dfunction(){if(this.focusSe=
lectEmpty){return false;}else{return this.parent.isEmpty();}}=0A=
SelectableTextInputControl.prototype.onupdate=3Dfunction(e){if($E(e)&&$E(=
e).type=3D=3D'keydown'){if(this.focusSelectText=3D=3Dtrue){this.focusSele=
ctText=3Dfalse;this.focusSelectEmpty=3Dtrue;this.setFocused(true);this.fo=
cusSelectEmpty=3Dfalse;return;}}=0A=
return this.parent.onupdate(e);}=0A=
SelectableTextInputControl.prototype.inputClick=3Dfunction(e){if(this.foc=
usSelectText=3D=3Dtrue){this.focusSelectText=3Dfalse;this.setFocused(true=
);}}=0A=
=0A=
function crc16(str){crc=3D0xFFFF;for(var =
i=3D0;i<str.length;i++){x=3D((crc>>8)^str.charCodeAt(i))&0xFF;x^=3Dx>>4;c=
rc=3D((crc<<8)^(x<<12)^(x<<5)^x)&0xFFFF;}=0A=
return crc;}=0A=
=0A=
function focus_login(enable_precog,focuslogin){var e=3Dge('email');var =
p=3Dge('pass');var e_control;if(e){e_control=3Dnew =
SelectableTextInputControl(e);e_control.setPlaceholderText(_tx("Email"));=
}=0A=
if(e&&p){if(enable_precog){p.onkeyup=3D(function(e){return =
function(){precog(e.value);}})(e);}=0A=
if(!e_control.getValue()){p.addClass('hidden_elem');$('pass_placeholder')=
.removeClass('hidden_elem');new =
PasswordInputControl($('pass_placeholder'),p).setPlaceholderText(_tx("Pas=
sword"));}=0A=
if(focuslogin){if(e_control.getValue()&&!p.value){p.focus();}else{e_contr=
ol.focusAndSelect();}}}}=0A=
function precog(value){if(!value||precog.done){return;}=0A=
precog.done=3Dtrue;var e=3DencodeURIComponent(value);(new =
Image()).src=3D'/ajax/precog.php?email=3D'+e+"&"+Math.random();}=0A=
function =
PasswordInputControl(textinput,passwordinput){this.passwordInput=3Dpasswo=
rdinput;return this.parent.construct(this,textinput);}=0A=
PasswordInputControl.extend('TextInputControl');PasswordInputControl.prot=
otype.passwordInput=3Dnull;PasswordInputControl.prototype.setFocused=3Dfu=
nction(focused){if(focused){DOM.remove(this.getRoot());CSS.removeClass(th=
is.passwordInput,'hidden_elem');this.passwordInput.focus();return;}else{r=
eturn this.parent.setFocused();}}=0A=
=0A=
function create_captcha(){var =
options=3D{};if(Recaptcha.focus_on_load){options['callback']=3DRecaptcha.=
focus_response_field;}=0A=
setTimeout(function(){Recaptcha.create("6LezHAAAAAAAADqVjseQ3ctG3ocfQs2El=
o1FTa_a","captcha",options)},0);}=0A=
function log_captcha_timeout(){new =
AsyncRequest().setURI('/ajax/captcha_timeout.php').setData({ua:navigator.=
userAgent,location:window.location.href}).setReadOnly(true).send();}=0A=
var RecaptchaOptions;var =
RecaptchaDefaultOptions=3D{tabindex:0,callback:null,lang:'en'};var =
Recaptcha=3D{widget:null,timer_id:-1,fail_timer_id:-1,type:'image',ajax_v=
erify_cb:null,focus_on_load:true,$:function(id){if(typeof(id)=3D=3D"strin=
g"){return document.getElementById(id);}=0A=
else{return =
id;}},create:function(public_key,element,options){Recaptcha.destroy();if(=
element){Recaptcha.widget=3DRecaptcha.$(element);}=0A=
Recaptcha._init_options(options);Recaptcha._call_challenge(public_key);},=
destroy:function(){var =
challengefield=3DRecaptcha.$('recaptcha_challenge_field');if(challengefie=
ld){challengefield.parentNode.removeChild(challengefield);}=0A=
if(Recaptcha.timer_id!=3D-1){clearInterval(Recaptcha.timer_id);}=0A=
Recaptcha.timer_id=3D-1;var =
imagearea=3DRecaptcha.$('recaptcha_image');if(imagearea){imagearea.innerH=
TML=3D"";}=0A=
if(Recaptcha.widget){Recaptcha.widget.style.display=3D"none";Recaptcha.wi=
dget=3Dnull;}},focus_response_field:function(){var $=3DRecaptcha.$;var =
field=3D$('captcha_response');try{field.focus();}catch(ignored){}},get_ch=
allenge:function(){if(typeof(RecaptchaState)=3D=3D"undefined"){return =
null;}=0A=
return RecaptchaState.challenge;},get_response:function(){var =
$=3DRecaptcha.$;var field=3D$('captcha_response');if(!field){return =
null;}=0A=
return =
field.value;},ajax_verify:function(callback){Recaptcha.ajax_verify_cb=3Dc=
allback;var =
scriptURL=3DRecaptcha._get_api_server()+"/ajaxverify"+"?c=3D"+encodeURICo=
mponent(Recaptcha.get_challenge())+"&response=3D"+encodeURIComponent(Reca=
ptcha.get_response());Recaptcha._add_script(scriptURL);},_ajax_verify_cal=
lback:function(data){Recaptcha.ajax_verify_cb(data);},_get_api_server:fun=
ction(){var protocol=3Dwindow.location.protocol;var =
server;if(typeof(_RecaptchaOverrideApiServer)!=3D"undefined"){server=3D_R=
ecaptchaOverrideApiServer;}else =
if(protocol=3D=3D'https:'){server=3D"api-secure.recaptcha.net";}else{serv=
er=3D"api.recaptcha.net";}=0A=
return =
protocol+"//"+server;},_call_challenge:function(public_key){Recaptcha.fai=
l_timer_id=3DsetTimeout(Recaptcha.fail_timer_id=3D=3D-1?"log_captcha_time=
out(); create_captcha();":"create_captcha();",15000);var =
scriptURL=3DRecaptcha._get_api_server()+"/challenge?k=3D"+public_key+"&aj=
ax=3D1&xcachestop=3D"+Math.random();if($('extra_challenge_params')!=3Dnul=
l){scriptURL+=3D"&"+$('extra_challenge_params').value;}=0A=
Recaptcha._add_script(scriptURL);},_add_script:function(scriptURL){Bootlo=
ader.requestResource('js',scriptURL);},_init_options:function(opts){var =
comb_opt=3DRecaptchaDefaultOptions;var user_opts=3Dopts||{};for(var p in =
user_opts){comb_opt[p]=3Duser_opts[p];}=0A=
RecaptchaOptions=3Dcomb_opt;},challenge_callback:function(){clearTimeout(=
Recaptcha.fail_timer_id);var =
element=3DRecaptcha.widget;Recaptcha._reset_timer();if(window.addEventLis=
tener){window.addEventListener('unload',function(e){Recaptcha.destroy();}=
,false);}=0A=
if(Recaptcha._is_ie()&&window.attachEvent){window.attachEvent('onbeforeun=
load',function(){});}=0A=
if(navigator.userAgent.indexOf("KHTML")>0){var =
iframe=3Ddocument.createElement('iframe');iframe.src=3D"about:blank";ifra=
me.style.height=3D"0px";iframe.style.width=3D"0px";iframe.style.visibilit=
y=3D"hidden";iframe.style.border=3D"none";var =
textNode=3Ddocument.createTextNode("This frame prevents back/forward =
cache problems in =
Safari.");iframe.appendChild(textNode);DOMScroll.getScrollRoot().appendCh=
ild(iframe);}=0A=
Recaptcha._finish_widget();},_finish_widget:function(){var =
$=3DRecaptcha.$;var $ST=3DRecaptchaState;var $OPT=3DRecaptchaOptions;var =
challengeField=3Ddocument.createElement("input");challengeField.type=3D"p=
assword";challengeField.setAttribute("autocomplete","off");challengeField=
.style.display=3D"none";challengeField.name=3D"recaptcha_challenge_field"=
;DOM.setID(challengeField,"recaptcha_challenge_field");$('captcha_respons=
e').parentNode.insertBefore(challengeField,$('captcha_response'));$('capt=
cha_response').setAttribute("autocomplete","off");$('recaptcha_image').st=
yle.width=3D'300px';$('recaptcha_image').style.height=3D'57px';Recaptcha.=
should_focus=3Dfalse;Recaptcha._set_challenge($ST.challenge,'image');if($=
OPT.tabindex){$('captcha_response').tabIndex=3D$OPT.tabindex;}=0A=
if(Recaptcha.widget){Recaptcha.widget.style.display=3D'';}=0A=
if($OPT.callback){$OPT.callback();}=0A=
$('recaptcha_loading').style.display=3D"none";},switch_type:function(new_=
type){var =
$C=3DRecaptcha;$C.type=3Dnew_type;$C.reload($C.type=3D=3D'audio'?'a':'v')=
;},reload:function(reason){var $C=3DRecaptcha;var $=3D$C.$;var =
$ST=3DRecaptchaState;if(typeof(reason)=3D=3D"undefined")=0A=
reason=3D'r';var =
scriptURL=3D$ST.server+"reload?c=3D"+$ST.challenge+"&k=3D"+$ST.site+"&rea=
son=3D"+reason+"&type=3D"+$C.type+"&lang=3D"+RecaptchaOptions.lang;if($('=
extra_challenge_params')!=3Dnull){scriptURL+=3D"&"+$('extra_challenge_par=
ams').value;}=0A=
$C.should_focus=3Dreason!=3D't';$C._add_script(scriptURL);},finish_reload=
:function(new_challenge,type){RecaptchaState.is_incorrect=3Dfalse;Recaptc=
ha._set_challenge(new_challenge,type);},_set_challenge:function(new_chall=
enge,type)=0A=
{var $C=3DRecaptcha;var $ST=3DRecaptchaState;var =
$=3D$C.$;$ST.challenge=3Dnew_challenge;$C.type=3Dtype;$('recaptcha_challe=
nge_field').value=3D$ST.challenge;$('recaptcha_challenge_field').defaultV=
alue=3D$ST.challenge;$('recaptcha_image').innerHtml=3D"";if(type=3D=3D'au=
dio'){$("recaptcha_image").innerHTML=3DRecaptcha.getAudioCaptchaHtml();}e=
lse if(type=3D=3D'image'){var =
imageurl=3D$ST.server+'image?c=3D'+$ST.challenge;$('recaptcha_image').inn=
erHTML=3D"<img style=3D'display:block;' height=3D'57' width=3D'300' =
src=3D'"+imageurl+"'/>";}=0A=
Recaptcha._css_toggle("recaptcha_had_incorrect_sol","recaptcha_nothad_inc=
orrect_sol",$ST.is_incorrect);Recaptcha._css_toggle("recaptcha_is_showing=
_audio","recaptcha_isnot_showing_audio",type=3D=3D'audio');$C._clear_inpu=
t();if($C.should_focus){$C.focus_response_field();}=0A=
$C._reset_timer();},_reset_timer:function(){var =
$ST=3DRecaptchaState;clearInterval(Recaptcha.timer_id);Recaptcha.timer_id=
=3DsetInterval("Recaptcha.reload('t');",($ST.timeout-60*5)*1000);},_clear=
_input:function(){var =
resp=3DRecaptcha.$('captcha_response');resp.value=3D"";},_displayerror:fu=
nction(msg){var =
$=3DRecaptcha.$;$('recaptcha_image').empty();$('recaptcha_image').appendC=
hild(document.createTextNode(msg));},reloaderror:function(msg){Recaptcha.=
_displayerror(msg);},_is_ie:function(){return(navigator.userAgent.indexOf=
("MSIE")>0)&&!window.opera;},_css_toggle:function(classT,classF,isset){va=
r element=3DRecaptcha.widget;if(!element)=0A=
element=3Ddocument.body;var =
classname=3Delement.className;classname=3Dclassname.replace(new =
RegExp("(^|\\s+)"+classT+"(\\s+|$)"),' =
');classname=3Dclassname.replace(new =
RegExp("(^|\\s+)"+classF+"(\\s+|$)"),' ');classname+=3D" =
"+(isset?classT:classF);CSS.setClass(element,classname);},playAgain:funct=
ion(){var =
$=3DRecaptcha.$;$("recaptcha_image").innerHTML=3DRecaptcha.getAudioCaptch=
aHtml();},getAudioCaptchaHtml:function(){var $C=3DRecaptcha;var =
$ST=3DRecaptchaState;var $=3DRecaptcha.$;var =
httpwavurl=3D$ST.server+"image?c=3D"+$ST.challenge;if(httpwavurl.indexOf(=
"https://")=3D=3D0){httpwavurl=3D"http://"+httpwavurl.substring(8);}=0A=
var swfUrl=3D$ST.server+"/img/audiocaptcha.swf?v2";var =
embedCode;if($C._is_ie()){embedCode=3D'<object =
classid=3D"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" =
id=3D"audiocaptcha" width=3D"0" height=3D"0" =
codebase=3D"https://fpdownload.macromedia.com/get/flashplayer/current/swf=
lash.cab"><param name=3D"movie" value=3D"'+swfUrl+'" /><param =
name=3D"quality" value=3D"high" /><param name=3D"bgcolor" =
value=3D"#869ca7" /><param name=3D"allowScriptAccess" value=3D"always" =
/></object><br/>';}else{embedCode=3D'<embed src=3D"'+swfUrl+'" =
quality=3D"high" bgcolor=3D"#869ca7" width=3D"0" height=3D"0" =
name=3D"audiocaptcha" align=3D"middle" play=3D"true" loop=3D"false" =
quality=3D"high" allowScriptAccess=3D"always" =
type=3D"application/x-shockwave-flash" =
pluginspage=3D"http://get.adobe.com/flashplayer" =
url=3D"'+swfUrl+'"></embed> ';}=0A=
var cantHearCode=3D(Recaptcha.checkFlashVer()?'<br/><a =
class=3D"recaptcha_audio_cant_hear_link" href=3D"#" =
onclick=3D"Recaptcha.playAgain(); return false;">'+_tx("Play =
Again")+'</a>':'')+'<br/><a class=3D"recaptcha_audio_cant_hear_link" =
target=3D"_blank" href=3D"'+httpwavurl+'">'+_tx("Can't hear =
this")+'</a>';return =
embedCode+cantHearCode;},gethttpwavurl:function(){var =
$ST=3DRecaptchaState;if(Recaptcha.type=3D=3D'audio'){var =
httpwavurl=3D$ST.server+"image?c=3D"+$ST.challenge;if(httpwavurl.indexOf(=
"https://")=3D=3D0){httpwavurl=3D"http://"+httpwavurl.substring(8);}=0A=
return httpwavurl;}=0A=
return"";},checkFlashVer:function(){var =
isIE=3D(navigator.appVersion.indexOf("MSIE")!=3D-1)?true:false;var =
isWin=3D(navigator.appVersion.toLowerCase().indexOf("win")!=3D-1)?true:fa=
lse;var =
isOpera=3D(navigator.userAgent.indexOf("Opera")!=3D-1)?true:false;var =
flashVer=3D-1;if(navigator.plugins!=3Dnull&&navigator.plugins.length>0){i=
f(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave =
Flash"]){var swVer2=3Dnavigator.plugins["Shockwave Flash 2.0"]?" =
2.0":"";var flashDescription=3Dnavigator.plugins["Shockwave =
Flash"+swVer2].description;var descArray=3DflashDescription.split(" =
");var =
tempArrayMajor=3DdescArray[2].split(".");flashVer=3DtempArrayMajor[0];}}e=
lse if(isIE&&isWin&&!isOpera){try{var axo=3Dnew =
ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");var =
flashVerStr=3Daxo.GetVariable("$version");flashVer=3DflashVerStr.split(" =
")[1].split(",")[0];}catch(e){}}=0A=
return flashVer>=3D9;},getlang:function(){return =
RecaptchaOptions.lang;}};function captcha_whatsthis(obj){var =
provider_link=3D'<a =
onclick=3D"window.open(\'http://recaptcha.net/popuphelp/\',\'recaptcha_po=
pup\',\'width=3D460,height=3D570,location=3Dno,menubar=3Dno,status=3Dno,t=
oolbar=3Dno,scrollbars=3Dyes,resizable=3Dyes\')">'+'ReCaptcha</a>';new =
ContextualDialog().setContext(obj).setTitle(_tx("Security =
Check")).setBody('<div class=3D"captcha_popup" style=3D"padding: 5px;">'+=0A=
_tx("This is a standard security test that we use to prevent spammers =
from creating fake accounts and spamming users.")+'<br/><br/>'+=0A=
_tx("Our captchas are provided by =
{provider_link}.",{'provider_link':provider_link})+'</div>').setButtons(D=
ialog.OK).show();}=0A=
=0A=
function RegUtil(){}=0A=
RegUtil.genderFemale=3D1;RegUtil.genderMale=3D2;RegUtil.errorFields=3D[];=
RegUtil.DAY_FIELD=3D'birthday_day';RegUtil.MONTH_FIELD=3D'birthday_month'=
;RegUtil.YEAR_FIELD=3D'birthday_year';RegUtil.PASSWORD_FIELD=3D'reg_passw=
d__';RegUtil.NAME_FIELD=3D'name';RegUtil.FIRSTNAME_FIELD=3D'firstname';Re=
gUtil.LASTNAME_FIELD=3D'lastname';RegUtil.EMAIL_FIELD=3D'reg_email__';Reg=
Util.GENDER_FIELD=3D'sex';RegUtil.errorFields[6]=3DRegUtil.PASSWORD_FIELD=
;RegUtil.errorFields[7]=3DRegUtil.PASSWORD_FIELD;RegUtil.errorFields[8]=3D=
RegUtil.PASSWORD_FIELD;RegUtil.errorFields[9]=3DRegUtil.PASSWORD_FIELD;Re=
gUtil.errorFields[40]=3DRegUtil.PASSWORD_FIELD;RegUtil.errorFields[10]=3D=
RegUtil.NAME_FIELD;RegUtil.errorFields[48]=3DRegUtil.NAME_FIELD;RegUtil.e=
rrorFields[15]=3DRegUtil.YEAR_FIELD;RegUtil.errorFields[16]=3DRegUtil.EMA=
IL_FIELD;RegUtil.errorFields[18]=3DRegUtil.EMAIL_FIELD;RegUtil.errorField=
s[25]=3DRegUtil.EMAIL_FIELD;RegUtil.errorFields[26]=3DRegUtil.EMAIL_FIELD=
;RegUtil.errorFields[27]=3DRegUtil.EMAIL_FIELD;RegUtil.errorFields[37]=3D=
RegUtil.EMAIL_FIELD;RegUtil.errorFields[43]=3DRegUtil.GENDER_FIELD;RegUti=
l.getInstance=3Dfunction(){if(!RegUtil._instance){RegUtil._instance=3Dnew=
 RegUtil();}=0A=
return RegUtil._instance;}=0A=
RegUtil.prototype.get_captcha=3Dfunction(){if($('captcha_response').value=
){return this.finish_captcha();}=0A=
if(this.validate_data()){this.hide_error();this.show_captcha();}}=0A=
RegUtil.prototype.register_no_captcha=3Dfunction(){if(this.validate_data(=
)){this.register();}}=0A=
RegUtil.prototype.ajax_validate_data=3Dfunction(validation_rules,confirma=
tion_node,redirect){var =
reg=3Dthis;onDone=3Dfunction(asyncResponse){hide('async_status');hide('ca=
ptcha_async_status');var =
payload=3DasyncResponse.getPayload();if(payload['redirect']){goURI(payloa=
d['redirect']);}else =
if(payload['field_validation_succeeded']){reg.hide_error();reg.show_captc=
ha();}else =
if(payload['bad_captcha']){DOM.setContent($('outer_captcha_box'),HTML(pay=
load['html']));reg.show_error('captcha_response',payload['error']);}else =
if(payload['tooyoung']){DOM.setContent($(confirmation_node),HTML(payload[=
'html']));}else if(payload['registration_succeeded']){if(redirect){var =
form=3D$('confirmation_email_form');var =
field=3D$('confirmation_email');field.value=3Dpayload['email'];form.submi=
t();}else{DOM.setContent($(confirmation_node),HTML(payload['html']));}=0A=
CSS.setStyle($('fb_menubar_aux'),'visibility','hidden');}else{if(ge(RegUt=
il.FIRSTNAME_FIELD)){RegUtil.errorFields[10]=3D[RegUtil.FIRSTNAME_FIELD,R=
egUtil.LASTNAME_FIELD];}=0A=
var =
field=3DRegUtil.errorFields[payload['error_code']];reg.show_error(field,p=
ayload['error']);}}=0A=
var reg_form=3D$('reg');var =
data=3Dserialize_form(reg_form);if(validation_rules&&validation_rules['ig=
nore']){data['ignore']=3Dvalidation_rules['ignore'].join('|');}=0A=
show('async_status');show('captcha_async_status');if(!this._async_request=
){this._async_request=3Dnew AsyncRequest();}=0A=
this._async_request.setURI('/ajax/register.php').setData(data).setReadOnl=
y(true).setHandler(onDone).send();}=0A=
RegUtil.prototype.validate_data=3Dfunction(){this.hide_error();var =
reg_data=3D{'fullname':this.get_full_name(),'firstname':ge('firstname')?$=
('firstname').value:'','lastname':ge('lastname')?$('lastname').value:'','=
month':$(RegUtil.MONTH_FIELD).value,'day':$(RegUtil.DAY_FIELD).value,'yea=
r':$(RegUtil.YEAR_FIELD).value,'email':this.normalize_email($('reg_email_=
_').value),'gender':$('sex').value};if(ge('reg_instance')){reg_data['reg_=
instance']=3D$('reg_instance').value;}=0A=
var =
pwd=3Dthis.normalize_password($('reg_passwd__').value),pwd2=3Dge('reg_pas=
swd2__')?this.normalize_password($('reg_passwd2__').value):undefined;var =
error_code=3Dnull;error_code=3Dthis.validate_name(reg_data['fullname'])||=
this.validate_birthday(reg_data['month'],reg_data['day'],reg_data['year']=
)||this.validate_email(reg_data['email'])||this.validate_password(pwd,pwd=
2)||this.validate_gender(reg_data['gender']);reg_data['error_code']=3Derr=
or_code||-1;var req=3Dnew =
AsyncRequest().setURI('/ajax/register/logging.php').setData(reg_data).set=
ReadOnly(true).send();return!error_code;}=0A=
RegUtil.prototype.finish_captcha=3Dfunction(){if($('captcha_response').va=
lue){this.register();}else{this.show_error('captcha_response',_tx("You =
didn't correctly type the text in the box."));return;}}=0A=
RegUtil.prototype.register=3Dfunction(){this.show_progress();$('reg').sub=
mit();}=0A=
RegUtil.prototype.show_captcha=3Dfunction(){this.hide_reg_form();create_c=
aptcha();show('reg_captcha');if(ge('tos_container')){CSS.removeClass($('t=
os_container'),'hidden_elem');}=0A=
if(ge('reg_pages_msg')){hide($('reg_pages_msg'));}=0A=
if(ge('reg_captcha_buttons')){show('reg_captcha_buttons');}=0A=
if(ge('captcha_buttons')){show('captcha_buttons');}=0A=
try{$('captcha_response').focus();}catch(ignore){}}=0A=
RegUtil.prototype.hide_captcha=3Dfunction(){hide('reg_captcha');if(ge('to=
s_container')){CSS.addClass($('tos_container'),'hidden_elem');}=0A=
if(ge('reg_captcha_buttons')){hide('reg_captcha_buttons');}=0A=
if(ge('captcha_buttons')){hide('captcha_buttons');}=0A=
this.hide_error();}=0A=
RegUtil.prototype.show_progress=3Dfunction(msg){this.hide_error();this.hi=
de_reg_form();this.hide_captcha();if(msg){DOM.setContent($('progress_msg'=
),HTML(msg));}=0A=
show('reg_progress');}=0A=
RegUtil.prototype.hide_progress=3Dfunction(){hide('reg_progress');}=0A=
RegUtil.prototype.attach_error_to_field=3Dfunction(field,msg){var =
field_nodes=3D[];var error_class=3D'UIErrorFlag';if(field instanceof =
Array){error_class+=3D' UIErrorFlag_MultiField';for(var =
k=3D0;k<field.length;k++){field_nodes[k]=3D$(field[k]);}}else{field_nodes=
[0]=3D$(field);}=0A=
var =
error_div=3D$N('div',{className:'UIErrorFlag_Inner'});error_div.innerHTML=
=3Dmsg;var inline=3D$N('div',{className:error_class},error_div);var =
position=3D(field_nodes[0].parentNode.offsetWidth)+8;var =
start_pos=3Dposition+'px';var end_pos=3D(position+7)+'px';var =
direction=3D'left';if(intl_locale_is_rtl()){direction=3D'right';inline.st=
yle.right=3Dend_pos;}else{inline.style.left=3Dend_pos;}=0A=
DOM.insertAfter(field_nodes[0],inline);for(var =
k=3D0;k<field_nodes.length;k++){CSS.addClass(field_nodes[k].parentNode,'e=
rror_field');}=0A=
animation(inline).from(direction,end_pos).to(direction,start_pos).duratio=
n(300).ease(function(p){return-1*Math.sin(11*p);}).go();}=0A=
RegUtil.prototype.show_error=3Dfunction(field,msg){if(field=3D=3Dundefine=
d){field=3D'';}=0A=
if(ge('reg_pages_msg')){CSS.addClass($('reg_pages_msg'),'hidden_elem');}=0A=
var =
is_reg_page=3DCSS.hasClass(document.body,'registration');if(field&&is_reg=
_page){this.hide_error();this.attach_error_to_field(field,msg);}=0A=
if(field){if(field=3D=3D'captcha_response'){this.show_captcha();}else{thi=
s.show_reg_form();}=0A=
try{$(field).focus();}catch(ignore){}}=0A=
if(!is_reg_page||!field){var reg_error=3D$('reg_error');var =
reg_error_inner=3D$('reg_error_inner');try{if(ge('name')){$('name').focus=
();}else{$('firstname').focus();}}catch(ignore){}=0A=
if(field!=3D'captcha_response'){this.show_reg_form();}=0A=
if(typeof =
animation=3D=3D'function'){DOM.setContent(reg_error_inner,HTML(msg));CSS.=
setOpacity(reg_error,0);animation(reg_error).show().to('height','auto').d=
uration(100).checkpoint().from('opacity',0).to('opacity',1.0).duration(40=
0).go();}else{show(reg_error);}}}=0A=
RegUtil.prototype.hide_error=3Dfunction(){if(shown($('reg_error'))&&CSS.g=
etOpacity($('reg_error'))>0){hide($('reg_error'));}=0A=
var =
error_containers=3DDOM.scry(document,'div.error_field');error_containers.=
each(function(c){CSS.removeClass(c,'error_field');});var =
error_flags=3DDOM.scry(document,'div.UIErrorFlag');error_flags.each(funct=
ion(e){DOM.remove(e);});}=0A=
RegUtil.prototype.show_reg_form=3Dfunction(){show('reg_form_box');if(ge('=
reg_pages_msg')){show($('reg_pages_msg'));}}=0A=
RegUtil.prototype.hide_reg_form=3Dfunction(){hide('reg_form_box');}=0A=
RegUtil.prototype.normalize_name=3Dfunction(name){name=3Dname.replace(/^\=
s+|\s+$/g,'');name=3Dname.replace(/\s+/g,' ');return name;}=0A=
RegUtil.prototype.normalize_email=3Dfunction(email){return email;}=0A=
RegUtil.prototype.normalize_password=3Dfunction(pwd){return pwd;}=0A=
RegUtil.prototype.validate_name=3Dfunction(name,allow_empty_name){var =
kMinWords=3D2;var kMaxWords=3D4;var words=3Dname?name.split(' '):[];var =
error_str=3Dnull;var =
error_code=3Dnull;if(!name){if(allow_empty_name){return true;}=0A=
error_str=3D_tx("Please enter your full name.");}else =
if(ge('firstname')&&(!$('firstname').value||!$('lastname').value)){error_=
str=3D_tx("You must provide your full name.");}else =
if(words.length=3D=3D2&&words[0]=3D=3Dwords[1]){error_str=3D_tx("You =
must provide your full name.");}else =
if(words.length>kMaxWords){error_str=3D_tx("The name contains too many =
words.");}=0A=
if(!error_str){for(word in words){len=3Dword.length=0A=
if(len=3D=3D1){continue;}=0A=
c=3Dword[len-1];if('A'<=3Dc&&c<=3D'Z'){error_str=3D_tx("The name =
contains too many capital letters.");}}}=0A=
if(error_str){this.show_error('name',error_str);error_code=3D10;}=0A=
return error_code;}=0A=
RegUtil.prototype.validate_email=3Dfunction(email){var =
error_str=3Dnull;var =
error_code=3Dnull;if(!email){error_str=3D_tx("Please enter your email =
address");error_code=3D12;}=0A=
else if(email.indexOf('@')=3D=3D-1){error_str=3D_tx("Please enter a =
valid email address");error_code=3D16;}else{var =
email_parts=3Demail.split('@');var =
domain=3Demail_parts[1];if(domain=3D=3D'facebook.com'){error_str=3D_tx("P=
lease enter your personal email address.");error_code=3D50;}}=0A=
if(error_str)=0A=
this.show_error('reg_email__',error_str);return error_code;}=0A=
RegUtil.prototype.validate_gender=3Dfunction(gender){var =
error_str=3Dnull;var =
error_code=3Dnull;if(gender!=3DRegUtil.genderMale&&gender!=3DRegUtil.gend=
erFemale){error_str=3D_tx("Please select either Male or =
Female.");error_code=3D43;}=0A=
if(error_str){this.show_error('sex',error_str);}=0A=
return error_code;}=0A=
RegUtil.prototype.validate_password=3Dfunction(pwd,pwd2){var =
kMinLength=3D6;var kDisallowedWords=3D['password','facebook'];var =
error_str=3Dnull;var name=3Dnull;var =
error_code=3Dnull;if(!pwd){error_str=3D_tx("Please create a password to =
use on Facebook");error_code=3D6;}else =
if(pwd.length<kMinLength){error_str=3D_tx("Your password must be at =
least 6 characters long.");error_code=3D8;}else =
if(pwd2!=3Dundefined&&pwd!=3Dpwd2){error_str=3D_tx("Your passwords do =
not match. Please try again.");error_code=3D40;}else{var =
name=3Dthis.get_full_name();var names=3Dname.toLowerCase().split(' =
');var disallowed=3Dnames.concat(kDisallowedWords);for(var =
i=3D0;i<disallowed.length;++i){if(pwd.toLowerCase()=3D=3Ddisallowed[i]){e=
rror_str=3D_tx("Your password should be more =
secure.");error_code=3D9;break;}}}=0A=
if(error_str)=0A=
this.show_error('reg_passwd__',error_str);return error_code;}=0A=
RegUtil.prototype.get_full_name=3Dfunction(){if(ge('name')){return =
this.normalize_name($('name').value);}=0A=
return this.normalize_name($('firstname').value+' '+=0A=
$('lastname').value);}=0A=
RegUtil.prototype.validate_birthday=3Dfunction(month,day,year){var =
error_str=3Dnull;var =
error_code=3Dnull;if(month=3D=3D-1||day=3D=3D-1||year=3D=3D-1){error_str=3D=
_tx("Please enter your full birthday.");}else =
if(year<=3D1910){error_str=3D_tx("Please enter your real birthday.");}=0A=
if(error_str){this.show_error(RegUtil.monthField,error_str);error_code=3D=
15;}=0A=
return error_code;}=0A=
RegUtil.prototype.show_birthday_help=3Dfunction(){var =
create_page_link=3D'<a href=3D"/pages/create.php" title=3D"Create a =
Page">'=0A=
+_tx("create a Facebook Page")=0A=
+'</a>';var privacy_link=3D'<a href=3D"/policy.php" title=3D"Facebook =
Privacy Policy">'=0A=
+_tx("Facebook Privacy Policy")=0A=
+'</a>';new =
Dialog().setClassName('birthday_warning_popup').setTitle(_tx("Why do I =
need to provide my birthday?")).setBody(_tx("Facebook requires all users =
to provide their real date of birth to encourage authenticity and =
provide only age-appropriate access to content.  You will be able to =
hide this information from your profile if you wish, and its use is =
governed by the {=3DFacebook Privacy Policy}.",{'=3DFacebook Privacy =
Policy':privacy_link})+'<br /><br />'+=0A=
_tx("You are about to create a personal account. If you are here to =
represent your band, business, or product you should first {=3Dcreate a =
Facebook Page}.",{'=3Dcreate a Facebook =
Page':create_page_link})).setButtons([Dialog.OK]).show();}=0A=
RegUtil.prototype.set_topper_content=3Dfunction(topper_html){DOM.replace(=
$('UIContentTopper'),HTML(topper_html));}=0A=
RegUtil.prototype.show_reg_area=3Dfunction(){CSS.removeClass($('simple_re=
gistration_container'),'hidden_elem');}=0A=
RegUtil.prototype.hide_reg_area=3Dfunction(){CSS.addClass($('simple_regis=
tration_container'),'hidden_elem');}=0A=
RegUtil.prototype.show_openid_area=3Dfunction(){if(ge('openid_welcome_are=
a')){CSS.removeClass($('openid_welcome_area'),'hidden_elem');}}=0A=
RegUtil.prototype.hide_openid_area=3Dfunction(){if(ge('openid_welcome_are=
a')){CSS.addClass($('openid_welcome_area'),'hidden_elem');}}=0A=
RegUtil.prototype.set_form_field=3Dfunction(field,field_value){if(ge(fiel=
d)){$(field).value=3Dfield_value;}}=0A=
RegUtil.prototype.set_openid_field=3Dfunction(openid_token_value){$('open=
id_token').value=3Dopenid_token_value;}=0A=
function RegKeyPressListen(is_invite_landing_test){var =
reg_form_box=3Dge('reg_form_box');if(reg_form_box){reg_form_box.listen('k=
eypress',function(event){if(event.keyCode=3D=3DKEYS.RETURN&&shown(reg_for=
m_box)){if(is_invite_landing_test){RegUtil.getInstance().ajax_validate_da=
ta({ignore:['captcha']});}else{RegUtil.getInstance().get_captcha();}=0A=
return false;}});}}=0A=
function =
CaptchaBoxKeyPressListen(is_invite_landing_test,confirmation_node,redirec=
t){var =
reg_captcha=3Dge('reg_captcha');if(reg_captcha){reg_captcha.listen('keypr=
ess',function(event){if(event.keyCode=3D=3DKEYS.RETURN&&shown(reg_captcha=
)){if(is_invite_landing_test){RegUtil.getInstance().ajax_validate_data(nu=
ll,confirmation_node,redirect);}else{RegUtil.getInstance().finish_captcha=
();}=0A=
return false;}});}}=0A=
function regform_listen_focus(reg_form,action){var =
reg_form_box=3Dge(reg_form);if(reg_form_box){var =
reg_instance=3D'';if(ge('reg_instance')){reg_instance=3D$('reg_instance')=
.value;}=0A=
log_fnc=3Dfireonce(function(){new =
AsyncRequest().setURI('/ajax/register/logging.php').setData({action:actio=
n,reg_instance:reg_instance}).setOption('asynchronous',false).setReadOnly=
(true).send();});Event.listen(reg_form_box,'click',log_fnc);Event.listen(=
reg_form_box,'keypress',log_fnc);}}=0A=
=0A=
var ffid;var ffver;window.onloadRegister(function(){var =
data=3D{ffid:(typeof(ffid)=3D=3D"undefined"?0:ffid)};if(!URI.getRequestUR=
I().isFacebookURI()){data.qp=3Ddocument.location;}=0A=
var lf=3Dge('login_form');if(lf&&lf.action){var =
ua=3DURI(lf.action).setFragment().setQueryData().toString();if(ffver&&(ff=
ver!=3Dcrc16(ua))){data.qm=3Dlf.action;}}=0A=
if(data.qp||data.qm){new =
AsyncSignal('/ajax/ua_callback.php',data).send();}});=0A=
=0A=
if (window.Bootloader) { =
Bootloader.done(["js\/vnvcgyxnr6okcsos.pkg.js"]); }
------=_NextPart_000_0000_01CA5247.795C2CC0--

