function CheckForm() {
	var form = document.register_form;
	var errors = '';
	
	// Check Email Address
	if (form.email.value.length < 6) {
			errors = errors + "\n" + "- Please make sure that the email you have submitted is correct.";
	} else {
		if (form.email.value != form.email_confirm.value) {
			errors = errors + "\n" + "- The email addresses you submitted do not match.";
		}
	}
	
	if (form.password.value.length < 6) {
			errors = errors + "\n" + "- Your password must be at least 6 characters in length.";
	} else {
		if (form.password.value != form.password_confirm.value) {
			errors = errors + "\n" + "- The passwords you submitted do not match.";
		}
	}
	
	if (form.name.value == '') {
			errors = errors + "\n" + "- You must enter your first and last name.";
	}
	
	if (form.phone.value.length < 10) {
			errors = errors + "\n" + "- You must enter your phone number.";
	}
	
	if (form.company.value == '') {
			errors = errors + "\n" + "- You must enter the company you are with.";
	}
	
	if (errors != '') {
		alert("We have found the following errors with the information you have submitted -\n"+errors);
		return false;
	}
	return true;
}
