addNamespace("g4pgold.ajax");
g4pgold.ajax.common_class = Class.create();
Object.extend(g4pgold.ajax.common_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	CheckLogin: function() {
		return this.invoke("CheckLogin", {}, this.CheckLogin.getArguments().slice(0));
	},
	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));
	},
	SetCurrency: function(MoneyCode) {
		return this.invoke("SetCurrency", {"MoneyCode":MoneyCode}, this.SetCurrency.getArguments().slice(1));
	},
	GetCurrency: function() {
		return this.invoke("GetCurrency", {}, this.GetCurrency.getArguments().slice(0));
	},
	SaveAff: function(Aff) {
		return this.invoke("SaveAff", {"Aff":Aff}, this.SaveAff.getArguments().slice(1));
	},
	GetServerTime: function(Hours) {
		return this.invoke("GetServerTime", {"Hours":Hours}, this.GetServerTime.getArguments().slice(1));
	},
	RefreshInfo: function() {
		return this.invoke("RefreshInfo", {}, this.RefreshInfo.getArguments().slice(0));
	},
	ServiceScore: function() {
		return this.invoke("ServiceScore", {}, this.ServiceScore.getArguments().slice(0));
	},
	initialize: function() {
		this.url = '/ajaxpro/g4pgold.ajax.common,g4pgold.ashx';
	}
}));
g4pgold.ajax.common = new g4pgold.ajax.common_class();

