addNamespace("Luoker.Components.BusAppOrEntity.Agent");
Luoker.Components.BusAppOrEntity.Agent.Agent_App_class = Class.create();
Object.extend(Luoker.Components.BusAppOrEntity.Agent.Agent_App_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	Exists_UserID: function(UserID) {
		return this.invoke("Exists_UserID", {"UserID":UserID}, this.Exists_UserID.getArguments().slice(1));
	},
	SubAgentisAdd: function(UserID) {
		return this.invoke("SubAgentisAdd", {"UserID":UserID}, this.SubAgentisAdd.getArguments().slice(1));
	},
	GetFieldValue: function(ResultField, Field, FieldValue, TableName) {
		return this.invoke("GetFieldValue", {"ResultField":ResultField, "Field":Field, "FieldValue":FieldValue, "TableName":TableName}, this.GetFieldValue.getArguments().slice(4));
	},
	Agent_OrderExists: function(ClientId, Product_Id) {
		return this.invoke("Agent_OrderExists", {"ClientId":ClientId, "Product_Id":Product_Id}, this.Agent_OrderExists.getArguments().slice(2));
	},
	SubAgent_OrderExists: function(Agent_UserID, Product_Id) {
		return this.invoke("SubAgent_OrderExists", {"Agent_UserID":Agent_UserID, "Product_Id":Product_Id}, this.SubAgent_OrderExists.getArguments().slice(2));
	},
	Exists_Grade: function(Grade) {
		return this.invoke("Exists_Grade", {"Grade":Grade}, this.Exists_Grade.getArguments().slice(1));
	},
	IsAuthenticate: function(UserID) {
		return this.invoke("IsAuthenticate", {"UserID":UserID}, this.IsAuthenticate.getArguments().slice(1));
	},
	GetAllGradeInfo: function() {
		return this.invoke("GetAllGradeInfo", {}, this.GetAllGradeInfo.getArguments().slice(0));
	},
	initialize: function() {
		this.url = '/ajaxpro/Luoker.Components.BusAppOrEntity.Agent.Agent_App,App_Code.2k9mf5tn.ashx';
	}
}));
Luoker.Components.BusAppOrEntity.Agent.Agent_App = new Luoker.Components.BusAppOrEntity.Agent.Agent_App_class();

