Microsoft VBScript runtime error '800a0005'

Invalid procedure call or argument: 'Left'

C:\WEBSITES\TRENTA\LAYOUTS\../scripts/template_functions.asp, line 961