addNamespace("User");
User_class = Class.create();
User_class.prototype = (new AjaxPro.Request()).extend({
	CheckUserMail: function(EMail, callback) {
		return this.invoke("CheckUserMail", {"EMail":EMail}, callback);
	},
	CheckUserName: function(UserName, callback) {
		return this.invoke("CheckUserName", {"UserName":UserName}, callback);
	},
	GetUserInfoByID: function(UserID, callback) {
		return this.invoke("GetUserInfoByID", {"UserID":UserID}, callback);
	},
	GetLetterContent: function(LetterID, callback) {
		return this.invoke("GetLetterContent", {"LetterID":LetterID}, callback);
	},
	UserLogin: function(UserName, Pwd, callback) {
		return this.invoke("UserLogin", {"UserName":UserName, "Pwd":Pwd}, callback);
	},
	initialize: function() {
		this.url = "/ajaxpro/User,hr2007.ashx";
	}
})
User = new User_class();

