Type.registerNamespace('AfterPageLoad');
AfterPageLoad.WebService=function() {
AfterPageLoad.WebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
AfterPageLoad.WebService.prototype={
GetFastAds:function(strSearch,succeededCallback, failedCallback, userContext) {
return this._invoke(AfterPageLoad.WebService.get_path(), 'GetFastAds',false,{strSearch:strSearch},succeededCallback,failedCallback,userContext); },
SearchCloud:function(intNumRows,strSearchType,intTypeId,succeededCallback, failedCallback, userContext) {
return this._invoke(AfterPageLoad.WebService.get_path(), 'SearchCloud',false,{intNumRows:intNumRows,strSearchType:strSearchType,intTypeId:intTypeId},succeededCallback,failedCallback,userContext); },
ResultMap:function(strIds,succeededCallback, failedCallback, userContext) {
return this._invoke(AfterPageLoad.WebService.get_path(), 'ResultMap',false,{strIds:strIds},succeededCallback,failedCallback,userContext); }}
AfterPageLoad.WebService.registerClass('AfterPageLoad.WebService',Sys.Net.WebServiceProxy);
AfterPageLoad.WebService._staticInstance = new AfterPageLoad.WebService();
AfterPageLoad.WebService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; AfterPageLoad.WebService._staticInstance._path = value; }
AfterPageLoad.WebService.get_path = function() { return AfterPageLoad.WebService._staticInstance._path; }
AfterPageLoad.WebService.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); }
AfterPageLoad.WebService._staticInstance._timeout = value; }
AfterPageLoad.WebService.get_timeout = function() { 
return AfterPageLoad.WebService._staticInstance._timeout; }
AfterPageLoad.WebService.set_defaultUserContext = function(value) { 
AfterPageLoad.WebService._staticInstance._userContext = value; }
AfterPageLoad.WebService.get_defaultUserContext = function() { 
return AfterPageLoad.WebService._staticInstance._userContext; }
AfterPageLoad.WebService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; AfterPageLoad.WebService._staticInstance._succeeded = value; }
AfterPageLoad.WebService.get_defaultSucceededCallback = function() { 
return AfterPageLoad.WebService._staticInstance._succeeded; }
AfterPageLoad.WebService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; AfterPageLoad.WebService._staticInstance._failed = value; }
AfterPageLoad.WebService.get_defaultFailedCallback = function() { 
return AfterPageLoad.WebService._staticInstance._failed; }
AfterPageLoad.WebService.set_path("/WebService/WSAfterPageLoad.asmx");
AfterPageLoad.WebService.GetFastAds= function(strSearch,onSuccess,onFailed,userContext) {AfterPageLoad.WebService._staticInstance.GetFastAds(strSearch,onSuccess,onFailed,userContext); }
AfterPageLoad.WebService.SearchCloud= function(intNumRows,strSearchType,intTypeId,onSuccess,onFailed,userContext) {AfterPageLoad.WebService._staticInstance.SearchCloud(intNumRows,strSearchType,intTypeId,onSuccess,onFailed,userContext); }
AfterPageLoad.WebService.ResultMap= function(strIds,onSuccess,onFailed,userContext) {AfterPageLoad.WebService._staticInstance.ResultMap(strIds,onSuccess,onFailed,userContext); }
