function ValidateForm34(){ 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.ContactForm34.field406.value.length==0){ flag = false; } if (document.ContactForm34.field408.value.length==0){ flag = false; } if (document.ContactForm34.field409.value.length==0){ flag = false; } if (document.ContactForm34.field410.value.length==0){ flag = false; } if (document.ContactForm34.field412.value.length==0){ flag = false; } if (document.ContactForm34.field413.value.length==0){ flag = false; } var radioBtnChecked = false; for (j=0; j