function emailCheck(emailStr){
            if (emailStr.search(/^/w+((-/w+)|(/./w+))*/@[A-Za-z0-9]+((/.|-)[A-Za-z0-9]+)*/.[A-Za-z0-9]+$/)!= -1) {
                return true;
            }
            else {
                return false;
            }