var g_httpCgiUrl = "/stellent/idcplg?IdcService=SS_GET_PAGE&"; ///////////////////////////////////////////////////////////////////////////// // Function : NavNode (constructor) // Comments : ///////////////////////////////////////////////////////////////////////////// function NavNode(id, label, href, parent) { this.m_parent = null; this.m_level = 0; if (parent) { this.m_parent = parent; this.m_level = parent.m_level+1; } this.m_id = id; // assume that m_label will most often be used directly as HTML this.m_rawlabel = label; label = label.replace(/&/g, '&'); label = label.replace(//g, '>'); label = label.replace(/"/g, '"'); this.m_label = label; this.m_href = href; this.m_subNodes = new Array(); var argValues = NavNode.arguments; var argCount = NavNode.arguments.length; for (i = 4 ; i < argCount ; i++) { var attrName = argValues[i].split("==")[0]; var attrValue = argValues[i].split("==")[1]; eval("this.cp_" + attrName + " = '" + attrValue + "';"); } NavNode.prototype.addNode = addNode; NavNode.prototype.isSelected = isSelected; } ///////////////////////////////////////////////////////////////////////////// // Function : addNode // Comments : ///////////////////////////////////////////////////////////////////////////// function addNode(id, label, href) { var newIndex = this.m_subNodes.length; var newNode = new NavNode(id, label, href, this); var argValues = addNode.arguments; var argCount = addNode.arguments.length; for (i = 3 ; i < argCount ; i++) { var attrName = argValues[i].split("==")[0]; var attrValue = argValues[i].split("==")[1]; eval("newNode.cp_" + attrName + " = '" + attrValue + "';"); } this.m_subNodes[newIndex] = newNode; return newNode; } ///////////////////////////////////////////////////////////////////////////// // Function : isSelected // Comments : ///////////////////////////////////////////////////////////////////////////// function isSelected() { var pos = window.location.href.lastIndexOf("/"); var docname = window.location.href.substring(pos+1, window.location.href.length); pos = this.m_href.lastIndexOf("/"); var myname = this.m_href.substring(pos+1, this.m_href.length); if (docname == myname) return true; else return false; } ///////////////////////////////////////////////////////////////////////////// // Function : isTrue // Comments : ///////////////////////////////////////////////////////////////////////////// function isTrue( boolStr ) { if( boolStr.length > 0 ) { var boolChar = boolStr.substring(0,1).toUpperCase(); if( ( boolChar == '1' ) || ( boolChar == 'T' ) ) { return true; } } return false; } ///////////////////////////////////////////////////////////////////////////// // Function : customSectionPropertyExists // Comments : ///////////////////////////////////////////////////////////////////////////// function customSectionPropertyExists(csp) { return (typeof csp != _U && csp != null); } ///////////////////////////////////////////////////////////////////////////// // Function : getCustomSectionProperty // Comments : ///////////////////////////////////////////////////////////////////////////// function getCustomSectionProperty(csp) { if (customSectionPropertyExists(csp)) { return csp; } else { return ""; } } ///////////////////////////////////////////////////////////////////////////// // Function : link // Comments : ///////////////////////////////////////////////////////////////////////////// function link(dDocName,ssTargetNodeId) { if ((dDocName.search("http://") != -1) || (dDocName.search("https://") != -1)) window.open(dDocName); else { var newUrl = ""; newUrl += g_httpCgiUrl; newUrl += "ssDocName=" + dDocName; var currentUrl = "" + window.location; // Continue propagation of the "SSContributor" parameter if( SSContributor ) { var paramName = "SSContributor="; var pos = currentUrl.indexOf( paramName ); if( pos != -1 ) { var subStr = currentUrl.substring( pos+paramName.length, pos+paramName.length+1 ); if( isTrue( subStr ) ) { newUrl += "&" + paramName + "true"; } } } // Continue propagation of the "previewId" parameter var previewId = "previewId="; var posStart = currentUrl.indexOf( previewId ); if( posStart != -1 ) { var posEnd = currentUrl.indexOf("&", posStart); var value = ""; if (posEnd == -1) { value = currentUrl.substring(posStart+previewId.length, currentUrl.length); } else { value = currentUrl.substring(posStart+previewId.length, posEnd); } newUrl += "&" + previewId + value; } // We now always add the node that the link is on as part of the URl also. if( g_ssSourceNodeId != _U && g_ssSourceNodeId != null ) newUrl += "&ssSourceNodeId=" + g_ssSourceNodeId; // If we have a specific target nodeId then add that to the URL also if( ssTargetNodeId != _U && ssTargetNodeId != null ) newUrl += "&ssTargetNodeId=" + ssTargetNodeId; // Navigate to the new url window.location = newUrl; } } ///////////////////////////////////////////////////////////////////////////// // Function : nodelink // Comments : ///////////////////////////////////////////////////////////////////////////// function nodelink(nodeId) { var newUrl = ""; newUrl += g_httpCgiUrl; newUrl += "nodeId=" + nodeId; var currentUrl = "" + window.location; // Continue propagation of the "SSContributor" parameter if( SSContributor ) { var paramName = "SSContributor="; var pos = currentUrl.indexOf( paramName ); if( pos != -1 ) { var subStr = currentUrl.substring( pos+paramName.length, pos+paramName.length+1 ); if( isTrue( subStr ) ) { newUrl += "&" + paramName + "true"; } } } // Continue propagation of the "previewId" parameter var previewId = "previewId="; var posStart = currentUrl.indexOf( previewId ); if( posStart != -1 ) { var posEnd = currentUrl.indexOf("&", posStart); var value = ""; if (posEnd == -1) { value = currentUrl.substring(posStart+previewId.length, currentUrl.length); } else { value = currentUrl.substring(posStart+previewId.length, posEnd); } newUrl += "&" + previewId + value; } // We now always add the node that the link is on as part of the URl also. if( g_ssSourceNodeId != _U && g_ssSourceNodeId != null ) newUrl += "&ssSourceNodeId=" + g_ssSourceNodeId; // Navigate to the new url window.location = newUrl; } ///////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////// // Function : popup_link // Comments : ///////////////////////////////////////////////////////////////////////////// function popup_link(dDocName,target,ssTargetNodeId) { if ((dDocName.search("http://") != -1) || (dDocName.search("https://") != -1)) window.open(dDocName, target); else { var newUrl = ""; newUrl += g_httpCgiUrl; newUrl += "ssDocName=" + dDocName; var currentUrl = "" + window.location; // Continue propagation of the "SSContributor" parameter if( SSContributor ) { var paramName = "SSContributor="; var pos = currentUrl.indexOf( paramName ); if( pos != -1 ) { var subStr = currentUrl.substring( pos+paramName.length, pos+paramName.length+1 ); if( isTrue( subStr ) ) { newUrl += "&" + paramName + "true"; } } } // Continue propagation of the "previewId" parameter var previewId = "previewId="; var posStart = currentUrl.indexOf( previewId ); if( posStart != -1 ) { var posEnd = currentUrl.indexOf("&", posStart); var value = ""; if (posEnd == -1) { value = currentUrl.substring(posStart+previewId.length, currentUrl.length); } else { value = currentUrl.substring(posStart+previewId.length, posEnd); } newUrl += "&" + previewId + value; } // We now always add the node that the link is on as part of the URl also. if( g_ssSourceNodeId != _U && g_ssSourceNodeId != null ) newUrl += "&ssSourceNodeId=" + g_ssSourceNodeId; // If we have a specific target nodeId then add that to the URL also if( ssTargetNodeId != _U && ssTargetNodeId != null ) newUrl += "&ssTargetNodeId=" + ssTargetNodeId; // Navigate to the new url window.open(newUrl, target); } } ///////////////////////////////////////////////////////////////////////////// // Function : popup_nodelink // Comments : ///////////////////////////////////////////////////////////////////////////// function popup_nodelink(nodeId,target) { var newUrl = ""; newUrl += g_httpCgiUrl; newUrl += "nodeId=" + nodeId; var currentUrl = "" + window.location; // Continue propagation of the "SSContributor" parameter if( SSContributor ) { var paramName = "SSContributor="; var pos = currentUrl.indexOf( paramName ); if( pos != -1 ) { var subStr = currentUrl.substring( pos+paramName.length, pos+paramName.length+1 ); if( isTrue( subStr ) ) { newUrl += "&" + paramName + "true"; } } } // Continue propagation of the "previewId" parameter var previewId = "previewId="; var posStart = currentUrl.indexOf( previewId ); if( posStart != -1 ) { var posEnd = currentUrl.indexOf("&", posStart); var value = ""; if (posEnd == -1) { value = currentUrl.substring(posStart+previewId.length, currentUrl.length); } else { value = currentUrl.substring(posStart+previewId.length, posEnd); } newUrl += "&" + previewId + value; } // We now always add the node that the link is on as part of the URl also. if( g_ssSourceNodeId != _U && g_ssSourceNodeId != null ) newUrl += "&ssSourceNodeId=" + g_ssSourceNodeId; // Navigate to the new url window.open(newUrl, target); } var g_navNode_Root = new NavNode('894','Switzerland\x20Home','javascript:cnslink(0)',null); g_navNode_1=g_navNode_Root.addNode('895','Solutions','javascript:cnslink(1)'); g_navNode_1_4=g_navNode_1.addNode('906','Enterprise','javascript:cnslink(2)'); g_navNode_2=g_navNode_Root.addNode('897','Support','javascript:cnslink(3)','secondaryUrlVariableField==region1'); g_navNode_14=g_navNode_Root.addNode('903','Security\x20Services','javascript:cnslink(4)'); g_navNode_15=g_navNode_Root.addNode('904','Information\x20Services','javascript:cnslink(5)'); g_navNode_16=g_navNode_Root.addNode('905','Communications\x20Services','javascript:cnslink(6)','secondaryUrlVariableField==region1'); g_navNode_17=g_navNode_Root.addNode('911','PKI\x20\x26\x20Authentication\x20Services','javascript:cnslink(7)'); g_navNode_17_0=g_navNode_17.addNode('919','Core\x20Managed\x20PKI','javascript:cnslink(8)'); g_navNode_17_0_0=g_navNode_17_0.addNode('920','Go\x20Secure\x21\x20Solutions','javascript:cnslink(9)'); g_navNode_17_0_0_0=g_navNode_17_0_0.addNode('921','Go\x20Secure\x21\x20for\x20Web\x20Applications','javascript:cnslink(10)'); g_navNode_17_0_0_1=g_navNode_17_0_0.addNode('922','Go\x20Secure\x21\x20for\x20Microsoft\x20Exchange','javascript:cnslink(11)'); g_navNode_17_0_0_2=g_navNode_17_0_0.addNode('923','Go\x20Secure\x21\x20for\x20Lotus\x20Notes\x20R5\x20-\x20R6','javascript:cnslink(12)'); g_navNode_17_0_0_3=g_navNode_17_0_0.addNode('924','VPN\x20Solutions','javascript:cnslink(13)'); g_navNode_17_0_1=g_navNode_17_0.addNode('925','Key\x20Management\x20Services','javascript:cnslink(14)'); g_navNode_17_0_2=g_navNode_17_0.addNode('926','Roaming','javascript:cnslink(15)'); g_navNode_17_0_3=g_navNode_17_0.addNode('927','Smart\x20Card\x20Authentication\x20Solutions','javascript:cnslink(16)'); g_navNode_17_0_4=g_navNode_17_0.addNode('928','Trusted\x20Form\x20Signing\x20-\x20VeriSign\x20Document\x20Signer','javascript:cnslink(17)'); g_navNode_17_0_5=g_navNode_17_0.addNode('929','Trusted\x20Messaging','javascript:cnslink(18)'); g_navNode_17_0_6=g_navNode_17_0.addNode('930','Digital\x20IDs\x20for\x20Secure\x20Email','javascript:cnslink(19)'); g_navNode_17_1=g_navNode_17.addNode('931','Managed\x20PKI\x20Fast\x20Track','javascript:cnslink(20)'); g_navNode_17_2=g_navNode_17.addNode('932','XML\x20Trust\x20Services','javascript:cnslink(21)'); g_navNode_17_3=g_navNode_17.addNode('933','Consulting','javascript:cnslink(22)'); g_navNode_17_4=g_navNode_17.addNode('934','Cable\x20Modem\x20Services','javascript:cnslink(23)','secondaryUrlVariableField==region1'); g_navNode_17_4_0=g_navNode_17_4.addNode('9144','Cable\x20Modem\x20Authentication\x20Service','javascript:cnslink(24)'); g_navNode_17_5=g_navNode_17.addNode('10798','PKI\x20Applications','javascript:cnslink(25)'); g_navNode_17_5_0=g_navNode_17_5.addNode('10799','VeriSign\xae\x20Services\x20for\x20WiMAX-compliant\x20devices','javascript:cnslink(26)'); g_navNode_17_6=g_navNode_17.addNode('10800','Device\x20Certificate\x20Service','javascript:cnslink(27)'); g_navNode_18=g_navNode_Root.addNode('9305','Email\x20Security\x20Service','javascript:cnslink(28)','secondaryUrlVariableField==region1'); g_navNode_26=g_navNode_Root.addNode('11520','VeriSign\x20Identity\x20and\x20Authentication\x20Services','javascript:cnslink(29)'); // introduced by connection server var g_cnsnodes = new Array(); g_cnsnodes[0] = '/index.html'; g_cnsnodes[1] = '/verisign-business-solutions/index.html'; g_cnsnodes[2] = '/verisign-business-solutions/enterprise-solutions/index.html'; g_cnsnodes[3] = '/support/index.html'; g_cnsnodes[4] = '/security-services/index.html'; g_cnsnodes[5] = '/information-services/index.html'; g_cnsnodes[6] = '/communications/index.html'; g_cnsnodes[7] = '/pki/index.html'; g_cnsnodes[8] = '/pki/pki-security/index.html'; g_cnsnodes[9] = '/pki/pki-security/pki-solution/index.html'; g_cnsnodes[10] = '/pki/pki-security/pki-solution/web-application/index.html'; g_cnsnodes[11] = '/pki/pki-security/pki-solution/microsoft-exchange/index.html'; g_cnsnodes[12] = '/pki/pki-security/pki-solution/lotus-notes/index.html'; g_cnsnodes[13] = '/pki/pki-security/pki-solution/vpn-solutions/index.html'; g_cnsnodes[14] = '/pki/pki-security/public-key-infrastructure/index.html'; g_cnsnodes[15] = '/pki/pki-security/wireless-roaming/index.html'; g_cnsnodes[16] = '/pki/pki-security/smart-card/index.html'; g_cnsnodes[17] = '/pki/pki-security/trusted-form-signing/index.html'; g_cnsnodes[18] = '/pki/pki-security/trusted-messaging/index.html'; g_cnsnodes[19] = '/pki/pki-security/email-digital-id/index.html'; g_cnsnodes[20] = '/pki/managed-pki-fast-track/index.html'; g_cnsnodes[21] = '/pki/xml-trust-services/index.html'; g_cnsnodes[22] = '/pki/consulting/index.html'; g_cnsnodes[23] = '/pki/cable-modem-services/index.html'; g_cnsnodes[24] = '/pki/cable-modem-services/cable-modem-authentication/index.html'; g_cnsnodes[25] = '/pki/pki-application/index.html'; g_cnsnodes[26] = '/pki/pki-application/wimax/index.html'; g_cnsnodes[27] = '/pki/device-certificate-service/index.html'; g_cnsnodes[28] = '/email-security/index.html'; g_cnsnodes[29] = '/authentication/index.html'; function cnslink(pageid) { var newUrl = ''; newUrl += g_prefixToStaticRoot; newUrl += g_cnsnodes[pageid]; window.location = newUrl; }