[pmpro_account]
/* Do not remove this code. */ function reloadImg4711092000001087037() { var captcha = document.getElementById('imgid4711092000001087037'); if(captcha.src.indexOf('&d') !== -1 ) { captcha.src = captcha.src.substring(0, captcha.src.indexOf('&d'))+'&d'+new Date().getTime(); }else{ captcha.src = captcha.src+'&d'+new Date().getTime(); } } function validateEmail4711092000001087037() { var form = document.forms['WebToLeads4711092000001087037']; 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 checkMandatory4711092000001087037() { var mndFileds = new Array('Company','First Name','Last Name','Email'); var fldLangVal = new Array('Company','First\x20Name','Last\x20Name','Email'); for(i=0;i