1// JavaScript Document 2 3dateObj = new Date(); 4day = dateObj.getDay(); 5h = dateObj.getHours(); 6m = dateObj.getMinutes(); 7hm = h * 100 + m; 8 9if ( day <= 5 && hm >= 1200 && hm <= 1600 && day != 0 ) { 10 document.write('<div class="top-1st-data1"><img src="/images/camera/live_1.jpg?date='+day+h+m+'" width="100%" alt="1stã®ããç©´" id="liveimg" name="liveimg" /></div>'); 11 document.write('<div class="top-1st-data-body"><a href="javascript:change(\'live01\');"><div class="top-1st-data-body1">ã«ã¡ã©1</div></a><a href="javascript:change(\'live02\');"><div class="top-1st-data-body2 top-1st-data-body-act">ã«ã¡ã©2</div></a><div class="fclear"></div></div>'); 12} 13else { 14 if ( day == 6 && hm >= 900 && hm <= 1200 ) { 15 document.write('<div class="top-1st-data1"><img src="/images/camera/live_1.jpg?date='+day+h+m+'" width="100%" alt="1stã®ããç©´" id="liveimg" name="liveimg" /></div>'); 16 document.write('<div class="top-1st-data-body"><a href="javascript:change(\'live01\');"><div class="top-1st-data-body1">ã«ã¡ã©-1</div></a><a href="javascript:change(\'live02\');"><div class="top-1st-data-body2 top-1st-data-body-act">ã«ã¡ã©2</div></a><div class="fclear"></div></div>'); 17 } 18 else {
19 document.write('<div class="top-1st-data1"><img src="/images/camera/off.jpg" width="100%" alt="1stã®ããç©´" id="liveimg" name="liveimg" /></div>'); 20 } 21} 22 23function change(value){ 24 if(value=="live01"){ 25 document.images["liveimg"].src = "/images/camera/live_1.jpg?date="+day+h+m; 26 $('.top-1st-data-body1').removeClass('top-1st-data-body-act'); 27 $('.top-1st-data-body2').addClass('top-1st-data-body-act'); 28 }else if(value=="live02"){ 29 document.images["liveimg"].src = "/images/camera/live_2.jpg?date="+day+h+m; 30 $('.top-1st-data-body2').removeClass('top-1st-data-body-act'); 31 $('.top-1st-data-body1').addClass('top-1st-data-body-act'); 32 } 33}
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.