/* End Layout Custom JS */ /* Start Global Node Custom JS */ /* End Global Node Custom JS */ /* Start Layout Custom JS */ function validate_signup(frm) { var emailAddress = frm.Email.value; var errorString = ''; if (emailAddress == '' || emailAddress.indexOf('@') == -1) { errorString = 'Please enter your email address'; } var isError = false; if (errorString.length > 0) isError = true; if (isError) alert(errorString); return !isError; } var urlInput = document.getElementById("ci_consenturl"); if (urlInput != null && urlInput != 'undefined') { urlInput.value = encodeURI(window.location.href); } // scanners CPT DataTable filters (move in code) if (jQuery('body').hasClass('scanners-template')) { jQuery('.scanner-load-content table').DataTable({ pageLength: 100, }); } /* End Layout Custom JS */ /* Start Global Node Custom JS */ /* End Global Node Custom JS */ /* Start Layout Custom JS */ /* End Layout Custom JS */