The code is attempting to access a static class member through a class instance. Static class members are associated with the class itself and cannot be accessed from a class instance; they must be accessed directly with the class name as the qualifier.
To correct this error
-
Make sure that static members are accessed with the class name.
See Also
Reference
static ModifierConcepts
Other Resources
JScript ReferenceClass-based Objects