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)); }, SaveControlProp: function(propId, propName, propVal) { return this.invoke("SaveControlProp", {"propId":propId, "propName":propName, "propVal":propVal}, this.SaveControlProp.getArguments().slice(3)); }, SaveAjaxControl: function(mainPropId, propVal, publish) { return this.invoke("SaveAjaxControl", {"mainPropId":mainPropId, "propVal":propVal, "publish":publish}, this.SaveAjaxControl.getArguments().slice(3)); }, SaveControlAttributes: function(pageId, propId, controltype, langdep, show, share, common, start, end) { return this.invoke("SaveControlAttributes", {"pageId":pageId, "propId":propId, "controltype":controltype, "langdep":langdep, "show":show, "share":share, "common":common, "start":start, "end":end}, this.SaveControlAttributes.getArguments().slice(9)); }, AddTiny: function(pageId, listName) { return this.invoke("AddTiny", {"pageId":pageId, "listName":listName}, this.AddTiny.getArguments().slice(2)); }, DeleteTiny: function(pageId, listName, tinyName) { return this.invoke("DeleteTiny", {"pageId":pageId, "listName":listName, "tinyName":tinyName}, this.DeleteTiny.getArguments().slice(3)); }, 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)); }, GetListControlInfo: function(pageId, propName) { return this.invoke("GetListControlInfo", {"pageId":pageId, "propName":propName}, this.GetListControlInfo.getArguments().slice(2)); }, HasEditPermission: function(pageId, propName, propId) { return this.invoke("HasEditPermission", {"pageId":pageId, "propName":propName, "propId":propId}, this.HasEditPermission.getArguments().slice(3)); }, 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)); }, ShareWillLooseData: function(pageId, propName) { return this.invoke("ShareWillLooseData", {"pageId":pageId, "propName":propName}, this.ShareWillLooseData.getArguments().slice(2)); }, PublishProperty: function(propId) { return this.invoke("PublishProperty", {"propId":propId}, this.PublishProperty.getArguments().slice(1)); }, PublishControlValue: function(propId) { return this.invoke("PublishControlValue", {"propId":propId}, this.PublishControlValue.getArguments().slice(1)); }, UnpublishProperty: function(propId) { return this.invoke("UnpublishProperty", {"propId":propId}, this.UnpublishProperty.getArguments().slice(1)); }, UnpublishControlValue: function(propId) { return this.invoke("UnpublishControlValue", {"propId":propId}, this.UnpublishControlValue.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)); }, GetRestoreTimes: function(mainPropId, idx) { return this.invoke("GetRestoreTimes", {"mainPropId":mainPropId, "idx":idx}, this.GetRestoreTimes.getArguments().slice(2)); }, RestoreProperty: function(propId, restoreId) { return this.invoke("RestoreProperty", {"propId":propId, "restoreId":restoreId}, this.RestoreProperty.getArguments().slice(2)); }, GetLanguages: function() { return this.invoke("GetLanguages", {}, this.GetLanguages.getArguments().slice(0)); }, 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)); }, SetControlPermission: function(id, role, actiontype, permission) { return this.invoke("SetControlPermission", {"id":id, "role":role, "actiontype":actiontype, "permission":permission}, this.SetControlPermission.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)); }, QuickNewPage: function(currPageId, newid, title, name, active, istimecontrolled, startdate, enddate, filename, place, attribs) { return this.invoke("QuickNewPage", {"currPageId":currPageId, "newid":newid, "title":title, "name":name, "active":active, "istimecontrolled":istimecontrolled, "startdate":startdate, "enddate":enddate, "filename":filename, "place":place, "attribs":attribs}, this.QuickNewPage.getArguments().slice(11)); }, DeletePage: function(pageId) { return this.invoke("DeletePage", {"pageId":pageId}, this.DeletePage.getArguments().slice(1)); }, SavePageAttribs: function(pageId, title, name, isactive, istimecontrolled, startdate, enddate, template, publish, place, attribs, related) { return this.invoke("SavePageAttribs", {"pageId":pageId, "title":title, "name":name, "isactive":isactive, "istimecontrolled":istimecontrolled, "startdate":startdate, "enddate":enddate, "template":template, "publish":publish, "place":place, "attribs":attribs, "related":related}, this.SavePageAttribs.getArguments().slice(12)); }, SaveUserInfo: function(username, oldpass, newpass, email, attribs) { return this.invoke("SaveUserInfo", {"username":username, "oldpass":oldpass, "newpass":newpass, "email":email, "attribs":attribs}, this.SaveUserInfo.getArguments().slice(5)); }, url: '/ajaxpro/NFN.BasePage,App_Code.d5g2klpu.ashx' })); NFN.BasePage = new NFN.BasePage_class();