if(typeof AjaxObject == "undefined") AjaxObject={};
AjaxObject_class = function() {};
Object.extend(AjaxObject_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetChileMenu: function(ParentID) {
		return this.invoke("GetChileMenu", {"ParentID":ParentID}, this.GetChileMenu.getArguments().slice(1));
	},
	CheckDealerExists: function(userName) {
		return this.invoke("CheckDealerExists", {"userName":userName}, this.CheckDealerExists.getArguments().slice(1));
	},
	CheckPersonExists: function(UserEmail) {
		return this.invoke("CheckPersonExists", {"UserEmail":UserEmail}, this.CheckPersonExists.getArguments().slice(1));
	},
	CheckPersonUserNameExists: function(UserName) {
		return this.invoke("CheckPersonUserNameExists", {"UserName":UserName}, this.CheckPersonUserNameExists.getArguments().slice(1));
	},
	GetCheckCode: function(cnt) {
		return this.invoke("GetCheckCode", {"cnt":cnt}, this.GetCheckCode.getArguments().slice(1));
	},
	AutoUploadFiles: function(content) {
		return this.invoke("AutoUploadFiles", {"content":content}, this.AutoUploadFiles.getArguments().slice(1));
	},
	UpdateDealerInfo: function(companyName, webName, address, contact, tel, email, countryID, provinceID, cityID, webUrl) {
		return this.invoke("UpdateDealerInfo", {"companyName":companyName, "webName":webName, "address":address, "contact":contact, "tel":tel, "email":email, "countryID":countryID, "provinceID":provinceID, "cityID":cityID, "webUrl":webUrl}, this.UpdateDealerInfo.getArguments().slice(10));
	},
	AddDealerRegInfo: function(userName, userPwd, question, answer) {
		return this.invoke("AddDealerRegInfo", {"userName":userName, "userPwd":userPwd, "question":question, "answer":answer}, this.AddDealerRegInfo.getArguments().slice(4));
	},
	AddPersonRegInfo: function(userName, userPwd, question, answer, realName, sex, email, countryID, provinceID, cityID) {
		return this.invoke("AddPersonRegInfo", {"userName":userName, "userPwd":userPwd, "question":question, "answer":answer, "realName":realName, "sex":sex, "email":email, "countryID":countryID, "provinceID":provinceID, "cityID":cityID}, this.AddPersonRegInfo.getArguments().slice(10));
	},
	CheckPersonLogin: function(userName, password, record) {
		return this.invoke("CheckPersonLogin", {"userName":userName, "password":password, "record":record}, this.CheckPersonLogin.getArguments().slice(3));
	},
	CheckDealerLogin: function(userName, password, record) {
		return this.invoke("CheckDealerLogin", {"userName":userName, "password":password, "record":record}, this.CheckDealerLogin.getArguments().slice(3));
	},
	AddDealerGuestbook: function(content, contact, dealerID) {
		return this.invoke("AddDealerGuestbook", {"content":content, "contact":contact, "dealerID":dealerID}, this.AddDealerGuestbook.getArguments().slice(3));
	},
	ReplyDealerGuestbook: function(id, content) {
		return this.invoke("ReplyDealerGuestbook", {"id":id, "content":content}, this.ReplyDealerGuestbook.getArguments().slice(2));
	},
	SetDealerQQ: function(id, codeName, remark, orderID) {
		return this.invoke("SetDealerQQ", {"id":id, "codeName":codeName, "remark":remark, "orderID":orderID}, this.SetDealerQQ.getArguments().slice(4));
	},
	SetDealerLink: function(id, title, url, orderID) {
		return this.invoke("SetDealerLink", {"id":id, "title":title, "url":url, "orderID":orderID}, this.SetDealerLink.getArguments().slice(4));
	},
	DelDealerGuestbook: function(id) {
		return this.invoke("DelDealerGuestbook", {"id":id}, this.DelDealerGuestbook.getArguments().slice(1));
	},
	DealerRefreshPrice: function(cnt) {
		return this.invoke("DealerRefreshPrice", {"cnt":cnt}, this.DealerRefreshPrice.getArguments().slice(1));
	},
	GetAreaList: function(firstText, firstValue, ParentID) {
		return this.invoke("GetAreaList", {"firstText":firstText, "firstValue":firstValue, "ParentID":ParentID}, this.GetAreaList.getArguments().slice(3));
	},
	GetFileList: function(newsID, id, fileName) {
		return this.invoke("GetFileList", {"newsID":newsID, "id":id, "fileName":fileName}, this.GetFileList.getArguments().slice(3));
	},
	GetHelpFileList: function(helpID, id, fileName) {
		return this.invoke("GetHelpFileList", {"helpID":helpID, "id":id, "fileName":fileName}, this.GetHelpFileList.getArguments().slice(3));
	},
	GetCommodityFileList: function(commodityID, id, fileName, thumbnailName) {
		return this.invoke("GetCommodityFileList", {"commodityID":commodityID, "id":id, "fileName":fileName, "thumbnailName":thumbnailName}, this.GetCommodityFileList.getArguments().slice(4));
	},
	SaveCommodityComment: function(categoryID, commodityID, isMember, isAnony, content, ratings, fieldCodeName) {
		return this.invoke("SaveCommodityComment", {"categoryID":categoryID, "commodityID":commodityID, "isMember":isMember, "isAnony":isAnony, "content":content, "ratings":ratings, "fieldCodeName":fieldCodeName}, this.SaveCommodityComment.getArguments().slice(7));
	},
	ShowCommodityCommentList: function(categoryID, commodityID, page, pageSize) {
		return this.invoke("ShowCommodityCommentList", {"categoryID":categoryID, "commodityID":commodityID, "page":page, "pageSize":pageSize}, this.ShowCommodityCommentList.getArguments().slice(4));
	},
	UpdateCommentPros: function(ID) {
		return this.invoke("UpdateCommentPros", {"ID":ID}, this.UpdateCommentPros.getArguments().slice(1));
	},
	UpdateCommentCons: function(ID) {
		return this.invoke("UpdateCommentCons", {"ID":ID}, this.UpdateCommentCons.getArguments().slice(1));
	},
	ShowCommodityCommentPagination: function(categoryID, commodityID, page, pageSize) {
		return this.invoke("ShowCommodityCommentPagination", {"categoryID":categoryID, "commodityID":commodityID, "page":page, "pageSize":pageSize}, this.ShowCommodityCommentPagination.getArguments().slice(4));
	},
	ShowNewsList: function(cid, page, pageSize, model) {
		return this.invoke("ShowNewsList", {"cid":cid, "page":page, "pageSize":pageSize, "model":model}, this.ShowNewsList.getArguments().slice(4));
	},
	ShowNewsPagination: function(cid, page, pageSize, model) {
		return this.invoke("ShowNewsPagination", {"cid":cid, "page":page, "pageSize":pageSize, "model":model}, this.ShowNewsPagination.getArguments().slice(4));
	},
	GetSameCommodityTitle: function(title, categoryId, id) {
		return this.invoke("GetSameCommodityTitle", {"title":title, "categoryId":categoryId, "id":id}, this.GetSameCommodityTitle.getArguments().slice(3));
	},
	GetCategoryNav: function(categoryID, code) {
		return this.invoke("GetCategoryNav", {"categoryID":categoryID, "code":code}, this.GetCategoryNav.getArguments().slice(2));
	},
	ShowHotCommodityListByCategory: function(categoryID) {
		return this.invoke("ShowHotCommodityListByCategory", {"categoryID":categoryID}, this.ShowHotCommodityListByCategory.getArguments().slice(1));
	},
	ShowNewCommodityList: function() {
		return this.invoke("ShowNewCommodityList", {}, this.ShowNewCommodityList.getArguments().slice(0));
	},
	ShowSatisCommodityList: function() {
		return this.invoke("ShowSatisCommodityList", {}, this.ShowSatisCommodityList.getArguments().slice(0));
	},
	ShowCategorySearchList: function(minPrice, maxPrice, keyword, categoryID) {
		return this.invoke("ShowCategorySearchList", {"minPrice":minPrice, "maxPrice":maxPrice, "keyword":keyword, "categoryID":categoryID}, this.ShowCategorySearchList.getArguments().slice(4));
	},
	ShowPriceCommodityList: function() {
		return this.invoke("ShowPriceCommodityList", {}, this.ShowPriceCommodityList.getArguments().slice(0));
	},
	ShowRecommendCommodityList: function() {
		return this.invoke("ShowRecommendCommodityList", {}, this.ShowRecommendCommodityList.getArguments().slice(0));
	},
	ShowHotCommodityList: function() {
		return this.invoke("ShowHotCommodityList", {}, this.ShowHotCommodityList.getArguments().slice(0));
	},
	ShowCommodityParamList: function(categoryID, commodityID) {
		return this.invoke("ShowCommodityParamList", {"categoryID":categoryID, "commodityID":commodityID}, this.ShowCommodityParamList.getArguments().slice(2));
	},
	GetCategoryList: function(parentID) {
		return this.invoke("GetCategoryList", {"parentID":parentID}, this.GetCategoryList.getArguments().slice(1));
	},
	GetBrandList: function(categoryID) {
		return this.invoke("GetBrandList", {"categoryID":categoryID}, this.GetBrandList.getArguments().slice(1));
	},
	SaveBrandList: function(brandList) {
		return this.invoke("SaveBrandList", {"brandList":brandList}, this.SaveBrandList.getArguments().slice(1));
	},
	DealerCagetoryEdit: function(categoryID, sortID, isOpen) {
		return this.invoke("DealerCagetoryEdit", {"categoryID":categoryID, "sortID":sortID, "isOpen":isOpen}, this.DealerCagetoryEdit.getArguments().slice(3));
	},
	DealerCagetoryDelete: function(categoryID) {
		return this.invoke("DealerCagetoryDelete", {"categoryID":categoryID}, this.DealerCagetoryDelete.getArguments().slice(1));
	},
	DealerBrandDelete: function(brandID) {
		return this.invoke("DealerBrandDelete", {"brandID":brandID}, this.DealerBrandDelete.getArguments().slice(1));
	},
	DealerBrandEdit: function(brandID, sortID) {
		return this.invoke("DealerBrandEdit", {"brandID":brandID, "sortID":sortID}, this.DealerBrandEdit.getArguments().slice(2));
	},
	DeleteImage: function(id, path) {
		return this.invoke("DeleteImage", {"id":id, "path":path}, this.DeleteImage.getArguments().slice(2));
	},
	ShowImgList: function(modelID) {
		return this.invoke("ShowImgList", {"modelID":modelID}, this.ShowImgList.getArguments().slice(1));
	},
	DealerAddPrice: function(categoryID, brandID, commodityID, price, sortID, title, content, defPrice) {
		return this.invoke("DealerAddPrice", {"categoryID":categoryID, "brandID":brandID, "commodityID":commodityID, "price":price, "sortID":sortID, "title":title, "content":content, "defPrice":defPrice}, this.DealerAddPrice.getArguments().slice(8));
	},
	DealerEditPrice: function(categoryID, brandID, commodityID, price, sortID, defPrice) {
		return this.invoke("DealerEditPrice", {"categoryID":categoryID, "brandID":brandID, "commodityID":commodityID, "price":price, "sortID":sortID, "defPrice":defPrice}, this.DealerEditPrice.getArguments().slice(6));
	},
	ShowCommodityList: function(categoryID, brandID, page, pageSize, keyword, tp) {
		return this.invoke("ShowCommodityList", {"categoryID":categoryID, "brandID":brandID, "page":page, "pageSize":pageSize, "keyword":keyword, "tp":tp}, this.ShowCommodityList.getArguments().slice(6));
	},
	ShowPriceList: function(categoryID, brandID, page, pageSize, keyword, tp) {
		return this.invoke("ShowPriceList", {"categoryID":categoryID, "brandID":brandID, "page":page, "pageSize":pageSize, "keyword":keyword, "tp":tp}, this.ShowPriceList.getArguments().slice(6));
	},
	dealerPriceSet: function(commodityID, param) {
		return this.invoke("dealerPriceSet", {"commodityID":commodityID, "param":param}, this.dealerPriceSet.getArguments().slice(2));
	},
	dealerPriceDelete: function(commodityID) {
		return this.invoke("dealerPriceDelete", {"commodityID":commodityID}, this.dealerPriceDelete.getArguments().slice(1));
	},
	DealerModuleSet: function(dealerID, name, isShow, param) {
		return this.invoke("DealerModuleSet", {"dealerID":dealerID, "name":name, "isShow":isShow, "param":param}, this.DealerModuleSet.getArguments().slice(4));
	},
	DealerModulesSet: function(dealerID, showList, orderList) {
		return this.invoke("DealerModulesSet", {"dealerID":dealerID, "showList":showList, "orderList":orderList}, this.DealerModulesSet.getArguments().slice(3));
	},
	DealerFontSet: function(dealerID, fontFamily, fontColr, fontSize) {
		return this.invoke("DealerFontSet", {"dealerID":dealerID, "fontFamily":fontFamily, "fontColr":fontColr, "fontSize":fontSize}, this.DealerFontSet.getArguments().slice(4));
	},
	DealerTemplateSet: function(dealerID, tempID) {
		return this.invoke("DealerTemplateSet", {"dealerID":dealerID, "tempID":tempID}, this.DealerTemplateSet.getArguments().slice(2));
	},
	CommodityInfoCopy: function(id, categoryId) {
		return this.invoke("CommodityInfoCopy", {"id":id, "categoryId":categoryId}, this.CommodityInfoCopy.getArguments().slice(2));
	},
	ShowDealerPromotion: function(id, idList) {
		return this.invoke("ShowDealerPromotion", {"id":id, "idList":idList}, this.ShowDealerPromotion.getArguments().slice(2));
	},
	url: '/ajaxpro/AjaxObject,bis.ashx'
}));
AjaxObject = new AjaxObject_class();

