if(typeof TwentyFour == "undefined") TwentyFour={};
if(typeof TwentyFour.Sites == "undefined") TwentyFour.Sites={};
if(typeof TwentyFour.Sites.Parent24 == "undefined") TwentyFour.Sites.Parent24={};
TwentyFour.Sites.Parent24.AuthenticationAjax_class = function() {};
Object.extend(TwentyFour.Sites.Parent24.AuthenticationAjax_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetUser: function() {
		return this.invoke("GetUser", {}, this.GetUser.getArguments().slice(0));
	},
	AuthenticateUser: function(username, password) {
		return this.invoke("AuthenticateUser", {"username":username, "password":password}, this.AuthenticateUser.getArguments().slice(2));
	},
	DeAuthenticateUser: function() {
		return this.invoke("DeAuthenticateUser", {}, this.DeAuthenticateUser.getArguments().slice(0));
	},
	url: '/ajaxpro/TwentyFour.Sites.Parent24.AuthenticationAjax,Parent24.Website.ashx'
}));
TwentyFour.Sites.Parent24.AuthenticationAjax = new TwentyFour.Sites.Parent24.AuthenticationAjax_class();

