0) ? href.substring(hashIndex + 1) : null; href = (hashIndex > 0) ? href.substring(0, hashIndex) : href; var oldUri = href; var marker = ‘!’; /* process the hash part of the url, split the url */ if (hashIndex > 0) { if (hash.indexOf(marker) == 0) { var adfHash = decodeURIComponent(hash.substring(marker.length)); var state = adfHash.split(“@”); var len = state.length; if (len >= 2) { id = state[1]; } if (len >= 3) { query = state[2]; } if (len >= 4) { anchor = state[3]; } } else { anchor = decodeURIComponent(hash); // Check for legacy PPR navigation Hash format if (false && (anchor.indexOf(‘/’) >= 0 || anchor.indexOf(‘@’) >= 0)) { var astate = anchor.split(“@”); var alen = astate.length; if (alen >= 1) { id = astate[0]; } if (alen >= 2) { query = astate[1]; } anchor = null; } } } /* process the query part */ var queryIndex = href.indexOf(“?”); if (queryIndex > 0) { // only when pprNav is on, we take in the query from the hash portion query = (query || (id && id.length>0))? query: href.substring(queryIndex); href = href.substring(0, queryIndex); } if (query != null && query.length > 0) { // extract all query parameters query.replace(/([^?=&]+)(=([^&]*))?/g, _replaceCallback); query = null; if (queryParamNames.length > 0) { query = ”; for (var i = 0; i 0) { href = href.substring(0, jsessionIndex); } // Check whether HTTP session can be established by verifying that cookies are enabled or URL rewriting is on. // If not, abort processing and redirect to an error page if (!’;jsessionid=EX6-RNrYK0KvNM-UK_pmdqvOQGhyqSgKMEEdD0Tjo-CAKJ1iyaUo!1845830340′ && !_cookiesEnabled()) { window.location.replace(href.substring(0, href.length – 18) + ‘/_noloopbackerror_’); } else { /* we will replace the viewId only when pprNav is turned on */ if (false) { if (id != null && id.length > 0) { href = href.substring(0, href.length – 18) + id; } } query = _addParam(query, “_afrLoop”, “38607406504348370”); /* below is the new window detection logic */ var initWindowName = “_afr_init_”; // temporary window name set to a new window var windowName = window.name; // if the window name is “_afr_init_”, treat it as redirect case of a new window if ((true) && (!windowName || windowName==initWindowName || windowName!=”null”)) { /* append the _afrWindowMode param */ var windowMode; if (true) { /* this is the initial page launch case, also this could be that we couldn’t detect the real windowId from the server side */ windowMode=0; } else if ((href.indexOf(“/__ADFvDlg__”) > 0) || (query.indexOf(“__ADFvDlg__”) >= 0)) { /* this is the dialog case */ windowMode=1; } else { /* this is the ctrl-N case */ windowMode=2; } query = _addParam(query, “_afrWindowMode”, windowMode); /* append the _afrWindowId param */ var clientWindowId; /* in case we couldn’t detect the windowId from the server side */ if (!windowName || windowName == initWindowName) { clientWindowId = “null”; // set window name to an initial name so we can figure out whether a page is loaded from // cache when doing Ctrl+N with IE window.name = initWindowName; } else { clientWindowId = windowName; } query = _addParam(query, “_afrWindowId”, clientWindowId); } // Add extra query parameters for (var n in extraParams) { query = _addParam(query, n, extraParams[n]); } var sess = “;jsessionid=EX6-RNrYK0KvNM-UK_pmdqvOQGhyqSgKMEEdD0Tjo-CAKJ1iyaUo!1845830340”; if (sess) { /* here we check the jsessionId, if we ask the container to send jsessionId as */ /* a parameter then it will look like “?jsessionid=xxx”. */ if (sess.indexOf(“;”)==0) { href += sess; } else if (sess.indexOf(“?”) == 0) { /* at this time query should already be non-empty */ query += “&” + sess.substr(1); } } var newHref = href + ((query == null) ? ” : query); var newHash = (anchor != null && anchor.length > 0) ? encodeURIComponent(anchor) : null; var loc = window.location; // Workaround for the Firebug bug, where the cached version of the loopback script is served var isOldFirebug = false; if (window.console != null && window.console.firebug != null) { var ver = parseFloat(window.console.firebug); isOldFirebug = !isNaN(ver) && ver This page uses JavaScript and requires a JavaScript enabled browser.Your browser is not JavaScript enabled.
Source

Warning: sprintf(): Too few arguments in /home/rspirescontabilidade/www/wp-includes/link-template.php on line 2741

Deixe um comentário

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *

Cadastre-se em nossa Notícias!