- if (_global.$sfApplicationClass == undefined) {
- _global.$sfApplicationClass = function() {};
- var p = _global.$sfApplicationClass.prototype;
- // Exits the program.
- p.exit = function() {
- fscommand("sfApplication.exit");
- }
- delete p;
- // Create an instance of the sfApplication class for use
- _global.sfApplication = new _global.$sfApplicationClass();
- }