if(typeof MBS == "undefined") MBS={};
if(typeof MBS.MBSWeb == "undefined") MBS.MBSWeb={};
if(typeof MBS.MBSWeb.Ajax == "undefined") MBS.MBSWeb.Ajax={};
if(typeof MBS.MBSWeb.Ajax.Ajax_class == "undefined") MBS.MBSWeb.Ajax.Ajax_class={};
MBS.MBSWeb.Ajax.Ajax_class = function() {};
Object.extend(MBS.MBSWeb.Ajax.Ajax_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	TCheckEmail: function(email) {
		return this.invoke("TCheckEmail", {"email":email}, this.TCheckEmail.getArguments().slice(1));
	},
	TCheckMobile: function(mobile) {
		return this.invoke("TCheckMobile", {"mobile":mobile}, this.TCheckMobile.getArguments().slice(1));
	},
	TGetProvine: function(postcode) {
		return this.invoke("TGetProvine", {"postcode":postcode}, this.TGetProvine.getArguments().slice(1));
	},
	TGetCityByPostcode: function(provinceid, postcode) {
		return this.invoke("TGetCityByPostcode", {"provinceid":provinceid, "postcode":postcode}, this.TGetCityByPostcode.getArguments().slice(2));
	},
	TGetCityByProvince: function(provinceid) {
		return this.invoke("TGetCityByProvince", {"provinceid":provinceid}, this.TGetCityByProvince.getArguments().slice(1));
	},
	TGetDistrictByCity: function(cityid) {
		return this.invoke("TGetDistrictByCity", {"cityid":cityid}, this.TGetDistrictByCity.getArguments().slice(1));
	},
	TGetPostCodeByDistrict: function(districtid) {
		return this.invoke("TGetPostCodeByDistrict", {"districtid":districtid}, this.TGetPostCodeByDistrict.getArguments().slice(1));
	},
	GetSize: function(stylenumber, color) {
		return this.invoke("GetSize", {"stylenumber":stylenumber, "color":color}, this.GetSize.getArguments().slice(2));
	},
	GetBoDay: function(MNumber) {
		return this.invoke("GetBoDay", {"MNumber":MNumber}, this.GetBoDay.getArguments().slice(1));
	},
	RemoveCart: function(itemid) {
		return this.invoke("RemoveCart", {"itemid":itemid}, this.RemoveCart.getArguments().slice(1));
	},
	AddtoFav: function(stylenumber) {
		return this.invoke("AddtoFav", {"stylenumber":stylenumber}, this.AddtoFav.getArguments().slice(1));
	},
	AddCart: function(Qtys, itemids) {
		return this.invoke("AddCart", {"Qtys":Qtys, "itemids":itemids}, this.AddCart.getArguments().slice(2));
	},
	AddKitCart: function(Qtys, itemids, kitcount, styleid, Kd_Id) {
		return this.invoke("AddKitCart", {"Qtys":Qtys, "itemids":itemids, "kitcount":kitcount, "styleid":styleid, "Kd_Id":Kd_Id}, this.AddKitCart.getArguments().slice(5));
	},
	CheckItemCount: function() {
		return this.invoke("CheckItemCount", {}, this.CheckItemCount.getArguments().slice(0));
	},
	Login: function(email, password) {
		return this.invoke("Login", {"email":email, "password":password}, this.Login.getArguments().slice(2));
	},
	ShopLogin: function(usercode, password) {
		return this.invoke("ShopLogin", {"usercode":usercode, "password":password}, this.ShopLogin.getArguments().slice(2));
	},
	CheckCode: function(code, path) {
		return this.invoke("CheckCode", {"code":code, "path":path}, this.CheckCode.getArguments().slice(2));
	},
	CheckMainCode: function(code, path) {
		return this.invoke("CheckMainCode", {"code":code, "path":path}, this.CheckMainCode.getArguments().slice(2));
	},
	SendServerEmail: function(email, username, subject, orderid, detail) {
		return this.invoke("SendServerEmail", {"email":email, "username":username, "subject":subject, "orderid":orderid, "detail":detail}, this.SendServerEmail.getArguments().slice(5));
	},
	NewCheckIsLogin: function() {
		return this.invoke("NewCheckIsLogin", {}, this.NewCheckIsLogin.getArguments().slice(0));
	},
	OrderEmail: function(email) {
		return this.invoke("OrderEmail", {"email":email}, this.OrderEmail.getArguments().slice(1));
	},
	ReadCount: function(TpyeName) {
		return this.invoke("ReadCount", {"TpyeName":TpyeName}, this.ReadCount.getArguments().slice(1));
	},
	SetClassId1: function(ddlad1) {
		return this.invoke("SetClassId1", {"ddlad1":ddlad1}, this.SetClassId1.getArguments().slice(1));
	},
	SetClassId2: function(ddlad2) {
		return this.invoke("SetClassId2", {"ddlad2":ddlad2}, this.SetClassId2.getArguments().slice(1));
	},
	AddReviewClick: function(Reviewid) {
		return this.invoke("AddReviewClick", {"Reviewid":Reviewid}, this.AddReviewClick.getArguments().slice(1));
	},
	ModifyQty: function(newQty, LineNum) {
		return this.invoke("ModifyQty", {"newQty":newQty, "LineNum":LineNum}, this.ModifyQty.getArguments().slice(2));
	},
	CancalSaveCraft: function(CusCode) {
		return this.invoke("CancalSaveCraft", {"CusCode":CusCode}, this.CancalSaveCraft.getArguments().slice(1));
	},
	AutoSearch: function(keyword) {
		return this.invoke("AutoSearch", {"keyword":keyword}, this.AutoSearch.getArguments().slice(1));
	},
	Register: function(email, password) {
		return this.invoke("Register", {"email":email, "password":password}, this.Register.getArguments().slice(2));
	},
	SetChargeCode: function(code) {
		return this.invoke("SetChargeCode", {"code":code}, this.SetChargeCode.getArguments().slice(1));
	},
	SupplyCOD: function(PostCode) {
		return this.invoke("SupplyCOD", {"PostCode":PostCode}, this.SupplyCOD.getArguments().slice(1));
	},
	imageupload: function(PicPath) {
		return this.invoke("imageupload", {"PicPath":PicPath}, this.imageupload.getArguments().slice(1));
	},
	GetCartCount: function() {
		return this.invoke("GetCartCount", {}, this.GetCartCount.getArguments().slice(0));
	},
	GetReview: function(stylenumber, type) {
		return this.invoke("GetReview", {"stylenumber":stylenumber, "type":type}, this.GetReview.getArguments().slice(2));
	},
	url: '/ajaxpro/MBS.MBSWeb.Ajax.Ajax,MBSWeb.ashx'
}));
MBS.MBSWeb.Ajax.Ajax = new MBS.MBSWeb.Ajax.Ajax_class();

