if(typeof DAS == "undefined") DAS={};
if(typeof DAS.Affiliate == "undefined") DAS.Affiliate={};
if(typeof DAS.Affiliate.UI == "undefined") DAS.Affiliate.UI={};
if(typeof DAS.Affiliate.UI.AjaxAPI == "undefined") DAS.Affiliate.UI.AjaxAPI={};
DAS.Affiliate.UI.AjaxAPI_class = function() {};
Object.extend(DAS.Affiliate.UI.AjaxAPI_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetDescription: function(temp) {
		return this.invoke("GetDescription", {"temp":temp}, this.GetDescription.getArguments().slice(1));
	},
	GetServerTime: function() {
		return this.invoke("GetServerTime", {}, this.GetServerTime.getArguments().slice(0));
	},
	EchoInput: function(s) {
		return this.invoke("EchoInput", {"s":s}, this.EchoInput.getArguments().slice(1));
	},
	UpdatePartnerSegments: function(PartnerID, SegmentId) {
		return this.invoke("UpdatePartnerSegments", {"PartnerID":PartnerID, "SegmentId":SegmentId}, this.UpdatePartnerSegments.getArguments().slice(2));
	},
	UpdatePartnerCommission: function(PartnerID, FlatRateType) {
		return this.invoke("UpdatePartnerCommission", {"PartnerID":PartnerID, "FlatRateType":FlatRateType}, this.UpdatePartnerCommission.getArguments().slice(2));
	},
	url: '/ajaxpro/DAS.Affiliate.UI.AjaxAPI,DAS.Affiliate.UI.ashx'
}));
DAS.Affiliate.UI.AjaxAPI = new DAS.Affiliate.UI.AjaxAPI_class();

