1////////////////////////////////////////////////////////////////////////////////////////////// 2// æ´æ°æ å ± 3function update_list(x,y){ 4 /////////////////////////////////////////////// 5 document.getElementById("update_top").innerHTML = "<img src='https://amass.jp/img/kihon/nowload.gif'>"; 6 7 /////////////////////////////////////////////// 8 // Mozilla, Firefox, Safari, IE7 9 if (window.XMLHttpRequest){ 10 httpObject_update = new XMLHttpRequest(); 11 // IE5, IE6 12 } else if (window.ActiveXObject){ 13 try { 14 httpObject_update = new ActiveXObject("Msxml2.XMLHTTP"); 15 } catch(e) { 16 httpObject_update = new ActiveXObject("Microsoft.XMLHTTP"); 17 } 18 } 19 /////////////////////////////////////////////// 20 httpObject_update.onreadystatechange = display_update_list; 21 /////////////////////////////////////////////// 22 // HTTP 23 httpObject_update.open ("GET", x + "parts_update/update_top.php?type=" + y + "&" + (new Date).getTime() , true); 24 httpObject_update.send (null); 25 /////////////////////////////////////////////// 26 // å ¨ä»¶æªã»ã¬ã¯ã 27 this_array = new Array('up_a','up_b','up_c','up_d','up_e','up_f','up_g','up_h','up_i','up_j','up_k'); 28 29 for(i=0;i < this_array.length;i++){ 30 select_on = this_array[i]; 31 32 document.getElementById(select_on).style.backgroundPosition= '0 0'; 33 } 34 35 // ã»ã¬ã¯ãï¼å ¨ä»¶ï¼æ°çé ï¼ 36 if(y == ""){ 37 this_on = "up_a"; 38 // ã»ã¬ã¯ãï¼ãªãªã¼ã¹æ å ± 39 } else if(y == "1"){ 40 this_on = "up_b"; 41 // ã»ã¬ã¯ãï¼ç¡æãã¦ã³ãã¼ã 42 } else if(y == "2"){ 43 this_on = "up_c"; 44 // ã»ã¬ã¯ãï¼è©¦è´ 45 } else if(y == "3"){ 46 this_on = "up_d"; 47 // ã»ã¬ã¯ãï¼ æ å 48 } else if(y == "4"){ 49 this_on = "up_e"; 50 // ã»ã¬ã¯ãï¼ã©ã¤ã´ï¼ã¤ãã³ã 51 } else if(y == "5"){ 52 this_on = "up_f"; 53 // ã»ã¬ã¯ãï¼äººæ°ã®ãã¥ã¼ã¹ 54 } else if(y == "6"){ 55 this_on = "up_g"; 56 // ã»ã¬ã¯ãï¼TV/ã©ã¸ãª/æ ç» 57 } else if(y == "7"){ 58 this_on = "up_h"; 59 // ã»ã¬ã¯ãï¼ãã¹ããªã¹ã 60 } else if(y == "8"){ 61 this_on = "up_i"; 62 // ã»ã¬ã¯ãï¼çµæ/è§£æ£/è¨å ±ä» 63 } else if(y == "9"){ 64 this_on = "up_j"; 65 // ã»ã¬ã¯ãï¼ãã®ä» 66 } else if(y == "99"){ 67 this_on = "up_k"; 68 } 69 70 document.getElementById(this_on).style.backgroundPosition= '0 -30px'; 71 72} 73 74/////////////////////////////////////////////// 75// æ´æ°æ å ±ï½è¡¨ç¤º 76function display_update_list(){ 77 if(httpObject_update.readyState == 4 && httpObject_update.status == 200){ 78 79 update_txt = decodeURIComponent(httpObject_update.responseText); 80 81 document.getElementById("update_top").innerHTML = update_txt; 82 83 } 84} 85 86
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.