CCViewLicensePage The zlib/libpng License Copyright (c) This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. BDS.getTop = function() { for(var p=window;p!=top && p!=null && (typeof p.isTop=="undefined" || p.isTop!==true);p=p.parent) ; if(p==null || typeof p.isTop=="undefined" || p.isTop!=true) p = top; return p; }; BDS.eval = function(js) { return window.eval(js); }; BDS.top = BDS.getTop(); BDS.sessionID = "5"; BDS.pageID = "CCViewLicensePage"; BDS.isDevelopment = false; BDS.logRedirects = false; BDS.enableDebugIDs = false; BDS.enableChromeFrameSupport = false; BDS.isChromeFrame = false; BDS.localeLanguage = "en"; BDS.loginPageID = "CCLoginPage"; BDS.igvernum = "1488650392206"; BDS.registrationPageID = "CCRegistrationPage"; BDS.initialuserPageID = "CCInitialUserPage"; URLUtilities.init("", "", "codecenter"); if(BDS.Cookie.isSet("resetClientView")) { BDS.Cookie.unset("resetClientView"); // This will fail if already top level beacuse BDSApplication has not yet been included // This seems to be ok? Because resetting client view is just going to top level // But maybe this is a bad thing and we should move this section of code below BDSApplication include? if(typeof BDS.top!="undefined" && typeof BDS.top.BDS!="undefined" && typeof BDS.top.BDS.Application!="undefined") BDS.top.BDS.Application.resetClientView(); } BDS.hasNoGizmos = true; BDS.onDOMReadyFunctions.push(function() { if(typeof BDS.top!="undefined" && typeof BDS.top.BDS!="undefined" && typeof BDS.top.BDS.Application!="undefined") { var page = BDS.top.BDS.URL.getPage(window.location.href); setTimeout(function() { BDS.top.BDS.Application.resizeFrameContainer(page); }, 0); } }); YAHOO.util.Event.addListener(window, "resize", function(e) { if(!e || typeof BDS.top=="undefined" || typeof BDS.top.BDS=="undefined" || typeof BDS.top.BDS.Application=="undefined") return; if(!window.parent || !window.frameElement || !window.name || window.name.length<1) return; if(window.frameElement.frameBorder && window.frameElement.frameBorder=="0") return; if(window.frameElement.skipNextResize && window.frameElement.skipNextResize==true) { window.frameElement.skipNextResize = false; return; } if(!BDS.Platform.ie) { if(BDS.hasOwnProperty("beforeCollapseOverflowStyle")) { document.body.style.overflow = BDS.beforeCollapseOverflowStyle; delete BDS.beforeCollapseOverflowStyle; } if(document.body.hasOwnProperty("beforeShrunkOverflowStyle")) { document.body.style.overflow = document.body.beforeShrunkOverflowStyle; delete document.body.beforeShrunkOverflowStyle; } } if(window.frameElement.parentNode.rows) { var ourSize = (window.innerHeight ? window.innerHeight : ((window.document.documentElement && window.document.documentElement.clientHeight) ? window.document.documentElement.clientHeight : window.document.body.clientHeight)) var totalSize = (window.parent.innerHeight ? window.parent.innerHeight : ((window.parent.document.documentElement && window.parent.document.documentElement.clientHeight) ? window.parent.document.documentElement.clientHeight : window.parent.document.body.clientHeight)) BDS.top.BDS.Application.setPreference("frameSize", window.name, "" + ((ourSize/totalSize)*100).toFixed(2) + "%"); } else { var ourSize = (window.innerWidth ? window.innerWidth : ((window.document.documentElement && window.document.documentElement.clientWidth) ? window.document.documentElement.clientWidth : window.document.body.clientWidth)) var totalSize = (window.parent.innerWidth ? window.parent.innerWidth : ((window.parent.document.documentElement && window.parent.document.documentElement.clientWidth) ? window.parent.document.documentElement.clientWidth : window.parent.document.body.clientWidth)) BDS.top.BDS.Application.setPreference("frameSize", window.name, "" + ((ourSize/totalSize)*100).toFixed(4) + "%"); } }); BDS.permissions = {"PERMISSION_ACCESS":["PERMISSION_ACCESS"],"PERMISSION_APP_DELETECOMPONENTUSE":["PERMISSION_APP_DELETECOMPONENTUSE"],"PERMISSION_BOARD_REVIEW":["PERMISSION_BOARD_REVIEW"],"PERMISSION_CONFIG_UPDATEAPPTEAM":["PERMISSION_CONFIG_UPDATEAPPTEAM"],"PERMISSION_APP_UPDATECOMPONENTUSE":["PERMISSION_APP_UPDATECOMPONENTUSE"],"PERMISSION_APP_DELETE":["PERMISSION_APP_DELETE"],"PERMISSION_APP_UPDATE":["PERMISSION_APP_UPDATE"],"PERMISSION_COMP_READ":["PERMISSION_COMP_READ"],"PERMISSION_APPLICATION_COMPONENT":["PERMISSION_APPLICATION_COMPONENT"],"PERMISSION_CONFIG_READBOARDTEAM":["PERMISSION_CONFIG_READBOARDTEAM"],"PERMISSION_MULTICHECK_OBLIGATION":["PERMISSION_MULTICHECK_OBLIGATION"],"PERMISSION_OBLIGATION_FULFILLMENT":["PERMISSION_OBLIGATION_FULFILLMENT"],"PERMISSION_ENABLED_DEVELOPERS":["PERMISSION_ENABLED_DEVELOPERS"],"PERMISSION_CONFIG_READ":["PERMISSION_CONFIG_READ"],"PERMISSION_ENABLE_SEARCH_ENGINE_TAB":["PERMISSION_ENABLE_SEARCH_ENGINE_TAB"],"PERMISSION_APP_UPDATEREQUESTLICENSE":["PERMISSION_APP_UPDATEREQUESTLICENSE"],"PERMISSION_APP_ASSIGN_WORKFLOW":["PERMISSION_APP_ASSIGN_WORKFLOW"],"PERMISSION_APP_CREATE":["PERMISSION_APP_CREATE"],"PERMISSION_CONFIG_READAPPTEAM":["PERMISSION_CONFIG_READAPPTEAM"],"PERMISSION_APP_READ":["PERMISSION_APP_READ"],"PERMISSION_OBLIGATION_MANAGEMENT":["PERMISSION_OBLIGATION_MANAGEMENT"],"PERMISSION_APP_NOT_MARKED_DELETED":["PERMISSION_APP_NOT_MARKED_DELETED"],"PERMISSION_APP_ADDCOMPONENTUSE":["PERMISSION_APP_ADDCOMPONENTUSE"]}; BDS.Session.populate("sessionID", "5"); // If we have a client side igvernum then ensure that it's the same as our server side one var clientSideIgvernum = BDS.top.BDS.Session.get("igvernum"); if(clientSideIgvernum!=null && clientSideIgvernum.length>0 && clientSideIgvernum!="1488650392206") { if(BDS.logRedirects) alert("session_populate_js.ftl clientSideIgvernum not valid"); BDS.top.location.href = URLUtilities.buildDeweyURL(""); } BDS.top.BDS.Session.populate("igvernum", "1488650392206"); if(typeof BDS.top!="undefined" && typeof BDS.top.BDS!="undefined" && typeof BDS.top.GizmoCommunicationCentral!="undefined" && typeof BDS.top.GizmoCommunicationCentral.getPageReference!="undefined") BDS.top.GizmoCommunicationCentral.dispatchMessage("CCHeaderTabs", "update", "{\"bodyIncludes\":[\"*\\/Tabs\\/Tabs_body.ftl\"],\"debugID\":\"CCHeaderTabs\",\"id\":\"CCHeaderTabs\",\"sessionKeysUsed\":[\"CCCompAddUse\"],\"type\":\"Tabs\",\"isGizmoTemplate\":false,\"config\":{\"permissionDisableOverride\":\"false\",\"gizmoType\":\"Tabs\",\"gizmoID\":\"CCHeaderTabs\",\"gizmoConfig\":\"TopSquare<\\/style\>