Template:2010/Donate-nowGB-test2a

      £100 £50 £30 £20

Other amount: £  



 I agree to receive occasional updates from Wikimedia UK.

Your personal data is subject to our <a href="http://uk.wikimedia.org/wiki/Donor_Privacy_Policy" title="Donor Privacy Policy">privacy policy</a>.

<script type="text/javascript"> var wmh_paypal = document.getElementById('wmh_paypal'); var wmh_obutton = document.getElementById('wmh_obutton'); var wmh_otext = document.getElementById('wmh_otext');

function copyAmount { wmh_obutton.value = wmh_otext.value; } addOnloadHook(function { copyAmount; addHandler(wmh_otext, 'change', copyAmount); addHandler(wmh_otext, 'blur', copyAmount); addHandler(wmh_otext, 'focus', function { wmh_obutton.checked = true; }); addHandler(wmh_paypal, 'submit', function(e) {

var check_email = document.getElementById('input_email'); wmh_paypal.custom.value = getQuerystring( 'utm_medium' ) + '.' + getQuerystring( 'utm_campaign' ) + '.' + getQuerystring( 'utm_source' ) + '.' + getLandingPage + '.' + check_email.value + '.GB-test2a';

if (!(!wmh_obutton.checked||!(wmh_obutton.value < 1))) { alert("Sorry, you must donate at least £1"); if (e.preventDefault) e.preventDefault; else e.returnValue = false; } }); });

<script type="text/javascript"> function getQuerystring( key ) { key = key.replace( /[\[]/, '\\\[' ).replace( /[\]]/, '\\\]' ); var regex = new RegExp( '[\\?&]' + key + '=([a-zA-Z0-9\_\-]*)' ); var qs = regex.exec( window.location.search ); return qs == null ? '' : qs[1]; }

function getLandingPage {  var path = "  ";

if( path == "default"){ pathArray = window.location.pathname.split( '/' ); return pathArray[2]; }  else return path; }

document.paypalcontribution.utm_medium.value = getQuerystring( 'utm_source' ); document.paypalcontribution.utm_campaign.value = getQuerystring( 'utm_campaign' ); document.paypalcontribution.utm_campaign.value = getQuerystring( 'utm_medium' ); document.paypalcontribution.referrer.value = document.referrer;