if(typeof Web == "undefined") Web={};
if(typeof Web.Ajax == "undefined") Web.Ajax={};
Web.Ajax_class = function() {};
Object.extend(Web.Ajax_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	ShoppingCarRemove: function(id) {
		return this.invoke("ShoppingCarRemove", {"id":id}, this.ShoppingCarRemove.getArguments().slice(1));
	},
	ShoppingCarUpdate: function(id, amount) {
		return this.invoke("ShoppingCarUpdate", {"id":id, "amount":amount}, this.ShoppingCarUpdate.getArguments().slice(2));
	},
	CreateOrderForm: function(distribution, distributionPrice, payName, payEmail, payAddress, payPostalCode, payPhone, payMobile, accName, accEmail, accAddress, accPostalCode, accPhone, accMobile, rmb, payID) {
		return this.invoke("CreateOrderForm", {"distribution":distribution, "distributionPrice":distributionPrice, "payName":payName, "payEmail":payEmail, "payAddress":payAddress, "payPostalCode":payPostalCode, "payPhone":payPhone, "payMobile":payMobile, "accName":accName, "accEmail":accEmail, "accAddress":accAddress, "accPostalCode":accPostalCode, "accPhone":accPhone, "accMobile":accMobile, "rmb":rmb, "payID":payID}, this.CreateOrderForm.getArguments().slice(16));
	},
	GetOrderFormInfo: function(id, province) {
		return this.invoke("GetOrderFormInfo", {"id":id, "province":province}, this.GetOrderFormInfo.getArguments().slice(2));
	},
	Reg: function(username, pwd, province, city, question, answer, email) {
		return this.invoke("Reg", {"username":username, "pwd":pwd, "province":province, "city":city, "question":question, "answer":answer, "email":email}, this.Reg.getArguments().slice(7));
	},
	Login: function(strUserName, strPassword) {
		return this.invoke("Login", {"strUserName":strUserName, "strPassword":strPassword}, this.Login.getArguments().slice(2));
	},
	Login2: function(strUserName, strPassword) {
		return this.invoke("Login2", {"strUserName":strUserName, "strPassword":strPassword}, this.Login2.getArguments().slice(2));
	},
	ExitSystem: function() {
		return this.invoke("ExitSystem", {}, this.ExitSystem.getArguments().slice(0));
	},
	GetPwd: function(username, question, answer) {
		return this.invoke("GetPwd", {"username":username, "question":question, "answer":answer}, this.GetPwd.getArguments().slice(3));
	},
	AddFavorite: function(id) {
		return this.invoke("AddFavorite", {"id":id}, this.AddFavorite.getArguments().slice(1));
	},
	SeleteOrderFormState: function(sn) {
		return this.invoke("SeleteOrderFormState", {"sn":sn}, this.SeleteOrderFormState.getArguments().slice(1));
	},
	GetCitys: function(provinceValue) {
		return this.invoke("GetCitys", {"provinceValue":provinceValue}, this.GetCitys.getArguments().slice(1));
	},
	url: '/ajaxpro/Web.Ajax,Web.ashx'
}));
Web.Ajax = new Web.Ajax_class();


