//useridrecovery.asp
//This script is used to proper email entry
function checkEntries(theForm)
{
//validating email entry	
	if (theForm.txtEmail.value == "")
  	{
            alert('You must enter an e-mail address!.');
	    theForm.txtEmail.focus();
            return false;   
	}

  	//validating proper email entry
	if ((theForm.txtEmail.value.indexOf ('@',0) == -1 ||
   	theForm.txtEmail.value.indexOf ('.',0) == -1) &&
   	theForm.txtEmail.value != "")
  	{
    	    alert('Please verify that your E-mail address is valid.');
  	
	    theForm.txtEmail.focus();
            return false;
	}
return true;
}

