addNamespace("aion.ajax");
aion.ajax.common_class = Class.create();
Object.extend(aion.ajax.common_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	Login: function(Email, PassWord) {
		return this.invoke("Login", {"Email":Email, "PassWord":PassWord}, this.Login.getArguments().slice(2));
	},
	Logout: function() {
		return this.invoke("Logout", {}, this.Logout.getArguments().slice(0));
	},
	CheckLogin: function() {
		return this.invoke("CheckLogin", {}, this.CheckLogin.getArguments().slice(0));
	},
	GetSerialNo: function(len) {
		return this.invoke("GetSerialNo", {"len":len}, this.GetSerialNo.getArguments().slice(1));
	},
	SaveAff: function(Aff) {
		return this.invoke("SaveAff", {"Aff":Aff}, this.SaveAff.getArguments().slice(1));
	},
	CreateItemList: function(Game, Server, ChangeMonkey) {
		return this.invoke("CreateItemList", {"Game":Game, "Server":Server, "ChangeMonkey":ChangeMonkey}, this.CreateItemList.getArguments().slice(3));
	},
	SubmitConfirm: function(game, server, unit1, unit2, price1, price2, MoneyCode, Quantity) {
		return this.invoke("SubmitConfirm", {"game":game, "server":server, "unit1":unit1, "unit2":unit2, "price1":price1, "price2":price2, "MoneyCode":MoneyCode, "Quantity":Quantity}, this.SubmitConfirm.getArguments().slice(8));
	},
	ChangeMoneyCode: function(Game, Server, MoneyCode) {
		return this.invoke("ChangeMoneyCode", {"Game":Game, "Server":Server, "MoneyCode":MoneyCode}, this.ChangeMoneyCode.getArguments().slice(3));
	},
	SaveForm: function(i, Code, Country, Email, YourName, Character, Phone, Msn, IntroducerID, IntroducerCharacter, DeliveryType, PaymentType) {
		return this.invoke("SaveForm", {"i":i, "Code":Code, "Country":Country, "Email":Email, "YourName":YourName, "Character":Character, "Phone":Phone, "Msn":Msn, "IntroducerID":IntroducerID, "IntroducerCharacter":IntroducerCharacter, "DeliveryType":DeliveryType, "PaymentType":PaymentType}, this.SaveForm.getArguments().slice(12));
	},
	GetCodeInfo: function(Game, Code, Unit, Price) {
		return this.invoke("GetCodeInfo", {"Game":Game, "Code":Code, "Unit":Unit, "Price":Price}, this.GetCodeInfo.getArguments().slice(4));
	},
	CheckFromURL: function() {
		return this.invoke("CheckFromURL", {}, this.CheckFromURL.getArguments().slice(0));
	},
	GetSearchDiscount: function(Game) {
		return this.invoke("GetSearchDiscount", {"Game":Game}, this.GetSearchDiscount.getArguments().slice(1));
	},
	GetHotList: function(GameName, packagesclass, flagIndex) {
		return this.invoke("GetHotList", {"GameName":GameName, "packagesclass":packagesclass, "flagIndex":flagIndex}, this.GetHotList.getArguments().slice(3));
	},
	RefreshInfo: function() {
		return this.invoke("RefreshInfo", {}, this.RefreshInfo.getArguments().slice(0));
	},
	initialize: function() {
		this.url = '/ajaxpro/aion.ajax.common,dal.ashx';
	}
}));
aion.ajax.common = new aion.ajax.common_class();

