if(typeof Adecco == "undefined") Adecco={};
if(typeof Adecco.SharePoint == "undefined") Adecco.SharePoint={};
if(typeof Adecco.SharePoint.Branches == "undefined") Adecco.SharePoint.Branches={};
if(typeof Adecco.SharePoint.Branches.WebServices == "undefined") Adecco.SharePoint.Branches.WebServices={};
if(typeof Adecco.SharePoint.Branches.WebServices.WSBranches_class == "undefined") Adecco.SharePoint.Branches.WebServices.WSBranches_class={};
Adecco.SharePoint.Branches.WebServices.WSBranches_class = function() {};
Object.extend(Adecco.SharePoint.Branches.WebServices.WSBranches_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	SearchBranches: function(searchCriteria, listName, urlSite, contactsListName) {
		return this.invoke("SearchBranches", {"searchCriteria":searchCriteria, "listName":listName, "urlSite":urlSite, "contactsListName":contactsListName}, this.SearchBranches.getArguments().slice(4));
	},
	GetContactFromBranch: function(idBranch, urlSite, listName) {
		return this.invoke("GetContactFromBranch", {"idBranch":idBranch, "urlSite":urlSite, "listName":listName}, this.GetContactFromBranch.getArguments().slice(3));
	},
	GetCountries: function(urlSite, listName) {
		return this.invoke("GetCountries", {"urlSite":urlSite, "listName":listName}, this.GetCountries.getArguments().slice(2));
	},
	GetProvinceListForCountry: function(countryId, urlSite, listName) {
		return this.invoke("GetProvinceListForCountry", {"countryId":countryId, "urlSite":urlSite, "listName":listName}, this.GetProvinceListForCountry.getArguments().slice(3));
	},
	GetDivisions: function(urlSite, listName) {
		return this.invoke("GetDivisions", {"urlSite":urlSite, "listName":listName}, this.GetDivisions.getArguments().slice(2));
	},
	GetBranchMarkers: function(siteCollectionUrl, branchesListName, provincesListName, countriesListName) {
		return this.invoke("GetBranchMarkers", {"siteCollectionUrl":siteCollectionUrl, "branchesListName":branchesListName, "provincesListName":provincesListName, "countriesListName":countriesListName}, this.GetBranchMarkers.getArguments().slice(4));
	},
	GetBranchesById: function(siteCollectionUrl, branchesListName, listOfIds) {
		return this.invoke("GetBranchesById", {"siteCollectionUrl":siteCollectionUrl, "branchesListName":branchesListName, "listOfIds":listOfIds}, this.GetBranchesById.getArguments().slice(3));
	},
	url: '/ajaxpro/Adecco.SharePoint.Branches.WebServices.WSBranches,Adecco.SharePoint.Branches.WebServices.ashx'
}));
Adecco.SharePoint.Branches.WebServices.WSBranches = new Adecco.SharePoint.Branches.WebServices.WSBranches_class();


