First Name * Last Name * Email * Mobile * Company Name Description Captcha Reload I agree to the Privacy Policy and Terms of Service. function disableSubmit5522220000000476014() { var isprivacyToolAvail = false; var privacytool = ''; var submitbutton = document.getElementById('formsubmit5522220000000476014'); if (document.getElementById('privacyTool5522220000000476014') !== undefined) { isprivacyToolAvail = true; privacytool = document.getElementById('privacyTool5522220000000476014'); } if (submitbutton.hasAttribute('disabled') && isprivacyToolAvail && privacytool.checked) { submitbutton.removeAttribute('disabled'); submitbutton.style.opacity = 1; }else{ submitbutton.disabled = true; submitbutton.style.opacity = 0.5; } } function reloadImg5522220000000476014() { var captcha = document.getElementById('imgid5522220000000476014'); 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 disableSubmitwhileReset5522220000000476014() { var submitbutton = document.getElementById('formsubmit5522220000000476014'); if (document.getElementById('privacyTool5522220000000476014') !== null || document.getElementById('consentTool') !== null) { submitbutton.disabled = true; submitbutton.style.opacity = '0.5;'; } else { submitbutton.removeAttribute('disabled'); } } function checkMandatory5522220000000476014() { var mndFields=new Array('First Name','Last Name','Email','Mobile'); var fldLangVal=new Array('First Name','Last Name','Email','Mobile'); var i; var mndFieldslength=mndFields.length; var fieldObj; for (i = 0; i < mndFieldslength; i++) { fieldObj = document.forms.BiginWebToContactForm5522220000000476014[mndFields[i]]; if (fieldObj) { if (fieldObj.value.replace(/^s+|s+$/g, '').length === 0) { if (fieldObj.type === 'file') { alert('Please select a file to upload.'); fieldObj.focus(); return false; } alert(fldLangVal[i] + ' cannot be empty.'); fieldObj.focus(); return false; } else if (fieldObj.nodeName === 'SELECT') { if (fieldObj.options[fieldObj.selectedIndex].value === '-None-') { alert(fldLangVal[i] + ' cannot be none.'); fieldObj.focus(); return false; } } else if (fieldObj.type === 'checkbox') { if (fieldObj.checked === false) { alert('Please accept ' + fldLangVal[i]); fieldObj.focus(); return false; } } if (fieldObj.name === 'Last Name' && fieldObj.value) { name = fieldObj.value; } } } return true; } function validateFileUpload(){var e=document.getElementById("theFile"),t=0;if(e){if(e.files.length>3)return alert("You can upload a maximum of three files at a time."),!1;if("files"in e){var i=e.files.length;if(0!==i){for(var o=0;o20971520)return alert("Total file(s) size should not exceed 20MB."),!1}}}return!0}