function frmValidate() {
	if (checkFName() == false)
		return false;	
	if (checkLName() == false)
		return false;	
	if (checkPhone() == false)
		return false;
	if (checkEmail() == false)
		return false;
	if (checkChanllengeKey() == false)
		return false;
}

function checkFName() {
	if (document.frmContactUs.txtFName.value == '') {
		alert("Please enter your first name.");
		document.frmContactUs.txtFName.focus();
		return false;
	}
}

function checkEmail() {
	if (document.frmContactUs.txtEmail.value == '') {
		alert("Please enter your Email address.");
		document.frmContactUs.txtEmail.focus();
		return false;
	}
}

function checkLName() {
	if (document.frmContactUs.txtLName.value == '') {
		alert("Please enter your last name.");
		document.frmContactUs.txtLName.focus();
		return false;
	}
}

function checkPhone() {
	if (document.frmContactUs.txtPhone.value == '') {
		alert("Please enter your telephone number.");
		document.frmContactUs.txtPhone.focus();
		return false;
	}
}

function checkComments() {
	if (document.frmContactUs.txtComments.value == '') {
		alert("Please enter your comments.");
		document.frmContactUs.txtComments.focus();
		return false;
	}
}

function checkChanllengeKey() {
	if (document.frmContactUs.txtChanllengeKey.value != document.frmContactUs.hidChanllengeKey.value) {
		alert("Invalid chanllenge key.\nPlease try again.");
		document.frmContactUs.txtChanllengeKey.focus();
		return false;
	}
}
