if(typeof Sale == "undefined") Sale={};
if(typeof Sale.Class == "undefined") Sale.Class={};
Sale.Class.user_class = function() {};
Object.extend(Sale.Class.user_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	usernameused: function(username) {
		return this.invoke("usernameused", {"username":username}, this.usernameused.getArguments().slice(1));
	},
	emailused: function(email) {
		return this.invoke("emailused", {"email":email}, this.emailused.getArguments().slice(1));
	},
	idcardused: function(idcard) {
		return this.invoke("idcardused", {"idcard":idcard}, this.idcardused.getArguments().slice(1));
	},
	mobileused: function(mobile) {
		return this.invoke("mobileused", {"mobile":mobile}, this.mobileused.getArguments().slice(1));
	},
	checkverifycode: function(verifycode) {
		return this.invoke("checkverifycode", {"verifycode":verifycode}, this.checkverifycode.getArguments().slice(1));
	},
	regpost: function(username, password, truename, sex, idcard, email, tel, mobile, address, postcode) {
		return this.invoke("regpost", {"username":username, "password":password, "truename":truename, "sex":sex, "idcard":idcard, "email":email, "tel":tel, "mobile":mobile, "address":address, "postcode":postcode}, this.regpost.getArguments().slice(10));
	},
	modifypost: function(truename, sex, idcard, email, tel, mobile, address, postcode) {
		return this.invoke("modifypost", {"truename":truename, "sex":sex, "idcard":idcard, "email":email, "tel":tel, "mobile":mobile, "address":address, "postcode":postcode}, this.modifypost.getArguments().slice(8));
	},
	checkpassword: function(password) {
		return this.invoke("checkpassword", {"password":password}, this.checkpassword.getArguments().slice(1));
	},
	modifypassword: function(password) {
		return this.invoke("modifypassword", {"password":password}, this.modifypassword.getArguments().slice(1));
	},
	findpass: function(username) {
		return this.invoke("findpass", {"username":username}, this.findpass.getArguments().slice(1));
	},
	login: function(username, password) {
		return this.invoke("login", {"username":username, "password":password}, this.login.getArguments().slice(2));
	},
	loginout: function() {
		return this.invoke("loginout", {}, this.loginout.getArguments().slice(0));
	},
	url: '/ajaxpro/Sale.Class.user,Sale.ashx'
}));
Sale.Class.user = new Sale.Class.user_class();

