function validateEmailPhone()
{

	if (document.frmEmail.strPhone.value == "" && document.frmEmail.strEmail.value == "") {
		alert("Please enter a valid Phone number or E-mail address.");
		document.frmEmail.strPhone.focus();
		return false;
	}

	if (document.frmEmail.strPhone.value != "") {
		if (document.frmEmail.strPhone.value.length < 7) {
			alert("Please enter a valid Phone number.");
			document.frmEmail.strPhone.focus();
			return false;
		}
	}

	if (document.frmEmail.strEmail.value != "") {
		x = document.frmEmail.strEmail.value;
		if ((x.indexOf("@") < 2) || (x.indexOf(".") < 4))
		{
			alert("Please enter a valid E-mail address.");
			document.frmEmail.strEmail.focus();
			return false;
		}
	}


	return true;

}
