//<!--

    function checkEmail(txtCtrl) {
      if (checkRequiredText(txtCtrl, 'email address') == false) {                	//email blank?
				return false; //return false
			}

			var atFound = txtCtrl.value.indexOf("@"); //find @, starting at beginning
			if (atFound == -1) { //if no @ found
				alert("Please enter a valid email address with an @");
				txtCtrl.focus();
				return false;
			}
			var domainFound = txtCtrl.value.indexOf(".", atFound);
			if (domainFound == -1) { //check for . starting at @
				alert("Please enter a valid email domain");
				txtCtrl.focus();
				return false;
			}else if(txtCtrl.value.length < (domainFound + 3)) {
				alert("Please enter a valid email domain");
				txtCtrl.focus();
				return false;
			}
	}

	function checkRequiredText(txtCtrl, entity) {
      if (txtCtrl.value == '') { //entity blank?
        alert('Please enter your '+ entity);
        txtCtrl.focus();
        return false;	//message and return false
      }
	}

	function checkRequiredCombo(cmbCtrl, entity) {
      if (cmbCtrl.options[cmbCtrl.selectedIndex].value == '') { //entity blank?
        alert('Please select a '+ entity);
        cmbCtrl.focus();
        return false;	//message and return false
      }
	}

//-->