if(typeof AjaxMethod == "undefined") AjaxMethod={};
AjaxMethod_class = function() {};
Object.extend(AjaxMethod_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetGamelist: function() {
		return this.invoke("GetGamelist", {}, this.GetGamelist.getArguments().slice(0));
	},
	GetAmountList: function(GameID) {
		return this.invoke("GetAmountList", {"GameID":GameID}, this.GetAmountList.getArguments().slice(1));
	},
	GetServerList: function(GameID) {
		return this.invoke("GetServerList", {"GameID":GameID}, this.GetServerList.getArguments().slice(1));
	},
	Dt_ProductList: function(GameID, ServerId, CurrencySign) {
		return this.invoke("Dt_ProductList", {"GameID":GameID, "ServerId":ServerId, "CurrencySign":CurrencySign}, this.Dt_ProductList.getArguments().slice(3));
	},
	GetGameName: function(gameID) {
		return this.invoke("GetGameName", {"gameID":gameID}, this.GetGameName.getArguments().slice(1));
	},
	GetPrice: function(ServerID, num, current) {
		return this.invoke("GetPrice", {"ServerID":ServerID, "num":num, "current":current}, this.GetPrice.getArguments().slice(3));
	},
	TempOrderAdd: function(ServerID, ProductName, Price, Amount, PayType) {
		return this.invoke("TempOrderAdd", {"ServerID":ServerID, "ProductName":ProductName, "Price":Price, "Amount":Amount, "PayType":PayType}, this.TempOrderAdd.getArguments().slice(5));
	},
	AddTempOrder: function(ServerID, Price, Amount, PayType) {
		return this.invoke("AddTempOrder", {"ServerID":ServerID, "Price":Price, "Amount":Amount, "PayType":PayType}, this.AddTempOrder.getArguments().slice(4));
	},
	GetCouponTips: function(CouponCode, Price, Amount) {
		return this.invoke("GetCouponTips", {"CouponCode":CouponCode, "Price":Price, "Amount":Amount}, this.GetCouponTips.getArguments().slice(3));
	},
	CurrencyExchange: function(OldCurrencyName, NewCurrencyName) {
		return this.invoke("CurrencyExchange", {"OldCurrencyName":OldCurrencyName, "NewCurrencyName":NewCurrencyName}, this.CurrencyExchange.getArguments().slice(2));
	},
	Logout: function() {
		return this.invoke("Logout", {}, this.Logout.getArguments().slice(0));
	},
	UpateAcount: function(myUserID, E_Mail, FirstName, Tel) {
		return this.invoke("UpateAcount", {"myUserID":myUserID, "E_Mail":E_Mail, "FirstName":FirstName, "Tel":Tel}, this.UpateAcount.getArguments().slice(4));
	},
	UpatePassWord: function(myUserID, OldPwd, NewPwd, ConfirmPwd) {
		return this.invoke("UpatePassWord", {"myUserID":myUserID, "OldPwd":OldPwd, "NewPwd":NewPwd, "ConfirmPwd":ConfirmPwd}, this.UpatePassWord.getArguments().slice(4));
	},
	UpdateAddress: function(UserID, Address, City, Province, ZipCode, Country) {
		return this.invoke("UpdateAddress", {"UserID":UserID, "Address":Address, "City":City, "Province":Province, "ZipCode":ZipCode, "Country":Country}, this.UpdateAddress.getArguments().slice(6));
	},
	MyOrderStatus: function(userID, flag) {
		return this.invoke("MyOrderStatus", {"userID":userID, "flag":flag}, this.MyOrderStatus.getArguments().slice(2));
	},
	IsExistEmail: function(userName) {
		return this.invoke("IsExistEmail", {"userName":userName}, this.IsExistEmail.getArguments().slice(1));
	},
	GetLogin: function(UserName, Password) {
		return this.invoke("GetLogin", {"UserName":UserName, "Password":Password}, this.GetLogin.getArguments().slice(2));
	},
	url: '/ajaxpro/AjaxMethod,App_Code.ashx'
}));
AjaxMethod = new AjaxMethod_class();

