if(typeof ServiceTier == "undefined") ServiceTier={};
if(typeof ServiceTier.Product == "undefined") ServiceTier.Product={};
ServiceTier.Product_class = function() {};
Object.extend(ServiceTier.Product_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	addProduct: function(nFirmId, nTypeId, strProductName) {
		return this.invoke("addProduct", {"nFirmId":nFirmId, "nTypeId":nTypeId, "strProductName":strProductName}, this.addProduct.getArguments().slice(3));
	},
	goFirst: function(nFirmId, nTypeId) {
		return this.invoke("goFirst", {"nFirmId":nFirmId, "nTypeId":nTypeId}, this.goFirst.getArguments().slice(2));
	},
	goLast: function(nFirmId, nTypeId, nTotalImage) {
		return this.invoke("goLast", {"nFirmId":nFirmId, "nTypeId":nTypeId, "nTotalImage":nTotalImage}, this.goLast.getArguments().slice(3));
	},
	goNext: function(nFirmId, nTypeId, nOnIdLimit) {
		return this.invoke("goNext", {"nFirmId":nFirmId, "nTypeId":nTypeId, "nOnIdLimit":nOnIdLimit}, this.goNext.getArguments().slice(3));
	},
	goPrevious: function(nFirmId, nTypeId, nUnderIdLimit) {
		return this.invoke("goPrevious", {"nFirmId":nFirmId, "nTypeId":nTypeId, "nUnderIdLimit":nUnderIdLimit}, this.goPrevious.getArguments().slice(3));
	},
	jumpPage: function(arrCondition) {
		return this.invoke("jumpPage", {"arrCondition":arrCondition}, this.jumpPage.getArguments().slice(1));
	},
	searchProduct: function(nFirmId, nTypeId) {
		return this.invoke("searchProduct", {"nFirmId":nFirmId, "nTypeId":nTypeId}, this.searchProduct.getArguments().slice(2));
	},
	remove: function(nFirmId, nTypeId, arrProductId) {
		return this.invoke("remove", {"nFirmId":nFirmId, "nTypeId":nTypeId, "arrProductId":arrProductId}, this.remove.getArguments().slice(3));
	},
	editProduct: function(nProductId, nFirmId, nTypeId, strProductName, strImagePath, strTechInfo, strIntroduction) {
		return this.invoke("editProduct", {"nProductId":nProductId, "nFirmId":nFirmId, "nTypeId":nTypeId, "strProductName":strProductName, "strImagePath":strImagePath, "strTechInfo":strTechInfo, "strIntroduction":strIntroduction}, this.editProduct.getArguments().slice(7));
	},
	url: '/ajaxpro/ServiceTier.Product,ServiceTier.ashx'
}));
ServiceTier.Product = new ServiceTier.Product_class();


