if(typeof AjaxQuestion == "undefined") AjaxQuestion={};
AjaxQuestion_class = function() {};
Object.extend(AjaxQuestion_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetClassList: function(parent, type) {
		return this.invoke("GetClassList", {"parent":parent, "type":type}, this.GetClassList.getArguments().slice(2));
	},
	AddQuestion: function(caption, matter, classID, type, point, isAnonymity) {
		return this.invoke("AddQuestion", {"caption":caption, "matter":matter, "classID":classID, "type":type, "point":point, "isAnonymity":isAnonymity}, this.AddQuestion.getArguments().slice(6));
	},
	AddQuestionByAdmin: function(caption, matter, classID, type, point) {
		return this.invoke("AddQuestionByAdmin", {"caption":caption, "matter":matter, "classID":classID, "type":type, "point":point}, this.AddQuestionByAdmin.getArguments().slice(5));
	},
	GetQuestionTypeList: function() {
		return this.invoke("GetQuestionTypeList", {}, this.GetQuestionTypeList.getArguments().slice(0));
	},
	GetQuestionList: function(page, row) {
		return this.invoke("GetQuestionList", {"page":page, "row":row}, this.GetQuestionList.getArguments().slice(2));
	},
	GetQuestionListByState: function(state, page, row) {
		return this.invoke("GetQuestionListByState", {"state":state, "page":page, "row":row}, this.GetQuestionListByState.getArguments().slice(3));
	},
	GetQuestionListByClass: function(classID, page, row) {
		return this.invoke("GetQuestionListByClass", {"classID":classID, "page":page, "row":row}, this.GetQuestionListByClass.getArguments().slice(3));
	},
	Navigator: function(rId, page, row, count, isClass) {
		return this.invoke("Navigator", {"rId":rId, "page":page, "row":row, "count":count, "isClass":isClass}, this.Navigator.getArguments().slice(5));
	},
	AddAnswer: function(questionId, matter, refUrl, isAnone) {
		return this.invoke("AddAnswer", {"questionId":questionId, "matter":matter, "refUrl":refUrl, "isAnone":isAnone}, this.AddAnswer.getArguments().slice(4));
	},
	AddBestAnswerReply: function(questionId, answerId, matter) {
		return this.invoke("AddBestAnswerReply", {"questionId":questionId, "answerId":answerId, "matter":matter}, this.AddBestAnswerReply.getArguments().slice(3));
	},
	SetBestAnswer: function(AnswerID, QuestionID, UserID, point) {
		return this.invoke("SetBestAnswer", {"AnswerID":AnswerID, "QuestionID":QuestionID, "UserID":UserID, "point":point}, this.SetBestAnswer.getArguments().slice(4));
	},
	LockQuestion: function(QuestionID) {
		return this.invoke("LockQuestion", {"QuestionID":QuestionID}, this.LockQuestion.getArguments().slice(1));
	},
	AddFlower: function(AnswerID) {
		return this.invoke("AddFlower", {"AnswerID":AnswerID}, this.AddFlower.getArguments().slice(1));
	},
	AddEgg: function(AnswerID) {
		return this.invoke("AddEgg", {"AnswerID":AnswerID}, this.AddEgg.getArguments().slice(1));
	},
	url: '/Ajax/AjaxQuestion,App_Code.atbajjb4.ashx'
}));
AjaxQuestion = new AjaxQuestion_class();

