var EsfService=function() {
EsfService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
EsfService.prototype={
getChildArea:function(fatherID,succeededCallback, failedCallback, userContext) {
return this._invoke(EsfService.get_path(), 'getChildArea',false,{fatherID:fatherID},succeededCallback,failedCallback,userContext); }}
EsfService.registerClass('EsfService',Sys.Net.WebServiceProxy);
EsfService._staticInstance = new EsfService();
EsfService.set_path = function(value) { EsfService._staticInstance._path = value; }
EsfService.get_path = function() { return EsfService._staticInstance._path; }
EsfService.set_timeout = function(value) { EsfService._staticInstance._timeout = value; }
EsfService.get_timeout = function() { return EsfService._staticInstance._timeout; }
EsfService.set_defaultUserContext = function(value) { EsfService._staticInstance._userContext = value; }
EsfService.get_defaultUserContext = function() { return EsfService._staticInstance._userContext; }
EsfService.set_defaultSucceededCallback = function(value) { EsfService._staticInstance._succeeded = value; }
EsfService.get_defaultSucceededCallback = function() { return EsfService._staticInstance._succeeded; }
EsfService.set_defaultFailedCallback = function(value) { EsfService._staticInstance._failed = value; }
EsfService.get_defaultFailedCallback = function() { return EsfService._staticInstance._failed; }
EsfService.set_path("/esf/EsfService.asmx");
EsfService.getChildArea= function(fatherID,onSuccess,onFailed,userContext) {EsfService._staticInstance.getChildArea(fatherID,onSuccess,onFailed,userContext); }

