if(typeof ServiceTier == "undefined") ServiceTier={};
if(typeof ServiceTier.Customer == "undefined") ServiceTier.Customer={};
ServiceTier.Customer_class = function() {};
Object.extend(ServiceTier.Customer_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	goFirstPage: function(arrCondition) {
		return this.invoke("goFirstPage", {"arrCondition":arrCondition}, this.goFirstPage.getArguments().slice(1));
	},
	goLastPage: function(arrCondition, nTotalCustomer) {
		return this.invoke("goLastPage", {"arrCondition":arrCondition, "nTotalCustomer":nTotalCustomer}, this.goLastPage.getArguments().slice(2));
	},
	goNextPage: function(arrCondition, strOnIdLimit) {
		return this.invoke("goNextPage", {"arrCondition":arrCondition, "strOnIdLimit":strOnIdLimit}, this.goNextPage.getArguments().slice(2));
	},
	goPreviousPage: function(arrCondition, strUnderIdLimit) {
		return this.invoke("goPreviousPage", {"arrCondition":arrCondition, "strUnderIdLimit":strUnderIdLimit}, this.goPreviousPage.getArguments().slice(2));
	},
	jumpCustomerPage: function(arrCondition) {
		return this.invoke("jumpCustomerPage", {"arrCondition":arrCondition}, this.jumpCustomerPage.getArguments().slice(1));
	},
	searchCustomer: function(arrCondition) {
		return this.invoke("searchCustomer", {"arrCondition":arrCondition}, this.searchCustomer.getArguments().slice(1));
	},
	registCustomer: function(arrCustomerInfo) {
		return this.invoke("registCustomer", {"arrCustomerInfo":arrCustomerInfo}, this.registCustomer.getArguments().slice(1));
	},
	editPersonalInformation: function(arrCustomerInfo) {
		return this.invoke("editPersonalInformation", {"arrCustomerInfo":arrCustomerInfo}, this.editPersonalInformation.getArguments().slice(1));
	},
	changePass: function(oldPassword, newPassword) {
		return this.invoke("changePass", {"oldPassword":oldPassword, "newPassword":newPassword}, this.changePass.getArguments().slice(2));
	},
	sendNewPassword: function(account, email) {
		return this.invoke("sendNewPassword", {"account":account, "email":email}, this.sendNewPassword.getArguments().slice(2));
	},
	remove: function(arrCondition, arrCustId) {
		return this.invoke("remove", {"arrCondition":arrCondition, "arrCustId":arrCustId}, this.remove.getArguments().slice(2));
	},
	lockCustomer: function(arrCondition, arrCustId) {
		return this.invoke("lockCustomer", {"arrCondition":arrCondition, "arrCustId":arrCustId}, this.lockCustomer.getArguments().slice(2));
	},
	unlockCustomer: function(arrCondition, arrCustId) {
		return this.invoke("unlockCustomer", {"arrCondition":arrCondition, "arrCustId":arrCustId}, this.unlockCustomer.getArguments().slice(2));
	},
	url: '/ajaxpro/ServiceTier.Customer,ServiceTier.ashx'
}));
ServiceTier.Customer = new ServiceTier.Customer_class();

