var CoachNameService=function() {
CoachNameService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
CoachNameService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return CoachNameService._staticInstance.get_path();},
GetCoachNames:function(prefixText,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCoachNames',false,{prefixText:prefixText},succeededCallback,failedCallback,userContext); },
IsCoachValid:function(enteredText,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'IsCoachValid',false,{enteredText:enteredText},succeededCallback,failedCallback,userContext); }}
CoachNameService.registerClass('CoachNameService',Sys.Net.WebServiceProxy);
CoachNameService._staticInstance = new CoachNameService();
CoachNameService.set_path = function(value) { CoachNameService._staticInstance.set_path(value); }
CoachNameService.get_path = function() { return CoachNameService._staticInstance.get_path(); }
CoachNameService.set_timeout = function(value) { CoachNameService._staticInstance.set_timeout(value); }
CoachNameService.get_timeout = function() { return CoachNameService._staticInstance.get_timeout(); }
CoachNameService.set_defaultUserContext = function(value) { CoachNameService._staticInstance.set_defaultUserContext(value); }
CoachNameService.get_defaultUserContext = function() { return CoachNameService._staticInstance.get_defaultUserContext(); }
CoachNameService.set_defaultSucceededCallback = function(value) { CoachNameService._staticInstance.set_defaultSucceededCallback(value); }
CoachNameService.get_defaultSucceededCallback = function() { return CoachNameService._staticInstance.get_defaultSucceededCallback(); }
CoachNameService.set_defaultFailedCallback = function(value) { CoachNameService._staticInstance.set_defaultFailedCallback(value); }
CoachNameService.get_defaultFailedCallback = function() { return CoachNameService._staticInstance.get_defaultFailedCallback(); }
CoachNameService.set_path("/AutoCompleteService/CoachNameService.asmx");
CoachNameService.GetCoachNames= function(prefixText,onSuccess,onFailed,userContext) {CoachNameService._staticInstance.GetCoachNames(prefixText,onSuccess,onFailed,userContext); }
CoachNameService.IsCoachValid= function(enteredText,onSuccess,onFailed,userContext) {CoachNameService._staticInstance.IsCoachValid(enteredText,onSuccess,onFailed,userContext); }
