if(typeof YinXue == "undefined") YinXue={};
if(typeof YinXue.BLL == "undefined") YinXue.BLL={};
if(typeof YinXue.BLL.AjaxHandler == "undefined") YinXue.BLL.AjaxHandler={};
YinXue.BLL.AjaxHandler_class = function() {};
Object.extend(YinXue.BLL.AjaxHandler_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	AddArticleSP: function(id) {
		return this.invoke("AddArticleSP", {"id":id}, this.AddArticleSP.getArguments().slice(1));
	},
	CheckRegister: function(email, name, pwd, cpwd, validatecode) {
		return this.invoke("CheckRegister", {"email":email, "name":name, "pwd":pwd, "cpwd":cpwd, "validatecode":validatecode}, this.CheckRegister.getArguments().slice(5));
	},
	Regist: function(email, name, pwd) {
		return this.invoke("Regist", {"email":email, "name":name, "pwd":pwd}, this.Regist.getArguments().slice(3));
	},
	InitUser: function(email) {
		return this.invoke("InitUser", {"email":email}, this.InitUser.getArguments().slice(1));
	},
	CheckLogin: function(email, pwd, code) {
		return this.invoke("CheckLogin", {"email":email, "pwd":pwd, "code":code}, this.CheckLogin.getArguments().slice(3));
	},
	GoUrl: function(page) {
		return this.invoke("GoUrl", {"page":page}, this.GoUrl.getArguments().slice(1));
	},
	GetComment: function(id) {
		return this.invoke("GetComment", {"id":id}, this.GetComment.getArguments().slice(1));
	},
	SendComment: function(id, name, code, content) {
		return this.invoke("SendComment", {"id":id, "name":name, "code":code, "content":content}, this.SendComment.getArguments().slice(4));
	},
	AddToFavourite: function(id) {
		return this.invoke("AddToFavourite", {"id":id}, this.AddToFavourite.getArguments().slice(1));
	},
	SpUserList: function(articleID) {
		return this.invoke("SpUserList", {"articleID":articleID}, this.SpUserList.getArguments().slice(1));
	},
	DownFiles: function(id) {
		return this.invoke("DownFiles", {"id":id}, this.DownFiles.getArguments().slice(1));
	},
	url: '/ajaxpro/YinXue.BLL.AjaxHandler,YinXue.BLL.ashx'
}));
YinXue.BLL.AjaxHandler = new YinXue.BLL.AjaxHandler_class();

