function checkemail()
{
        check = document.newlist.email.value;
        noat = 0; spacein = 0; comma = 0; lastat = 0;
        if (check.indexOf("@") == -1) noat = 1;
        if (check.indexOf(" ") != -1) spacein = 1;
        if (check.indexOf(",") != -1) comma = 1;
        if (check.indexOf("@") == (check.length - 1)) lastat = 1;
        if (noat || spacein || comma || lastat) {
                                        alert("The specified e-mail address is not correct!\nA megadott e-mail cím hibát tartalmaz");
                                        return false;
        }
        else return true;
}

