function validateForm()
{
	trimFields();
	if(obj.txtFirstName.value == "")
	{
		alert("Please enter your First Name.");
		obj.txtFirstName.focus();
		return false;
	}
	if(obj.txtLastName.value == "")
	{
		alert("Please enter your Last Name.");
		obj.txtLastName.focus();
		return false;
	}
	if(obj.txtEmail.value == "")
	{
		alert("Please enter your Email Address.");
		obj.txtEmail.focus();
		return false;
	}
	if(!chkEmail(obj.txtEmail.value))
	{
		alert("The Email Address appears to be invalid!\nPlease review and correct it.");
		obj.txtEmail.focus();
		obj.txtEmail.select();
		return false;
	}
	if(obj.txtFeedback.value == "")
	{
		alert("Please enter your feedback.");
		obj.txtFeedback.focus();
		return false;
	}
	//All fine?
	return true;
}

//Confirms Cancel Action
function confirmCancel()
{
	if(confirm("Are you sure you don't want to submit your feedback?"))
	{
		return true;
	}
	return false;
}
