    function checkForm()
        {
            name = document.getElementById("name").value;
            email = document.getElementById("email").value;
            url = document.getElementById("url").value;
            comment = document.getElementById("comment").value;
            math = document.getElementById("math").value;
            
            if (name == "" || name == null)
                {
                alert ("Name field must be filled out\nنام را فراموش کرده‌اید");
                return false;
                }
                
            if (name.length > 30)
            {
                alert ("Name is too long\nنام وارد شده طولانی است");
                return false;
            }
                
            
            if (comment == "" || comment == null)
                {
                alert ("Comment field must be filled out\nنظر را فراموش کرده‌اید");
                return false;
                }
                
            if (comment.length > 400)
                {
                alert ("Comment is too long\nنظر نوشته شده طولانی است");
                return false;
                }
                
            if (math == "" || math == null)
                {
                alert ("You forgot doing math! 6 + 1 = ?\nجمع دو عدد شش و یک را فراموش کرده‌اید");
                return false;
                }
            
            if (math != 7)
                {
                alert ("Calculation of 6 + 1 is not correct.\nجمع دو عدد شش و یک اشتباه است");
                return false;
                }
            
            return true;
            
        }
