// IIFE namespace to avoid contamination of church pages (function( jsasp, undefined ) { var version = "2.0.6"; console.log("jsasp version:"+version); var scriptDomain = ""; function fnGetDomain(url) { return url.match(/:\/\/(.[^/]+)/)[1]; } var hostDomain=window.location.host; var scriptIdTag=document.getElementById("dScript"); var scriptIdSrc=scriptIdTag.src; scriptDomain=fnGetDomain(scriptIdSrc); var postingUrl='https://'+scriptDomain+''; var postingUrlAch='https://'+scriptDomain+''; console.log("Script source ID:"+scriptIdSrc); console.log("Script domain:"+scriptDomain); console.log("Posting Url:"+postingUrl); console.log("Posting Url (ACH):"+postingUrlAch); console.log("UID:apos6320135"); console.log("System Domain:shelbygiving.com"); console.log("Http Host:www.shelbygiving.com"); console.log("Server Url:/inline/js.asp"); console.log("Server QS:uid=apos6320135&dedicated=1&w=s"); console.log("Refer:"); console.log("Label Url:"); console.log("Refer Domain:"); console.log("Url Host Check:"); console.log("Url Host Check Len:()"); console.log("Refer Domain Len:()"); console.log("// Invalid Host");