In VBScript, use Err.Raise. In JScript, use throw
_________________________
Technical Product Manager
I don't want to achieve immortality through my work; I want to achieve immortality through not dying - Woody Allen