1/** VISUAL : MAIN **/ 2var intval=''; 3window.onload = function() { 4 start_Int(); 5} 6function start_Int(){ 7 if(intval=="") 8 intval=window.setInterval("mainslider()",3000); 9 else 10 stop_Int(); 11 12} 13function stop_Int(){ 14 if(intval!=""){ 15 window.clearInterval(intval); 16 intval=""; 17 } 18} 19var currentMainImage = 1; 20var mainImageCnt = 3; 21function mainImg(num) { 22 if(currentMainImage==num) return; 23 24 $("#spot_image"+num).css({opacity: 0.0}).addClass('').animate({opacity: 1.0}, 1000); 25 $("#spot_image"+currentMainImage).animate({opacity: 0.0}, 1000).removeClass(''); 26 $("#main_image"+num).addClass("on"); 27 $("#main_image"+currentMainImage).removeClass("on"); 28 currentMainImage=num; 29 30 stop_Int(); 31 start_Int(); 32} 33function mainslider() { 34 if(currentMainImage+1 > mainImageCnt) mainImg(1); 35 else mainImg(currentMainImage+1); 36} 37 38 39/** VISUAL : SUB **/ 40function spotOption() { 41 var objWrap = document.getElementById("wrap"); 42 var expireDate = new Date(); 43 expireDate.setDate(expireDate.getDate() + 1); 44 45 if (objWrap.className.indexOf("spot_collapse") > -1) { 46 removeClass(objWrap, "spot_collapse"); 47 setCookie("spot_status", "on", expireDate, "/", "", ""); 48 } else { 49 addClass(objWrap, "spot_collapse"); 50 setCookie("spot_status", "off", expireDate, "/", "", ""); 51 } 52} 53 54function keepToggleSpotArea() { 55 var objWrap = document.getElementById("wrap"); 56 var spot_curr_status = getCookie("spot_status"); 57 58 if (spot_curr_status == "on") { 59 removeClass(objWrap, "spot_collapse"); 60 } else if (spot_curr_status == "off") { 61 addClass(objWrap, "spot_collapse"); 62 } else { 63 removeClass(objWrap, "spot_collapse"); 64 } 65} 66 67var mouse = 1; 68function slideShow() { 69 70 $('#gallery1 a').css({opacity: 0.0}); 71 $('#gallery1 a:first').css({opacity: 1.0}); 72 73 $('#gallery2 a').css({opacity: 0.0}); 74 $('#gallery2 a:first').css({opacity: 1.0}); 75 76 $('#gallery3 a').css({opacity: 0.0}); 77 $('#gallery3 a:first').css({opacity: 1.0}); 78 79 setInterval('gallery()',6000); 80} 81 82function gallery() { 83 var current = ($('#gallery1 a.show')? $('#gallery1 a.show') : $('#gallery1 a:first')); 84 var next = ((current.next().length) ? ((current.next().hasClass('caption'))? $('#gallery1 a:first') :current.next()) : $('#gallery1 a:first')); 85 next.css({opacity: 0.0}).addClass('show').animate({opacity: 1.0}, 1000); 86 current.animate({opacity: 0.0}, 1000).removeClass('show'); 87 88 var current = ($('#gallery2 a.show')? $('#gallery2 a.show') : $('#gallery2 a:first')); 89 var next = ((current.next().length) ? ((current.next().hasClass('caption'))? $('#gallery2 a:first') :current.next()) : $('#gallery2 a:first')); 90 next.css({opacity: 0.0}).addClass('show').animate({opacity: 1.0}, 1000); 91 current.animate({opacity: 0.0}, 1000).removeClass('show'); 92 93 var current = ($('#gallery3 a.show')? $('#gallery3 a.show') : $('#gallery3 a:first')); 94 var next = ((current.next().length) ? ((current.next().hasClass('caption'))? $('#gallery3 a:first') :current.next()) : $('#gallery3 a:first')); 95 next.css({opacity: 0.0}).addClass('show').animate({opacity: 1.0}, 1000); 96 current.animate({opacity: 0.0}, 1000).removeClass('show'); 97}
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.