 function checkFields() {
		missinginfo = "";

		if ((document.theForm.Email.value == "") || 
			(document.theForm.Email.value.indexOf('@') == -1) || 
			(document.theForm.Email.value.indexOf('.') == -1)) {
			missinginfo += "\n -Email Address is not valid.";
		}

		if(document.theForm.DaytimePhoneNumber.value == "") {
			missinginfo += "\n -Daytime Phone Number is blank.";
		}
		
		if (missinginfo != "") {
			missinginfo ="_____________________________\n" +
			"Please correct the following errors:\n" + missinginfo;
			alert(missinginfo);
			return false;
		}
		else return true;
		}

function checkFieldsWholesale() {
		missinginfo = "";

		if ((document.theForm.Email.value == "") || 
			(document.theForm.Email.value.indexOf('@') == -1) || 
			(document.theForm.Email.value.indexOf('.') == -1)) {
			missinginfo += "\n -Email Address is not valid.";
		}

		if(document.theForm.OfficePhone.value == "") {
			missinginfo += "\n -Office Phone is blank.";
		}
		
		if (missinginfo != "") {
			missinginfo ="_____________________________\n" +
			"Please correct the following errors:\n" + missinginfo;
			alert(missinginfo);
			return false;
		}
		else return true;
		}

function checkFieldsSubscribe() {
		missinginfo = "";

		if ((document.theForm.Email.value == "") || 
			(document.theForm.Email.value.indexOf('@') == -1) || 
			(document.theForm.Email.value.indexOf('.') == -1)) {
			missinginfo += "\n -Email Address is not valid.";
		}

		if (missinginfo != "") {
			missinginfo ="_____________________________\n" +
			"Please correct the following errors:\n" + missinginfo;
			alert(missinginfo);
			return false;
		}
		else return true;
		}