if(typeof Maklarhuset == "undefined") Maklarhuset={};
if(typeof Maklarhuset.Web == "undefined") Maklarhuset.Web={};
if(typeof Maklarhuset.Web.ObjektSearchCommand == "undefined") Maklarhuset.Web.ObjektSearchCommand={};
Maklarhuset.Web.ObjektSearchCommand_class = function() {};
Object.extend(Maklarhuset.Web.ObjektSearchCommand_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetSearchResultByUrl: function(url) {
		return this.invoke("GetSearchResultByUrl", {"url":url}, this.GetSearchResultByUrl.getArguments().slice(1));
	},
	GetObjektDetails: function(objektId) {
		return this.invoke("GetObjektDetails", {"objektId":objektId}, this.GetObjektDetails.getArguments().slice(1));
	},
	GetSearchResult: function(searchCommand, url) {
		return this.invoke("GetSearchResult", {"searchCommand":searchCommand, "url":url}, this.GetSearchResult.getArguments().slice(2));
	},
	GetSearchDetailsByString: function(searchString) {
		return this.invoke("GetSearchDetailsByString", {"searchString":searchString}, this.GetSearchDetailsByString.getArguments().slice(1));
	},
	GetSearchDetailsByCommand: function(searchCommand) {
		return this.invoke("GetSearchDetailsByCommand", {"searchCommand":searchCommand}, this.GetSearchDetailsByCommand.getArguments().slice(1));
	},
	GetOffices: function() {
		return this.invoke("GetOffices", {}, this.GetOffices.getArguments().slice(0));
	},
	GetOfficesByObjekt: function(objektIds) {
		return this.invoke("GetOfficesByObjekt", {"objektIds":objektIds}, this.GetOfficesByObjekt.getArguments().slice(1));
	},
	GetBids: function(objektId, code) {
		return this.invoke("GetBids", {"objektId":objektId, "code":code}, this.GetBids.getArguments().slice(2));
	},
	url: '/ajaxpro/Maklarhuset.Web.ObjektSearchCommand,Maklarhuset.Web.ashx'
}));
Maklarhuset.Web.ObjektSearchCommand = new Maklarhuset.Web.ObjektSearchCommand_class();

