addNamespace("aion.ajax");
aion.ajax.common_class = Class.create();
Object.extend(aion.ajax.common_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetSerialNo: function(len) {
		return this.invoke("GetSerialNo", {"len":len}, this.GetSerialNo.getArguments().slice(1));
	},
	CreateItemList: function(Game, Server, ChangeMonkey) {
		return this.invoke("CreateItemList", {"Game":Game, "Server":Server, "ChangeMonkey":ChangeMonkey}, this.CreateItemList.getArguments().slice(3));
	},
	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));
	},
	SubmitConfirm: function(game, server, unit1, unit2, price1, price2, MoneyCode) {
		return this.invoke("SubmitConfirm", {"game":game, "server":server, "unit1":unit1, "unit2":unit2, "price1":price1, "price2":price2, "MoneyCode":MoneyCode}, this.SubmitConfirm.getArguments().slice(7));
	},
	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, IntroducerID, DeliveryType, PaymentType, GameName1, ServerName1, Unit1) {
		return this.invoke("SaveForm", {"i":i, "Code":Code, "Country":Country, "Email":Email, "YourName":YourName, "Character":Character, "Phone":Phone, "IntroducerID":IntroducerID, "DeliveryType":DeliveryType, "PaymentType":PaymentType, "GameName1":GameName1, "ServerName1":ServerName1, "Unit1":Unit1}, this.SaveForm.getArguments().slice(13));
	},
	initialize: function() {
		this.url = '/ajaxpro/aion.ajax.common,dal.ashx';
	}
}));
aion.ajax.common = new aion.ajax.common_class();

