Donate

var url = ‘https://host.nxt.blackbaud.com/donor-form?svcid=renxt&formId=c80d4d73-b0f2-46b3-9ef9-12b213b2a312&envid=p-QHSZRyRE3Ua0f1mQZSqFbQ’;
var iframe = document.getElementById(‘form-c80d4d73-b0f2-46b3-9ef9-12b213b2a312’);
var bbemlParser = new RegExp(‘[?&]bbeml=([^&#/]*)’).exec(document.location.search);
var bbeml = bbemlParser ? decodeURI(bbemlParser[1]) || 0 : ”;
iframe.src = url + ‘&referral=’ + document.referrer + ‘&bbeml=’ + bbeml;
window.addEventListener(‘message’, function (event) {
if (event.data === ‘checkout loaded’) {
document.getElementById(‘form-c80d4d73-b0f2-46b3-9ef9-12b213b2a312’).scrollIntoView()
}
if (event.data.messageType === ‘height-change’) {
document.getElementById(‘form-c80d4d73-b0f2-46b3-9ef9-12b213b2a312’).style.minHeight = event.data.message.height;
}
});