1//-----è¨å®ããããã------- 2 3 4 5//-----è¨å®ãããã¾ã§------- 6 7var WinIE = navigator.userAgent.indexOf("MSIE") > -1 && navigator.userAgent.indexOf("Windows") > -1; 8 9if(WinIE){ 10 httpObj_INFO = new ActiveXObject("Microsoft.XMLHTTP"); 11 httpObj_INFO.onreadystatechange = function(){ 12 if (httpObj_INFO.readyState == 4 && httpObj_INFO.status == 200){ 13 writeInfos(); 14 }; 15 } 16}else{ 17 httpObj_INFO = new XMLHttpRequest(); 18 httpObj_INFO.onload = writeInfos; 19} 20 21var today = new Date(); 22var e = today.getTime(); 23filePath_INFO = "/informations/informations.xml" + ("?" + e); 24 25httpObj_INFO.open("GET",filePath_INFO,true); 26httpObj_INFO.send(null); 27 28 29function writeInfos(){ 30 var HTML_SOURCE = ""; 31 32 var infosXML = httpObj_INFO.responseXML; 33 34 var sections = infosXML.getElementsByTagName("section"); 35 for(var i=0;i<sections.length;i++){ 36 var sectionName = sections[i].getAttribute("name"); 37 HTML_SOURCE += "<h3>" + sectionName + "</h3><p>"; 38 39 var infos = sections[i].getElementsByTagName("info") 40 for(var n=0;n<infos.length;n++){ 41 HTML_SOURCE += "<strong>" + infos[n].getElementsByTagName("date")[0].firstChild.nodeValue + "</strong>ã"; 42 HTML_SOURCE += infos[n].getElementsByTagName("txt")[0].firstChild.nodeValue + "<br />"; 43 } 44 HTML_SOURCE += "</p>"; 45 } 46 if(sections.length > 0){ 47 document.getElementById("attentionArea").innerHTML = HTML_SOURCE; 48 }else{ 49 document.getElementById("attentionArea").style.display = "none"; 50 } 51}
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.