addNamespace("aion.ajax");
aion.ajax.customer_class = Class.create();
Object.extend(aion.ajax.customer_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	Forget: function(Email) {
		return this.invoke("Forget", {"Email":Email}, this.Forget.getArguments().slice(1));
	},
	ResetPassWord: function(SerialNo, PassWord) {
		return this.invoke("ResetPassWord", {"SerialNo":SerialNo, "PassWord":PassWord}, this.ResetPassWord.getArguments().slice(2));
	},
	Register: function(Gender, CustomerName, BornDate, Address, PostNo, City, Province, Telephone, QQ, Nation, IntroducerID, GuildID, Email, CustomerID, LoginPassword, Questions, Answer) {
		return this.invoke("Register", {"Gender":Gender, "CustomerName":CustomerName, "BornDate":BornDate, "Address":Address, "PostNo":PostNo, "City":City, "Province":Province, "Telephone":Telephone, "QQ":QQ, "Nation":Nation, "IntroducerID":IntroducerID, "GuildID":GuildID, "Email":Email, "CustomerID":CustomerID, "LoginPassword":LoginPassword, "Questions":Questions, "Answer":Answer}, this.Register.getArguments().slice(17));
	},
	CheckEmail: function(Email) {
		return this.invoke("CheckEmail", {"Email":Email}, this.CheckEmail.getArguments().slice(1));
	},
	CheckCustomerID: function(CustomerID) {
		return this.invoke("CheckCustomerID", {"CustomerID":CustomerID}, this.CheckCustomerID.getArguments().slice(1));
	},
	ChangePwd: function(email, oldpwd, newpwd) {
		return this.invoke("ChangePwd", {"email":email, "oldpwd":oldpwd, "newpwd":newpwd}, this.ChangePwd.getArguments().slice(3));
	},
	ForgetPwd: function(Email, CustomerID, ForgetQuestions, ForgetAnswer) {
		return this.invoke("ForgetPwd", {"Email":Email, "CustomerID":CustomerID, "ForgetQuestions":ForgetQuestions, "ForgetAnswer":ForgetAnswer}, this.ForgetPwd.getArguments().slice(4));
	},
	initialize: function() {
		this.url = '/ajaxpro/aion.ajax.customer,dal.ashx';
	}
}));
aion.ajax.customer = new aion.ajax.customer_class();

