function validate(that){
	if(that.accept_resell_agreement.checked==false){
		alert("You must accept the Resell License Agreement to be able to register.");
		that.accept_resell_agreement.focus();
		return false;
	} else if(that.email_address.value==""){
		alert("Please fill in your Email Address.");
		that.email_address.focus();
		return false;
	}else if(that.email_address.value.indexOf('@')==-1){
		alert("The Email Address you entered is invalid.");
		that.email_address.focus();
		return false;
	}else if(that.resell_where.selectedIndex==0){
		alert("Please specify where you will be Reselling the Product.");
		that.resell_where.focus();
		return false;
	} else if((that.resell_where.selectedIndex==5) && (that.resell_other.value=="")){
		alert("Please specify where you will be Reselling the Product.");
		that.resell_other.focus();
		return false;
	} else if(that.website_url.value==""){
		alert("Please fill in the Website URL.");
		that.website_url.focus();
		return false;
	} else if(that.original_registration_number.value==""){
		alert("Please fill in the Registration number you received when you bought your product.");
		that.original_registration_number.focus();
		return false;
	} else if(that.original_passcode.value==""){
		alert("Please fill in the Passcode you received when you bought your product.");
		that.original_passcode.focus();
		return false;
	} else if(that.original_zipcode.value==""){
		alert("Please fill in the Zipcode you received when you bought your product.");
		that.original_zipcode.focus();
		return false;
	} else if(that.first_name.value==""){
		alert("Please enter your first name.");
		that.first_name.focus();
		return false;
	} else if(that.last_name.value==""){
		alert("Please enter your last name.");
		that.last_name.focus();
		return false;
	} else if(that.city.value==""){
		alert("Please enter your city.");
		that.city.focus();
		return false;
	} else if(that.state.value==""){
		alert("Please enter your state.");
		that.state.focus();
		return false;
	} else if(that.zipcode.value==""){
		alert("Please enter your zipcode.");
		that.zipcode.focus();
		return false;
	} else if(that.country.value==""){
		alert("Please enter your country.");
		that.country.focus();
		return false;
	} else if((that.email_list[0].checked==false) && (that.email_list[1].checked==false)){
		alert("Do you want to be added to our email list?");
		that.email_list[0].focus();
		return false;
	}
}
