// check to make sure the user selects one choice to forward the form to	
function checkFinal() {
	var rad_select = "no";
	var error_string = "";
	
	// check text fields
	if(document.the_form.product.value == "") {
		error_string += " the product name.\n";
		}	
	if(document.the_form.model.value == "") {
		error_string += " the model name.\n";
		}			
	if(document.the_form.serial_num.value == "") {
		error_string += " the serial number.\n";
		}			
	if(document.the_form.owners_name.value == "") {
		error_string += " the owner's name.\n";
		}
	if(document.the_form.address.value == "") {
		error_string += " the owner's address.\n";
		}		
	if(document.the_form.city.value == "") {
		error_string += " the owner's city.\n";
		}			
	if(document.the_form.state.value == "") {
		error_string += " the owner's state.\n";
		}				
	if(document.the_form.zip.value == "") {
		error_string += " the owner's zip code.\n";
		}				
	if(document.the_form.email.value == "") {
		error_string += " the owner's email adr.\n";
		}							
	if(!document.the_form.email.value == "") {
		var str=document.the_form.email.value
		var filter=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i
		if (filter.test(str)) {
			error_string == "";
			}
		else {
			error_string += "The owner's E-Mail Address is not quite correct.\n";
			}
		}
	if(document.the_form.install_name.value == "") {
		error_string += " the installer's name.\n";
		}
		
	if(error_string == "") {
		return true;
		}
	else {
		error_string = "We found the following omissions in your form\nYou must include:\n\n" + error_string;
		alert(error_string);
		return false;
		}
	}