mw.centralNotice.bannerData.preload = function() { var retval = 1;
return retval; };mw.centralNotice.insertBanner( {"bannerName":"B14_123010_5C_tp_tx_cnt","bannerHtml":"\u003Cscript\u003E\n  /* MediaWiki:CentralNotice/Resources/BannerShowHideCount.js\n   * Determine if a banner should be hidden or displayed based on the\n   * contents of the cookie named `hide-cookie-name` and that + `-wait`.\n   *\n   * Provides CentralNotice alterImpressionData hook\n   * Banner may be forced if URL parameter force = 1\n   * Counters may be reset if URL parameter reset = 1\n   */\n  (function(mw) {\n    var cookieCount = parseInt($.cookie('centralnotice_bannercount_fr12')) || 0,\n        seenLimit = parseInt('5') || 0,\n        waitCount = parseInt($.cookie('centralnotice_bannercount_fr12-wait')) || 0,\n        waitLimit = parseInt('0') || 0,\n        hideBanner = true;\n\n    if (window.location.search.match(/\\breset=1/)) {\n      // Reset counters on demand\n      cookieCount = 0;\n      waitCount = 0;\n    }\n\n    if (\n      navigator.cookieEnabled \u0026\u0026\n      (window.location.search.match(/\\bforce=1/) || ((waitCount \u003E= waitLimit) \u0026\u0026 (cookieCount \u003C seenLimit)))\n    ) {\n      hideBanner = false;\n      cookieCount += 1;\n    } else {\n      waitCount += 1;\n    }\n\n    // Finish up and store results\n    $.cookie('centralnotice_bannercount_fr12', cookieCount, { expires: 365, path: '/' });\n    $.cookie('centralnotice_bannercount_fr12-wait', waitCount, { expires: 365, path: '/' });\n    mw.centralNotice.bannerData.hideResult = hideBanner;\n    mw.centralNotice.bannerData.cookieCount = cookieCount;\n  })(mediaWiki);\n\n  mediaWiki.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\u003Cstyle\u003E\n    /* For IE9 */\n    @media screen {\n        #centralNotice {\n           display: block !important;\n        }\n    }\n\n    #centralNotice.collapsed #B14_123010_5C_tp_tx_cnt{\n        display: none;\n    }\n    div#B14_123010_5C_tp_tx_cnt {\n        display: none;\n        position: absolute;\n        top: 0;\n        left: 0;\n        right: 0;\n        z-index: 9999;\n        background: transparent;\n        font-family: Arial, Helvetica, Verdana, sans-serif;\n        cursor: pointer;\n    }\n\n    div#B14_123010_5C_tp_tx_cnt #B14_123010_5C_tp_tx_cnt-main {\n        background: #cedff1;\n        padding: 0;\n        width: 100%;\n        border: none;\n        border-spacing: 0; /* because border-collapse hides shadow in IE */\n    }\n    body.rtl div#B14_123010_5C_tp_tx_cnt #B14_123010_5C_tp_tx_cnt-main {\n        box-shadow: -5px 5px 5px #aaa;\n    }\n\n    div#B14_123010_5C_tp_tx_cnt #B14_123010_5C_tp_tx_cnt-facts p {\n        margin: 0;\n        padding: 10px 10px 10px 40px;\n        background: url(//upload.wikimedia.org/wikipedia/donate/thumb/9/96/I.svg/20px-I.svg.png) no-repeat 10px 8px;\n        color: #000;\n        font-size: 17px;\n        line-height: 1.2;\n        font-weight: bold;\n        text-align: justify;\n    }\n    body.rtl div#B14_123010_5C_tp_tx_cnt #B14_123010_5C_tp_tx_cnt-facts p {\n        padding-left: 10px;\n        padding-right: 40px;\n        background-position: top 10px right 8px;\n    }\n\n    .B14_123010_5C_tp_tx_cnt-highlight {\n        background: #fff64c;\n        color: black;\n        padding: 1px 0;\n    }\n\n    #B14_123010_5C_tp_tx_cnt-form-wrapper {\n        width: 330px;\n        background: #f5faff;\n        padding: 0;\n        border-left: 1px solid #a8bedf;\n    }\n    #B14_123010_5C_tp_tx_cnt-form {\n        height: 100%;\n        font-size: 14px;\n        font-weight: bold;\n        padding: 4px 8px;\n    }\n    #B14_123010_5C_tp_tx_cnt-form table {\n        border: none;\n        border-collapse: collapse;\n        width: 100%;\n        height: 100%;\n    }\n    #B14_123010_5C_tp_tx_cnt-form td {\n        min-width: 55px;\n        white-space: nowrap;\n        margin: 0;\n        vertical-align: middle;\n        padding: 2px;\n    }\n    #B14_123010_5C_tp_tx_cnt-form span label {\n        margin-left: 2px;\n    }\n    #B14_123010_5C_tp_tx_cnt-form .amount-options {\n        height: 20%;\n        color: #091d41;\n    }\n    #B14_123010_5C_tp_tx_cnt-form .paymentmethod-options td {\n        text-align: center;\n        padding: 12px 4px 8px 4px ;\n    }\n    #B14_123010_5C_tp_tx_cnt-form button,\n    #B14_123010_5C_tp_tx_cnt-nag button {\n        display: inline-block;\n        min-width: 110px;\n        min-height: 26px;\n        margin: 0 1px;\n        border: 1px solid #626f90;\n        border-radius: 5px;\n        background: #ffffff;\n        background: -moz-linear-gradient(top, #ffffff 0%, #e5e5e5 100%);\n        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#e5e5e5));\n        background: -webkit-linear-gradient(top, #ffffff 0%,#e5e5e5 100%);\n        background: -o-linear-gradient(top, #ffffff 0%,#e5e5e5 100%);\n        background: -ms-linear-gradient(top, #ffffff 0%,#e5e5e5 100%);\n        background: linear-gradient(to bottom, #ffffff 0%,rgb(240, 240, 240) 100%);\n        box-shadow: 0 1px 1px #eee;\n        color: black;\n        font-size: 12px;\n        font-weight: bold;\n        cursor: pointer;\n    }\n    #B14_123010_5C_tp_tx_cnt-form button:hover,\n    #B14_123010_5C_tp_tx_cnt-nag button:hover {\n        color: #0645ad;\n    }\n\n    #B14_123010_5C_tp_tx_cnt-close,\n    .B14_123010_5C_tp_tx_cnt-nag-close {\n        display: block;\n        position: absolute;\n        top: 0;\n        right: 0;\n        width: 16px;\n        height: 16px;\n        background: url(//upload.wikimedia.org/wikipedia/donate/c/cf/Close-trilogy.png) no-repeat center center;\n        background-size: contain;\n        cursor: pointer;\n        opacity: 0.8;\n        margin: 8px 12px;\n    }\n    .B14_123010_5C_tp_tx_cnt-nag-close {\n        right: 16px;\n    }\n    #B14_123010_5C_tp_tx_cnt-close:hover,\n    .B14_123010_5C_tp_tx_cnt-nag-close:hover {\n        opacity: 1;\n    }\n\n    body.rtl div#B14_123010_5C_tp_tx_cnt span#B14_123010_5C_tp_tx_cnt-close {\n        right: auto;\n        left: 10px;\n    }\n\n    div#B14_123010_5C_tp_tx_cnt p#B14_123010_5C_tp_tx_cnt-legal {\n        display: none;\n        position: relative;\n        margin: 0;\n        padding: 10px 40px 5px 40px;\n        background: #cedff1;\n        font-size: 11px;\n        line-height: 1;\n        font-weight: normal;\n    }\n\n    #B14_123010_5C_tp_tx_cnt-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_123010_5C_tp_tx_cnt-nag-link {\n        vertical-align: middle;\n    }\n    .B14_123010_5C_tp_tx_cnt-nag-link:hover {\n        text-decoration: underline;\n    }\n\u003C/style\u003E\n\n\u003Cdiv id=\"B14_123010_5C_tp_tx_cnt\"\u003E\n    \u003Ctable id=\"B14_123010_5C_tp_tx_cnt-main\" style=\"height: 117px;\"\u003E\n        \u003Ctr\u003E\n            \u003Ctd id=\"B14_123010_5C_tp_tx_cnt-facts\"\u003E\n                \u003Cp\u003E\n                    \u003Ci\u003EDEAR WIKIPEDIA READERS,\u003C/i\u003E 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 %AVERAGE%. Only a tiny portion of our readers give. \u003Cspan class=\"B14_123010_5C_tp_tx_cnt-highlight\"\u003E If everyone reading this right now gave %MINIMUM%, our fundraiser would be done within an hour. That\u2019s right, the price of a cup of coffee is all we need.\u003C/span\u003E We\u2019re a small non-profit with costs of a top website: servers, staff and programs. Wikipedia is something special. It is like a library or a public park where we can all go to learn. If Wikipedia is useful to you, take one minute to keep it online and ad-free. \u003Ci\u003EThank you.\u003C/i\u003E\n                \u003C/p\u003E\n            \u003C/td\u003E\n\n            \u003Ctd id=\"B14_123010_5C_tp_tx_cnt-form-wrapper\"\u003E\n                \u003Cstyle\u003E\n/* hide methods which aren't monthly capable when monthly option is selected */\n.form-monthly button.no-monthly {\n  display: none !important;\n}\n\u003C/style\u003E\n\u003Cform id=\"B14_123010_5C_tp_tx_cnt-form\" 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_123010_5C_tp_tx_cnt\"\u003E\n  \u003Cinput type=\"hidden\" name=\"language\" value=\"en\"\u003E\n  \u003Cinput type=\"hidden\" name=\"country\" value=\"US\"\u003E\n  \u003Cinput type=\"hidden\" name=\"currency_code\" id=\"input_currency_code\" value=\"USD\"\u003E\n  \u003Cinput type=\"hidden\" name=\"payment_method\" value=\"\"\u003E\n  \u003Cinput type=\"hidden\" name=\"referrer\" value=\"\"\u003E\n  \u003Cinput type=\"hidden\" name=\"returnto\" value=\"\"\u003E\n  \u003Cinput type=\"hidden\" name=\"appeal\" value=\"Sep2014Design\"\u003E\n  \u003Ctable\u003E\n    \u003Ctr class=\"frequency-options\"\u003E\n      \u003Ctd colspan=\"2\"\u003E\u003Cinput type=\"radio\" name=\"frequency\" id=\"frequency_onetime\" onclick=\"toggleMonthly(false);\" value=\"onetime\" checked=\"checked\"\u003E\u003Clabel for=\"frequency_onetime\"\u003EOne-time\u003C/label\u003E\u003C/td\u003E\n      \u003Ctd colspan=\"2\"\u003E\u003Cinput type=\"radio\" name=\"frequency\" id=\"frequency_monthly\" onclick=\"toggleMonthly(true);\" value=\"monthly\"\u003E\u003Clabel for=\"frequency_monthly\"\u003EMonthly*\u003C/label\u003E\u003C/td\u003E\n    \u003C/tr\u003E\n    \u003Ctr class=\"amount-options\"\u003E\n      \u003Ctd\u003E\n        \u003Cinput type=\"radio\" name=\"amount\" id=\"input_amount_0\" onclick=\"document.paypalcontribution.amountGiven.value=''\" value=\"3\"\u003E\n        \u003Clabel for=\"input_amount_0\"\u003E$3\u003C/label\u003E\n      \u003C/td\u003E\n      \u003Ctd\u003E\n        \u003Cinput type=\"radio\" name=\"amount\" id=\"input_amount_1\" onclick=\"document.paypalcontribution.amountGiven.value=''\" value=\"5\"\u003E\n        \u003Clabel for=\"input_amount_1\"\u003E$5\u003C/label\u003E\n      \u003C/td\u003E\n      \u003Ctd\u003E\n        \u003Cinput type=\"radio\" name=\"amount\" id=\"input_amount_2\" onclick=\"document.paypalcontribution.amountGiven.value=''\" value=\"10\"\u003E\n        \u003Clabel for=\"input_amount_2\"\u003E$10\u003C/label\u003E\n      \u003C/td\u003E\n      \u003Ctd\u003E\n        \u003Cinput type=\"radio\" name=\"amount\" id=\"input_amount_3\" onclick=\"document.paypalcontribution.amountGiven.value=''\" value=\"20\"\u003E\n        \u003Clabel for=\"input_amount_3\"\u003E$20\u003C/label\u003E\n      \u003C/td\u003E\n    \u003C/tr\u003E\n    \u003Ctr class=\"amount-options\"\u003E\n      \u003Ctd\u003E\n        \u003Cinput type=\"radio\" name=\"amount\" id=\"input_amount_4\" onclick=\"document.paypalcontribution.amountGiven.value=''\" value=\"30\"\u003E\n        \u003Clabel for=\"input_amount_4\"\u003E$30\u003C/label\u003E\n      \u003C/td\u003E\n      \u003Ctd\u003E\n        \u003Cinput type=\"radio\" name=\"amount\" id=\"input_amount_5\" onclick=\"document.paypalcontribution.amountGiven.value=''\" value=\"50\"\u003E\n        \u003Clabel for=\"input_amount_5\"\u003E$50\u003C/label\u003E\n      \u003C/td\u003E\n      \u003Ctd\u003E\n        \u003Cinput type=\"radio\" name=\"amount\" id=\"input_amount_6\" onclick=\"document.paypalcontribution.amountGiven.value=''\" value=\"100\"\u003E\n        \u003Clabel for=\"input_amount_6\"\u003E$100\u003C/label\u003E\n      \u003C/td\u003E\n      \u003Ctd\u003E\n        \u003Cinput type=\"radio\" name=\"amount\" id=\"input_amount_other\" value=\"Other\"\u003E\n        \u003Cspan id=\"input_label_other\" onclick=\"$('#input_amount_other').prop('checked', true);\"\u003E\n          $\u003Cinput style=\"height: 1em;\" type=\"text\" name=\"amountGiven\" size=\"3\" autocomplete=\"off\" onfocus=\"$('#input_amount_other').prop('checked', true);\"\u003E\n        \u003C/span\u003E\n      \u003C/td\u003E\n    \u003C/tr\u003E\n    \u003Ctr class=\"paymentmethod-options\"\u003E\n      \u003Ctd colspan=\"4\"\u003E\n        \u003Cbutton class=\"paymentmethod-ideal no-monthly\" onclick=\"redirectPayment('rtbt', 'rtbt_ideal'); return false;\" style=\"display:none;\"\u003E\n          iDEAL\u003C/button\u003E\n        \u003Cbutton class=\"paymentmethod-yandex no-monthly\" onclick=\"redirectPayment('ew', 'ew_yandex'); return false;\" style=\"display:none;\"\u003E\n          Yandex\u003C/button\u003E\n        \u003Cbutton class=\"paymentmethod-cc\" onclick=\"redirectPayment('cc'); return false;\"\u003E\n          Credit Card\u003C/button\u003E\n        \u003Cbutton class=\"paymentmethod-sofort no-monthly\" onclick=\"redirectPayment('rtbt', 'rtbt_sofortuberweisung'); return false;\" style=\"display:none;\"\u003E\n          Online Bank Transfer\u003C/button\u003E\n        \u003Cbutton class=\"paymentmethod-pp\" onclick=\"redirectPayment('paypal'); return false;\"\u003E\n          PayPal\u003C/button\u003E\n        \u003Cbutton class=\"paymentmethod-amazon no-monthly\" onclick=\"redirectPayment('amazon'); return false;\" style=\"display:none;\"\u003E\n          Amazon\u003C/button\u003E\n        \u003Cbutton class=\"paymentmethod-bpay no-monthly\" onclick=\"redirectPayment('obt', 'bpay'); return false;\" style=\"display:none;\"\u003E\n          BPay\u003C/button\u003E\n        \u003Cbutton class='paymentmethod-boletos no-monthly' onclick=\"redirectPayment('cash', 'boleto'); return false;\" style=\"display:none;\"\u003E\n          Boleto\u003C/button\u003E\n        \u003Cbutton class=\"paymentmethod-enets no-monthly\" onclick=\"redirectPayment('rtbt', 'rtbt_enets'); return false\" style=\"display:none;\"\u003E\n          eNETS\u003C/button\u003E\n        \u003Cbutton class=\"paymentmethod-pp-usd\" onclick=\"redirectPayment('paypal', undefined, true); return false;\" style=\"display: none;\"\u003E\n          PayPal (USD)\u003C/button\u003E\n      \u003C/td\u003E\n    \u003C/tr\u003E\n  \u003C/table\u003E\n\u003C/form\u003E\n                \u003Cspan id=\"B14_123010_5C_tp_tx_cnt-close\" onclick=\"fundraisingBanner.hide(); return false;\"\u003E\u00a0\u003C/span\u003E\n            \u003C/td\u003E\n\n        \u003C/tr\u003E\n    \u003C/table\u003E\n\n    \u003Cp id=\"B14_123010_5C_tp_tx_cnt-legal\"\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/p\u003E\n\n    \u003Cdiv id=\"B14_123010_5C_tp_tx_cnt-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_123010_5C_tp_tx_cnt-nag-link\"\u003EIf we all gave %MINIMUM%, the fundraiser would be over in an hour.\u003C/span\u003E\n        \u003Cbutton class=\"B14_123010_5C_tp_tx_cnt-nag-donate\"\u003EPlease Donate Now\u003C/button\u003E\n        \u003Cspan class=\"B14_123010_5C_tp_tx_cnt-nag-close\"\u003E\u003C/span\u003E\n    \u003C/div\u003E\n\u003C/div\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 = 0;\n    var bannerHeight = $('div#B14_123010_5C_tp_tx_cnt').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_123010_5C_tp_tx_cnt').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();\n    $('#B14_123010_5C_tp_tx_cnt').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\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 \"LT\":\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 \"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// Various common actions for banner setup.\n\nvar getQuerystring = function(key) {\n    // Should not be used any more, use mw.util.getParamValue() instead\n    // Kept for now though because this returns '' instead of null if key is not present\n    key = key.replace( /[\\[]/, '\\\\\\[' ).replace( /[\\]]/, '\\\\\\]' );\n    var regex = new RegExp( '[\\\\?\u0026]' + key + '=([a-zA-Z0-9\\_\\-]*)' );\n    var qs = regex.exec( window.location.search );\n    return qs == null ? '' : qs[1];\n};\n\n$(document).ready( function () {\n\n    // Allow overriding the geolocation for testing different countries\n    if(mw.util.getParamValue('country')) {\n        Geo.country = mw.util.getParamValue('country');\n    }\n\n    var language = mw.config.get('wgUserLanguage'),\n        currency = getCurrency(Geo.country);\n\n    // Localize links in the smallprint\n    $('#B14_123010_5C_tp_tx_cnt-legal a').each(function(index) {\n        // Add language and country\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    // Show the correct 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    // Find instances of %AVERAGE% in banner text, and replace with correct average for currency \u0026 country\n    $(\"div#B14_123010_5C_tp_tx_cnt\").each(function(index){\n        var avgString = getAverage(currency, Geo.country, language).replace(/\\.$/, ''); // strip any period from end for use in running text\n        var newHtml = $(this).html().replace(/%AVERAGE%/g, '\u003Cspan style=\"white-space: nowrap;\"\u003E' + avgString + '\u003C/span\u003E');\n        $(this).html(newHtml);\n    });\n\n    // Find instances of %MINIMUM% in banner text, and replace with correct minimum for currency \u0026 country\n    $(\"div#B14_123010_5C_tp_tx_cnt\").each(function(index){\n        var ifString = getMinimumString(currency, Geo.country, language).replace(/\\.$/, ''); // strip any period from end for use in running text\n        var newHtml = $(this).html().replace(/%MINIMUM%/g, '\u003Cspan style=\"white-space: nowrap;\"\u003E' + ifString + '\u003C/span\u003E');\n        $(this).html(newHtml);\n    });\n\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_123010_5C_tp_tx_cnt.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_123010_5C_tp_tx_cnt-form').addClass('form-monthly');\n    } else {\n        $('#B14_123010_5C_tp_tx_cnt-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_123010_5C_tp_tx_cnt-form *[class^=\"paymentmethod-\"]:not(.no-monthly)').length ) {\n            $('#frequency_monthly').prop('disabled', 'disabled');\n        }\n    }\n});\n\u003C/script\u003E\n\u003Cscript\u003E\n/**\n * Localize amount options in banner forms.\n *\n * Dependencies: FR2013/Resources/Country2Currency.js\n *               FR2013/Resources/CurrencyLocalize.js\n */\n\n$(document).ready( function () {\n\n    var currency = getCurrency(Geo.country);\n    var language = mw.config.get('wgUserLanguage');\n\n    // do fun things to localize currency in the banner and form\n    $(\"input[name='amount']\").each(function(index){\n        var id = $(this).attr(\"id\");\n        var $label = $(\"label[for='\" + id + \"']\");\n        var amount = convertAsk($(this).val(), currency, Geo.country);\n        $(this).val(amount);\n        $label.html(currencyLocalize(currency, amount, language));\n    });\n\n    $otherLabel = $(\"span#input_label_other\");\n    $otherLabel.html( \n        currencyLocalize(\n            currency,\n            $otherLabel.html().replace('$',''), // strip the $ sign already on there\n            language\n        )\n    );\n\n});\n\u003C/script\u003E\n\n\u003Cscript\u003E\n$(document).ready(function() {\n\n    /* code for sticky \"nag\" banner */\n    $(window).scroll(function() {\n        if ($(window).scrollTop() \u003C= 160) {\n            $('#B14_123010_5C_tp_tx_cnt-nag').finish();\n            $('#B14_123010_5C_tp_tx_cnt-nag').css('display', 'none');\n        } else {\n            $('#B14_123010_5C_tp_tx_cnt-nag').delay(1500).slideDown();\n        }\n    });\n\n    $('#B14_123010_5C_tp_tx_cnt-nag').click(function() {\n        window.scrollTo(0,0);\n    });\n\n    $('.B14_123010_5C_tp_tx_cnt-nag-close').click(function(e) {\n        fundraisingBanner.hide();\n        e.stopPropagation();\n    });\n    /* end code for nag box */\n\n    /* code for legal text */\n    $('#B14_123010_5C_tp_tx_cnt').mouseenter( function() {\n        $('#B14_123010_5C_tp_tx_cnt-legal').show();\n    });\n    $('#B14_123010_5C_tp_tx_cnt').mouseleave( function() {\n        $('#B14_123010_5C_tp_tx_cnt-legal').hide();\n    });\n    /* end code for legal text */\n\n    if (!mw.centralNotice.bannerData.hideResult) {\n        fundraisingBanner.show();\n    }\n\n});\n\u003C/script\u003E","campaign":"C14_en5C_dec_dsk_FR","category":"fundraising","autolink":0,"landingPages":[""],"priority":3} );