function validateForm(AForm)
{
    reg = /^[a-zA-Z0-9±æê³ñó¶¿¼¡ÆÊ£ÑÓ¦¯¬]{1,30}@[a-zA-Z0-9±æê³ñó¶¿¼¡ÆÊ£ÑÓ¦¯¬]+(\.[a-zA-Z0-9±æê³ñó¶¿¼¡ÆÊ£ÑÓ¦¯¬]+)+$/;
    wyn = AForm.mailx.value.match(reg);
    if (wyn == null) {
        alert("Proszê podaæ poprawny adres email. ");
        return false;
    };

        return true;

}