mw.centralNotice.bannerData.preload = function() { var retval = 1;
return retval; };mw.centralNotice.insertBanner( {"bannerName":"B14_122817_5C_lg_tx_fwd","bannerHtml":"\u003Cstyle\u003E\n/* Clearfix */\n\n#frbanner .cf:before,\n#frbanner .cf:after {\n    content: \"\";\n    display: table;\n}\n\n#frbanner .cf:after { clear: both; }\n.ie7 #frbanner .cf { zoom: 1; }\n\n\n/* Border-Box */\n\n#frbanner *,\n#frbanner *:before,\n#frbanner *:after {\n    -moz-box-sizing: border-box;\n    -webkit-box-sizing: border-box;\n    box-sizing: border-box;\n}\n\n/* Transitions */\n\n#B14_122817_5C_lg_tx_fwd-form label,\n#B14_122817_5C_lg_tx_fwd-form button,\n#B14_122817_5C_lg_tx_fwd-form #amount_other {\n    -webkit-transition: all .3s ease-in-out;\n    -moz-transition:    all .3s ease-in-out;\n    -o-transition:      all .3s ease-in-out;\n    -ms-transition:     all .3s ease-in-out;\n    transition:         all .3s ease-in-out;\n}\n\n/* Main banner wrapper */\n\ndiv#B14_122817_5C_lg_tx_fwd {\n    display: none;\n    position: absolute;\n    top: 0;\n    left: 0;\n    right: 0;\n    z-index: 9999;\n    background: transparent;\n}\n\n\n/* Window Styles */\n\n#frbanner-window {\n    margin: 0 auto;\n    background: #fff;\n    width: 100%;\n    position: relative;\n    font: 1em/1.2em \"Helvetica Neue Light\", \"Helvetica Neue\", \"Helvetica\", \"Nimbus Sans L\", \"Arial\", \"Liberation Sans\", sans-serif;\n    color: #3c3c3c;\n}\n\n#frbanner-window .frbanner-footer {\n    background: #e2e2e2;\n    font-size: .7em;\n    line-height: 1;\n    color: #9e9e9e;\n    padding: 1em 4em;\n    text-align: center;\n}\n\n#frbanner-window .frbanner-footer a {\n    color: #646464;\n    text-decoration: none;\n}\n#frbanner-window .frbanner-footer a:hover {\n    color: black;\n}\n\n/* Close button */\n\n#frbanner-close {\n    background: url('//upload.wikimedia.org/wikipedia/donate/c/cf/Close-trilogy.png') no-repeat center center;\n    width: 20px;\n    height: 21px;\n    display: block;\n    cursor: pointer;\n    position: absolute;\n    right: 1em;\n    top: 8px;\n    opacity: .5;\n    text-indent: -99999px;\n    z-index: 999; }\n\n#frbanner-close:hover { opacity: 1; }\n\n#modal-signup { display: table; }\n\n/* -------------- Message -------------- */\n\n.frbanner-message {\n    width: 60%;\n    display: table-cell;\n    vertical-align: top;\n    font-size: 1em;\n    line-height: 1;\n    text-align: left;\n    padding: 1.6em 2em;\n    font-weight: bold;\n    color: #3c3c3c;\n}\n@media (min-width : 960px) { .frbanner-message { width: 75%; } }\n\n/* -- Font Size -- */\n@media (min-width : 960px)  { .frbanner-message { font-size: 1.2em; } }\n@media (min-width : 1000px) { .frbanner-message { font-size: 1.25em; } }\n\n/* -- Paragraph Line Height -- */\n.frbanner-message p { margin-bottom: .5em; }\n.frbanner-message p:last-child { margin-bottom: 0; }\n\n.frbanner-message .highlight { background: #fff000; font-weight: bold; }\n.frbanner-message .highlight span { position: relative; }\n\n@media (min-width : 1000px) { .frbanner-message p { line-height: 1.3; } }\n@media (min-width : 1200px) { .frbanner-message p { line-height: 1.4; } }\n@media (min-width : 1300px) { .frbanner-message p { line-height: 1.5; } }\n\n/* -- Logo -- */\n.frbanner-logo {\n    text-align: center;\n}\n.frbanner-logo img {\n    opacity: 0.4;\n    width: 210px;\n    height: 33px;\n}\n\n/* -------------- Form -------------- */\n\n.frbanner-form {\n    background: #e2e2e2;\n    width: 40%;\n    display: table-cell;\n    vertical-align: top;\n    height: 100%;\n    padding: 1.3em 2em;\n    position: relative;\n}\n@media (min-width : 960px) { .frbanner-form { width: 25%; } }\n\n.frbanner-form:before  {\n    pointer-events: none;\n    position: absolute;\n    left: 0;\n    top: 50%;\n    content: \" \";\n    margin: 0;\n    border: solid transparent;\n    border-left-color: white;\n    border-width: 10px;\n}\n\n.frbanner-form h2 {\n   font-size: 1.2em;\n   line-height: 1;\n   border-bottom: 0;\n   text-align: center;\n}\n\n.frbanner-form ol {\n    width: 100%;\n    list-style: none;\n    margin: 0 auto 0;\n    padding: 0 0 1em 0;\n}\n\n.frbanner-form .subhead {\n    width: 100% !important;\n    margin: 0;\n    padding: .5em 0;\n    text-align: center;\n    font-size: .75em;\n    text-transform: uppercase;\n    color: #7c7c7c;\n}\n\n/* --- Basic Button Styles --- */\n\n.frbanner-btn {\n    background-color: #e7e7e7;\n    box-shadow: 0 0 2px rgba(0,0,0,.2), inset 0 14px 16px rgba(255,255,255,.75), inset 0 0 7px #fff;\n    padding: .8em 0;\n    display: block;\n    -moz-border-radius:    .3em;\n    -webkit-border-radius: .3em;\n    border-radius:         .3em;\n    cursor: pointer;\n    border: none;\n    color: #646464;\n    text-transform: uppercase;\n    text-align: center;\n    vertical-align: middle;\n}\n\n.frbanner-btn:hover {\n    background-color: #fff;\n    color: #367fb4;\n    box-shadow: 0 0 2px rgba(0,0,0,.5), inset 0 14px 16px rgba(255,255,255,.75), inset 0 0 7px #fff;\n}\n\n.frbanner-btn.checked {\n    background: #9f9f9f !important;\n    color: #fff;\n    box-shadow: inset 0 1px 3px rgba(0,0,0,.5);\n}\n\n.frbanner-btn:active {\n    box-shadow: inset 0 1px 3px rgba(0,0,0,.5);\n}\n\n/* --- Frequency Buttons --- */\n.frbanner-frequency { display: table; }\n.frbanner-frequency li {\n    width: 50%;\n    padding-right: 2%;\n    vertical-align: top;\n    display: table-cell;\n}\n.frbanner-frequency li:last-child { padding-right: 0; }\n\n.frbanner-frequency label {\n    width: 100%;\n    height: 100%;\n    display: block;\n    font-size: 1em;\n    vertical-align: middle;\n    padding: .4em 0;\n}\n\n@media (min-width : 800px) { .frbanner-frequency label { font-size: .75em; } }\n@media (min-width : 900px) { .frbanner-frequency label { font-size: .8em; } }\n@media (min-width : 1000px) { .frbanner-frequency label { font-size: .9em; } }\n@media (min-width : 1100px) { .frbanner-frequency label { font-size: .95em; } }\n@media (min-width : 1200px) { .frbanner-frequency label { font-size: 1em; padding: .8em 0;} }\n\n.frbanner-frequency input {\n    display: block;\n    margin: 0 auto;\n}\n\n@media (min-width : 1050px) {\n    .frbanner-frequency input {\n        position: relative;\n        top: -3px;\n        vertical-align: middle;\n        display: inline-block;\n    }\n}\n\n/* --- Amount Buttons --- */\n\nol.frbanner-amounts {\n    width: 100%;\n    display: block;\n}\nol.frbanner-amounts \u003E li {\n    width: 100% ;\n    display: block !important;\n}\n\n.frbanner-amounts ul {\n    width: 100%;\n    height: 100%;\n    display: table;\n    margin: 0 0 .3em;\n    padding: 0;\n    list-style: none;\n}\n.frbanner-amounts ul.frbanner-amounts-row2 { margin-bottom: 0; }\n\n.frbanner-amounts ul li {\n    width: 25%;\n    height: 100%;\n    clear: none;\n    padding: 0 2% 0 0;\n    display: table-cell;\n}\n.frbanner-amounts ul li:last-child { padding-right: 0; }\n\n@media screen and (-webkit-min-device-pixel-ratio:0) {\n    .frbanner-amounts ul li { float: left; }\n}\n\n.frbanner-amounts li input[type=\"radio\"] {\n    border: 0;\n    clip: rect(0 0 0 0);\n    height: 1px;\n    margin: -1px;\n    overflow: hidden;\n    padding: 0;\n    position: absolute;\n    width: 1px;\n}\n\n.frbanner-amounts label {\n    font-size: .9em;\n    height: 100%;\n}\n\n@media (min-width : 800px)  { .frbanner-amounts .predefined_amount { font-size: 1em; } }\n@media (min-width : 1100px) { .frbanner-amounts .predefined_amount { font-size: 1.1em; } }\n@media (min-width : 1200px) { .frbanner-amounts .predefined_amount { font-size: 1.2em; } }\n@media (min-width : 1400px) { .frbanner-amounts .predefined_amount { font-size: 1.3em; } }\n\n/* --- Other Amount --- */\n\n#amount_other { line-height: 1; }\n\n#amount_other label,\n#amount_other.checked label {\n    background: transparent !important;\n}\n\n#amount_other fieldset {\n    width: 100%;\n    margin: 0;\n    border: none;\n    position: relative;\n    padding: 0 .5em;\n    line-height: 1em;\n    margin-bottom: .2em;\n}\n\n#amount_other fieldset label {\n    position: absolute;\n    left: .9em;\n    top: .3em;\n    color: #fff;\n}\n@media screen and (-webkit-min-device-pixel-ratio:0) {\n    #amount_other fieldset label { top: .45em; }\n}\n#amount_other.checked fieldset label { color: #0f4b76; }\n\n#amount_other label {\n    width: auto !important;\n    padding: 0 !important;\n    font-size: .8em;\n    background: transparent;\n    box-shadow: none;\n}\n#amount_other fieldset label { color: #fff; }\n\n#amount_other .other {\n    font-size: .7em;\n    line-height: 1.2;\n}\n\n#amount_other input {\n    width: 100%;\n    background: #a4a4a4;\n    border: 0;\n    color: #fff;\n    font-size: .9em;\n    padding: .2em .3em .2em 1.1em;\n    -moz-border-radius:    .3em;\n    -webkit-border-radius: .3em;\n    border-radius:         .3em;\n}\n@media screen and (-webkit-min-device-pixel-ratio:0) {\n    #amount_other input {\n        margin-top: .1em;\n        padding: .25em .3em .25em 1.1em;\n    }\n}\n\n#amount_other.checked input {\n    background: #fff;\n    color: #163348;\n}\n\n/* --- Payment method Buttons --- */\n\nol.frbanner-submit {\n    width: 100%;\n    height: 100%;\n    display: block;\n    padding: 0;\n}\nol.frbanner-submit \u003E li {\n    width: 100%;\n    padding: 0;\n    display: block !important;\n}\n\n.frbanner-submit ul {\n    height: 100%;\n    display: block;\n    padding: 0;\n    margin: 0 auto;\n}\n.frbanner-submit ul li {\n    width: 100%;\n    display: block;\n    margin-bottom: .4em;\n}\n\n.frbanner-submit button {\n    width: 100%;\n    height: 100%;\n    padding: 1em .3em;\n    font-size: .85em;\n    line-height: 1;\n    float: none;\n}\n\n@media (min-width : 1100px) {\n\n    .frbanner-submit ul {\n        width: 100%;\n        display: table;\n    }\n\n    .frbanner-submit ul li {\n        width: 33.333333%;\n        height: 100%;\n        display: table-cell;\n        padding: 0 2% 0 0;\n        vertical-align: top;\n        float: left;\n    }\n    .form-monthly .frbanner-submit ul li,\n    .frbanner-form-2pm .frbanner-submit ul li {\n        width: 50%;\n    }\n\n    .frbanner-submit li.paymentmethod-amazon,\n    .frbanner-submit li.paymentmethod-bpay,\n    .frbanner-form-2pm .frbanner-submit li.paymentmethod-pp,\n    .form-monthly .frbanner-submit li.paymentmethod-pp { padding-right: 0 !important; }\n\n    .frbanner-submit button { float: left; }\n\n}\n\n@media screen and (min--moz-device-pixel-ratio:0) { .frbanner-submit button { float: none; } }\n@media screen and (min--moz-device-pixel-ratio:0) { .frbanner-submit ul li { float: none !important; } }\n\n\n@media (min-width : 900px)  { .frbanner-submit button { font-size: .9em; } }\n@media (min-width : 1000px) { .frbanner-submit button { font-size: 1em; } }\n@media (min-width : 1100px) { .frbanner-submit button { font-size: .9em; } }\n@media (min-width : 1200px) { .frbanner-submit button { font-size: .95em; } }\n\n/* --- Footer / Small Print --- */\n\n#frbanner-window .frbanner-footer {\n    background: #e2e2e2;\n    font-size: .7em;\n    line-height: 1;\n    color: #9e9e9e;\n    padding: 1em 4em;\n    text-align: center;\n}\n\n#frbanner-window .frbanner-footer a {\n    color: #646464;\n    text-decoration: none;\n}\n#frbanner-window .frbanner-footer a:hover {\n    color: black;\n}\n\n/* hide methods which aren't monthly capable when monthly option is selected */\n.form-monthly .no-monthly {\n    display: none !important;\n}\n\n/* --- Sticky bit --- */\n\n#B14_122817_5C_lg_tx_fwd-nag {\n    display: none;\n    position: fixed;\n    top: 0;\n    left: 0;\n    background-color: #ffcc00;\n    padding: 6px;\n    width: 100%;\n    text-align: center;\n    font-size: 17px;\n    font-weight: bold;\n}\n.B14_122817_5C_lg_tx_fwd-nag-link {\n    vertical-align: middle;\n}\n.B14_122817_5C_lg_tx_fwd-nag-link:hover {\n    text-decoration: underline;\n}\n.B14_122817_5C_lg_tx_fwd-nag-close {\n    position: absolute;\n    top: 0px;\n    right: 11px;\n    z-index: 100;\n    background: url(//upload.wikimedia.org/wikipedia/donate/2/27/Small-white-close.png) no-repeat center center black;\n    width: 21px;\n    height: 21px;\n    display: block;\n}\n\n\n.frbanner-email-reminder-container { text-align: center; }\n\n.frbanner-email-reminder {\n  width: 100%;\n  display: inline-block;\n  text-align: center;\n  margin: .5em 0 0;\n  padding: 1em 1.5em 0;\n   -moz-border-radius:    4px;\n   -webkit-border-radius: 4px;\n   border-radius:         4px; \n  transition:         all .35s ease-in-out;    \n  -webkit-transition: all .35s ease-in-out;  \n  -moz-transition:    all .35s ease-in-out;  \n  -o-transition:      all .35s ease-in-out;  \n  -ms-transition:     all .35s ease-in-out; }\n\n\n.frbanner-email-reminder.frbanner-email-reminder-active { \n   background: rgba(0,0,0,.1); \n   padding: .7em 1.5em 1.5em; }\n\n.frbanner-email-reminder-link {\n   text-transform: uppercase; \n   display: inline-block;\n   font-size: .85em; \n   line-height: 1; \n   color: #367fb4; \n   padding: .45em .45em .35em;\n   cursor: pointer;   \n   text-decoration: underline; }\n.frbanner-email-reminder-link:hover { color: #216a9e; }\n.frbanner-email-reminder-link:active { color: #105282; }\n\n.frbanner-email-reminder-active .frbanner-email-reminder-link { \n   margin-bottom: 1em;\n   color: #195785;\n   text-decoration: none; }\n\n\n.frbanner-email-reminder-form { width: 100%; }\n.frbanner-email-reminder-form form { \n  display: table;\nwidth: 100%;\n  -moz-border-radius:    4px;\n  -webkit-border-radius: 4px;\n  border-radius:         4px;\n  margin-top: .7em;\n  text-align: center; }\n\n.frbanner-email-reminder-form input { \n  background: #fff;\n  width: 100%; \n  display: block;\n  border: none;\n  margin: 0 auto;\n  padding: .55em .6em; \n  cursor: pointer; \n  font-family: \"Helvetica Neue\",\"Helvetica\",\"Nimbus Sans L\",\"Arial\",\"Liberation Sans\",sans-serif;\n  font-size: 1em;\n  color: #000;\n  -moz-border-radius:    4px;\n  -webkit-border-radius: 4px;\n  border-radius:         4px;\n  -moz-box-shadow: inset 0 1px 3px rgba(0,0,0,.2);\n  -webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,.2);\n  box-shadow: inset 0 1px 3px rgba(0,0,0,.2);\n  transition:         all .35s ease-in-out;    \n  -webkit-transition: all .35s ease-in-out;  \n  -moz-transition:    all .35s ease-in-out;  \n  -o-transition:      all .35s ease-in-out;  \n  -ms-transition:     all .35s ease-in-out; } \n.frbanner-email-reminder-form input.error {\n  background-color: #FFC7C7;\n} \n.frbanner-email-reminder-form input:hover {\n   color: #0b3553; \n   -moz-box-shadow: 0 1px 3px rgba(0,0,0,.15);\n   -webkit-box-shadow: 0 1px 3px rgba(0,0,0,.15);\n   box-shadow: 0 1px 3px rgba(0,0,0,.15); } \n.frbanner-email-reminder-form input:focus { \n  background: #fff;\n  color: #002e50; \n  -moz-box-shadow: inset 0 1px 4px rgba(0,0,0,.3);\n  -webkit-box-shadow: inset 0 1px 4px rgba(0,0,0,.3);\n  box-shadow: inset 0 1px 4px rgba(0,0,0,.3); }\n  \n.frbanner-email-reminder-form button { \n  background: #588fbb;\n  color: #fff;\n  text-transform: uppercase;\n  display: inline-block;\n  border: 0; \n  margin: .3em 0 0 0; \n  padding: .4em;\n  font-size: .9em;\n  cursor: pointer;\n  font-family: \"Helvetica Neue\",\"Helvetica\",\"Nimbus Sans L\",\"Arial\",\"Liberation Sans\",sans-serif;\n  -moz-border-radius:    4px;\n  -webkit-border-radius: 4px;\n  border-radius:         4px;\n  transition:         all .35s ease-in-out;    \n  -webkit-transition: all .35s ease-in-out;  \n  -moz-transition:    all .35s ease-in-out;  \n  -o-transition:      all .35s ease-in-out;  \n  -ms-transition:     all .35s ease-in-out; } \n.frbanner-email-reminder-form button:hover { \n   background: #296290;\n   color: #fff; }\n.frbanner-email-reminder-form button:active { \n   background: #184e79; }\n\n.frbanner-email-reminder-form #errorMessageContainerId {\nfont-size: .8em;\ntext-align: left;\ncolor: #CC0000;\n}\n\n\u003C/style\u003E\n\n   \u003Cscript type=\"text/javascript\"\u003E\n   function postViaIFrame() {\n        // Create the iframe for the form and use it as the form's target\n        var frameName = \"remindFrame\";\n        var $form = $(\".frbanner-email-reminder-form form\");\n        if ($(\"iframe[name=\" + frameName + \"]\").length == 0) {\n            var $iframe = $('\u003Ciframe style=\"display: none;\" name=\"' + frameName + '\"\u003E\u003C/iframe\u003E');\n            $form.attr(\"target\", $iframe.attr(\"name\"));\n            $form.after($iframe);\n        }\n        $form[0].submit();\n    }\n\n    $(document).ready(function() {\n      $(\".frbanner-email-reminder-form\").hide();\n      $(\".frbanner-email-reminder-link\").click(function()\n        {\n          $(this).next(\".frbanner-email-reminder-form\").slideToggle(\"normal\", function() {\n    fundraisingBanner.addSpace();\n  });\n          $('.frbanner-email-reminder').toggleClass('frbanner-email-reminder-active');\n        }\n      );\n        $(\".frbanner-email-reminder-form button\").bind(\"click\", function() {\n\t\t\tif (mw.util.validateEmail($(\".frbanner-email-reminder-form form input[name='Email']\").val()) == true) {\n\t\t\t\tpostViaIFrame();\n\t\t\t\t$(\".frbanner-email-reminder-form form\").hide();\n\t\t\t\t$(\".frbanner-email-reminder-form form\").after(\"\u003Ch2\u003EThank you! We will send you a reminder email.\u003C/h2\u003E\");\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\telse {\n                                $(\".frbanner-email-reminder-form form input[name='Email']\").addClass(\"error\");\n\t\t\t\t$(\".frbanner-email-reminder-form #errorMessageContainerId\").show();\n                                return false;\n\t\t\t}\n        });\n    });\n   \u003C/script\u003E \n\n\u003Cdiv id=\"B14_122817_5C_lg_tx_fwd\" style=\"display: none;\"\u003E\n\n    \u003Cdiv id=\"frbanner\" style=\"display: block;\"\u003E\n\n        \u003Cdiv id=\"frbanner-window\"\u003E\n\n            \u003Cdiv id=\"frbanner-close\" onclick=\"fundraisingBanner.hide(); return false;\"\u003E\u003C/div\u003E\n\n            \u003Cdiv id=\"modal-signup\" class=\"cf\"\u003E\n\n                \u003Cdiv class=\"frbanner-message\"\u003E\n                    \u003Cdiv class=\"frbanner-logo\"\u003E\u003Cimg src=\"//upload.wikimedia.org/wikipedia/donate/thumb/0/06/Wikipedia-wordmark-en.svg/420px-Wikipedia-wordmark-en.svg.png\" alt=\"Wikipedia Logo\"\u003E\u003C/div\u003E\n                    \u003Cp\u003EDear Readers:\u003C/p\u003E\n                    \u003Cp\u003EWe\u2019ll get right to it: There are only a few days left in 2014 to help Wikipedia. To protect our independence, we'll never run ads. We survive on donations averaging about \u003Cspan class=\"fr-amount-avg\"\u003E$15\u003C/span\u003E. Only a tiny portion of our readers give. \u003Cspan class=\"highlight\"\u003E\u003Cspan\u003ENow is the time we ask. If everyone reading this right now gave \u003Cspan class=\"fr-amount-if\"\u003E$3\u003C/span\u003E, our fundraiser would be done within an hour. That's right, the price of a cup of coffee is all we need.\u003C/span\u003E\u003C/span\u003E If Wikipedia is useful to you, take one minute to keep it online and ad-free. We\u2019re a small non-profit with costs of a top website: servers, staff and programs. We serve millions of readers, but we run on a fraction of what other top sites spend.  Wikipedia is something special. It is like a library or a public park where we can all go to learn. Wikipedia is written by a community with a passion for sharing the world\u2019s knowledge. Please help us end the fundraiser and get back to improving Wikipedia. \u003Ci\u003EThank you.\u003C/i\u003E\u003C/p\u003E\n\n             \u003C/div\u003E\n\u003Cdiv  id=\"B14_122817_5C_lg_tx_fwd-form\" class=\"frbanner-form\"\u003E\n                \u003Cform method=\"post\" name=\"paypalcontribution\"\u003E\n                    \u003Cinput type=\"hidden\" name=\"utm_medium\" value=\"sitenotice\"\u003E\n                    \u003Cinput type=\"hidden\" name=\"utm_campaign\" value=\"C14_en5C_dec_dsk_FR\"\u003E\n                    \u003Cinput type=\"hidden\" name=\"utm_source\" value=\"B14_122817_5C_lg_tx_fwd\"\u003E\n                    \u003Cinput type=\"hidden\" name=\"referrer\" value=\"\"\u003E\n                    \u003Cinput type=\"hidden\" name=\"returnto\" value=\"\"\u003E\n                    \u003Cinput type=\"hidden\" name=\"language\" value=\"\"\u003E\n                    \u003Cinput type=\"hidden\" name=\"country\" value=\"\"\u003E\n                    \u003Cinput type=\"hidden\" name=\"currency_code\" id=\"input_currency_code\" value=\"\"\u003E\n                    \u003Cinput type=\"hidden\" name=\"utm_key\" value=\"\"\u003E\n                    \u003Cinput type=\"hidden\" name=\"payment_method\" value=\"\"\u003E\n                    \u003Cinput type=\"hidden\" name=\"appeal\" value=\"Sep2014Design\"\u003E\n\n                    \u003Ch2\u003EPlease help Wikipedia\u003C/h2\u003E\n\n                    \u003Col class=\"frbanner-frequency cf\"\u003E\n                        \u003Cli\u003E\n                            \u003Clabel class=\"frbanner-btn frequency_onetime checked\" onclick=\"toggleMonthly(false);\"\u003E\n                                \u003Cinput type=\"radio\" name=\"frequency\" id=\"frequency_onetime\" value=\"onetime\" checked=\"checked\" \u003E\n                                One-time\n                            \u003C/label\u003E\n                        \u003C/li\u003E\n\n                        \u003Cli\u003E\n                            \u003Clabel class=\"frbanner-btn frequency_monthly\" onclick=\"toggleMonthly(true);\"\u003E\n                                \u003Cinput type=\"radio\" name=\"frequency\" id=\"frequency_monthly\" value=\"monthly\" \u003E\n                                Monthly*\n                            \u003C/label\u003E\n                        \u003C/li\u003E\n                    \u003C/ol\u003E\n\n                    \u003Col class=\"frbanner-amounts cf\"\u003E\n                        \u003Cli\u003E\n                            \u003Cul\u003E\n                                \u003Cli id=\"amount_total_1\"\u003E\n                                    \u003Cinput name=\"amount\" type=\"radio\" id=\"field-amount_total_1\" value=\"3\"\u003E\n                                    \u003Clabel id=\"amount_label_1\" class=\"frbanner-btn predefined_amount\" for=\"field-amount_total_1\"\u003E$3\u003C/label\u003E\n                                \u003C/li\u003E\n\n                                \u003Cli id=\"amount_total_2\"\u003E\n                                    \u003Cinput name=\"amount\" type=\"radio\" id=\"field-amount_total_2\" value=\"5\"\u003E\n                                    \u003Clabel id=\"amount_label_2\" class=\"frbanner-btn predefined_amount\" for=\"field-amount_total_2\"\u003E$5\u003C/label\u003E\n                                \u003C/li\u003E\n\n                                \u003Cli id=\"amount_total_3\"\u003E\n                                    \u003Cinput name=\"amount\" type=\"radio\" id=\"field-amount_total_3\" value=\"10\"\u003E\n                                    \u003Clabel id=\"amount_label_3\" class=\"frbanner-btn predefined_amount\" for=\"field-amount_total_3\"\u003E$10\u003C/label\u003E\n                                \u003C/li\u003E\n\n                                \u003Cli id=\"amount_total_4\"\u003E\n                                    \u003Cinput name=\"amount\" type=\"radio\" id=\"field-amount_total_4\" value=\"20\"\u003E\n                                    \u003Clabel id=\"amount_label_4\" class=\"frbanner-btn predefined_amount\" for=\"field-amount_total_4\"\u003E$20\u003C/label\u003E\n                                \u003C/li\u003E\n                            \u003C/ul\u003E\n                        \u003C/li\u003E\n                        \u003Cli\u003E\n                            \u003Cul class=\"frbanner-amounts-row2\"\u003E\n                                \u003Cli id=\"amount_total_5\"\u003E\n                                    \u003Cinput name=\"amount\" type=\"radio\" id=\"field-amount_total_5\" value=\"30\"\u003E\n                                    \u003Clabel id=\"amount_label_5\" class=\"frbanner-btn predefined_amount\" for=\"field-amount_total_5\"\u003E$30\u003C/label\u003E\n                                \u003C/li\u003E\n\n                                \u003Cli id=\"amount_total_6\"\u003E\n                                    \u003Cinput name=\"amount\" type=\"radio\" id=\"field-amount_total_6\" value=\"50\"\u003E\n                                    \u003Clabel id=\"amount_label_6\" class=\"frbanner-btn predefined_amount\" for=\"field-amount_total_6\"\u003E$50\u003C/label\u003E\n                                \u003C/li\u003E\n\n                                \u003Cli id=\"amount_total_7\"\u003E\n                                    \u003Cinput name=\"amount\" type=\"radio\" id=\"field-amount_total_7\" value=\"100\"\u003E\n                                    \u003Clabel id=\"amount_label_7\" class=\"frbanner-btn predefined_amount\" for=\"field-amount_total_7\"\u003E$100\u003C/label\u003E\n                                \u003C/li\u003E\n\n                                \u003Cli id=\"amount_other\" class=\"frbanner-btn\"\u003E\n                                    \u003Cinput name=\"amount\" type=\"radio\" id=\"input_amount_other\" value=\"Other\" onclick=\"$('#input_amount_other_box').focus();\"/\u003E\n                                    \u003Clabel for=\"input_amount_other\" class=\"other\" style=\"padding-top: .3em\"\u003EOther\u003C/label\u003E\n                                    \u003Cfieldset\u003E\n                                        \u003Clabel\u003E$\u003C/label\u003E\n                                        \u003Cinput name=\"amountGiven\" type=\"text\" id=\"input_amount_other_box\" size=\"3\" autocomplete=\"off\" value=\"\" onfocus=\"clearOther(this);\"/\u003E\n                                    \u003C/fieldset\u003E\n                                \u003C/li\u003E\n                            \u003C/ul\u003E\n                        \u003C/li\u003E\n                    \u003C/ol\u003E\n\n                    \u003Col class=\"frbanner-submit cf\"\u003E\n                        \u003Cli\u003E\n                            \u003Cul\u003E\n                                \u003Cli class=\"paymentmethod-cc\"\u003E\n                                    \u003Cbutton class=\"frbanner-btn\" onclick=\"redirectPayment('cc'); return false;\"\u003E\n                                        Credit Card\n                                    \u003C/button\u003E\n                                \u003C/li\u003E\n\n                                \u003Cli class=\"paymentmethod-pp\"\u003E\n                                    \u003Cbutton class=\"frbanner-btn\" onclick=\"redirectPayment('paypal'); return false;\"\u003E\n                                        PayPal\n                                    \u003C/button\u003E\n                                \u003C/li\u003E\n\n                                \u003Cli class=\"paymentmethod-amazon no-monthly\"\u003E\n                                    \u003Cbutton class=\"frbanner-btn\" onclick=\"redirectPayment('amazon'); return false;\"\u003E\n                                        Amazon\n                                    \u003C/button\u003E\n                                \u003C/li\u003E\n\n                                \u003Cli class=\"paymentmethod-bpay no-monthly\" style=\"display: none;\"\u003E\n                                    \u003Cbutton class=\"frbanner-btn\" onclick=\"redirectPayment('obt', 'bpay'); return false;\"\u003E\n                                        BPAY\n                                    \u003C/button\u003E\n                                \u003C/li\u003E\n                            \u003C/ul\u003E\n                        \u003C/li\u003E\n                    \u003C/ol\u003E\n\n                \u003C/form\u003E\n\n\u003Cdiv class=\"frbanner-email-reminder-container\"\u003E\n    \u003Cdiv class=\"frbanner-email-reminder\"\u003E\n        \u003Cdiv class=\"frbanner-email-reminder-link\"\u003E\n            Remind me later\n        \u003C/div\u003E\n        \u003Cdiv class=\"frbanner-email-reminder-form\"\u003E\n            \u003Cform method=\"post\" action=\"https://www.pages04.net/wikimedia/reminder/Form?sp_source=B14_122817_5C_lg_tx_fwd\" pageId=\"19055851\" siteId=\"385121\" parentPageId=\"19055850\"\u003E\n                \u003Cinput type=\"hidden\" name=\"formSourceName\" value=\"StandardForm\" /\u003E\n                \u003Cinput type=\"hidden\" name=\"sp_exp\" value=\"yes\" /\u003E\n                \u003Cinput type=\"email\" name=\"Email\" id=\"control_EMAIL\" label=\"Email Address\" placeholder=\"Email Address\" class=\"required\" /\u003E\n                \u003Cdiv id=\"errorMessageContainerId\" class=\"formErrorMessages\" style=\"display: none;\"\u003EPlease enter a valid email address.\u003C/div\u003E\n                \u003Cbutton class=\"icons\" type=\"submit\"\u003ESubmit\u003C/button\u003E\n            \u003C/form\u003E\n        \u003C/div\u003E\n    \u003C/div\u003E\n\u003C/div\u003E\n\n\u003C/div\u003E\n            \u003C/div\u003E\n\n            \u003Cdiv class=\"frbanner-footer\"\u003E\n                \n\u003Ca href=\"https://wikimediafoundation.org/wiki/Special:LandingCheck?basic=true\u0026amp;landing_page=Problems_donating\"\u003EProblems donating?\u003C/a\u003E |\n\u003Ca href=\"https://wikimediafoundation.org/wiki/Special:LandingCheck?basic=true\u0026amp;landing_page=Ways_to_Give\"\u003EOther ways to give\u003C/a\u003E |\n\u003Ca href=\"https://wikimediafoundation.org/wiki/Special:LandingCheck?landing_page=FAQ\u0026amp;basic=true\"\u003EFrequently asked questions\u003C/a\u003E |\n\u003Cspan class=\"informationsharing-US\" style=\"display: none;\"\u003EBy donating, you are agreeing to our \u003Ca href=\"https://wikimediafoundation.org/wiki/Special:LandingCheck?basic=true\u0026landing_page=Donor_policy\"\u003Edonor privacy policy\u003C/a\u003E. The Wikimedia Foundation is a nonprofit, \u003Ca href=\"https://wikimediafoundation.org/wiki/Special:LandingCheck?basic=true\u0026landing_page=Tax_Deductibility\"\u003Etax-exempt organization\u003C/a\u003E.\u003C/span\u003E\n\u003Cspan class=\"informationsharing-NL\" style=\"display: none;\"\u003EBy donating, you are agreeing to our \u003Ca href=\"https://wikimediafoundation.org/wiki/Special:LandingCheck?basic=true\u0026landing_page=Donor_policy\"\u003Edonor privacy policy\u003C/a\u003E and to sharing your information with the Wikimedia Foundation and its service providers in the U.S. and elsewhere. The Wikimedia Foundation is a nonprofit, \u003Ca href=\"https://wikimediafoundation.org/wiki/Special:LandingCheck?basic=true\u0026landing_page=Tax_Deductibility\"\u003Etax-exempt organization\u003C/a\u003E.\u003C/span\u003E\n\u003Cspan class=\"informationsharing-nonUS\"\u003EBy donating, you are agreeing to our \u003Ca href=\"https://wikimediafoundation.org/wiki/Special:LandingCheck?basic=true\u0026landing_page=Donor_policy\"\u003Edonor privacy policy\u003C/a\u003E and to sharing your information with the \u003Ca href=\"https://wikimediafoundation.org/wiki/Special:LandingCheck?basic=true\u0026landing_page=Tax_Deductibility\"\u003EWikimedia Foundation\u003C/a\u003E and its service providers in the U.S. and elsewhere.\u003C/span\u003E\n\u003Cspan class=\"recurring-details\"\u003E*If you make a recurring donation, you will be debited by the Wikimedia Foundation until you notify us to stop. We'll send you an email receipt for each payment, which will include a link to \u003Ca href=\"https://wikimediafoundation.org/wiki/Special:LandingCheck?basic=true\u0026landing_page=Cancel_or_change_recurring_payments\"\u003Eeasy cancellation instructions.\u003C/a\u003E\u003C/span\u003E\n            \u003C/div\u003E\n\n        \u003C/div\u003E\n\n    \u003C/div\u003E\n\n\n    \u003Cdiv id=\"B14_122817_5C_lg_tx_fwd-nag\"\u003E\n        \u003Cimg src=\"//upload.wikimedia.org/wikipedia/donate/thumb/c/c8/I-blue.svg/20px-I-blue.svg.png\"\u003E\n        \u003Cspan class=\"B14_122817_5C_lg_tx_fwd-nag-link\"\u003EIf we all gave \u003Cspan class=\"fr-amount-if\"\u003E$3\u003C/span\u003E, the fundraiser would be over in an hour.\u003C/span\u003E\n        \u003Cbutton class=\"B14_122817_5C_lg_tx_fwd-nag-donate\"\u003EPlease Donate Now\u003C/button\u003E\n        \u003Cspan class=\"B14_122817_5C_lg_tx_fwd-nag-close\"\u003E\u003C/span\u003E\n    \u003C/div\u003E\n\n\u003C/div\u003E\n\n\u003Cscript\u003E\n    /* Allow overriding country */\n    if( mw.util.getParamValue(\"country\") ) {\n        Geo.country = mw.util.getParamValue(\"country\");\n    }\n\u003C/script\u003E\n\n\u003Cscript\u003E\n/**\n * NOTE: The following currency mapping is WMF-specific based on payment\n * provider availability, NOT necessarily the official currency of the country\n */\nfunction getCurrency() {\n    switch(Geo.country) {\n        // Big 5 at the top for speed\n        case \"US\": return \"USD\";\n        case \"CA\": return \"CAD\";\n        case \"GB\": return \"GBP\";\n        case \"AU\": return \"AUD\";\n        case \"NZ\": return \"NZD\";\n        // Euro countries\n        case \"AD\":\n        case \"AL\":\n        case \"AM\":\n        case \"AT\":\n        case \"AW\":\n        case \"AZ\":\n        case \"BE\":\n        case \"BY\":\n        case \"CI\":\n        case \"CY\":\n        case \"DE\":\n        case \"EE\":\n        case \"ES\":\n        case \"FI\":\n        case \"FR\":\n        case \"GF\":\n        case \"GR\":\n        case \"IE\":\n        case \"IT\":\n        case \"LU\":\n        case \"LV\":\n        case \"LY\":\n        case \"MC\":\n        case \"ME\":\n        case \"MG\":\n        case \"MT\":\n        case \"NL\":\n        case \"PT\":\n        case \"RE\":\n        case \"RS\":\n        case \"SI\":\n        case \"SK\":\n        case \"SM\":\n        case \"SR\":\n        case \"VA\":\n            return \"EUR\";\n        // The rest\n        case \"AE\": return \"AED\";\n        case \"AR\": return \"ARS\";\n        case \"BA\": return \"BAM\";\n        case \"BB\": return \"BBD\";\n        case \"BD\": return \"BDT\";\n        case \"BG\": return \"BGN\";\n        case \"BH\": return \"BHD\";\n        case \"BM\": return \"BMD\";\n        case \"BO\": return \"BOB\";\n        case \"BR\": return \"USD\";\n        case \"BZ\": return \"BZD\";\n        case \"CH\": return \"CHF\";\n        case \"CK\": return \"NZD\";\n        case \"CL\": return \"CLP\";\n        case \"CN\": return \"CNY\";\n        case \"CO\": return \"COP\";\n        case \"CR\": return \"CRC\";\n        case \"CZ\": return \"CZK\";\n        case \"DK\": return \"DKK\";\n        case \"DO\": return \"DOP\";\n        case \"DZ\": return \"DZD\";\n        case \"EG\": return \"EGP\";\n        case \"FJ\": return \"FJD\";\n        case \"FO\": return \"DKK\";\n        case \"GL\": return \"DKK\";\n        case \"GT\": return \"GTQ\";\n        case \"HK\": return \"HKD\";\n        case \"HN\": return \"HNL\";\n        case \"HR\": return \"HRK\";\n        case \"HU\": return \"HUF\";\n        case \"ID\": return \"IDR\";\n        case \"IL\": return \"ILS\";\n        case \"IN\": return \"INR\";\n        case \"IS\": return \"ISK\";\n        case \"JM\": return \"JMD\";\n        case \"JO\": return \"JOD\";\n        case \"JP\": return \"JPY\";\n        case \"KE\": return \"KES\";\n        case \"KI\": return \"AUD\";\n        case \"KR\": return \"KRW\";\n        case \"KZ\": return \"KZT\";\n        case \"LB\": return \"LBP\";\n        case \"LI\": return \"CHF\";\n        case \"LK\": return \"LKR\";\n        case \"LT\": return \"LTL\";\n        case \"MA\": return \"MAD\";\n        case \"MK\": return \"MKD\";\n        case \"MV\": return \"MVR\";\n        case \"MW\": return \"GBP\";\n        case \"MX\": return \"MXN\";\n        case \"MY\": return \"MYR\";\n        case \"NI\": return \"NIO\";\n        case \"NO\": return \"NOK\";\n        case \"NP\": return \"INR\";\n        case \"NR\": return \"AUD\";\n        case \"OM\": return \"OMR\";\n        case \"PA\": return \"PAB\";\n        case \"PE\": return \"PEN\";\n        case \"PG\": return \"AUD\";\n        case \"PH\": return \"PHP\";\n        case \"PK\": return \"PKR\";\n        case \"PL\": return \"PLN\";\n        case \"PY\": return \"PYG\";\n        case \"QA\": return \"QAR\";\n        case \"RO\": return \"RON\";\n        case \"RU\": return \"RUB\";\n        case \"SA\": return \"SAR\";\n        case \"SD\": return \"GBP\";\n        case \"SE\": return \"SEK\";\n        case \"SG\": return \"SGD\";\n        case \"TH\": return \"THB\";\n        case \"TM\": return \"RUB\";\n        case \"TN\": return \"TND\";\n        case \"TR\": return \"TRY\";\n        case \"TT\": return \"TTD\";\n        case \"TW\": return \"TWD\";\n        case \"UA\": return \"UAH\";\n        case \"UY\": return \"UYU\";\n        case \"UZ\": return \"RUB\";\n        case \"VE\": return \"VEF\";\n        case \"VN\": return \"VND\";\n        case \"VU\": return \"AUD\";\n        case \"ZA\": return \"ZAR\";\n        // small multi-country currencies\n        case \"CW\":\n        case \"SX\":\n            return \"ANG\";\n        case \"AG\":\n        case \"DM\":\n        case \"GD\":\n        case \"KN\":\n        case \"LC\":\n            return \"XCD\";\n        case \"BJ\":\n        case \"BF\":\n        case \"CI\":\n        case \"GW\":\n        case \"ML\":\n        case \"NE\":\n        case \"SN\":\n        case \"TG\":\n            return \"XOF\";\n        case \"PF\":\n        case \"NC\":\n        case \"WF\":\n            return \"XPF\";\n        // fall back to USD\n        default:\n            return \"USD\";\n    }\n}\n\u003C/script\u003E\n\u003Cscript\u003E\nfunction currencyLocalize(currency, amount, language){\n    // Do some basic number formatting - digit separators etc\n    if (window.Intl \u0026\u0026 typeof window.Intl === \"object\") {\n        var locale = language + '-' + Geo.country;\n        var formatter = new Intl.NumberFormat(locale);\n    } else {\n        // boo, bad browser! let's just have a thing that throws it back unformatted for now\n        var formatter = {};\n        formatter.format = function(number) {\n            return number.toString();\n        };\n    }\n    if (isNaN(amount) || amount == \"\") {\n        // it's probably the \"other\" string or box\n        var fmAmount = amount;\n    } else {\n        var fmAmount = formatter.format(amount);\n    }\n    // End number formatting\n\n    var currencies = {\n        \"USD\" : \"$\\t\",\n        \"EUR\" : {\n            \"en\" : \"\u20ac\\t\",\n            \"cy\" : \"\u20ac\\t\",\n            \"ga\" : \"\u20ac\\t\",\n            \"mt\" : \"\u20ac\\t\",\n            \"nl\" : \"\u20ac \\t\",\n            \"lv\" : \"\u20ac \\t\",\n            \"tr\" : \"\u20ac \\t\",\n            \"default\" : \"\\t \u20ac\"\n        },\n        \"AED\" : \" \u062f.\u0625 \\t\",\n        \"ANG\" : \"\u0192\\t\",\n        \"ARS\" : \"$\\t\",\n        \"AUD\" : \"$\\t\",\n        \"BAM\" : \"\\t KM\",\n        \"BBD\" : \"Bcs$\\t\",\n        \"BDT\" : \"\u09f3\\t\",\n        \"BGN\" : \"\u043b\u0432\\t\",\n        \"BHD\" : \"\u062f.\u0628\\t\",\n        \"BMD\" : \"BD$\\t\",\n        \"BOB\" : \"$b\\t\",\n        \"BRL\" : \"R$\\t\",\n        \"BZD\" : \"BZ$\\t\",\n        \"CAD\" : {\n            \"fr\" : \"$\\t\",\n            \"default\" : \"$\\t\"\n        },\n        \"CHF\" : \"Fr. \\t\",\n        \"CLP\" : \"$\\t\",\n        \"CNY\" : \"\\t \u00a5\",\n        \"COP\" : \"$\\t\",\n        \"CRC\" : \"\\t \u20a1\",\n        \"CZK\" : \"\\t K\u010d\",\n        \"DKK\" : \"\\t kr.\",\n        \"DOP\" : \"RD$\\t\",\n        \"DZD\" : \"\u062f.\u062c\\t\",\n        \"EEK\" : \"\\t kr\",\n        \"EGP\" : {\n            \"en\" : \"E\u00a3\\t\",\n            \"default\" : \"\\t \u062c\u0646\u064a\u0647\"\n        },\n        \"FJD\" : \"FJ$\\t\",\n        \"GBP\" : \"\u00a3\\t\",\n        \"GTQ\" : \"Q\\t\",\n        \"HKD\" : \"$\\t\",\n        \"HNL\" : \"L\\t\",\n        \"HRK\" : \"\\t kn\",\n        \"HUF\" : \"\\t Ft\",\n        \"IDR\" : \"Rp \\t\",\n        \"ILS\" : {\n            \"he\" : \"\\t \u20aa\",\n            \"yi\" : \"\\t \u20aa\",\n            \"ar\" : \"\\t \u20aa\",\n            \"default\" : \"\u20aa \\t\"\n        },\n        \"INR\" : \"Rs. \\t\",\n        \"ISK\" : \"\\t kr\",\n        \"JMD\" : \"J$ \\t\",\n        \"JOD\" : \"\u062f\u064a\u0646\u0627\u0631\\t\",\n        \"JPY\" : \"\u00a5\\t\",\n        \"KES\" : \"\\t KSh\",\n        \"KRW\" : \"\u20a9\\t\",\n        \"KWD\" : \"\u062f.\u0643 \\t\",\n        \"KZT\" : \"\u3012 \\t\", // TODO: don't use the JP postal code symbol once KZT works in unicode\n        \"LBP\" : \"LBP \\t\",\n        \"LKR\" : \"\\t Rs.\",\n        \"LTL\" : \"\\t Lt\",\n        \"LVL\" : \"\\t Ls\",\n        \"MAD\" : \"\u062f.\u0645.\\t\",\n        \"MKD\" : \"\\t \u0434\u0435\u043d\",\n        \"MOP\" : \"MOP$\\t\",\n        \"MUR\" : \"\\t Rs\",\n        \"MXN\" : \"$\\t\",\n        \"MVR\" : \"Rf. \\t\",\n        \"MYR\" : \"RM\\t\",\n        \"NIO\" : \"C$\\t\",\n        \"NOK\" : \"\\t kr\",\n        \"NZD\" : \"$\\t\",\n        \"OMR\" : \"\u0631.\u0639\\t\",\n        \"PAB\" : \"\\t B/.\",\n        \"PEN\" : \"\\t S/.\",\n        \"PHP\" : \"\u20b1\\t\",\n        \"PKR\" : \"Rs \\t\",\n        \"PLN\" : \"\\t z\u0142\",\n        \"PYG\" : \"\\t \u20b2\",\n        \"QAR\" : \"\u0631.\u0642\\t\",\n        \"RON\" : \"\\t lei\",\n        \"RUB\" : \"\\t \u0440\u0443\u0431\",\n        \"SAR\" : \"\ufdfc\\t\",\n        \"SCR\" : \"SR \\t\",\n        \"SEK\" : \"\\t kr\",\n        \"SGD\" : \"S$ \\t\",\n        \"SVC\" : \"\\t \u20a1\",\n        \"THB\" : {\n            \"th\" : \"\\t \u0e1a\u0e32\u0e17\",\n            \"default\" : \"\\t \u0e3f\"\n        },\n        \"TND\" : \"\\t \u062f.\u062a\",\n        \"TRY\" : \"\u20ba\\t\",\n        \"TTD\" : \"TT$\\t\",\n        \"TWD\" : \"NT$\\t\",\n        \"TZS\" : \"\\t/=\",\n        \"UAH\" : \"\u20b4\\t\",\n        \"UYU\" : \"$U \\t\",\n        \"UZS\" : \"\\t \u0441\u045e\u043c\",\n        \"VEF\" : \"Bs.F. \\t\",\n        \"VND\" : \"\\t\u20ab\",\n        \"VUV\" : \"VT\\t\",\n        \"XAF\" : \"FCFA\\t\",\n        \"XCD\" : \"EC$\\t\",\n        \"XOF\" : \"CFA \\t\",\n        \"XPF\" : \"\\t F\",\n        \"ZAR\" : \"R \\t\"\n    };\n    if(currencies[currency] == null){\n        return currency + \" \" + fmAmount;\n    }\n    if( currencies[currency] instanceof Object ){ // not a string\n        if(currencies[currency][language] != null){\n            return currencies[currency][language].replace(\"\\t\", fmAmount);\n        }\n        return currencies[currency][\"default\"].replace(\"\\t\", fmAmount);\n    }\n    return currencies[currency].replace(\"\\t\", fmAmount);\n}\n\u003C/script\u003E\n\u003Cscript\u003E\nfunction getMinimum(currency){\n    var minimums = {\n        'ADF' : 4.8,\n        'ADP' : 122.2,\n        'AED' : 3.6,\n        'AFA' : 58,\n        'AFN' : 58,\n        'ALL' : 104.8,\n        'AMD' : 410,\n        'ANG' : 1.8,\n        'AOA' : 97.9,\n        'AON' : 97.9,\n        'ARS' : 8.1,\n        'ATS' : 10.1,\n        'AUD' : 1,\n        'AWG' : 1.7,\n        'AZM' : 3926.1,\n        'AZN' : 0.78,\n        'BAM' : 1.4,\n        'BBD' : 2,\n        'BDT' : 78.9,\n        'BEF' : 29.6,\n        'BGL' : 1.4,\n        'BGN' : 1.4,\n        'BHD' : 0.37,\n        'BIF' : 1566.9,\n        'BMD' : 1,\n        'BND' : 1.2,\n        'BOB' : 7,\n        'BRL' : 2.2,\n        'BSD' : 1,\n        'BTN' : 60,\n        'BWP' : 8.9,\n        'BYR' : 10242.7,\n        'BZD' : 2,\n        'CAD' : 1,\n        'CDF' : 936.3,\n        'CHF' : 0.89,\n        'CLP' : 557.4,\n        'CNY' : 6.1,\n        'COP' : 1880,\n        'CRC' : 564.6,\n        'CUC' : 1,\n        'CUP' : 23.1,\n        'CVE' : 81.1,\n        'CYP' : 0.43,\n        'CZK' : 20.1,\n        'DEM' : 1.4,\n        'DJF' : 186.1,\n        'DKK' : 5.4,\n        'DOP' : 43.7,\n        'DZD' : 79.6,\n        'ECS' : 25588.5,\n        'EEK' : 11.7,\n        'EGP' : 7.1,\n        'ESP' : 122.2,\n        'ETB' : 19.7,\n        'EUR' : 0.73,\n        'FIM' : 4.3,\n        'FJD' : 1.8,\n        'FKP' : 0.58,\n        'FRF' : 4.8,\n        'GBP' : 0.58,\n        'GEL' : 1.7,\n        'GHC' : 31867.4,\n        'GHS' : 3.1,\n        'GIP' : 0.58,\n        'GMD' : 40,\n        'GNF' : 7147.9,\n        'GRD' : 250.3,\n        'GTQ' : 7.9,\n        'GYD' : 200,\n        'HKD' : 7.7,\n        'HNL' : 21.1,\n        'HRK' : 5.5,\n        'HTG' : 45.7,\n        'HUF' : 224.9,\n        'IDR' : 11947.4,\n        'IEP' : 0.57,\n        'ILS' : 3.4,\n        'INR' : 60,\n        'IQD' : 1177.9,\n        'IRR' : 25660.7,\n        'ISK' : 113.8,\n        'ITL' : 1422.8,\n        'JMD' : 112.6,\n        'JOD' : 0.71,\n        'JPY' : 101.8,\n        'KES' : 88.8,\n        'KGS' : 52.4,\n        'KHR' : 4096.6,\n        'KMF' : 362.4,\n        'KPW' : 135,\n        'KRW' : 1020.3,\n        'KWD' : 0.28,\n        'KYD' : 0.84,\n        'KZT' : 185.5,\n        'LAK' : 8176.6,\n        'LBP' : 1528.8,\n        'LKR' : 130.4,\n        'LRD' : 90,\n        'LSL' : 10.6,\n        'LTL' : 2.5,\n        'LUF' : 29.6,\n        'LVL' : 0.51,\n        'LYD' : 1.2,\n        'MAD' : 8.2,\n        'MDL' : 14.1,\n        'MGA' : 2461.2,\n        'MGF' : 9149.1,\n        'MKD' : 45.6,\n        'MMK' : 993,\n        'MNT' : 1829.1,\n        'MOP' : 8.1,\n        'MRO' : 294.8,\n        'MTL' : 0.31,\n        'MUR' : 31.3,\n        'MVR' : 15.6,\n        'MWK' : 397.6,\n        'MXN' : 12.9,\n        'MYR' : 3.2,\n        'MZM' : 31645.5,\n        'MZN' : 31.6,\n        'NAD' : 10.6,\n        'NGN' : 164.6,\n        'NIO' : 26.3,\n        'NLG' : 1.6,\n        'NOK' : 6,\n        'NPR' : 97.4,\n        'NZD' : 1.1,\n        'OMR' : 0.38,\n        'PAB' : 1,\n        'PEN' : 2.8,\n        'PGK' : 2.4,\n        'PHP' : 43.8,\n        'PKR' : 99,\n        'PLN' : 3,\n        'PTE' : 147.3,\n        'PYG' : 4494.3,\n        'QAR' : 3.6,\n        'ROL' : 32320.6,\n        'RON' : 3.2,\n        'RSD' : 85.1,\n        'RUB' : 34.3,\n        'RWF' : 690.1,\n        'SAR' : 3.7,\n        'SBD' : 7.3,\n        'SCR' : 13,\n        'SDD' : 572.7,\n        'SDG' : 5.7,\n        'SDP' : 2272.2,\n        'SEK' : 6.6,\n        'SGD' : 1.2,\n        'SHP' : 0.58,\n        'SIT' : 176,\n        'SKK' : 22.1,\n        'SLL' : 4450.3,\n        'SOS' : 970.8,\n        'SRD' : 3.3,\n        'SRG' : 3300.3,\n        'STD' : 18185.1,\n        'SVC' : 8.9,\n        'SYP' : 149.2,\n        'SZL' : 10.6,\n        'THB' : 32.4,\n        'TJS' : 4.9,\n        'TMM' : 14285.7,\n        'TMT' : 2.8,\n        'TND' : 1.6,\n        'TOP' : 1.8,\n        'TRL' : 2131287.2,\n        'TRY' : 2.1,\n        'TTD' : 6.5,\n        'TWD' : 30,\n        'TZS' : 1717.9,\n        'UAH' : 12.1,\n        'UGX' : 2608.9,\n        'USD' : 1,\n        'UYU' : 23.4,\n        'UZS' : 2367.9,\n        'VEB' : 6301.1,\n        'VEF' : 6.3,\n        'VND' : 21431.6,\n        'VUV' : 94.6,\n        'WST' : 2.3,\n        'XAF' : 481.9,\n        'XAG' : 0.04,\n        'XAU' : 0,\n        'XCD' : 2.7,\n        'XEU' : 0.73,\n        'XOF' : 481.9,\n        'XPD' : 0,\n        'XPF' : 88,\n        'XPT' : 0,\n        'YER' : 215.2,\n        'YUN' : 85.1,\n        'ZAR' : 10.6,\n        'ZMK' : 5327.6,\n        'ZWD' : 376.3\n    };\n\n    if($.inArray(currency, minimums)){\n        return minimums[currency];\n    }\n\n    return 1;\n}\n\u003C/script\u003E\n\u003Cscript\u003E\nvar fundraisingAmounts = fundraisingAmounts || {};\n\nfundraisingAmounts.mobileAsks = {\n    \"USD\" : [3, 15, 20, 50, 100],\n    \"CAD\" : [3, 15, 20, 50, 100],\n    \"AUD\" : [3, 15, 20, 50, 100],\n    \"NZD\" : [3, 15, 20, 50, 100],\n    \"GBP\" : [3, 10, 20, 50, 100]\n};\n \nfundraisingAmounts.asks = {\n    \"USD\" : {\n        \"default\" : [3, 5, 10, 20, 30, 50, 100]\n    },\n    \"EUR\" : {\n        \"ES\"      : [2, 5, 10, 20, 30, 50, 100],\n        \"NL\"      : [2, 5, 10, 20, 30, 50, 100],\n        \"BE\"      : [2, 5, 10, 20, 30, 50, 100],\n        \"FR\"      : [2, 5, 10, 20, 30, 50, 100],\n        \"default\" : [3, 5, 10, 20, 30, 50, 100]\n    },\n    \"GBP\" : [3, 5, 10, 20, 30, 50, 100],\n    \"CAD\" : [3, 5, 10, 20, 30, 50, 100],\n    \"AUD\" : [3, 5, 10, 20, 30, 50, 100],\n    \"NZD\" : [3, 5, 10, 20, 30, 50, 100],\n    \"AED\" : [25, 50, 100, 200, 300, 500, 1000],\n    \"ANG\" : [5, 10, 20, 35, 50, 100, 200],\n    \"ARS\" : [20, 50, 100, 200, 500, 750, 1000],\n    \"BAM\" : [3, 5, 10, 25, 40, 70, 140],\n    \"BBD\" : [5, 10, 20, 40, 60, 100, 200],\n    \"BDT\" : [200, 400, 800, 1500, 2000, 4000, 7500],\n    \"BGN\" : [10, 25, 50, 75, 100, 150, 200],\n    \"BHD\" : [1, 2, 4, 8, 10, 20, 40],\n    \"BMD\" : [3, 5, 10, 20, 30, 50, 100],\n    \"BOB\" : [20, 30, 60, 140, 200, 300, 600],\n    \"BRL\" : [10, 20, 30, 50, 100, 250, 500],\n    \"BZD\" : [5, 10, 20, 40, 60, 100, 200],\n    \"CLP\" : [1500, 2500, 5000, 10000, 15000, 25000, 50000],\n    \"CNY\" : [50, 75, 100, 300, 500, 1000, 1500],\n    \"COP\" : [5000, 10000, 20000, 50000, 100000, 150000, 200000],\n    \"CRC\" : [2500, 5000, 10000, 20000, 50000, 75000, 100000],\n    \"CZK\" : [50, 100, 200, 400, 600, 1000, 2000],\n    \"DKK\" : [20, 100, 150, 200, 300, 500, 1000],\n    \"DOP\" : [200, 500, 1000, 2000, 5000, 7500, 10000],\n    \"DZD\" : [200, 400, 750, 1500, 2000, 4000, 7500],\n    \"FJD\" : [5, 10, 20, 40, 50, 100, 200],\n    \"GTQ\" : [20, 40, 80, 150, 200, 350, 750],\n    \"HKD\" : [20, 50, 100, 150, 200, 500, 1000],\n    \"HNL\" : [50, 100, 200, 400, 600, 1000, 1800],\n    \"HRK\" : [35, 50, 100, 250, 500, 1000, 1500],\n    \"HUF\" : [500, 1000, 2000, 4000, 5000, 7000, 10000],\n    \"IDR\" : [35000, 50000, 75000, 100000, 150000, 250000, 500000],\n    \"ISK\" : [300, 500, 1000, 2000, 3000, 5000, 10000],\n    \"ILS\" : [15, 50, 100, 200, 300, 500, 1000],\n    \"INR\" : [100, 200, 300, 500, 1000, 2000, 3000],\n    \"JMD\" : [300, 500, 1000, 2000, 3000, 5000, 10000],\n    \"JPY\" : [700, 1000, 1500, 2000, 3000, 5000, 10000],\n    \"KRW\" : [5000, 10000, 20000, 30000, 50000, 75000, 100000],\n    \"KWD\" : [2, 5, 10,15, 25, 30, 75],\n    \"KZT\" : [750, 1500, 3000, 7500, 12000, 15000, 35000],\n    \"LBP\" : [7500, 15000, 30000, 75000, 120000, 175000, 350000],\n    \"LTL\" : [15, 25, 50, 100, 200, 250, 600],\n    \"MKD\" : [100, 200, 400, 800, 1200, 2000, 4000],\n    \"MVR\" : [40, 75, 150, 300, 450, 750, 1500],\n    \"MXN\" : [50, 100, 200, 500, 750, 1000, 2000],\n    \"MYR\" : [10, 30, 50, 100, 200, 300, 500],\n    \"NIO\" : [100, 250, 500, 1000, 1500, 2500, 5500],\n    \"NOK\" : [20, 100, 150, 200, 500, 750, 1000],\n    \"OMR\" : [1, 2, 4, 8, 10, 20, 40],\n    \"PAB\" : [3, 5, 10, 20, 30, 50, 100],\n    \"PEN\" : [15, 30, 50, 150, 200, 275, 700],\n    \"PHP\" : [200, 500, 750, 1000, 2000, 3000, 5000],\n    \"PLN\" : [10, 20, 50, 100, 200, 300, 500],\n    \"PYG\" : [10000, 20000, 40000, 80000, 120000, 200000, 400000],\n    \"QAR\" : [20, 50, 75, 185, 250, 350, 1000],\n    \"RON\" : [25, 50, 75, 100, 200, 300, 500],\n    \"RUB\" : [100, 150, 200, 500, 1000, 2000, 3000],\n    \"SAR\" : [20, 50, 100, 200, 500, 1000, 1500],\n    \"SEK\" : [30, 50, 100, 200, 300, 500, 1000],\n    \"SGD\" : [3, 5, 10, 20, 30, 50, 100],\n    \"THB\" : [50, 100, 250, 500, 750, 1000, 2000],\n    \"TND\" : [5, 10, 15, 30, 50, 75, 150],\n    \"TRY\" : [5, 10, 20, 40, 50, 100, 200],\n    \"TTD\" : [20, 30, 60, 120, 200, 300, 600],\n    \"TWD\" : [150, 300, 500, 1000, 1500, 2000, 5000],\n    \"UAH\" : [50, 75, 150, 300, 500, 750, 1000],\n    \"UYU\" : [100, 200, 400, 1000, 1500, 1950, 5000],\n    \"VEF\" : [20, 30, 50, 100, 200, 300, 600],\n    \"VND\" : [60000, 100000, 200000, 400000, 600000, 1000000, 2000000],\n    \"XCD\" : [5, 10, 20, 50, 80, 120, 250],\n    \"XOF\" : [1000, 2000, 5000, 10000, 150000, 200000, 400000],\n    \"XPF\" : [250, 400, 800, 1600, 2500, 4000, 8000],\n    \"ZAR\" : [20, 50, 100, 200, 300, 500, 1000]\n};\n \nfundraisingAmounts.averages = {\n    \"USD\" : 15,\n    \"EUR\" : 10,\n    \"GBP\" : 10,\n    \"CAD\" : 15,\n    \"AUD\" : 15,\n    \"NZD\" : 15,\n    \"AED\" : 50,\n    \"ALL\" : 1500,\n    \"AMD\" : 5000,\n    \"ANG\" : 25,\n    \"ARS\" : 100,\n    \"AZN\" : 10,\n    \"BAM\" : 20,\n    \"BBD\" : 30,\n    \"BDT\" : 1000,\n    \"BGN\" : 20,\n    \"BHD\" : 6,\n    \"BMD\" : 15,\n    \"BND\" : 20,\n    \"BOB\" : 100,\n    \"BRL\" : 25,\n    \"BSD\" : 15,\n    \"BZD\" : 30,\n    \"CHF\" : 15,\n    \"CLP\" : 8000,\n    \"CNY\" : 100,\n    \"COP\" : 30000,\n    \"CRC\" : 7500,\n    \"CZK\" : 250,\n    \"DKK\" : 100,\n    \"DOP\" : 600,\n    \"DZD\" : 1000,\n    \"EGP\" : 100,\n    \"ETB\" : 250,\n    \"FJD\" : 25,\n    \"GEL\" : 25,\n    \"GNF\" : 100000,\n    \"GTQ\" : 100,\n    \"HKD\" : 100,\n    \"HNL\" : 250,\n    \"HRK\" : 80,\n    \"HUF\" : 2500,\n    \"IDR\" : 150000,\n    \"ILS\" : 50,\n    \"INR\" : 750,\n    \"IQD\" : 15000,\n    \"ISK\" : 1500,\n    \"JMD\" : 1500,\n    \"JOD\" : 10,\n    \"JPY\" : 1500,\n    \"KES\" : 1000,\n    \"KRW\" : 15000,\n    \"KWD\" : 5,\n    \"KZT\" : 2000,\n    \"LBP\" : 20000,\n    \"LKR\" : 2000,\n    \"LTL\" : 40,\n    \"LVL\" : 10,\n    \"MAD\" : 120,\n    \"MKD\" : 600,\n    \"MOP\" : 100,\n    \"MUR\" : 500,\n    \"MVR\" : 200,\n    \"MXN\" : 150,\n    \"MYR\" : 50,\n    \"MZN\" : 50,\n    \"NGN\" : 2500,\n    \"NIO\" : 350,\n    \"NOK\" : 100,\n    \"OMR\" : 5,\n    \"PAB\" : 15,\n    \"PEN\" : 40,\n    \"PHP\" : 600,\n    \"PKR\" : 1500,\n    \"PLN\" : 50,\n    \"PYG\" : 60000,\n    \"QAR\" : 50,\n    \"RON\" : 50,\n    \"RSD\" : 1200,\n    \"RUB\" : 500,\n    \"SAR\" : 50,\n    \"SBD\" : 100,\n    \"SEK\" : 100,\n    \"SGD\" : 20,\n    \"THB\" : 500,\n    \"TND\" : 25,\n    \"TRY\" : 25,\n    \"TTD\" : 100,\n    \"TWD\" : 500,\n    \"UAH\" : 150,\n    \"UYU\" : 300,\n    \"VEF\" : 100,\n    \"VND\" : 300000,\n    \"XCD\" : 40,\n    \"XOF\" : 7000,\n    \"XPF\" : 1000,\n    \"ZAR\" : 150\n};\n\n// Mostly the same as first asks option.\n// For backwards compatibility, these need to be given as an array of one number\nfundraisingAmounts.ifEveryone = {\n    \"USD\" : {\n        \"default\" : [3]\n    },\n    \"EUR\" : {\n        \"ES\"      : [2],\n        \"NL\"      : [2],\n        \"BE\"      : [2],\n        \"FR\"      : [2],\n        \"default\" : [3]\n    },\n    \"GBP\" : [3],\n    \"CAD\" : [3],\n    \"AUD\" : [3],\n    \"NZD\" : [3],\n    \"AED\" : [25],\n    \"ANG\" : [5],\n    \"ARS\" : [20],\n    \"BAM\" : [3],\n    \"BBD\" : [5],\n    \"BDT\" : [200],\n    \"BGN\" : [10],\n    \"BHD\" : [1],\n    \"BMD\" : [3],\n    \"BOB\" : [20],\n    \"BRL\" : [10],\n    \"BZD\" : [5],\n    \"CLP\" : [1500],\n    \"CNY\" : [50],\n    \"COP\" : [5000],\n    \"CRC\" : [2500],\n    \"CZK\" : [50],\n    \"DKK\" : [20],\n    \"DOP\" : [200],\n    \"DZD\" : [200],\n    \"FJD\" : [5],\n    \"GTQ\" : [20],\n    \"HKD\" : [20],\n    \"HNL\" : [50],\n    \"HRK\" : [35],\n    \"HUF\" : [500],\n    \"IDR\" : [35000],\n    \"ILS\" : [15],\n    \"INR\" : [100],\n    \"ISK\" : [300],\n    \"JMD\" : [300],\n    \"JPY\" : [700],\n    \"KRW\" : [5000],\n    \"KWD\" : [2],\n    \"KZT\" : [750],\n    \"LBP\" : [7500],\n    \"LTL\" : [15],\n    \"MKD\" : [100],\n    \"MVR\" : [40],\n    \"MXN\" : [50],\n    \"MYR\" : [10],\n    \"NIO\" : [100],\n    \"NOK\" : [20],\n    \"OMR\" : [1],\n    \"PAB\" : [3],\n    \"PEN\" : [15],\n    \"PHP\" : [200],\n    \"PLN\" : [10],\n    \"PYG\" : [10000],\n    \"QAR\" : [20],\n    \"RON\" : [25],\n    \"RUB\" : [100],\n    \"SAR\" : [20],\n    \"SEK\" : [30],\n    \"SGD\" : [3],\n    \"THB\" : [50],\n    \"TND\" : [5],\n    \"TRY\" : [5],\n    \"TTD\" : [20],\n    \"TWD\" : [150],\n    \"UAH\" : [50],\n    \"UYU\" : [100],\n    \"VEF\" : [20],\n    \"VND\" : [60000],\n    \"XCD\" : [5],\n    \"XOF\" : [1000],\n    \"XPF\" : [250],\n    \"ZAR\" : [20]\n};\n\u003C/script\u003E\n\u003Cscript\u003E\nvar fundraisingAmounts = fundraisingAmounts || {};\n\nfundraisingAmounts.pick = function(source, currency, country) {\n    /*\n     * Select the correct amount or array of amounts from object in \"source\"\n     * In future may extend to allow a language parameter too\n     * \n     * @param {object} source   - the amounts object e.g. fundraisingAmounts.asks, fundraisingAmounts.averages\n     * @param {string} currency - ISO code of currency\n     * @param {string} country  - ISO code of country (optional)\n     * @return {array/number}   - depending on source\n     */\n\n    if ( source[currency][\"default\"] ) { // we need to go deeper\n        if ( source[currency][country] !== undefined ) {\n            return source[currency][country];\n        } else {\n            return source[currency][\"default\"];\n        }\n    } else {\n        return source[currency];\n    }\n};\n\nfunction convertAsk(amount, currency, country) {\n    /*\n     * Given an amount in USD, find an \"equivalent\" local ask amount for the given currency and country\n     * @TODO: namespace this\n     * \n     * @param {number} amount   - USD amount\n     * @param {string} currency - ISO code of currency\n     * @param {string} country  - ISO code of country\n     * @return {number}         - local amount\n     */\n    var usdbase = [3, 5, 10, 20, 30, 50, 100];\n    var usdamount = parseInt(amount, 10);\n    if(isNaN(usdamount)){\n        return 0;\n    }\n\n    if(currency === 'USD'){\n        if(country === 'US'){\n            // easy case, skip the complicated stuff\n            return usdamount;\n        }\n    }\n \n    var index = $.inArray(usdamount, usdbase);\n    if (index == -1) {\n        // the amount is not in the USD ask array, find a near neighbor\n        index = 0;\n        while (usdbase[index+1] \u003C usdamount \u0026\u0026 index \u003C usdbase.length + 1) {\n            index++;\n        }\n    }\n\n    var array = fundraisingAmounts.pick(fundraisingAmounts.asks, currency, country);\n    if (array === undefined) {\n        // in case we don't have amounts for this currency\n        return usdamount;\n    } else {\n        return array[index];\n    }\n}\n\nfunction getAverage(currency, country, language) {\n    /*\n     * Return a formatted string with the \"average\" donation amount in the given currency, country and language\n     * @TODO: just move this into banner code\n     * \n     * @param {string} currency - ISO code of currency\n     * @param {string} country  - ISO code of country\n     * @param {string} country  - ISO code of language     \n     * @return {string}         - formatted amount \n     */\n    var amount = fundraisingAmounts.pick(fundraisingAmounts.averages, currency, country);\n    return currencyLocalize(currency, amount, language);\n}\n\nfunction getMinimumString(currency, country, language) {\n    /*\n     * Return a formatted string with the \"if everyone\" amount in the given currency, country and language\n     * @TODO: just move this into banner code\n     * \n     * @param {string} currency - ISO code of currency\n     * @param {string} country  - ISO code of country\n     * @param {string} country  - ISO code of language     \n     * @return {string}         - formatted amount \n     */\n    var amount = fundraisingAmounts.pick(fundraisingAmounts.ifEveryone, currency, country)[0];\n    return currencyLocalize(currency, amount, language);\n}\n\u003C/script\u003E\n\u003Cscript\u003E\n/**\n * Core code for forms in banners.\n * Handles showing the correct payment methods, validating input, and sending on to payments wiki.\n * (Note that localizing amount options is done elsewhere, in BannerFormAmountOptions.js)\n *\n * Dependencies: FR2013/Resources/CurrencyMinimums.js\n *               FR2013/Resources/Country2Currency.js\n */\n \nfunction checkPaymentOutages() {\n    /*  Check against the scheduled payment method outages below\n     *  and hide the relevant button for any which are ongoing.\n     */\n    /* This file can be used to schedule hiding of individual payment methods from\n * banners and donatewiki e.g. if they have scheduled downtime.\n * Valid methods are:\n * ideal, yandex, cc, dd, sofort, pp, amazon, bpay, webmoney, boletos, enets, pp-usd\n * (most of the time it's 'ideal'...)\n * Can also limit outage to a specific country with country: \"XX\" (where XX is an ISO code)\n *\n * Note that in JavaScript dates the months (and only the months) start at 0.\n * Jan=0, Feb=1, Mar=2, Apr=3 etc. How hateful \n */\nvar outages = [\n{\n    start:      new Date(Date.UTC(2014, 11, 22, 16, 45)), \n    end:        new Date(Date.UTC(2014, 11, 22, 22, 45)),\n    method:     \"ideal\"\n}\n];\n    var now = new Date();\n\n    for (var i = outages.length - 1; i \u003E= 0; i--) {\n        if ( now \u003E outages[i]['start'] \u0026\u0026 now \u003C outages[i]['end'] ) {\n            if (outages[i]['country'] === undefined || outages[i]['country'] == Geo.country) {\n                $('.paymentmethod-' + outages[i]['method']).hide();\n            }\n        }\n    };\n}\n\nfunction validateForm(form) {\n    var error = true;\n \n    // Get amount selection\n    var amount = null;\n    for (var i = 0; i \u003C form.amount.length; i++) {\n        if (form.amount[i].checked) {\n            amount = form.amount[i].value;\n        }\n    }\n    if (form.amountGiven.value != '') {\n        var otherAmount = form.amountGiven.value;\n        otherAmount = otherAmount.replace(/[,.](\\d)$/, '\\:$10');\n        otherAmount = otherAmount.replace(/[,.](\\d)(\\d)$/, '\\:$1$2');\n        otherAmount = otherAmount.replace(/[\\$,.]/g, '');\n        otherAmount = otherAmount.replace(/:/, '.');\n        form.amountGiven.value = otherAmount;\n        amount = otherAmount;\n    }\n    // Check amount is a real number\n    error = ( amount == null || isNaN(amount) || amount.value \u003C= 0 );\n    // Check amount is at least the minimum\n    var currency = form.currency_code.value;\n    if (amount \u003C getMinimum(currency) || error) {\n        alert('You must contribute at least $1'.replace('$1', getMinimum(currency) + ' ' + currency));\n        error = true;\n    }\n    return !error;\n}\n \nfunction redirectPayment(paymentMethod, paymentSubMethod, skipValidation) {\n    if (typeof paymentSubMethod == 'undefined'){\n        paymentSubMethod = '';\n    }\n    var form = document.paypalcontribution; // we should really change this some day\n    var language = $(\"input[name='language']\").val();\n \n    var paymentsURL = 'https://payments.wikimedia.org/index.php/Special:GatewayFormChooser';\n \n    var params = {\n        'uselang' : language,\n        'language' : language,\n        'currency_code' : $(\"input[name='currency_code']\").val(),\n        'country' : $(\"input[name='country']\").val(),\n        'paymentmethod' : paymentMethod\n    };\n    if( paymentSubMethod != '' ){\n        params['submethod'] = paymentSubMethod;\n    }\n \n    // Testing for Adyen\n    if( paymentMethod === 'adyen-cc' ) {\n      paymentMethod = 'cc';\n      params.paymentmethod = 'cc';\n      params.gateway = 'adyen';\n    }\n \n    var frequency = $(\"input[name='frequency']:checked\").val();\n    if( frequency !== 'monthly' ){\n        frequency = 'onetime';\n    } else {\n        params['recurring'] = 'true';\n        // the following line is both obsolete, and is causing errors.\n        // paymentMethod = 'r' + paymentMethod;\n    }\n \n    form.action = paymentsURL + '?' + $.param(params);\n    form.payment_method.value = paymentMethod;\n    if( paymentSubMethod != '' ) {\n        form.payment_method.value = form.payment_method.value + '.' + paymentSubMethod;\n    }\n    form.utm_source.value = 'B14_122817_5C_lg_tx_fwd.no-LP' + '.' + form.payment_method.value;\n \n    if (skipValidation || validateForm(document.paypalcontribution)) {\n        form.submit();\n    }\n}\n \nfunction toggleMonthly( monthly ){\n    if( monthly.type === 'checkbox' ){\n        monthly = monthly.checked;\n    } \n    if (monthly) {\n        $('#B14_122817_5C_lg_tx_fwd-form').addClass('form-monthly');\n    } else {\n        $('#B14_122817_5C_lg_tx_fwd-form').removeClass('form-monthly');\n    }\n}\n \n$(document).ready( function () {\n    if ( wgCanonicalSpecialPageName != \"CentralNotice\" \u0026\u0026 wgCanonicalSpecialPageName != \"NoticeTemplate\" ) {\n        mw.centralNotice.events.bannerLoaded.done(function(e){\n            $('[name=\"paypalcontribution\"]').append($('\u003Cinput\u003E', {\n                'type': 'hidden', 'name': 'utm_key', 'value': (mw.centralNotice.bannerData.cookieCount || 0)\n            }));\n        });\n \n        var currency = getCurrency(Geo.country);\n        var language = mw.config.get('wgUserLanguage');\n \n        // hide CC or PP buttons anywhere we need to\n        var noCC = [];\n        if ($.inArray(Geo.country, noCC) != -1) {\n            $(\".paymentmethod-cc\").remove();\n        }\n        var noPP = ['IN', 'RU', 'SG', 'AE', 'QA', 'JP', 'OM', 'BD', 'BO',\n                    'PA', 'PE', 'PY', 'GT', 'JM', 'TT', 'DZ'];\n        if ($.inArray(Geo.country, noPP) != -1){\n            $(\".paymentmethod-pp\").remove();\n        }\n\n        // countries where PP must be in USD\n        var ppUSD = ['BG', 'HR', 'LT', 'MK', 'RO', 'UA', 'SA', 'CN', 'ID', 'KR', \n                     'KZ', 'MY', 'VN', 'AR', 'CL', 'DO', 'CO', 'NI', 'UY', 'ZA',\n                     'BH', 'LB', 'VE', 'TR', 'IS', 'BA', 'MV', 'BB', 'BM', 'BZ',\n                     'CR', 'CW', 'SX', 'HN', 'KN', 'DM', 'AG', 'LC', 'GD', 'FJ',\n                     'TN', 'BJ', 'BF', 'CI', 'GW', 'ML', 'NE', 'SN', 'TG'];\n        if ($.inArray(Geo.country, ppUSD) != -1){\n            $(\".paymentmethod-pp\").remove();\n            $(\".paymentmethod-pp-usd\").show();\n        }\n \n        // can't do monthly credit card in India\n        if (Geo.country === 'IN') {\n            $(\".paymentmethod-cc\").addClass(\"no-monthly\");\n        }\n \n        // show any extra local payment methods, or remove them if not needed\n        var extrapaymentmethods = {\n            'amazon' : ['US'],\n            'bpay' : ['AU'],\n            'ideal' : ['NL'],\n            'yandex' : ['RU'],\n            'webmoney' : ['RU'],\n            'dd' : ['AT', 'DE', 'ES', 'NL'],\n            // 'boletos' : ['BR'],\n            'enets' : ['SG'],\n            'sofort' : []\n        };\n \n        for (var method in extrapaymentmethods) {\n            var $methodbutton = $('.paymentmethod-' + method);\n \n            if ($.inArray(Geo.country, extrapaymentmethods[method]) != -1) { // country is in the list\n                $methodbutton.show();\n            } else {\n                $methodbutton.remove();\n            }\n        }\n        \n        checkPaymentOutages();\n \n        // set the form fields\n        $(\"input[name='country']\").val(Geo.country);\n        $(\"input[name='currency_code']\").val(currency);\n        $(\"input[name='language']\").val(mw.config.get('wgUserLanguage'));\n        $(\"input[name='return_to']\").val(\"Thank_You/\" + mw.config.get('wgUserLanguage'));\n \n        // handle pressing Enter on \"Other\" field\n        $('input[name=\"amountGiven\"]').keydown(function(e){\n            if (e.keyCode == 13) {\n                e.preventDefault();\n                redirectPayment('cc'); // use credit card by default. Might be nice to have different defaults for some countries, but this will do for now.\n                return false;\n            }\n        });\n \n        // if there are no recurring payment methods available, disable the \"monthly\" radio button.\n        if ( !$('#B14_122817_5C_lg_tx_fwd-form *[class^=\"paymentmethod-\"]:not(.no-monthly)').length ) {\n            $('#frequency_monthly').prop('disabled', 'disabled');\n        }\n    }\n});\n\u003C/script\u003E\n\n\u003Cscript\u003E\n/** MediaWiki:FR2014/Resources/FullScreenLocalize.js\n  * Do various things to localize full-screen banners\n  */\n\n$(document).ready(function() {\n\n    /* Allow overriding country */\n    if( mw.util.getParamValue(\"country\") ) {\n        Geo.country = mw.util.getParamValue(\"country\");\n    }\n\n    var currency = getCurrency(Geo.country);\n    var language = mw.config.get('wgUserLanguage');\n\n    /* Links (in smallprint) */\n    $('a.localize, .frbanner-footer a').each(function() {\n        var url = $(this).attr(\"href\");\n        if( url.indexOf(\"?\") === -1 ) {\n            url = url + \"?\";\n        } else {\n            url = url + \"\u0026\";\n        }\n        $(this).attr(\"href\", url + \"country=\" + Geo.country + \"\u0026language=\" + language + \"\u0026uselang=\" + language);\n\n        // Make links open in new tab\n        $(this).attr(\"target\", \"_blank\");\n    });\n\n    /* Legal text variant */\n    if (Geo.country === 'US') {\n        $('.informationsharing-US').show();\n        $('.informationsharing-NL').hide();\n        $('.informationsharing-nonUS').hide();\n    }\n    if (Geo.country === 'NL') {\n        $('.informationsharing-US').hide();\n        $('.informationsharing-NL').show();\n        $('.informationsharing-nonUS').hide();\n    }\n\n    /* Main amount buttons */\n    $('.frbanner-amounts input[id^=\"field-amount_total\"]').each(function(index) {\n        var $input = $(this);\n        var $label = $('label[for=\"' + $input.attr('id') + '\"]');\n        var amount = convertAsk( $input.val(), currency, Geo.country );\n        $input.val( amount );\n        $label.html( currencyLocalize( currency, amount, language) );\n    });\n\n    /* \"Other\" box\n        Don't know how to do it for the symbol coming after the number though */\n    $('.frbanner-amounts #amount_other fieldset label').html(\n        currencyLocalize( currency, '', language )\n    );\n\n    /* \"Average\" amount */\n    var average = fundraisingAmounts.pick(fundraisingAmounts.averages, currency, Geo.country);\n    $('.fr-amount-avg').html(\n        currencyLocalize( currency, average, language )\n    );\n\n    /* \"If everyone\" amount */\n    var ifEveryone = fundraisingAmounts.pick(fundraisingAmounts.ifEveryone, currency, Geo.country)[0];\n    $('.fr-amount-if').html(\n        currencyLocalize( currency, ifEveryone, language )\n    );\n\n    /* Number of payment method buttons */\n    if (Geo.country === 'US' || Geo.country === 'AU') {\n        $('.frbanner-form').addClass('frbanner-form-3pm');\n    } else if (Geo.country === 'CA' || Geo.country === 'GB' || Geo.country === 'NZ') {\n        $('.frbanner-form').addClass('frbanner-form-2pm');\n    }\n\n});\n/* end of MediaWiki:FR2014/Resources/FullScreenLocalize.js */\n\n// Logic that determines mw.centralNotice.bannerData.hideResult\n/* MediaWiki:FR2014/Resources/ShowHideCheckFullscreen.js\n * Decide whether to show banner, based on if they saw a \"fullscreen\"\n * one already.\n *\n * If we do show one, then set a cookie to remember it.\n */\n\n(function(mw) {\n\n    // See https://stackoverflow.com/questions/6125330/javascript-navigator-cookieenabled-browser-compatibility#15582757\n    var cookiesEnabled = ('cookie' in document \u0026\u0026 (document.cookie.length \u003E 0 || (document.cookie = 'test').indexOf.call(document.cookie, 'test') \u003E -1));\n    var forced = mw.util.getParamValue('force');\n\n    if ( cookiesEnabled ) {\n\n        if ( $.cookie('centralnotice-frbanner-seen-fullscreen') \u0026\u0026 !forced ) {\n            // Already seen a \"fullscreen\" banner, so hide this one (unless forced)\n            mw.centralNotice.bannerData.hideResult = true;\n            mw.centralNotice.bannerData.hideReason = 'seen-fullscreen';\n        } else {\n            mw.centralNotice.bannerData.hideResult = false;\n            // And set a cookie to remember they saw a fullscreen\n            $.cookie('centralnotice-frbanner-seen-fullscreen', Date.now(), {expires: 250});\n        }\n\n    } else {\n        mw.centralNotice.bannerData.hideResult = true;\n        mw.centralNotice.bannerData.hideReason = 'cookies-disabled';\n    }\n\n})(mediaWiki);\n\n// Move to random choice of bucket C or D\n/* MediaWiki:FR2014/Resources/ChangeBucket.js\n * Move user to random choice of bucket C or D for this campaign.\n * Although if it was a test (triggered using banner= in URL)\n * then don't bother as there was no campaign.\n */\n\n(function(mw) {\n    if ( !mw.centralNotice.data.getVars.banner ) {\n        var newBucket = Math.floor(Math.random()  *  2)  +  2;\n        mw.cnBannerControllerLib.bucketsByCampaign['C14_en5C_dec_dsk_FR'].val = newBucket;\n        mw.cnBannerControllerLib.storeBuckets();\n    }\n})(mediaWiki);\n\n/* MediaWiki:FR2014/Resources/SeenCountB.js\n * Track the total number of banners the user has seen\n */\n \n(function(mw) {\n \n    var cookieCount = parseInt($.cookie('centralnotice_bannercount_fr12')) || 0;\n \n    if(!mw.centralNotice.bannerData.hideResult) {\n        cookieCount += 1;\n    }\n \n    $.cookie('centralnotice_bannercount_fr12', cookieCount, { expires: 365, path: '/' });\n    mw.centralNotice.bannerData.cookieCount = cookieCount;\n \n})(mediaWiki);\n/** Provides alterImpressionData hook for CentralNotice\n *  This info will be sent back with Special:RecordImpression\n */\n\nmediaWiki.centralNotice.bannerData.alterImpressionData = function( impressionData ) {\n    // Returning true from this function indicates the banner was shown\n    if (mediaWiki.centralNotice.bannerData.hideReason) {\n        impressionData.reason = mediaWiki.centralNotice.bannerData.hideReason;\n    }\n    if (mediaWiki.centralNotice.bannerData.cookieCount) {\n        impressionData.banner_count = mediaWiki.centralNotice.bannerData.cookieCount;\n    }\n    return !mediaWiki.centralNotice.bannerData.hideResult;\n};\n\u003C/script\u003E\n\n\u003Cscript\u003E\nvar fundraisingBanner = {};\n\nfundraisingBanner.addSpace = function() {\n    /* add space for the banner, and extra px if given below. called on load and window resize */\n    var extra = 5;\n    var bannerHeight = $('div#B14_122817_5C_lg_tx_fwd').height();\n    $('#mw-panel').css('top', bannerHeight+160+extra);\n    $('#mw-head').css('top', bannerHeight+extra);\n    $('#mw-page-base').css('margin-top', bannerHeight+extra);\n};\n\nfundraisingBanner.show = function() {\n    $('body').prepend($('#centralNotice'));\n    $('#B14_122817_5C_lg_tx_fwd').css('display', 'block');\n    fundraisingBanner.addSpace();\n\n    $(window).resize(function() {\n        fundraisingBanner.addSpace();\n    });\n};\n\nfundraisingBanner.hide = function() {\n    /* hide the banner, and remove the extra space which was added for it */\n    // mw.centralNotice.hideBanner(); - commented out because this banner is only shown on first view\n    $('#B14_122817_5C_lg_tx_fwd').hide();\n    $('#mw-panel').css('top', '160px');\n    $('#mw-head').css('top', '0px');\n    $('#mw-page-base').css('margin-top', '0');\n    return false;\n};\n\nfundraisingBanner.addNag = function() {\n    /* add the \"nag\" bar. Has to be done after we show the main banner (to get its height) */\n    var bigBannerHeight = $('#frbanner').height();\n\n    $(window).scroll(function() {\n        if ($(window).scrollTop() \u003C= bigBannerHeight) {\n            $('#B14_122817_5C_lg_tx_fwd-nag').finish();\n            $('#B14_122817_5C_lg_tx_fwd-nag').css('display', 'none');\n        } else {\n            $('#B14_122817_5C_lg_tx_fwd-nag').delay(1500).slideDown();\n        }\n    });\n\n    $('.B14_122817_5C_lg_tx_fwd-nag-close').click(function(event) {\n        $('#B14_122817_5C_lg_tx_fwd-nag').remove();\n        event.stopPropagation();\n    });\n\n    $('#B14_122817_5C_lg_tx_fwd-nag').click(function() {\n        window.scrollTo(0,0);\n    });\n};\n\nfunction clearOther(box) {\n    document.getElementById(\"input_amount_other\").checked = true;\n    box.value = \"\";\n    box.style.color = \"#000000\";\n}\n\nfunction resetOther(box) {\n    box.value = \"Other\";\n}\n\nfunction selectAmount() {\n    document.getElementById(\"input_amount_other_box\").value = \"\";\n    document.getElementsByName(\"amountGiven\")[0].value=\"\";\n}\n\n$(document).ready(function() {\n\n    $(\".frbanner-frequency label\").click(function() {\n        $(\".frbanner-frequency label\").removeClass(\"checked\");\n        $(this).addClass(\"checked\");\n    });\n\n    $(\".frbanner-amounts li label, #amount_other\").click(function() {\n        $(\".frbanner-amounts li label\").removeClass(\"checked\");\n        $(\"#amount_other\").removeClass(\"checked\");\n        $(this).addClass(\"checked\");\n    });\n\n    $(\"#amount_other\").click(function() {\n        $(\"input[name='amount']\").each(function() {\n            this.checked = false;\n        });\n        $(\"#amount_other\").addClass(\"checked\");\n        $(\"#input_amount_other_box\").focus();\n    });\n\n    if (!mw.centralNotice.bannerData.hideResult) {\n        fundraisingBanner.show();\n        fundraisingBanner.addNag();\n    }\n\n});\n\u003C/script\u003E","campaign":"C14_en5C_dec_dsk_FR","category":"fundraising","autolink":0,"landingPages":[""],"priority":3} );