if(typeof Marry == "undefined") Marry={};
if(typeof Marry.Ajax == "undefined") Marry.Ajax={};
Marry.Ajax.Shop_Product_class = function() {};
Object.extend(Marry.Ajax.Shop_Product_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	subProducts: function(str) {
		return this.invoke("subProducts", {"str":str}, this.subProducts.getArguments().slice(1));
	},
	getCClass: function(ID) {
		return this.invoke("getCClass", {"ID":ID}, this.getCClass.getArguments().slice(1));
	},
	GetProductList: function(PageIndex, str) {
		return this.invoke("GetProductList", {"PageIndex":PageIndex, "str":str}, this.GetProductList.getArguments().slice(2));
	},
	modifyProducts: function(str) {
		return this.invoke("modifyProducts", {"str":str}, this.modifyProducts.getArguments().slice(1));
	},
	Del_Set_Product: function(cid, type, str, ID) {
		return this.invoke("Del_Set_Product", {"cid":cid, "type":type, "str":str, "ID":ID}, this.Del_Set_Product.getArguments().slice(4));
	},
	Set_ShopWin: function(type, str) {
		return this.invoke("Set_ShopWin", {"type":type, "str":str}, this.Set_ShopWin.getArguments().slice(2));
	},
	Add_ShopCart: function(pid) {
		return this.invoke("Add_ShopCart", {"pid":pid}, this.Add_ShopCart.getArguments().slice(1));
	},
	GetUserCartList: function(cartid, acount) {
		return this.invoke("GetUserCartList", {"cartid":cartid, "acount":acount}, this.GetUserCartList.getArguments().slice(2));
	},
	Shop_GetOrderInfo: function(ID) {
		return this.invoke("Shop_GetOrderInfo", {"ID":ID}, this.Shop_GetOrderInfo.getArguments().slice(1));
	},
	Del_CartProduct: function(CartID, ProductID, type) {
		return this.invoke("Del_CartProduct", {"CartID":CartID, "ProductID":ProductID, "type":type}, this.Del_CartProduct.getArguments().slice(3));
	},
	JudgeUser: function() {
		return this.invoke("JudgeUser", {}, this.JudgeUser.getArguments().slice(0));
	},
	cartToBuy: function(str) {
		return this.invoke("cartToBuy", {"str":str}, this.cartToBuy.getArguments().slice(1));
	},
	GetCartInfo: function(type) {
		return this.invoke("GetCartInfo", {"type":type}, this.GetCartInfo.getArguments().slice(1));
	},
	AddCommtent: function(Sid, Scomtent, Sname) {
		return this.invoke("AddCommtent", {"Sid":Sid, "Scomtent":Scomtent, "Sname":Sname}, this.AddCommtent.getArguments().slice(3));
	},
	getCommentList: function(SID, PageIndex) {
		return this.invoke("getCommentList", {"SID":SID, "PageIndex":PageIndex}, this.getCommentList.getArguments().slice(2));
	},
	url: '/ajaxpro/Marry.Ajax.Shop_Product,Ajax.ashx'
}));
Marry.Ajax.Shop_Product = new Marry.Ajax.Shop_Product_class();


