﻿function checkemail(txtEmail) {
    if (emptyField(txtEmail)) {
        alert('Please enter email.');
        txtEmail.focus();
        return false;
    }
    if (!validEmailId(txtEmail.value)) {
        alert('Please enter valid email');
        txtEmail.focus();
        return false;
    }   
}
