if(typeof AjaxCalls == "undefined") AjaxCalls={};
AjaxCalls_class = function() {};
Object.extend(AjaxCalls_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	LoadAjaxPage: function(page, sess) {
		return this.invoke("LoadAjaxPage", {"page":page, "sess":sess}, this.LoadAjaxPage.getArguments().slice(2));
	},
	ShowCartList: function(session) {
		return this.invoke("ShowCartList", {"session":session}, this.ShowCartList.getArguments().slice(1));
	},
	ProductDetail: function(prodGrp) {
		return this.invoke("ProductDetail", {"prodGrp":prodGrp}, this.ProductDetail.getArguments().slice(1));
	},
	ProductList: function(prodID, unitID) {
		return this.invoke("ProductList", {"prodID":prodID, "unitID":unitID}, this.ProductList.getArguments().slice(2));
	},
	AddCartItems: function(tCartID, sess, vendorId, prodId, units, pOption, price, unitID, user) {
		return this.invoke("AddCartItems", {"tCartID":tCartID, "sess":sess, "vendorId":vendorId, "prodId":prodId, "units":units, "pOption":pOption, "price":price, "unitID":unitID, "user":user}, this.AddCartItems.getArguments().slice(9));
	},
	CartSummary: function(session) {
		return this.invoke("CartSummary", {"session":session}, this.CartSummary.getArguments().slice(1));
	},
	RemoveCartItem: function(tCartID) {
		return this.invoke("RemoveCartItem", {"tCartID":tCartID}, this.RemoveCartItem.getArguments().slice(1));
	},
	CartDetails: function(session) {
		return this.invoke("CartDetails", {"session":session}, this.CartDetails.getArguments().slice(1));
	},
	CartDetailsCheckout: function(session, calltype) {
		return this.invoke("CartDetailsCheckout", {"session":session, "calltype":calltype}, this.CartDetailsCheckout.getArguments().slice(2));
	},
	CustomerSignIn: function(Email, Password) {
		return this.invoke("CustomerSignIn", {"Email":Email, "Password":Password}, this.CustomerSignIn.getArguments().slice(2));
	},
	RegisterCustomer: function(cd, session) {
		return this.invoke("RegisterCustomer", {"cd":cd, "session":session}, this.RegisterCustomer.getArguments().slice(2));
	},
	UpdateRegisterCart: function(CustomerID, session) {
		return this.invoke("UpdateRegisterCart", {"CustomerID":CustomerID, "session":session}, this.UpdateRegisterCart.getArguments().slice(2));
	},
	GetCustomerClass: function() {
		return this.invoke("GetCustomerClass", {}, this.GetCustomerClass.getArguments().slice(0));
	},
	GetOrderClass: function() {
		return this.invoke("GetOrderClass", {}, this.GetOrderClass.getArguments().slice(0));
	},
	GetCustomer: function(CustomerID) {
		return this.invoke("GetCustomer", {"CustomerID":CustomerID}, this.GetCustomer.getArguments().slice(1));
	},
	SendEmailPass: function(Email) {
		return this.invoke("SendEmailPass", {"Email":Email}, this.SendEmailPass.getArguments().slice(1));
	},
	SubmitValidateOrder: function(md) {
		return this.invoke("SubmitValidateOrder", {"md":md}, this.SubmitValidateOrder.getArguments().slice(1));
	},
	GetSendRequest: function(email, name, notes) {
		return this.invoke("GetSendRequest", {"email":email, "name":name, "notes":notes}, this.GetSendRequest.getArguments().slice(3));
	},
	GetPromoCode: function(PassedCode) {
		return this.invoke("GetPromoCode", {"PassedCode":PassedCode}, this.GetPromoCode.getArguments().slice(1));
	},
	url: '/ajaxpro/AjaxCalls,App_Code.ashx'
}));
AjaxCalls = new AjaxCalls_class();

