if(typeof ThkCOS == "undefined") ThkCOS={};
if(typeof ThkCOS.Components == "undefined") ThkCOS.Components={};
ThkCOS.Components.MainCode_class = function() {};
Object.extend(ThkCOS.Components.MainCode_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	CheckMainCode: function(mainCodeNO, name, category, canModify) {
		return this.invoke("CheckMainCode", {"mainCodeNO":mainCodeNO, "name":name, "category":category, "canModify":canModify}, this.CheckMainCode.getArguments().slice(4));
	},
	url: '/ajaxpro/ThkCOS.Components.MainCode,ThkCOS.Components.ashx'
}));
ThkCOS.Components.MainCode = new ThkCOS.Components.MainCode_class();

