
//Verify textarea

function verify_txtarea(strng) 
{
 var error = "";
 var legalChars= /[^A-z\s]/;
 if (strng.length == 0)
  {
  error = "You entered nothing to glitter.\n";
  }
 else if (strng.match(/[^ a-zA-Z]/))
  {
  error = "Text contains illegal characters.";
  }
  return error;
}

