Type.registerNamespace('HRDB.webservices');
HRDB.webservices.persontypeahead=function() {
HRDB.webservices.persontypeahead.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
HRDB.webservices.persontypeahead.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return HRDB.webservices.persontypeahead._staticInstance.get_path();},
GetPersons:function(typeValue,pguid,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPersons',false,{typeValue:typeValue,pguid:pguid},succeededCallback,failedCallback,userContext); },
GetHeights:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetHeights',false,{},succeededCallback,failedCallback,userContext); }}
HRDB.webservices.persontypeahead.registerClass('HRDB.webservices.persontypeahead',Sys.Net.WebServiceProxy);
HRDB.webservices.persontypeahead._staticInstance = new HRDB.webservices.persontypeahead();
HRDB.webservices.persontypeahead.set_path = function(value) { HRDB.webservices.persontypeahead._staticInstance.set_path(value); }
HRDB.webservices.persontypeahead.get_path = function() { return HRDB.webservices.persontypeahead._staticInstance.get_path(); }
HRDB.webservices.persontypeahead.set_timeout = function(value) { HRDB.webservices.persontypeahead._staticInstance.set_timeout(value); }
HRDB.webservices.persontypeahead.get_timeout = function() { return HRDB.webservices.persontypeahead._staticInstance.get_timeout(); }
HRDB.webservices.persontypeahead.set_defaultUserContext = function(value) { HRDB.webservices.persontypeahead._staticInstance.set_defaultUserContext(value); }
HRDB.webservices.persontypeahead.get_defaultUserContext = function() { return HRDB.webservices.persontypeahead._staticInstance.get_defaultUserContext(); }
HRDB.webservices.persontypeahead.set_defaultSucceededCallback = function(value) { HRDB.webservices.persontypeahead._staticInstance.set_defaultSucceededCallback(value); }
HRDB.webservices.persontypeahead.get_defaultSucceededCallback = function() { return HRDB.webservices.persontypeahead._staticInstance.get_defaultSucceededCallback(); }
HRDB.webservices.persontypeahead.set_defaultFailedCallback = function(value) { HRDB.webservices.persontypeahead._staticInstance.set_defaultFailedCallback(value); }
HRDB.webservices.persontypeahead.get_defaultFailedCallback = function() { return HRDB.webservices.persontypeahead._staticInstance.get_defaultFailedCallback(); }
HRDB.webservices.persontypeahead.set_path("/webservices/persontypeahead.asmx");
HRDB.webservices.persontypeahead.GetPersons= function(typeValue,pguid,onSuccess,onFailed,userContext) {HRDB.webservices.persontypeahead._staticInstance.GetPersons(typeValue,pguid,onSuccess,onFailed,userContext); }
HRDB.webservices.persontypeahead.GetHeights= function(onSuccess,onFailed,userContext) {HRDB.webservices.persontypeahead._staticInstance.GetHeights(onSuccess,onFailed,userContext); }

