function ValidateForm25(){ 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.ContactForm25.field261.value.length==0){ flag = false; } if (document.ContactForm25.field262.value.length==0){ flag = false; } if (document.ContactForm25.field263.value.length==0){ flag = false; } if (document.ContactForm25.field333.value.length==0){ flag = false; } if (document.ContactForm25.field305.value.length==0){ flag = false; } if (document.ContactForm25.field265.value.length==0){ flag = false; } var radioBtnChecked = false; for (j=0; j