if(typeof neworchid == "undefined") neworchid={};
if(typeof neworchid.AjaxCompLib == "undefined") neworchid.AjaxCompLib={};
neworchid.AjaxCompLib_class = function() {};
Object.extend(neworchid.AjaxCompLib_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetCompTestXml: function(pCompId, pMemId) {
		return this.invoke("GetCompTestXml", {"pCompId":pCompId, "pMemId":pMemId}, this.GetCompTestXml.getArguments().slice(2));
	},
	GetCompDetail: function(pCompId, pMemId) {
		return this.invoke("GetCompDetail", {"pCompId":pCompId, "pMemId":pMemId}, this.GetCompDetail.getArguments().slice(2));
	},
	GetCompInfo: function(pComId) {
		return this.invoke("GetCompInfo", {"pComId":pComId}, this.GetCompInfo.getArguments().slice(1));
	},
	SaveUserGrade: function(pCompId, pMemId, pGrade, pLevels) {
		return this.invoke("SaveUserGrade", {"pCompId":pCompId, "pMemId":pMemId, "pGrade":pGrade, "pLevels":pLevels}, this.SaveUserGrade.getArguments().slice(4));
	},
	StartUserComp: function(pCompId, pMemId) {
		return this.invoke("StartUserComp", {"pCompId":pCompId, "pMemId":pMemId}, this.StartUserComp.getArguments().slice(2));
	},
	GetCompSortList: function(pComId, pTop) {
		return this.invoke("GetCompSortList", {"pComId":pComId, "pTop":pTop}, this.GetCompSortList.getArguments().slice(2));
	},
	GetMyCompSort: function(pMemId) {
		return this.invoke("GetMyCompSort", {"pMemId":pMemId}, this.GetMyCompSort.getArguments().slice(1));
	},
	url: '/ajaxpro/neworchid.AjaxCompLib,neworchid.ashx'
}));
neworchid.AjaxCompLib = new neworchid.AjaxCompLib_class();

