You attempted to create a conditionally compiled block of code, but did not include the @end statement at the end. JScript statements can be conditionally compiled by enclosing them within an @if/@end block.
To correct this error
Add the corresponding @end statement.