var validationFuncs = {
	checkBox: function(elm) {
		if(document.getElementById('terms').checked) {
			return true;
		} else {
			return false;
		}
	}
}

function getFunc(func, elm) {
	if(func=='checkBox') { 	
		return validationFuncs.checkBox();
	}
							
}