if(typeof NodeWeb == "undefined") NodeWeb={};
NodeWeb.Ajax_class = function() {};
Object.extend(NodeWeb.Ajax_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetImageText: function() {
		return this.invoke("GetImageText", {}, this.GetImageText.getArguments().slice(0));
	},
	CheckImageText: function(text) {
		return this.invoke("CheckImageText", {"text":text}, this.CheckImageText.getArguments().slice(1));
	},
	SetImageText: function() {
		return this.invoke("SetImageText", {}, this.SetImageText.getArguments().slice(0));
	},
	GetSha1Salt: function() {
		return this.invoke("GetSha1Salt", {}, this.GetSha1Salt.getArguments().slice(0));
	},
	IsDebugMode: function() {
		return this.invoke("IsDebugMode", {}, this.IsDebugMode.getArguments().slice(0));
	},
	IsSessionAlive: function() {
		return this.invoke("IsSessionAlive", {}, this.IsSessionAlive.getArguments().slice(0));
	},
	GetAdminElement: function(elementType) {
		return this.invoke("GetAdminElement", {"elementType":elementType}, this.GetAdminElement.getArguments().slice(1));
	},
	GetAdminTreeView: function() {
		return this.invoke("GetAdminTreeView", {}, this.GetAdminTreeView.getArguments().slice(0));
	},
	NewAdminFilter: function(intFilter) {
		return this.invoke("NewAdminFilter", {"intFilter":intFilter}, this.NewAdminFilter.getArguments().slice(1));
	},
	GetFilters: function() {
		return this.invoke("GetFilters", {}, this.GetFilters.getArguments().slice(0));
	},
	SetSearchFilter: function(filters) {
		return this.invoke("SetSearchFilter", {"filters":filters}, this.SetSearchFilter.getArguments().slice(1));
	},
	getUserName: function() {
		return this.invoke("getUserName", {}, this.getUserName.getArguments().slice(0));
	},
	AddRemoveChildren: function(childType, childIds, parentType, parentIds, toAdd, all) {
		return this.invoke("AddRemoveChildren", {"childType":childType, "childIds":childIds, "parentType":parentType, "parentIds":parentIds, "toAdd":toAdd, "all":all}, this.AddRemoveChildren.getArguments().slice(6));
	},
	ReplaceChildren: function(childType, childIds, parentType, parentIds, all) {
		return this.invoke("ReplaceChildren", {"childType":childType, "childIds":childIds, "parentType":parentType, "parentIds":parentIds, "all":all}, this.ReplaceChildren.getArguments().slice(5));
	},
	ChangeUserType: function(userId, oldType, newType) {
		return this.invoke("ChangeUserType", {"userId":userId, "oldType":oldType, "newType":newType}, this.ChangeUserType.getArguments().slice(3));
	},
	GetJsonCompanyUsers: function(companyId) {
		return this.invoke("GetJsonCompanyUsers", {"companyId":companyId}, this.GetJsonCompanyUsers.getArguments().slice(1));
	},
	GetJsonCompanyBudgets: function(companyId) {
		return this.invoke("GetJsonCompanyBudgets", {"companyId":companyId}, this.GetJsonCompanyBudgets.getArguments().slice(1));
	},
	GetJsonCompanyArticles: function(companyId) {
		return this.invoke("GetJsonCompanyArticles", {"companyId":companyId}, this.GetJsonCompanyArticles.getArguments().slice(1));
	},
	GetJsonAssociateBudgets: function(associateId) {
		return this.invoke("GetJsonAssociateBudgets", {"associateId":associateId}, this.GetJsonAssociateBudgets.getArguments().slice(1));
	},
	GetCurrentContext: function() {
		return this.invoke("GetCurrentContext", {}, this.GetCurrentContext.getArguments().slice(0));
	},
	IsAnonym: function() {
		return this.invoke("IsAnonym", {}, this.IsAnonym.getArguments().slice(0));
	},
	GetAccountDetails: function(accountId) {
		return this.invoke("GetAccountDetails", {"accountId":accountId}, this.GetAccountDetails.getArguments().slice(1));
	},
	CheckPassword: function(password) {
		return this.invoke("CheckPassword", {"password":password}, this.CheckPassword.getArguments().slice(1));
	},
	LoginExists: function(login) {
		return this.invoke("LoginExists", {"login":login}, this.LoginExists.getArguments().slice(1));
	},
	SirenExists: function(siren) {
		return this.invoke("SirenExists", {"siren":siren}, this.SirenExists.getArguments().slice(1));
	},
	ClientCodeExists: function(clientCode) {
		return this.invoke("ClientCodeExists", {"clientCode":clientCode}, this.ClientCodeExists.getArguments().slice(1));
	},
	GetCurrentAccountId: function() {
		return this.invoke("GetCurrentAccountId", {}, this.GetCurrentAccountId.getArguments().slice(0));
	},
	GetCurrentCompanyId: function() {
		return this.invoke("GetCurrentCompanyId", {}, this.GetCurrentCompanyId.getArguments().slice(0));
	},
	GetCurrentAccount: function() {
		return this.invoke("GetCurrentAccount", {}, this.GetCurrentAccount.getArguments().slice(0));
	},
	GetCurrentCompany: function() {
		return this.invoke("GetCurrentCompany", {}, this.GetCurrentCompany.getArguments().slice(0));
	},
	GetUserJsonPacks: function(userId) {
		return this.invoke("GetUserJsonPacks", {"userId":userId}, this.GetUserJsonPacks.getArguments().slice(1));
	},
	GetCompanyJsonPacks: function(companyId) {
		return this.invoke("GetCompanyJsonPacks", {"companyId":companyId}, this.GetCompanyJsonPacks.getArguments().slice(1));
	},
	SendLostPasswordEmail: function(email) {
		return this.invoke("SendLostPasswordEmail", {"email":email}, this.SendLostPasswordEmail.getArguments().slice(1));
	},
	SendForgotPassword: function(email) {
		return this.invoke("SendForgotPassword", {"email":email}, this.SendForgotPassword.getArguments().slice(1));
	},
	DeleteFile: function(fileId) {
		return this.invoke("DeleteFile", {"fileId":fileId}, this.DeleteFile.getArguments().slice(1));
	},
	DeleteFiles: function(fileIds) {
		return this.invoke("DeleteFiles", {"fileIds":fileIds}, this.DeleteFiles.getArguments().slice(1));
	},
	ClearTemporaryDirectory: function() {
		return this.invoke("ClearTemporaryDirectory", {}, this.ClearTemporaryDirectory.getArguments().slice(0));
	},
	DeleteForm: function(formId) {
		return this.invoke("DeleteForm", {"formId":formId}, this.DeleteForm.getArguments().slice(1));
	},
	DeleteExport: function(exportId) {
		return this.invoke("DeleteExport", {"exportId":exportId}, this.DeleteExport.getArguments().slice(1));
	},
	StartExport: function(exportId) {
		return this.invoke("StartExport", {"exportId":exportId}, this.StartExport.getArguments().slice(1));
	},
	StopExport: function(exportId) {
		return this.invoke("StopExport", {"exportId":exportId}, this.StopExport.getArguments().slice(1));
	},
	ValidateExport: function(exportId, hashedPassword, timestamp) {
		return this.invoke("ValidateExport", {"exportId":exportId, "hashedPassword":hashedPassword, "timestamp":timestamp}, this.ValidateExport.getArguments().slice(3));
	},
	TestValidationPassword: function(timestamp, encryptedText) {
		return this.invoke("TestValidationPassword", {"timestamp":timestamp, "encryptedText":encryptedText}, this.TestValidationPassword.getArguments().slice(2));
	},
	TestExport: function(exportId) {
		return this.invoke("TestExport", {"exportId":exportId}, this.TestExport.getArguments().slice(1));
	},
	NewArticleDownload: function(teamCode, teamName, articleCode) {
		return this.invoke("NewArticleDownload", {"teamCode":teamCode, "teamName":teamName, "articleCode":articleCode}, this.NewArticleDownload.getArguments().slice(3));
	},
	GetStatisticsArticlesJson: function() {
		return this.invoke("GetStatisticsArticlesJson", {}, this.GetStatisticsArticlesJson.getArguments().slice(0));
	},
	GetDefaultJobId: function() {
		return this.invoke("GetDefaultJobId", {}, this.GetDefaultJobId.getArguments().slice(0));
	},
	GetActivities: function() {
		return this.invoke("GetActivities", {}, this.GetActivities.getArguments().slice(0));
	},
	GetSegments: function() {
		return this.invoke("GetSegments", {}, this.GetSegments.getArguments().slice(0));
	},
	GetPositions: function() {
		return this.invoke("GetPositions", {}, this.GetPositions.getArguments().slice(0));
	},
	GetLegalForms: function() {
		return this.invoke("GetLegalForms", {}, this.GetLegalForms.getArguments().slice(0));
	},
	GetJobNames: function() {
		return this.invoke("GetJobNames", {}, this.GetJobNames.getArguments().slice(0));
	},
	GetAgencyName: function(agencyCode) {
		return this.invoke("GetAgencyName", {"agencyCode":agencyCode}, this.GetAgencyName.getArguments().slice(1));
	},
	emptyTrash: function() {
		return this.invoke("emptyTrash", {}, this.emptyTrash.getArguments().slice(0));
	},
	cleanTrash: function() {
		return this.invoke("cleanTrash", {}, this.cleanTrash.getArguments().slice(0));
	},
	GetColumnModel: function(elementType) {
		return this.invoke("GetColumnModel", {"elementType":elementType}, this.GetColumnModel.getArguments().slice(1));
	},
	GetMetadata: function(elementType) {
		return this.invoke("GetMetadata", {"elementType":elementType}, this.GetMetadata.getArguments().slice(1));
	},
	GetColumnTemplateNames: function(metadataId) {
		return this.invoke("GetColumnTemplateNames", {"metadataId":metadataId}, this.GetColumnTemplateNames.getArguments().slice(1));
	},
	GetStoreForFieldColumnTemplate: function(className) {
		return this.invoke("GetStoreForFieldColumnTemplate", {"className":className}, this.GetStoreForFieldColumnTemplate.getArguments().slice(1));
	},
	SetMetadata: function(values) {
		return this.invoke("SetMetadata", {"values":values}, this.SetMetadata.getArguments().slice(1));
	},
	SetColumnTemplates: function(values, metadataId) {
		return this.invoke("SetColumnTemplates", {"values":values, "metadataId":metadataId}, this.SetColumnTemplates.getArguments().slice(2));
	},
	SetFieldColumnTemplates: function(values, metadataId) {
		return this.invoke("SetFieldColumnTemplates", {"values":values, "metadataId":metadataId}, this.SetFieldColumnTemplates.getArguments().slice(2));
	},
	GetForm: function(className, id) {
		return this.invoke("GetForm", {"className":className, "id":id}, this.GetForm.getArguments().slice(2));
	},
	url: '/ajaxpro/NodeWeb.Ajax,NodeWeb.ashx'
}));
NodeWeb.Ajax = new NodeWeb.Ajax_class();


