if(typeof CMS == "undefined") CMS={};
if(typeof CMS.AJAX_class == "undefined") CMS.AJAX_class={};
CMS.AJAX_class = function() {};
Object.extend(CMS.AJAX_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetLocatorCompanies: function(folderID, cityID, titleStyleID, resultStyleID) {
		return this.invoke("GetLocatorCompanies", {"folderID":folderID, "cityID":cityID, "titleStyleID":titleStyleID, "resultStyleID":resultStyleID}, this.GetLocatorCompanies.getArguments().slice(4));
	},
	GetPasswordInfo: function(username) {
		return this.invoke("GetPasswordInfo", {"username":username}, this.GetPasswordInfo.getArguments().slice(1));
	},
	SendPassword: function(userID, folderID) {
		return this.invoke("SendPassword", {"userID":userID, "folderID":folderID}, this.SendPassword.getArguments().slice(2));
	},
	IsLoggedIn: function() {
		return this.invoke("IsLoggedIn", {}, this.IsLoggedIn.getArguments().slice(0));
	},
	Logout: function() {
		return this.invoke("Logout", {}, this.Logout.getArguments().slice(0));
	},
	Login: function(folderID, username, password, remember) {
		return this.invoke("Login", {"folderID":folderID, "username":username, "password":password, "remember":remember}, this.Login.getArguments().slice(4));
	},
	url: '/ajaxpro/CMS.AJAX,CMS.ashx'
}));
CMS.AJAX = new CMS.AJAX_class();


