// check to make sure the user selects one choice to forward the form to	
function checkForm() {
	var rad_select = "no";
	var error_string = "";
	
	// check text fields
	if(document.the_form.sender.value == "") {
		error_string += "You need to include your name\n";
		}				
	if(document.the_form.email.value == "") {
		error_string += "You need to include a valid email address\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 sender's E-Mail Address is not quite correct.\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;
		}
	}
