

            function Blank_TextField_Validator()

            {

            // Check the value of the element named text_name

            // from the form named text_form

            if (GoogleSearch.q.value == "")

            {

                        // If null display and alert box

                        alert("Please enter a search term.");

                        // Place the cursor on the field for revision

                        GoogleSearch.q.focus();

                        // return false to stop further processing

                        return;

            }

            // If text_name is not null continue processing

            document.GoogleSearch.submit();                       

            }

          