if(typeof AjaxPro == "undefined") AjaxPro={};
if(typeof AjaxPro.AjaxMethod == "undefined") AjaxPro.AjaxMethod={};
AjaxPro.AjaxMethod_class = function() {};
Object.extend(AjaxPro.AjaxMethod_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	checkAccount: function(keyid, account) {
		return this.invoke("checkAccount", {"keyid":keyid, "account":account}, this.checkAccount.getArguments().slice(2));
	},
	LoginCheck: function(account, password) {
		return this.invoke("LoginCheck", {"account":account, "password":password}, this.LoginCheck.getArguments().slice(2));
	},
	LoginOut: function() {
		return this.invoke("LoginOut", {}, this.LoginOut.getArguments().slice(0));
	},
	addType: function(KeyId, ParentId, TypeName) {
		return this.invoke("addType", {"KeyId":KeyId, "ParentId":ParentId, "TypeName":TypeName}, this.addType.getArguments().slice(3));
	},
	modifyType: function(KeyId, ParentId, TypeName) {
		return this.invoke("modifyType", {"KeyId":KeyId, "ParentId":ParentId, "TypeName":TypeName}, this.modifyType.getArguments().slice(3));
	},
	deleteType: function(KeyId) {
		return this.invoke("deleteType", {"KeyId":KeyId}, this.deleteType.getArguments().slice(1));
	},
	getTypeList: function(nid) {
		return this.invoke("getTypeList", {"nid":nid}, this.getTypeList.getArguments().slice(1));
	},
	setEmployeeState: function(KeyId, State) {
		return this.invoke("setEmployeeState", {"KeyId":KeyId, "State":State}, this.setEmployeeState.getArguments().slice(2));
	},
	delEmployee: function(KeyId) {
		return this.invoke("delEmployee", {"KeyId":KeyId}, this.delEmployee.getArguments().slice(1));
	},
	setPutHouseState: function(KeyId, State) {
		return this.invoke("setPutHouseState", {"KeyId":KeyId, "State":State}, this.setPutHouseState.getArguments().slice(2));
	},
	setReqHouseState: function(KeyId, State) {
		return this.invoke("setReqHouseState", {"KeyId":KeyId, "State":State}, this.setReqHouseState.getArguments().slice(2));
	},
	setCarplantState: function(KeyId, State) {
		return this.invoke("setCarplantState", {"KeyId":KeyId, "State":State}, this.setCarplantState.getArguments().slice(2));
	},
	InsertComments: function(houseid, name, score, contents) {
		return this.invoke("InsertComments", {"houseid":houseid, "name":name, "score":score, "contents":contents}, this.InsertComments.getArguments().slice(4));
	},
	InsertGuide: function(houseid, service, contents, name, age, job, sex, email, tel, address) {
		return this.invoke("InsertGuide", {"houseid":houseid, "service":service, "contents":contents, "name":name, "age":age, "job":job, "sex":sex, "email":email, "tel":tel, "address":address}, this.InsertGuide.getArguments().slice(10));
	},
	url: '/ajaxpro/AjaxPro.AjaxMethod,MMHOMEHOME.Web.ashx'
}));
AjaxPro.AjaxMethod = new AjaxPro.AjaxMethod_class();

