function validateForm (strActionType) {

	var strError		= '';
	var intErrorFound	= false;
	
	switch (strActionType.toLowerCase()) {
		case "contact" :
			var strName		= document.forms.frmContact.strName;
			var strPhone	= document.forms.frmContact.strPhone;

			if (!validateField(strName, TYPE_TEXT)) {
				intErrorFound	= true;
				strError		+= ' - Please enter your name.\n';
			}

			if (!validateField(strPhone, TYPE_TEXT)) {
				intErrorFound	= true;
				strError		+= ' - Please enter your phone number.\n';
			}

			break;
	}
	
	if (intErrorFound) {
		alert(STANDARD_ERROR + strError);
		return false;
	} else {
		return true;
	}
	
}