﻿// File JScript
function checkForm(frm){
  
var pattern;
pattern = /^([a-zA-Z0-9\.\_\-\,\!\?\:\@])+$/;
  
if(!checkPatternChars('nome',frm.nome.value,pattern,true))
  {
   frm.nome.focus();
   return false;
  }
  
if(!checkPatternChars('commento',frm.commento.value,pattern,true))
  {
   frm.commento.focus();
   return false;
  }
  
return true;
  
  }


