Your code has what appears to be a C-style field declaration of the form Type identifier. To declare a field in JScript, use the var identifier : Type syntax.
To correct this error
-
Declare fields using the
var identifier : Typesyntax.
See Also
Reference
var StatementConcepts
Other Resources
JScript ReferenceClass-based Objects
Ajax toolkit
Ajax website