Microsoft VBScript runtime error '800a000d'

Type mismatch: 'CInt'

/capital-cities-badges-1-pound-coins/coin.asp, line 22