function validate(oForm){
 var name1  = oForm["cname"].value,
     name2 = oForm["suburb"].value;
 var buf=[], i=0, p=function(s){buf[buf.length]=(++i)+" - "+s;};

 if(!(/^[A-Za-z ]+$/i).test(name1))
  p("O campo NOME soh poderah ser preenchido com letras e espacos.");

 if(!(/^[A-Za-z ]+$/i).test(name2))
  p("O campo BAIRRO soh poderah ser preenchido com letras e espacos.");

 return buf.length ? (alert(buf.join("\n")),false) : true;
}

function validate2(oForm){
 var name1  = oForm["cname"].value,
     name2 = oForm["suburb"].value;
 var buf=[], i=0, p=function(s){buf[buf.length]=(++i)+" - "+s;};

 if(!(/^[A-Za-z ]+$/i).test(name1))
  p("NAME must be made of alpha chars and spaces only.");

 if(!(/^[A-Za-z ]+$/i).test(name2))
  p("SUBURB must be made of alpha chars and spaces only.");

 return buf.length ? (alert(buf.join("\n")),false) : true;
}

function validate3(oForm){
 var name1  = oForm["cname"].value,
     name2 = oForm["city"].value;
 var buf=[], i=0, p=function(s){buf[buf.length]=(++i)+" - "+s;};

 if(!(/^[A-Za-z ]+$/i).test(name1))
  p("NAME must be made of alpha chars and spaces only.");

 if(!(/^[A-Za-z ]+$/i).test(name2))
  p("CITY must be made of alpha chars and spaces only.");

 return buf.length ? (alert(buf.join("\n")),false) : true;
}