 function OnSub()
{

        t=document.getElementById('name');
        if (t.value=="")
        {
                alert('Please, enter Full Name');
                t.focus();
                return false;
        }
        t=document.getElementById('textarea');
        if (t.value=="")
        {
                alert('Please, enter Last Name');
                t.focus();
                return false;
        }
        var str = new String();
        var res = null;
        var pattern = /\w+@\w+(.\w+)+/;
        str = document.getElementById('email').value;
        res = str.match(pattern);
        if(res == null)
        {
                alert('Not correct E-mail entered, please come back and check the spelling, and afterwards, try again.');
                document.getElementById('email').focus();
                return false;
        }
        if (t.value=="")
        {
                alert('Please, enter your Email');
                t.focus();
                return false;
        }


}