var Search=function() {
Search.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Search.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Search._staticInstance.get_path();},
DoUserSearch:function(searchString,rowCount,offSet,txtClientId,succeededCallback, failedCallback, userContext) {
/// <param name="searchString" type="String">System.String</param>
/// <param name="rowCount" type="Number">System.Int32</param>
/// <param name="offSet" type="Number">System.Int32</param>
/// <param name="txtClientId" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'DoUserSearch',false,{searchString:searchString,rowCount:rowCount,offSet:offSet,txtClientId:txtClientId},succeededCallback,failedCallback,userContext); }}
Search.registerClass('Search',Sys.Net.WebServiceProxy);
Search._staticInstance = new Search();
Search.set_path = function(value) {
Search._staticInstance.set_path(value); }
Search.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return Search._staticInstance.get_path();}
Search.set_timeout = function(value) {
Search._staticInstance.set_timeout(value); }
Search.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return Search._staticInstance.get_timeout(); }
Search.set_defaultUserContext = function(value) { 
Search._staticInstance.set_defaultUserContext(value); }
Search.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return Search._staticInstance.get_defaultUserContext(); }
Search.set_defaultSucceededCallback = function(value) { 
 Search._staticInstance.set_defaultSucceededCallback(value); }
Search.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return Search._staticInstance.get_defaultSucceededCallback(); }
Search.set_defaultFailedCallback = function(value) { 
Search._staticInstance.set_defaultFailedCallback(value); }
Search.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return Search._staticInstance.get_defaultFailedCallback(); }
Search.set_path("/WebServices/Search.asmx");
Search.DoUserSearch= function(searchString,rowCount,offSet,txtClientId,onSuccess,onFailed,userContext) {
/// <param name="searchString" type="String">System.String</param>
/// <param name="rowCount" type="Number">System.Int32</param>
/// <param name="offSet" type="Number">System.Int32</param>
/// <param name="txtClientId" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
Search._staticInstance.DoUserSearch(searchString,rowCount,offSet,txtClientId,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(ScriptUserSearch) === 'undefined') {
var ScriptUserSearch=gtc("ScriptUserSearch");
ScriptUserSearch.registerClass('ScriptUserSearch');
}
