Microsoft VBScript runtime error '800a000d'

Type mismatch: '[string: "em"]'

/genealogia-mineira/restrita/funcoes.inc, line 1521