Microsoft VBScript runtime error '800a000d'

Type mismatch: 'Capitalize'

/encontrar.asp, line 22