AjaxPortal_class = function() {};
Object.extend(AjaxPortal_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetTabConfigForSubscriptionTree: function(tabId) {
		return this.invoke("GetTabConfigForSubscriptionTree", {"tabId":tabId}, this.GetTabConfigForSubscriptionTree.getArguments().slice(1));
	},
	GetUserName: function(userId) {
		return this.invoke("GetUserName", {"userId":userId}, this.GetUserName.getArguments().slice(1));
	},
	IsSubscriptionExistOnTab: function(subscriptionId, tabId) {
		return this.invoke("IsSubscriptionExistOnTab", {"subscriptionId":subscriptionId, "tabId":tabId}, this.IsSubscriptionExistOnTab.getArguments().slice(2));
	},
	GetTabConfig: function(tabId) {
		return this.invoke("GetTabConfig", {"tabId":tabId}, this.GetTabConfig.getArguments().slice(1));
	},
	GetNodeContent: function(parentType, parentId) {
		return this.invoke("GetNodeContent", {"parentType":parentType, "parentId":parentId}, this.GetNodeContent.getArguments().slice(2));
	},
	GetGlobalGadget: function(globalGadgetId) {
		return this.invoke("GetGlobalGadget", {"globalGadgetId":globalGadgetId}, this.GetGlobalGadget.getArguments().slice(1));
	},
	AddTab: function(tabName, tabState) {
		return this.invoke("AddTab", {"tabName":tabName, "tabState":tabState}, this.AddTab.getArguments().slice(2));
	},
	AddTabAndCreateGadget: function(tabName, tabState, subsriptionId) {
		return this.invoke("AddTabAndCreateGadget", {"tabName":tabName, "tabState":tabState, "subsriptionId":subsriptionId}, this.AddTabAndCreateGadget.getArguments().slice(3));
	},
	CloneTab: function(tabName, tabState, tabId) {
		return this.invoke("CloneTab", {"tabName":tabName, "tabState":tabState, "tabId":tabId}, this.CloneTab.getArguments().slice(3));
	},
	RemoveTab: function(tabId) {
		return this.invoke("RemoveTab", {"tabId":tabId}, this.RemoveTab.getArguments().slice(1));
	},
	UpdateTab: function(tabId, tabName, tabState) {
		return this.invoke("UpdateTab", {"tabId":tabId, "tabName":tabName, "tabState":tabState}, this.UpdateTab.getArguments().slice(3));
	},
	SetSiteSpecificPreference: function(ownerId, name, value) {
		return this.invoke("SetSiteSpecificPreference", {"ownerId":ownerId, "name":name, "value":value}, this.SetSiteSpecificPreference.getArguments().slice(3));
	},
	SetPreference: function(ownerId, name, value) {
		return this.invoke("SetPreference", {"ownerId":ownerId, "name":name, "value":value}, this.SetPreference.getArguments().slice(3));
	},
	GetSiteSpecificPreference: function(ownerId, name) {
		return this.invoke("GetSiteSpecificPreference", {"ownerId":ownerId, "name":name}, this.GetSiteSpecificPreference.getArguments().slice(2));
	},
	GetPreference: function(ownerId, name) {
		return this.invoke("GetPreference", {"ownerId":ownerId, "name":name}, this.GetPreference.getArguments().slice(2));
	},
	GetInitPreferences: function(ownerId) {
		return this.invoke("GetInitPreferences", {"ownerId":ownerId}, this.GetInitPreferences.getArguments().slice(1));
	},
	GetConfigPreferences: function(globalGadgetId) {
		return this.invoke("GetConfigPreferences", {"globalGadgetId":globalGadgetId}, this.GetConfigPreferences.getArguments().slice(1));
	},
	GetGadgetID: function(tabId, subscriptionId) {
		return this.invoke("GetGadgetID", {"tabId":tabId, "subscriptionId":subscriptionId}, this.GetGadgetID.getArguments().slice(2));
	},
	CopyPreferenceForGadget: function(oldGadgetId, newGadgetId) {
		return this.invoke("CopyPreferenceForGadget", {"oldGadgetId":oldGadgetId, "newGadgetId":newGadgetId}, this.CopyPreferenceForGadget.getArguments().slice(2));
	},
	GetPreferences: function(ownerId) {
		return this.invoke("GetPreferences", {"ownerId":ownerId}, this.GetPreferences.getArguments().slice(1));
	},
	SetPreferences: function(ownerId, values) {
		return this.invoke("SetPreferences", {"ownerId":ownerId, "values":values}, this.SetPreferences.getArguments().slice(2));
	},
	AddSubscriptionToTab: function(subscriptionId, tabId) {
		return this.invoke("AddSubscriptionToTab", {"subscriptionId":subscriptionId, "tabId":tabId}, this.AddSubscriptionToTab.getArguments().slice(2));
	},
	RemoveSubscriptionFromTab: function(tabId, gadgetId) {
		return this.invoke("RemoveSubscriptionFromTab", {"tabId":tabId, "gadgetId":gadgetId}, this.RemoveSubscriptionFromTab.getArguments().slice(2));
	},
	RemoveStaticContentFromTab: function(tabId, gadgetId) {
		return this.invoke("RemoveStaticContentFromTab", {"tabId":tabId, "gadgetId":gadgetId}, this.RemoveStaticContentFromTab.getArguments().slice(2));
	},
	GetGlobalGadgetIdBySubscriptionId: function(subscriptionId) {
		return this.invoke("GetGlobalGadgetIdBySubscriptionId", {"subscriptionId":subscriptionId}, this.GetGlobalGadgetIdBySubscriptionId.getArguments().slice(1));
	},
	SavePortalUserConfigTab: function(tabId, config) {
		return this.invoke("SavePortalUserConfigTab", {"tabId":tabId, "config":config}, this.SavePortalUserConfigTab.getArguments().slice(2));
	},
	IsIgoogleEnabled: function(ownerId) {
		return this.invoke("IsIgoogleEnabled", {"ownerId":ownerId}, this.IsIgoogleEnabled.getArguments().slice(1));
	},
	IgoogleUrl: function(ownerId) {
		return this.invoke("IgoogleUrl", {"ownerId":ownerId}, this.IgoogleUrl.getArguments().slice(1));
	},
	AddSubscriptionToTabConfig: function(subscriptionId, tabId, shared) {
		return this.invoke("AddSubscriptionToTabConfig", {"subscriptionId":subscriptionId, "tabId":tabId, "shared":shared}, this.AddSubscriptionToTabConfig.getArguments().slice(3));
	},
	GetTypeByGadgetId: function(gadgetId) {
		return this.invoke("GetTypeByGadgetId", {"gadgetId":gadgetId}, this.GetTypeByGadgetId.getArguments().slice(1));
	},
	GetGlobalGadgetByType: function(type) {
		return this.invoke("GetGlobalGadgetByType", {"type":type}, this.GetGlobalGadgetByType.getArguments().slice(1));
	},
	GetEmptyDictionary: function() {
		return this.invoke("GetEmptyDictionary", {}, this.GetEmptyDictionary.getArguments().slice(0));
	},
	GetMapKey: function() {
		return this.invoke("GetMapKey", {}, this.GetMapKey.getArguments().slice(0));
	},
	IsMapAndGoogleExist: function(subscriptionId) {
		return this.invoke("IsMapAndGoogleExist", {"subscriptionId":subscriptionId}, this.IsMapAndGoogleExist.getArguments().slice(1));
	},
	GetTabCommonInputElements: function(tabId) {
		return this.invoke("GetTabCommonInputElements", {"tabId":tabId}, this.GetTabCommonInputElements.getArguments().slice(1));
	},
	RunAgents: function(inputs, tabId) {
		return this.invoke("RunAgents", {"inputs":inputs, "tabId":tabId}, this.RunAgents.getArguments().slice(2));
	},
	AjaxErrorResolve: function() {
		return this.invoke("AjaxErrorResolve", {}, this.AjaxErrorResolve.getArguments().slice(0));
	},
	SetTimeZoneOffset: function(timeZoneOffset) {
		return this.invoke("SetTimeZoneOffset", {"timeZoneOffset":timeZoneOffset}, this.SetTimeZoneOffset.getArguments().slice(1));
	},
	CheckActionState: function(processId) {
		return this.invoke("CheckActionState", {"processId":processId}, this.CheckActionState.getArguments().slice(1));
	},
	url: '/AgentLibrary/ajaxpro/PortalPageBase,App_Code.ashx'
}));
AjaxPortal = new AjaxPortal_class();


