Microsoft VBScript runtime error '800a0009'

Subscript out of range: '[number: -2]'

/shop/rewrite.asp, line 50