// JavaScript Document

function verifyEmail(checkEmail) {
	if ((checkEmail.indexOf('@') < 0) || ((checkEmail.charAt(checkEmail.length-4) != '.') && (checkEmail.charAt(checkEmail.length-3) != '.')))
	{
		return false;
	} 
	else 
	{
		return true;
	}
}
		
		
function validEmail(email) {
   AtPos = email.indexOf("@")
   StopPos = email.lastIndexOf(".")
   Message = ""

   if ( (email == "") || 
        (AtPos == -1 || StopPos == -1) ||
        (StopPos < AtPos) ||
        (StopPos - AtPos == 1) )
      return false;
   else
      return true;
}
		
function IsEmpty(aTextField) {
   if ((aTextField.value.length==0) || (aTextField.value==null)) {
	  return true;
   }
   else 
   { 
	return false; 
	}
}

