function validate(c){if(c.username){var e=c.username.value}var h=c.emailaddress.value;var i=c.password.value;var b=c.password2.value;var a=c.birthday_day.value;var g=c.birthday_month.value;var f=c.birthday_year.value;var d=c.terms;if(c.antibot){c.antibot.value="passedJStest"}if((c.username)&&((e=="")||(e.length>30))){alert("Your username is empty or over the maximum of 30 characters");c.username.focus();return false}if((h=="")||(h.length>100)){alert("Your email address is empty or over the maximum of 100 characters");c.email.focus();return false}if((i=="")||(i.length>20)){alert("Your password is empty or over the maximum of 20 characters");c.password.focus();return false}if(i!=b){alert("Your password confirmation is not identical to your first password");c.password2.focus();return false}if((a=="")||(g=="")||(f=="")){alert("Please insert your birthday");c.birthday_day.focus();return false}if(d.checked==false){alert("You must read and agree to our terms and conditions before signing up");c.terms.focus();return false}if(verifyEmail(h)){return true}};

