addNamespace("AjaxMethod");
AjaxMethod_class = Class.create();
Object.extend(AjaxMethod_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetPhotoList: function(iCategoryID) {
		return this.invoke("GetPhotoList", {"iCategoryID":iCategoryID}, this.GetPhotoList.getArguments().slice(1));
	},
	GetPhotoInfo: function(id) {
		return this.invoke("GetPhotoInfo", {"id":id}, this.GetPhotoInfo.getArguments().slice(1));
	},
	UserNameExist: function(userName) {
		return this.invoke("UserNameExist", {"userName":userName}, this.UserNameExist.getArguments().slice(1));
	},
	PerIdExist: function(perId) {
		return this.invoke("PerIdExist", {"perId":perId}, this.PerIdExist.getArguments().slice(1));
	},
	ComidExist: function(comid) {
		return this.invoke("ComidExist", {"comid":comid}, this.ComidExist.getArguments().slice(1));
	},
	CompanyUserNameExist: function(username) {
		return this.invoke("CompanyUserNameExist", {"username":username}, this.CompanyUserNameExist.getArguments().slice(1));
	},
	GetStatisticalDataList: function() {
		return this.invoke("GetStatisticalDataList", {}, this.GetStatisticalDataList.getArguments().slice(0));
	},
	GetSelectList: function(path) {
		return this.invoke("GetSelectList", {"path":path}, this.GetSelectList.getArguments().slice(1));
	},
	ReplaceStr: function(s, oldstr, newstr) {
		return this.invoke("ReplaceStr", {"s":s, "oldstr":oldstr, "newstr":newstr}, this.ReplaceStr.getArguments().slice(3));
	},
	IsSub: function(s, substr) {
		return this.invoke("IsSub", {"s":s, "substr":substr}, this.IsSub.getArguments().slice(2));
	},
	CheckEnlist: function(id) {
		return this.invoke("CheckEnlist", {"id":id}, this.CheckEnlist.getArguments().slice(1));
	},
	GovJobEnlist: function(jobID, perId) {
		return this.invoke("GovJobEnlist", {"jobID":jobID, "perId":perId}, this.GovJobEnlist.getArguments().slice(2));
	},
	IsCompleted: function(perId) {
		return this.invoke("IsCompleted", {"perId":perId}, this.IsCompleted.getArguments().slice(1));
	},
	AddNews: function(title, comtent, author) {
		return this.invoke("AddNews", {"title":title, "comtent":comtent, "author":author}, this.AddNews.getArguments().slice(3));
	},
	AddArt: function(title, comtent, author, Sections) {
		return this.invoke("AddArt", {"title":title, "comtent":comtent, "author":author, "Sections":Sections}, this.AddArt.getArguments().slice(4));
	},
	UpdateNews: function(title, comtent, author, id) {
		return this.invoke("UpdateNews", {"title":title, "comtent":comtent, "author":author, "id":id}, this.UpdateNews.getArguments().slice(4));
	},
	UpdateArt: function(title, comtent, author, id) {
		return this.invoke("UpdateArt", {"title":title, "comtent":comtent, "author":author, "id":id}, this.UpdateArt.getArguments().slice(4));
	},
	CheckComJob: function(jobid) {
		return this.invoke("CheckComJob", {"jobid":jobid}, this.CheckComJob.getArguments().slice(1));
	},
	HadInsertList: function(tablename, jobid, perid, comid) {
		return this.invoke("HadInsertList", {"tablename":tablename, "jobid":jobid, "perid":perid, "comid":comid}, this.HadInsertList.getArguments().slice(4));
	},
	initialize: function() {
		this.url = '/ajaxpro/AjaxMethod,App_Code.ashx';
	}
}));
AjaxMethod = new AjaxMethod_class();

