PageSourceSearch

https://www.acadianatreatmentcenter.com/wp-content/themes/acadia20…/campaign_monitor_formval.min.js?ver=1.01

js acadianatreatmentcenter.com collected 2026-10-09 17:03:49 UTC 2,073 bytes, 1 lines download raw bytes

1var ss_global_valfield,ss_nbsp=160,ss_node_text=3,ss_emptyString=/^\s*$/;function ss_trim(e){return e.replace(/^\s+|\s+$/g,"")}function ss_setFocusDelayed(){ss_global_valfield.focus()}function ss_setfocus(e){ss_global_valfield=e,setTimeout("ss_setFocusDelayed()",100)}function ss_msg(e,s,r){var t;t=ss_emptyString.test(r)?String.fromCharCode(ss_nbsp):r;var n=document.getElementById(e);n.firstChild.nodeValue=t,n.className=s}var ss_proceed=2;function ss_commonCheck(e,s,r){if(!document.getElementById)return!0;var t=document.getElementById(s);return null==t||!t.firstChild||(t.firstChild.nodeType!=ss_node_text||(ss_emptyString.test(e.value)?r?(ss_msg(s,"errorNode","*Required"),jQuery("#"+s).show(),jQuery(e).css("border","1px solid #FF0000"),!1):(ss_msg(s,"warn",""),jQuery("#"+s).hide(),!0):(jQuery("#"+s).hide(),ss_proceed)))}function ss_greenLight(e){jQuery(e).css("border","1px solid #008000")}function redLight(e){jQuery(e).css("border","1px solid #FF0000")}function ss_validatePresent(e,s){var r=ss_commonCheck(e,s,!0);return r!=ss_proceed?r:(ss_msg(s,"warn",""),jQuery("#"+s).show(),!0)}function ss_validateEmail(e,s,r){var t=ss_commonCheck(e,s,r);if(t!=ss_proceed)return t;var n=ss_trim(e.value);if(!/^[^@]+@[^@.]+\.[^@]*\w\w$/.test(n))return ss_msg(s,"errorNode","Invalid email"),jQuery("#"+s).show(),redLight(e),!1;return/^[A-Za-z][\w.-]+@\w[\w.-]+\.[\w.-]*[A-Za-z][A-Za-z]$/.test(n)?(ss_msg(s,"warn",""),ss_greenLight(e),!0):(ss_msg(s,"errorNode","Malformed email"),jQuery("#"+s).show(),redLight(e),!1)}function ss_validateOnSubmit(){var e=0;return ss_validateEmail(document.forms.cm_unsubscribe.emailAddress,"emailError",!0)||(e+=1),e>1&&alert("There are fields which need correction before sending"),1==e&&alert("There is a field which needs correction before sending"),!(e>0)}function ss_validateOnCMSubscribe(){var e=0;return ss_validateEmail(document.forms.cm_unsubscribe.EmailAddress,"emailError",!0)||(e+=1),e>1&&alert("There are fields which need correction before sending"),1==e&&alert("There is a field which needs correction before sending"),!(e>0)}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.