CCViewLicensePage The MIT License Copyright (c) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 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\>