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();},
HandBillDetails:function(id,tag,zip,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'HandBillDetails',false,{id:id,tag:tag,zip:zip},succeededCallback,failedCallback,userContext); },
ShopDetails:function(id,s,wstd_id,window,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ShopDetails',false,{id:id,s:s,wstd_id:wstd_id,window:window},succeededCallback,failedCallback,userContext); },
GetWidgets:function(pid,cid,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetWidgets',false,{pid:pid,cid:cid},succeededCallback,failedCallback,userContext); },
GetCityList:function(prefixText,count,contextKey,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCityList',false,{prefixText:prefixText,count:count,contextKey:contextKey},succeededCallback,failedCallback,userContext); },
GetCompletionList:function(prefixText,count,contextKey,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCompletionList',false,{prefixText:prefixText,count:count,contextKey:contextKey},succeededCallback,failedCallback,userContext); },
DAP:function(id,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DAP',false,{id:id},succeededCallback,failedCallback,userContext); },
cDAP:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'cDAP',false,{},succeededCallback,failedCallback,userContext); },
GetCatTree:function(root,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCatTree',false,{root:root},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() { return Search._staticInstance.get_path(); }
Search.set_timeout = function(value) { Search._staticInstance.set_timeout(value); }
Search.get_timeout = function() { return Search._staticInstance.get_timeout(); }
Search.set_defaultUserContext = function(value) { Search._staticInstance.set_defaultUserContext(value); }
Search.get_defaultUserContext = function() { return Search._staticInstance.get_defaultUserContext(); }
Search.set_defaultSucceededCallback = function(value) { Search._staticInstance.set_defaultSucceededCallback(value); }
Search.get_defaultSucceededCallback = function() { return Search._staticInstance.get_defaultSucceededCallback(); }
Search.set_defaultFailedCallback = function(value) { Search._staticInstance.set_defaultFailedCallback(value); }
Search.get_defaultFailedCallback = function() { return Search._staticInstance.get_defaultFailedCallback(); }
Search.set_path("/Search.asmx");
Search.HandBillDetails= function(id,tag,zip,onSuccess,onFailed,userContext) {Search._staticInstance.HandBillDetails(id,tag,zip,onSuccess,onFailed,userContext); }
Search.ShopDetails= function(id,s,wstd_id,window,onSuccess,onFailed,userContext) {Search._staticInstance.ShopDetails(id,s,wstd_id,window,onSuccess,onFailed,userContext); }
Search.GetWidgets= function(pid,cid,onSuccess,onFailed,userContext) {Search._staticInstance.GetWidgets(pid,cid,onSuccess,onFailed,userContext); }
Search.GetCityList= function(prefixText,count,contextKey,onSuccess,onFailed,userContext) {Search._staticInstance.GetCityList(prefixText,count,contextKey,onSuccess,onFailed,userContext); }
Search.GetCompletionList= function(prefixText,count,contextKey,onSuccess,onFailed,userContext) {Search._staticInstance.GetCompletionList(prefixText,count,contextKey,onSuccess,onFailed,userContext); }
Search.DAP= function(id,onSuccess,onFailed,userContext) {Search._staticInstance.DAP(id,onSuccess,onFailed,userContext); }
Search.cDAP= function(onSuccess,onFailed,userContext) {Search._staticInstance.cDAP(onSuccess,onFailed,userContext); }
Search.GetCatTree= function(root,onSuccess,onFailed,userContext) {Search._staticInstance.GetCatTree(root,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(TheTreeNode) === 'undefined') {
var TheTreeNode=gtc("TheTreeNode");
TheTreeNode.registerClass('TheTreeNode');
}
