{"id":157,"date":"2021-07-20T15:22:36","date_gmt":"2021-07-20T14:22:36","guid":{"rendered":"http:\/\/surreyfriends.org\/?page_id=157"},"modified":"2024-08-12T15:37:24","modified_gmt":"2024-08-12T14:37:24","slug":"donation_page","status":"publish","type":"page","link":"https:\/\/surreyfriends.org\/index.php\/donation_page\/","title":{"rendered":"SUPPORTING SURREY FROM AMERICA"},"content":{"rendered":"\n<style>#bboxdonation_gift_fldUKGiftAid {display:none;}<\/style>\n \n<div id=\"bbox-root\"><\/div>\n<script type=\"text\/javascript\">\n   window.bboxInit = function () {\n       bbox.showForm('7b6bc2e2-80a9-458b-8929-4332cfad15bf');\n   };\n \n   (function () {\n       var e = document.createElement('script'); e.async = true;\n       e.src = 'https:\/\/bbox.blackbaudhosting.com\/webforms\/bbox-min.js';\n       document.getElementsByTagName('head')[0].appendChild(e);\n   }());\n \n   function setCountryToUSA() {\n       var countryField = document.getElementById(\"bboxdonation_billing_billingAddress_ddCountry\");\n       if (countryField) {\n           countryField.value = \"USA\";\n \n           \/\/ Update display based on the selected country\n           var usaItems = document.querySelectorAll(\"[data-country-format-for='1']\");\n           var notUsaItems = document.querySelectorAll(\"[data-country-format-for='2']\");\n          \n           if (usaItems.length > 0) {\n               usaItems.forEach(item => item.style.display = \"block\");\n           }\n           if (notUsaItems.length > 0) {\n               notUsaItems.forEach(item => item.style.display = \"none\");\n           }\n       }\n   }\n \n   \/\/ Observe the DOM for changes and apply the USA setting when the form is fully loaded\n   var observer = new MutationObserver(function (mutations) {\n       mutations.forEach(function (mutation) {\n           if (mutation.addedNodes.length) {\n               setCountryToUSA();\n           }\n       });\n   });\n \n   \/\/ Start observing the bbox-root div for changes\n   observer.observe(document.getElementById('bbox-root'), {\n       childList: true,\n       subtree: true\n   });\n<\/script>\n\n\n\n<p>The Friends of the University of Surrey is a 501(c)(3) non-profit organization, EIN 30-0212507. The full value of your donation is deductible for federal income tax purposes as provided by law. &nbsp;Any questions? Email us at <a href=\"mailto:alumni@surrey.ac.uk\" target=\"_blank\" rel=\"noreferrer noopener\">alumni@surrey.ac.uk<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Friends of the University of Surrey is a 501(c)(3) non-profit organization, EIN 30-0212507. The full value of your donation is deductible for federal income tax purposes as provided by law. &nbsp;Any questions? Email us at alumni@surrey.ac.uk<\/p>\n","protected":false},"author":6,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-157","page","type-page","status-publish","hentry","empty-entry-meta"],"_links":{"self":[{"href":"https:\/\/surreyfriends.org\/index.php\/wp-json\/wp\/v2\/pages\/157","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/surreyfriends.org\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/surreyfriends.org\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/surreyfriends.org\/index.php\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/surreyfriends.org\/index.php\/wp-json\/wp\/v2\/comments?post=157"}],"version-history":[{"count":44,"href":"https:\/\/surreyfriends.org\/index.php\/wp-json\/wp\/v2\/pages\/157\/revisions"}],"predecessor-version":[{"id":279,"href":"https:\/\/surreyfriends.org\/index.php\/wp-json\/wp\/v2\/pages\/157\/revisions\/279"}],"wp:attachment":[{"href":"https:\/\/surreyfriends.org\/index.php\/wp-json\/wp\/v2\/media?parent=157"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}