function doSubmit(){var a=document.frmSignup;if(a.txtusername.value==""){alert("Username is missing");a.txtusername.focus();return false}else{if(isNumeric(a.txtusername.value.charAt(0))){alert("Username must start with alphabet");a.txtusername.focus();return false}else{if(a.txtpassword.value==""){alert("Please input password");a.txtpassword.focus();return false}else{if(isNumeric(a.txtpassword.value.charAt(0))){alert("Password must start with alphabet");a.txtpassword.focus();return false}else{if(a.txtpassword2.value==""){alert("Please input confirm password");a.txtpassword2.focus();return false}else{if(isNumeric(a.txtpassword2.value.charAt(0))){alert("Confirm Password must start with alphabet");a.txtpassword2.focus();return false}else{if(a.txtpassword.value!=a.txtpassword2.value){alert("Password and Confirm Password must be same");a.txtpassword2.focus();return false}else{if(a.txtfirstname.value==""){alert("Please input first name");a.txtfirstname.focus();return false}else{if(isNumeric(a.txtfirstname.value.charAt(0))){alert("First name must start with alphabet");a.txtfirstname.focus();return false}else{if(!isAlphabetic(a.txtfirstname.value)){alert("First name should be alphabetic");a.txtfirstname.focus();return false}else{if(a.txtlastname.value==""){alert("Please input last name");a.txtlastname.focus();return false}else{if(isNumeric(a.txtlastname.value.charAt(0))){alert("Last name must start with alphabet");a.txtlastname.focus();return false}else{if(!isAlphabetic(a.txtlastname.value)){alert("Last name should be alphabetic");a.txtlastname.focus();return false}else{if(a.txtemail.value==""){alert("Please input email");a.txtemail.focus();return false}else{if(!isValidEmail(a.txtemail.value)){alert("Please input valid email");a.txtemail.focus();return false}else{if(a.txtcity.value==""){alert("Please input city");a.txtcity.focus();return false}else{if(isNumeric(a.txtcity.value.charAt(0))){alert("City name must start with alphabet");a.txtcity.focus();return false}else{if(a.txtstateprovince.value==""){alert("Please input state or province");a.txtstateprovince.focus();return false}else{if(a.txtzip.value==""){alert("Please input zip code");a.txtzip.focus();return false}else{if(a.txtaddress1.value==""){alert("Please input address line 1");a.txtaddress1.focus();return false}else{return true}}}}}}}}}}}}}}}}}}}}return false};
