if(typeof NFN == "undefined") NFN={};
NFN.BasePage_class = function() {};
Object.extend(NFN.BasePage_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	SetLanguage: function(lang) {
		return this.invoke("SetLanguage", {"lang":lang}, this.SetLanguage.getArguments().slice(1));
	},
	SavePropVal: function(propId, propName, propVal, publish) {
		return this.invoke("SavePropVal", {"propId":propId, "propName":propName, "propVal":propVal, "publish":publish}, this.SavePropVal.getArguments().slice(4));
	},
	SaveTiny: function(mainPropId, subPropName, propVal, publish, visible, startDate, endDate) {
		return this.invoke("SaveTiny", {"mainPropId":mainPropId, "subPropName":subPropName, "propVal":propVal, "publish":publish, "visible":visible, "startDate":startDate, "endDate":endDate}, this.SaveTiny.getArguments().slice(7));
	},
	UpdatePropertyCol: function(propId, col, val) {
		return this.invoke("UpdatePropertyCol", {"propId":propId, "col":col, "val":val}, this.UpdatePropertyCol.getArguments().slice(3));
	},
	GetHtmlTemplates: function() {
		return this.invoke("GetHtmlTemplates", {}, this.GetHtmlTemplates.getArguments().slice(0));
	},
	GetControlInfo: function(pageId, ipropId, propName, returnPropVal) {
		return this.invoke("GetControlInfo", {"pageId":pageId, "ipropId":ipropId, "propName":propName, "returnPropVal":returnPropVal}, this.GetControlInfo.getArguments().slice(4));
	},
	GetPropVal: function(propId, propName) {
		return this.invoke("GetPropVal", {"propId":propId, "propName":propName}, this.GetPropVal.getArguments().slice(2));
	},
	GetPropValue: function(mainProp, subProp) {
		return this.invoke("GetPropValue", {"mainProp":mainProp, "subProp":subProp}, this.GetPropValue.getArguments().slice(2));
	},
	ShowHideProperty: function(propId, show) {
		return this.invoke("ShowHideProperty", {"propId":propId, "show":show}, this.ShowHideProperty.getArguments().slice(2));
	},
	ShareWillLooseData: function(pageId, propName) {
		return this.invoke("ShareWillLooseData", {"pageId":pageId, "propName":propName}, this.ShareWillLooseData.getArguments().slice(2));
	},
	SetSharing: function(pageId, propId, controlType, share) {
		return this.invoke("SetSharing", {"pageId":pageId, "propId":propId, "controlType":controlType, "share":share}, this.SetSharing.getArguments().slice(4));
	},
	SetCommon: function(pageId, propId, controlType, share) {
		return this.invoke("SetCommon", {"pageId":pageId, "propId":propId, "controlType":controlType, "share":share}, this.SetCommon.getArguments().slice(4));
	},
	PublishProperty: function(propId) {
		return this.invoke("PublishProperty", {"propId":propId}, this.PublishProperty.getArguments().slice(1));
	},
	UnpublishProperty: function(propId) {
		return this.invoke("UnpublishProperty", {"propId":propId}, this.UnpublishProperty.getArguments().slice(1));
	},
	LockProperty: function(propId) {
		return this.invoke("LockProperty", {"propId":propId}, this.LockProperty.getArguments().slice(1));
	},
	UnlockProperty: function(propId) {
		return this.invoke("UnlockProperty", {"propId":propId}, this.UnlockProperty.getArguments().slice(1));
	},
	IsPagePropPublished: function(pageId, propName) {
		return this.invoke("IsPagePropPublished", {"pageId":pageId, "propName":propName}, this.IsPagePropPublished.getArguments().slice(2));
	},
	IsLockedProperty: function(propId) {
		return this.invoke("IsLockedProperty", {"propId":propId}, this.IsLockedProperty.getArguments().slice(1));
	},
	Translate: function(txt) {
		return this.invoke("Translate", {"txt":txt}, this.Translate.getArguments().slice(1));
	},
	TranslateArr: function(txt) {
		return this.invoke("TranslateArr", {"txt":txt}, this.TranslateArr.getArguments().slice(1));
	},
	CheckLoggedIn: function() {
		return this.invoke("CheckLoggedIn", {}, this.CheckLoggedIn.getArguments().slice(0));
	},
	GetRoles: function(propname) {
		return this.invoke("GetRoles", {"propname":propname}, this.GetRoles.getArguments().slice(1));
	},
	GetPermission: function(id, itemtype, actiontype) {
		return this.invoke("GetPermission", {"id":id, "itemtype":itemtype, "actiontype":actiontype}, this.GetPermission.getArguments().slice(3));
	},
	GetPermissionHtml: function(aRole, propName, propId) {
		return this.invoke("GetPermissionHtml", {"aRole":aRole, "propName":propName, "propId":propId}, this.GetPermissionHtml.getArguments().slice(3));
	},
	GetPermissionInfo: function(aRole, propId) {
		return this.invoke("GetPermissionInfo", {"aRole":aRole, "propId":propId}, this.GetPermissionInfo.getArguments().slice(2));
	},
	SetRichTextPermission: function(id, role, actiontype, permission) {
		return this.invoke("SetRichTextPermission", {"id":id, "role":role, "actiontype":actiontype, "permission":permission}, this.SetRichTextPermission.getArguments().slice(4));
	},
	SetDefaultPermissions: function(propId, role) {
		return this.invoke("SetDefaultPermissions", {"propId":propId, "role":role}, this.SetDefaultPermissions.getArguments().slice(2));
	},
	ReplaceBR: function(value) {
		return this.invoke("ReplaceBR", {"value":value}, this.ReplaceBR.getArguments().slice(1));
	},
	GetThumbnail: function(url, width, height) {
		return this.invoke("GetThumbnail", {"url":url, "width":width, "height":height}, this.GetThumbnail.getArguments().slice(3));
	},
	GetThumbnail: function(url, width, height, keepaspect, errthumb) {
		return this.invoke("GetThumbnail", {"url":url, "width":width, "height":height, "keepaspect":keepaspect, "errthumb":errthumb}, this.GetThumbnail.getArguments().slice(5));
	},
	url: '/ajaxpro/NFN.BasePage,App_Code.s4kpomyl.ashx'
}));
NFN.BasePage = new NFN.BasePage_class();

