//used in conjunction with genForm.js
var validationSet = {
		'gen': {
			'genError': 'Please check the content you have entered.'
		},
		'Name': {
			'emptyError': 'Please provide a contact name'
		},
		'Email': {
			'emptyError': 'Please provide a contact email address',
			'invalidError': 'Please enter a valid email address'
		}
	};

//sets up pass variable. Do not remove.
var pass;

function checkForm(myform){
	//sets pass variable to true. Do not remove.
	pass = true;
	
	//Call a function for each field
	notEmpty('Name');
	notEmpty('Email');
	
	checkEmail('Email');
	
	
	if(!pass){
		failed();
		return false
	}
}

