<!--
// Last update (2005.01.06)
// Check for required info
// Validate input box for a-z and A-Z
function validate(inobj,pattern) {
   template = new RegExp( pattern )
   if (! template.test(inobj.value))
      {
      return true;
      }
   else
      {
      // Failed
      inobj.focus()
      return false;
      }
 }
// Comments view with authorisation
function checkEmptyCommentsAuth() {
   var forma = null;
   if (document.comment_insert.comment_text.value == " Komentaro tekstas ...") {alert("Prašome nurodyti komentaro tekstą! (Iki 300 simbolių)"); return false;}
   return true;
 }
// -->
