<!--
function validatereg() {
if (document.registration.first_name.value.length < 1) {
alert("Please enter your first name.");
return false;
}
if (document.registration.last_name.value.length < 1) {
alert("Please enter your last name.");
return false;
}
if (document.registration.username.value.length < 1) {
alert("Please enter a username.");
return false;
}
if (document.registration.password.value.length < 1) {
alert("Please enter your password.");
return false;
}
if (document.registration.vrfypassword.value.length < 1) {
alert("Please enter your password again in the Verify Password box.");
return false;
}
if (document.registration.password.value != document.registration.vrfypassword.value) {
alert("Please make sure you type the same password in the Password box and the Verify Password box.");
return false;
}
if (document.registration.email_address.value.length < 1) {
alert("Please enter your email address.");
return false;
}
if (document.registration.verify_email_address.value.length < 1) {
alert("Please enter your email address.");
return false;
}
if (document.registration.email_address.value != document.registration.verify_email_address.value) {
alert("Please make sure you type the same password in the Email Address box and the Verify Email Address box.");
return false;
}
if (document.registration.Title.value.length < 1) {
alert("Please select your title.");
return false;
}
if (document.registration.Street1.value.length < 1) {
alert("Please enter your street address.");
return false;
}
if (document.registration.country.value.length < 1) {
alert("Please select your country.");
return false;
}
if (document.registration.City.value.length < 1) {
alert("Please enter your city.");
return false;
}
if (document.registration.state.value.length < 1) {
alert("Please enter your state/province.");
return false;
}
if (document.registration.postcode.value.length < 1) {
alert("Please enter your zip/postcode.");
return false;
}
if (document.registration.DTPhoneNum.value.length < 1) {
alert("Please enter a daytime phone number.");
return false;
}
if (document.registration.confirmagree.value.length < 1) {
alert("Please enter a daytime phone number.");
return false;
}
return true;
}
//-->

