function validate(f) {
	var bErrorFound = false;
	var strErrorMsg = 'Please correct the following problems:\n'

	if (f.vName.value.replace(/\s*/g,'').length == 0) {
		strErrorMsg = strErrorMsg + '\n - Name is required';
		bErrorFound = true;
	}

	if (f.vEmail.value.replace(/\s*/g,'').length == 0 && f.vPhone.value.replace(/\s*/g,'').length == 0) {
		strErrorMsg = strErrorMsg + '\n - Email or Phone is required';
		bErrorFound = true;
	}
	
	if (f.vEmail.value.replace(/\s*/g,'').length > 0 && !verifyEmail(f.vEmail.value)) {
		strErrorMsg = strErrorMsg + '\n - Email must be a valid address';
		bErrorFound = true;
	}	

	if (f.vEmailTo.selectedIndex == 0) {
		strErrorMsg = strErrorMsg + '\n - Send To is required';
		bErrorFound = true;

	}

	if (f.tComments.value.replace(/\s*/g,'').length == 0) {
		strErrorMsg = strErrorMsg + '\n - Your Comments are required';
		bErrorFound = true;
	}

	if (bErrorFound == true) {
		alert(strErrorMsg);
		return false;
	} else {	
		return true;
	}
}