if(typeof ttrj == "undefined") ttrj={};
if(typeof ttrj.Components == "undefined") ttrj.Components={};
if(typeof ttrj.Components.BranchManager == "undefined") ttrj.Components.BranchManager={};
ttrj.Components.BranchManager_class = function() {};
Object.extend(ttrj.Components.BranchManager_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetBranch: function(id) {
		return this.invoke("GetBranch", {"id":id}, this.GetBranch.getArguments().slice(1));
	},
	GetBranchs: function() {
		return this.invoke("GetBranchs", {}, this.GetBranchs.getArguments().slice(0));
	},
	GetBranchRoomType: function(storeid) {
		return this.invoke("GetBranchRoomType", {"storeid":storeid}, this.GetBranchRoomType.getArguments().slice(1));
	},
	SearchBranch: function(regional, city, pageindex, pagesize, totalcount) {
		return this.invoke("SearchBranch", {"regional":regional, "city":city, "pageindex":pageindex, "pagesize":pagesize, "totalcount":totalcount}, this.SearchBranch.getArguments().slice(5));
	},
	GetCityBranch: function(regional, city) {
		return this.invoke("GetCityBranch", {"regional":regional, "city":city}, this.GetCityBranch.getArguments().slice(2));
	},
	url: '/ajaxpro/ttrj.Components.BranchManager,ttrj.Components.ashx'
}));
ttrj.Components.BranchManager = new ttrj.Components.BranchManager_class();

