Microsoft VBScript runtime error '800a0005'

Invalid procedure call or argument: 'chr'

C:\WEBHOSTING\DATA\SEARCH\../inc/Function.asp, line 114