var ProfileAutoSuggest=function() {
ProfileAutoSuggest.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ProfileAutoSuggest.prototype={
GetSearchSuggestions:function(searchType,searchText,succeededCallback, failedCallback, userContext) {
return this._invoke(ProfileAutoSuggest.get_path(), 'GetSearchSuggestions',false,{searchType:searchType,searchText:searchText},succeededCallback,failedCallback,userContext); },
BuildSchoolSuggestions:function(searchText,stateCode,succeededCallback, failedCallback, userContext) {
return this._invoke(ProfileAutoSuggest.get_path(), 'BuildSchoolSuggestions',false,{searchText:searchText,stateCode:stateCode},succeededCallback,failedCallback,userContext); },
SetInheritingSchool:function(oldSchoolKey,newSchoolKey,succeededCallback, failedCallback, userContext) {
return this._invoke(ProfileAutoSuggest.get_path(), 'SetInheritingSchool',false,{oldSchoolKey:oldSchoolKey,newSchoolKey:newSchoolKey},succeededCallback,failedCallback,userContext); }}
ProfileAutoSuggest.registerClass('ProfileAutoSuggest',Sys.Net.WebServiceProxy);
ProfileAutoSuggest._staticInstance = new ProfileAutoSuggest();
ProfileAutoSuggest.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; ProfileAutoSuggest._staticInstance._path = value; }
ProfileAutoSuggest.get_path = function() { return ProfileAutoSuggest._staticInstance._path; }
ProfileAutoSuggest.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
ProfileAutoSuggest._staticInstance._timeout = value; }
ProfileAutoSuggest.get_timeout = function() { 
return ProfileAutoSuggest._staticInstance._timeout; }
ProfileAutoSuggest.set_defaultUserContext = function(value) { 
ProfileAutoSuggest._staticInstance._userContext = value; }
ProfileAutoSuggest.get_defaultUserContext = function() { 
return ProfileAutoSuggest._staticInstance._userContext; }
ProfileAutoSuggest.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; ProfileAutoSuggest._staticInstance._succeeded = value; }
ProfileAutoSuggest.get_defaultSucceededCallback = function() { 
return ProfileAutoSuggest._staticInstance._succeeded; }
ProfileAutoSuggest.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; ProfileAutoSuggest._staticInstance._failed = value; }
ProfileAutoSuggest.get_defaultFailedCallback = function() { 
return ProfileAutoSuggest._staticInstance._failed; }
ProfileAutoSuggest.set_path("/usercontrols/ProfileAutoSuggest.asmx");
ProfileAutoSuggest.GetSearchSuggestions= function(searchType,searchText,onSuccess,onFailed,userContext) {ProfileAutoSuggest._staticInstance.GetSearchSuggestions(searchType,searchText,onSuccess,onFailed,userContext); }
ProfileAutoSuggest.BuildSchoolSuggestions= function(searchText,stateCode,onSuccess,onFailed,userContext) {ProfileAutoSuggest._staticInstance.BuildSchoolSuggestions(searchText,stateCode,onSuccess,onFailed,userContext); }
ProfileAutoSuggest.SetInheritingSchool= function(oldSchoolKey,newSchoolKey,onSuccess,onFailed,userContext) {ProfileAutoSuggest._staticInstance.SetInheritingSchool(oldSchoolKey,newSchoolKey,onSuccess,onFailed,userContext); }
