1/* ãã©ã³ããµã¤ãº */ 2function setCookie(s){ 3 cName = "fontsize_font="; 4 exp = new Date(); 5 exp.setTime(exp.getTime() + 31536000000); 6 document.cookie = cName + s + "; path=/" + "; expires=" + exp.toGMTString(); 7} 8 9function getCookie(){ 10 zoom = ""; 11 cName = "fontsize_font="; 12 tmpCookie = document.cookie + ";"; 13 14 start = tmpCookie.indexOf(cName); 15 if (start != -1) 16 { 17 end = tmpCookie.indexOf(";", start); 18 zoom = tmpCookie.substring(start + cName.length, end); 19 document.getElementById("body").style.fontSize = zoom; 20 } else { 21 document.getElementById("body").style.fontSize = "100%"; 22 } 23} 24 25function textSizeUp(){ 26 currentSize = document.getElementById("body").style.fontSize; 27 selectSize = ""; 28 if ( currentSize == "100%" ){ 29 selectSize = "110%"; 30 } 31 else if ( currentSize == "110%" ){ 32 selectSize = "120%"; 33 } 34 else if ( currentSize == "120%" ){ 35 selectSize = "150%"; 36 } 37 else if ( currentSize == "150%" ){ 38 selectSize = "200%"; 39 } 40 else if ( currentSize == "200%" ){ 41 m = escape("ãã以䏿åã®ãµã¤ãºã大ããã§ãã¾ããã"); 42 alert(unescape(m)); 43 selectSize = "200%"; 44 } 45 else { 46 selectSize = "110%"; 47 } 48 document.getElementById("body").style.fontSize = selectSize; 49 setCookie(selectSize); 50} 51 52function textSizeReset(){ 53 currentSize = document.getElementById("body").style.fontSize; 54 m = escape("ãã ãã¾ã®æåãµã¤ãºã¯" + currentSize + "ï¼æ¨æºï¼100%ï¼ã§ããå ã«æ»ãã¾ããï¼"); 55 r = confirm(unescape(m)); 56 if (r) { 57 currentSize = "100%"; 58 document.getElementById("body").style.fontSize = currentSize; 59 } 60 setCookie(currentSize); 61} 62 63function pagePrint(){ 64 m = escape("ãã®ãã¼ã¸ãå°å·ï¼A4縦ç¨ç´ï¼ãã¾ããããããã§ããï¼"); 65 r = confirm(unescape(m)); 66 if (r) self.print(); 67} 68 69function dispFootPrintList(){ 70 storage = sessionStorage; 71 var panList = null; 72 var panUrlList = null; 73 var panHtml = ""; 74 var panArr = []; 75 var panUrlArr = []; 76 var title = ""; 77 var url = ""; 78 panList = storage.getItem('panList'); 79 panUrlList = storage.getItem('panUrlList'); 80 81 title = $("title").text().split(" | ")[0]; // ã¿ã¤ãã«ååå¾ 82 url = location.href; // URLåå¾ 83 84 if(panList != null && panUrlList != null){ 85 panArr = panList.split('\n'); 86 panUrlArr = panUrlList.split('>'); 87 if(panUrlArr[panUrlArr.length -1] != url){ // éããã¼ã¸ã表示ããå ´å 88 panList = panList +'\n'+ title; 89 panUrlList = panUrlList +'>'+ url; 90 panArr.push(title); 91 panUrlArr.push(url); 92 } 93 if(panArr.length > 5){ // 5ä»¶ã¾ã§è¡¨ç¤º 94 start = panList.indexOf('\n'); 95 end = panList.length; 96 panList = panList.substring(start+1,end); 97 panArr.shift(); 98 } 99 storage.setItem('panList',panList); 100 if(panUrlArr.length > 5){ // 5ä»¶ã¾ã§è¡¨ç¤º 101 start = panUrlList.indexOf('>'); 102 end = panUrlList.length; 103 panUrlList = panUrlList.substring(start+1,end); 104 panUrlArr.shift(); 105 } 106 storage.setItem('panUrlList',panUrlList); 107 for(var index in panUrlArr){ 108 if(index == (panUrlArr.length - 1)){ 109 panHtml = panHtml + '<li>'+ panArr[index] +'</li>'; 110 } 111 else{ 112 panHtml = panHtml + '<li><a href="' + panUrlArr[index] + '">' + panArr[index] + '</a></li>'; 113 } 114 } 115 if(panHtml != null && document.getElementById('pankuzu2') != null){ // ãããã¨ãªã¹ã表示 116 document.getElementById('pankuzu2').innerHTML = panHtml; 117 } 118 } 119 else{ 120 if(panList == null){ 121 storage.setItem('panList',title); 122 } 123 if(panUrlList == null){ 124 storage.setItem('panUrlList',url); 125 } 126 } 127} 128 129// è¶³ã㨠130$(function(){ 131 dispFootPrintList(); 132 getCookie(); 133 getColorCookie(); 134});
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.