if(typeof Forbrugerliv == "undefined") Forbrugerliv={};
if(typeof Forbrugerliv.ReferAFriend == "undefined") Forbrugerliv.ReferAFriend={};
Forbrugerliv.ReferAFriend.FrontEnd_class = function() {};
Object.extend(Forbrugerliv.ReferAFriend.FrontEnd_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	ImportFriendsMail: function(type, login, password) {
		return this.invoke("ImportFriendsMail", {"type":type, "login":login, "password":password}, this.ImportFriendsMail.getArguments().slice(3));
	},
	ChangePage: function(page, sort) {
		return this.invoke("ChangePage", {"page":page, "sort":sort}, this.ChangePage.getArguments().slice(2));
	},
	SaveFriend: function(referId, name, email, isActive) {
		return this.invoke("SaveFriend", {"referId":referId, "name":name, "email":email, "isActive":isActive}, this.SaveFriend.getArguments().slice(4));
	},
	SaveFriendsList: function(idList, namesList, emailsList, isActiveList) {
		return this.invoke("SaveFriendsList", {"idList":idList, "namesList":namesList, "emailsList":emailsList, "isActiveList":isActiveList}, this.SaveFriendsList.getArguments().slice(4));
	},
	DeleteFriend: function(referId) {
		return this.invoke("DeleteFriend", {"referId":referId}, this.DeleteFriend.getArguments().slice(1));
	},
	ClearAll: function() {
		return this.invoke("ClearAll", {}, this.ClearAll.getArguments().slice(0));
	},
	SaveMailText: function(text) {
		return this.invoke("SaveMailText", {"text":text}, this.SaveMailText.getArguments().slice(1));
	},
	SendMails: function() {
		return this.invoke("SendMails", {}, this.SendMails.getArguments().slice(0));
	},
	url: '/ajaxpro/Forbrugerliv.ReferAFriend.FrontEnd,Forbrugerliv.ReferAFriend.ashx'
}));
Forbrugerliv.ReferAFriend.FrontEnd = new Forbrugerliv.ReferAFriend.FrontEnd_class();

