/* Do not remove this code. */ function rccallback4962671000004003976() { if(document.getElementById('recap4962671000004003976')!=undefined){ document.getElementById('recap4962671000004003976').setAttribute('captcha-verified',true); } if(document.getElementById('recapErr4962671000004003976')!=undefined && document.getElementById('recapErr4962671000004003976').style.visibility == 'visible' ){ document.getElementById('recapErr4962671000004003976').style.visibility='hidden'; } } function reCaptchaAlert4962671000004003976() { var recap = document.getElementById('recap4962671000004003976'); if( recap !=undefined && recap.getAttribute('captcha-verified') == 'false') { document.getElementById('recapErr4962671000004003976').style.visibility='visible'; return false; } return true; } function validateEmail4962671000004003976() { var form = document.forms['WebForm4962671000004003976']; var emailFld = form.querySelectorAll('[ftype=email]'); var i; for (i = 0; i < emailFld.length; i++) { var emailVal = emailFld[i].value; if((emailVal.replace(/^\s+|\s+$/g, '')).length!=0 ) { var atpos=emailVal.indexOf('@'); var dotpos=emailVal.lastIndexOf('.'); if (atpos<1 || dotpos=emailVal.length) { alert('Please enter a valid email address. '); emailFld[i].focus(); return false; } } } return true; }
function checkMandatory4962671000004003976() { var mndFileds = new Array('NAME','Email','COBJ2CF1','COBJ2CF2','COBJ2CF4'); var fldLangVal = new Array('First\x20Name','Email','Last\x20Name','Phone\x20Number','How\x20Would\x20You\x20Like\x20to\x20Volunteer\x20With\x20The\x20NIA\x3F'); for(i=0;i