1// ver o navegador 2function GetXMLHttp() { 3 4 if(navigator.appName == "Microsoft Internet Explorer") { 5 xmlHttp = new ActiveXObject("Microsoft.XMLHTTP"); 6 } 7 else 8 { 9 xmlHttp = new XMLHttpRequest(); 10 } 11 12 return xmlHttp; 13} 14 15var xmlRequest = GetXMLHttp(); 16 17// verifica se retorno do servidor uma pagina 18function abrirPag(valor) // erro 19{ 20 var url = valor; 21 22 xmlRequest.open("GET",url,true); 23 xmlRequest.onreadystatechange = mudancaEstado; 24 xmlRequest.send(null); 25 26 if (xmlRequest.readyState == 1) 27 { 28 document.getElementById("content").innerHTML = "<img src='loader.gif'>"; 29 /*icone carregar pagina*/ 30 } 31 32 return url; 33} 34 35function mudancaEstado() // carregado 36{ 37 if (xmlRequest.readyState == 4) 38 { 39 document.getElementById("content").innerHTML = xmlRequest.responseText; 40 } 41} 42
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.