function ValidateForm5(){ var flag = true; var message = 'Please fill in all mandatory fields !'; var showcheck = -1;var showcheck = http.responseText; if (showcheck=='0') { message = 'Incorrect verification code!'; flag = false; } if (document.ContactForm5.field56.value.length==0){ flag = false; } if (document.ContactForm5.field57.value.length==0){ flag = false; } if (document.ContactForm5.field58.value.length==0){ flag = false; } if (document.ContactForm5.field332.value.length==0){ flag = false; } if (document.ContactForm5.field300.value.length==0){ flag = false; } if (document.ContactForm5.field63.value.length==0){ flag = false; } var radioBtnChecked = false; for (j=0; j