Lines Matching full:indexof
30 if ((agent.indexOf("mobile") != -1) || // android, iphone, ipod
31 (agent.indexOf("blackberry") != -1) ||
32 (agent.indexOf("webos") != -1) ||
33 (agent.indexOf("mini") != -1)) { // opera mini browsers
37 } else if (agent.indexOf("msie 6") != -1) {
106 var index = document.cookie.indexOf(myCookie);
109 var valEnd = document.cookie.indexOf(";", valStart);
140 if (location.href.indexOf("/reference/") != -1) {
142 } else if (location.href.indexOf("/guide/") != -1) {
144 } else if (location.href.indexOf("/sdk/") != -1) {
146 } else if ((location.href.indexOf("/resources/") != -1) ||
147 (location.href.indexOf("/training/") != -1)) {
252 if (fullPageName.indexOf("/guide/") != -1) {
253 firstSlashPos = fullPageName.indexOf("/guide/");
254 } else if (fullPageName.indexOf("/sdk/") != -1) {
255 firstSlashPos = fullPageName.indexOf("/sdk/");
256 } else if (fullPageName.indexOf("/resources/") != -1) {
257 firstSlashPos = fullPageName.indexOf("/resources/");
258 } else if (fullPageName.indexOf("/training/") != -1) {
259 firstSlashPos = fullPageName.indexOf("/training/");
266 var htmlPos = fullPageName.indexOf(".html");
272 if ((link.length == 0) && ((fullPageName.indexOf("/guide/") != -1) ||
273 (fullPageName.indexOf("/resources/") != -1))) {
317 var section = basePath.substring(1,basePath.indexOf("/",1));
333 if (href.indexOf("/reference/") != -1) {
374 var section = basePath.substring(1,basePath.indexOf("/",1));
375 section = section.indexOf("training") != -1 ? "resources" : section;
391 base = uri.substring(uri.indexOf('intl/')+5,uri.length);
392 base = base.substring(base.indexOf('/')+1, base.length);
416 if (location.indexOf("/"+cookiePath+"/") != -1) {
429 if (path.indexOf("/reference/") != -1) {
431 } else if (path.indexOf("/guide/") != -1) {
433 } else if ((path.indexOf("/resources/") != -1) || (path.indexOf("/training/") != -1)) {