Best JavaScript code snippet using unexpected
pop.js
Source:pop.js
1$(function() {2 $( "#datepicker" ).datepicker();3 $( "#chequedate" ).datepicker();4 $( "#custdate" ).datepicker();5 $( "#admdate" ).datepicker();6 $( "#coadmdate" ).datepicker();7 } );8$(document).ready(function(){9 $('.owl-carousel').owlCarousel({10 loop:true,11 margin:10,12 responsive:{13 0:{14 items:1,15 nav:true16 },17 500:{18 items:2,19 nav:true20 },21 768:{22 items:3,23 nav:true24 },25 992:{26 items:3,27 nav:true,28 }29 }30 })31});32 33$(document).ready(function(){34 $(".sec-heading").click(function(){35 $(this).siblings(".sec-content-body").slideToggle('');36 $(this).children('.minus, .icon-plus').toggleClass("minus icon-plus");37 });38 $(".click-seed-treat").click(function(e){39 e.preventDefault();40 $(".content-body-seed-trt").slideDown(300);41 });42 $(".click-nursery").click(function(e){43 e.preventDefault();44 $(".content-body-nursery").slideDown(300);45 });46 $(".click-transplantation").click(function(e){47 e.preventDefault();48 $(".content-body-transplantation").slideDown(300);49 });50 $(".click-weed-management").click(function(e){51 e.preventDefault();52 $(".content-body-weed").slideDown(300);53 });54 $(".click-crop-one").click(function(e){55 e.preventDefault();56 $(".content-body-crop-one").slideDown(300);57 });58 $(".click-crop-two").click(function(e){59 e.preventDefault();60 $(".content-body-crop-two").slideDown(300);61 });62 $(".click-crop-three").click(function(e){63 e.preventDefault();64 $(".content-body-crop-three").slideDown(300);65 });66 $(".click-crop-four").click(function(e){67 e.preventDefault();68 $(".content-body-crop-four").slideDown(300);69 });70 $(".click-crop-five").click(function(e){71 e.preventDefault();72 $(".content-body-harvesting").slideDown(300);73 });74});75 $(document).ready(function(){76 77 $(document).on("scroll", onScroll);78 // Add smooth scrolling to all links79 // $("a").on('click', function(event) {80 // $(document).off("scroll");81 $(".side-navigation ul li a").on('click', function(event) {82 83 event.preventDefault();84 $(document).off("scroll");85 $('.side-navigation ul li a').each(function () {86 $(this).removeClass('active-seed');87 // $('.sec-content-body').slideDown("");88 })89 $(this).addClass('active-seed');90 // Make sure this.hash has a value before overriding default behavior91 if (this.hash !== "") {92 // Prevent default anchor click behavior93 event.preventDefault();94 // Store hash95 var hash = this.hash;96 // Using jQuery's animate() method to add smooth page scroll97 // The optional number (800) specifies the number of milliseconds it takes to scroll to the specified area98 $('html, body').animate({99 scrollTop: -70 + $(hash).offset().top100 }, 800, function(){101 // alert(hash);102 console.log($(hash).offset().top);103 // Add hash (#) to URL when done scrolling (default click behavior)104 // window.location.hash = hash;105 // alert(window.location.hash);106 });107 } // End if108 });109 110 var x = $('.pop-section-wrapper').height();111 $('.side-navigation').css({"height": +x+"px"}); 112 function onScroll(event){113 var scrollPos = $(document).scrollTop();114 // alert(scrollPos);115 $('.side-navigation a').each(function () {116 var currLink = $(this);117 var refElement = $(currLink.attr("href"));118 // $(refElement).removeClass('stage-one');119 // alert(refElement);120 if (refElement.position().top <= scrollPos && refElement.position().top + refElement.height() > scrollPos) {121 $('.side-navigation ul li a').removeClass("active-seed");122 currLink.addClass("active-seed");123 // $(refElement).addClass('stage-one');124 }125 else{126 // currLink.removeClass("active-seed");127 }128 });129}130 });131// js by HIRAJ==========================132 133 134 $('.my-btn').on('click', function(){135 $('#'+$(this).data('modal-similar')).css('display','block');136 })137 $('.close').on('click', function(){138 $('.modal-similar').hide();139 })140 // When the user clicks anywhere outside of the modal, close it141 window.onclick = function(event) {142 if (event.target.className == 'modal-similar') {143 $('.modal-similar').hide();144 }145 }146// app js147$(document).ready(function(){148 149 $('ul.tabs li').click(function(){150 var tab_id = $(this).attr('data-tab');151 $('ul.tabs li').removeClass('current');152 $('.tab-content').removeClass('current');153 $(this).addClass('current');154 $("#"+tab_id).addClass('current');155 })156 $(".package-click").click(function(){157 $(".pop-section-wrapper").css('display','block');158 $(".pest-section-wrapper, .disease-section-wrapper").css('display', 'none');159 // $("#stageOne").addClass('stage-one');160 $(".package-click").addClass('active-tab').removeClass('active-dflt');161 $(".pest-click, .disease-click").removeClass('active-tab'); 162 });163 $(".pest-click").click(function(){164 $(".pest-section-wrapper").css('display','block');165 $(".pop-section-wrapper, .disease-section-wrapper").css('display', 'none');166 167 $(".pest-click").addClass('active-tab');168 $(".package-click").removeClass('active-dflt');169 $(".package-click, .disease-click").removeClass('active-tab');170 });171 $(".disease-click").click(function(){172 $(".disease-section-wrapper").css('display','block');173 $(".pop-section-wrapper, .pest-section-wrapper").css('display', 'none');174 175 $(".disease-click").addClass('active-tab');176 $(".package-click, .pest-click").removeClass('active-tab');177 $(".package-click").removeClass('active-dflt');178 });179 $(".click-seed-var").click(function(){180 $(".side-navigation").slideToggle("slow");181 });182 $(".click-leaf-folder").click(function(){183 $(".leaf-folder-dtl").css("display", "block");184 $(".green-hopper-dtl, .stem-borer-dtl, .gall-midge-dtl, .case-worm-dtl, .brown-plant-dtl").css("display", "none");185 $(this).children(".direction-arrow").css("display", "block");186 $(".click-green-hopper, .click-stem-borer, .click-gall-midge, .click-case-worm, .click-brown-plant").children(".direction-arrow").css("display", "none");187 });188 $(".click-green-hopper").click(function(){189 $(".green-hopper-dtl").css("display", "block");190 $(".leaf-folder-dtl, .stem-borer-dtl, .gall-midge-dtl, .case-worm-dtl, .brown-plant-dtl").css("display", "none");191 $(this).children(".direction-arrow").css("display", "block");192 $(".click-leaf-folder, .click-stem-borer, .click-gall-midge, .click-case-worm, .click-brown-plant").children(".direction-arrow").css("display", "none");193 });194 $(".click-stem-borer").click(function(){195 $(".stem-borer-dtl").css("display", "block");196 $(".leaf-folder-dtl, .green-hopper-dtl, .gall-midge-dtl, .case-worm-dtl, .brown-plant-dtl").css("display", "none");197 $(this).children(".direction-arrow").css("display", "block");198 $(".click-leaf-folder, .click-green-hopper, .click-gall-midge, .click-case-worm, .click-brown-plant").children(".direction-arrow").css("display", "none");199 });200 $(".click-gall-midge").click(function(){201 $(".gall-midge-dtl").css("display", "block");202 $(".leaf-folder-dtl, .green-hopper-dtl, .stem-borer-dtl, .case-worm-dtl, .brown-plant-dtl").css("display", "none");203 $(this).children(".direction-arrow").css("display", "block");204 $(".click-leaf-folder, .click-green-hopper, .click-stem-borer, .click-case-worm, .click-brown-plant").children(".direction-arrow").css("display", "none");205 });206 $(".click-case-worm").click(function(){207 $(".case-worm-dtl").css("display", "block");208 $(".leaf-folder-dtl, .green-hopper-dtl, .stem-borer-dtl, .gall-midge-dtl, .brown-plant-dtl").css("display", "none");209 $(this).children(".direction-arrow").css("display", "block");210 $(".click-leaf-folder, .click-green-hopper, .click-stem-borer, .click-gall-midge, .click-brown-plant").children(".direction-arrow").css("display", "none");211 });212 $(".click-brown-plant").click(function(){213 $(".brown-plant-dtl").css("display", "block");214 $(".leaf-folder-dtl, .green-hopper-dtl, .stem-borer-dtl, .gall-midge-dtl, .case-worm-dtl").css("display", "none");215 $(this).children(".direction-arrow").css("display", "block");216 $(".click-leaf-folder, .click-green-hopper, .click-stem-borer, .click-gall-midge, .click-case-worm").children(".direction-arrow").css("display", "none");217 });218 $(".close-best-pesticide, .pest-click, .disease-click").click(function(){219 $(".leaf-folder-dtl, .green-hopper-dtl, .stem-borer-dtl, .gall-midge-dtl, .case-worm-dtl, .brown-plant-dtl").css("display","none");220 $(".direction-arrow").css("display", "none");221 });222 $('.combo-single-product').click(function() {223 $(this).find('input[type=radio]').prop('checked', true);224 });225 $(".selected").prop( "checked", true );226});227 228$(function(){229 var stickyHeaderTop = $('.stage-hamburger').offset().top230 231 $(window).scroll(function(){232 if( $(window).scrollTop() > stickyHeaderTop ) {233 $('.stage-hamburger').addClass("stage-hamburger-add");234 235 } else {236 $('.stage-hamburger').removeClass("stage-hamburger-add");237 238 }239 });240 });241(function($) {242 'use strict';243 var $filters = $('.crop-filter [data-filter]'),244 $boxes = $('.crop-boxes [data-category]');245 $filters.on('click', function(e) {246 e.preventDefault();247 var $this = $(this);248 249 $filters.removeClass('selected');250 $this.addClass('selected');251 var $filterColor = $this.attr('data-filter');252 if ($filterColor == 'all') {253 $boxes.removeClass('is-animated')254 .fadeOut().finish().promise().done(function() {255 $boxes.each(function(i) {256 $(this).addClass('is-animated').fadeIn();257 });258 });259 } else {260 $boxes.removeClass('is-animated')261 .fadeOut().finish().promise().done(function() {262 $boxes.filter('[data-category = "' + $filterColor + '"]').each(function(i) {263 $(this).addClass('is-animated').fadeIn();264 });265 });266 }267 });268})(jQuery);269var modal = document.getElementById('myModal');270var btn = document.getElementById("myBtn");271var span = document.getElementsByClassName("close-customise")[0];272btn.onclick = function() {273 modal.style.display = "block";274}275span.onclick = function() {276 modal.style.display = "none";277}278window.onclick = function(event) {279 if (event.target == modal) {280 modal.style.display = "none";281 }282}283/*********Login-Sinup-hiraj************/284$(window, document, undefined).ready(function() {285 $('input').blur(function() {286 var $this = $(this);287 if ($this.val())288 $this.addClass('used');289 else290 $this.removeClass('used');291 });292 var $ripples = $('.ripples');293 $ripples.on('click.Ripples', function(e) {294 var $this = $(this);295 var $offset = $this.parent().offset();296 var $circle = $this.find('.ripplesCircle');297 var x = e.pageX - $offset.left;298 var y = e.pageY - $offset.top;299 $circle.css({300 top: y + 'px',301 left: x + 'px'302 });303 $this.addClass('is-active');304 });305 $ripples.on('animationend webkitAnimationEnd mozAnimationEnd oanimationend MSAnimationEnd', function(e) {306 $(this).removeClass('is-active');307 });308 /*login-signup toggle*/309 $('ul.tabs li').click(function(){310 var tab_id = $(this).attr('data-tab');311 $('ul.tabs li').removeClass('current');312 $('.tab-content').removeClass('current');313 $(this).addClass('current');314 $("#"+tab_id).addClass('current');315 })316});317$('.show-more').on('click', function() {318 $(this).siblings('.additional-content').slideToggle();319})320//hiraj js321var totalValues = function(box_object, box_id) {322 // console.log('data-item '+box_id)323 var sum = 0;324 //alert(box_object+ " cal " +box_id);325 $(box_object).find('.item_check:checked').each(function(){326 var val = parseInt($(this).siblings('label').find('.item_price').text());327 sum += val;328 })329 var n = $(box_object).find( ".item_check:checked" ).length;330 if($(box_object).find('.item_check').length > 1){331 if(n === 0){332 $(box_object).find('.combo-product-total-wrap').addClass('disabledbutton');333 }else{334 $(box_object).find('.combo-product-total-wrap').removeClass('disabledbutton');335 }336 }else{337 $(box_object).find('.item_check').hide(); //if only one item338 $(box_object).off('click').find('.product-wrap').css('pointer-events','none'); //if only one item339 }340 $(box_object).find( ".total_item" ).text( n + (n === 1 || n === 0 ? " item" : " items") );341 $(box_object).find('.total_amt').text(sum);342};343//$( "input[type=checkbox]" ).on( "click", totalValues );344$('.combo-product-wrap').each(function(){345 let box_id = $(this).attr('data-item');346 let box_object = $(this);347 totalValues(box_object, box_id);348})349$('.combo-product-wrap').on('click', function(){350 let box_id = $(this).attr('data-item');351 let box_object = $(this);352 totalValues(box_object, box_id);353})354 //similar products hiraj355 $('.similar-products-wrap span').on('click', function(){356 var this_block = $(this);357 var similar_productId = $(this).attr('data-pid');358 var data_link = $(this).attr('data-link');359 //alert(this_block);360 //alert("hi");361 var clicked_item = $(this).parents('.product-combo').find('.product_name').text();362 $('.similar-heading span').text(clicked_item);363 var random_num = 0;364 $.ajax({365 url:'data/paddy/'+data_link+'.json',366 dataType:'json',367 type:'GET',368 success: function(data){369 //alert("success");370 //alert(similar_productId);371 Array.prototype.getIndexOf = function(el) {372 var arr = this;373 for (var i=0; i<arr.length; i++){374 console.log(arr[i].id);375 if(arr[i].id==el){376 return i;377 }378 }379 //return -1;380 }381 var array_Index = data.getIndexOf(similar_productId);382 data.splice(array_Index, 1);383 console.log(data);384 $.map(data, function(val, key) {385 //var mark_up = "<span>"+ val.price +"</span>";386 var mark_up =387 '<div class="close-similar-prd">'+388 '<span class="close-sim"></span>'+389 '<span class="close-sim"></span>'+390 '</div>'+391 '<div class="combos-outwer" data-pid='+val.id+'>'+392 '<div class="product-combo-wrap">'+393 '<div class="product-combo">'+394 '<div class="outwer-product-wrap">'+395 '<input class="select-prod" type="radio" name="similarRd" id="radioUnChecked-'+random_num+'">'+396 '<label for="radioUnChecked-'+random_num+'">'+397 '<div class="product-wrap">'+398 '<div class="product-details-wrap">'+399 '<div class="product-img">'+400 '<div class="inner-prd-img">'+401 '<img src='+val.images[0].medium+'>'+402 '</div>'+403 '</div>'+404 '<div class="product-dtl">'+405 '<span class="product_name">'+val.brand+'<span> '+val.title+'</span></span>'+406 '<span class="qnt">'+val.packaging[0]+'</span>/'+407 '<span class="price">'+val.price+'</span>'+408 '</div>'+409 '</div>'+410 '</div>'+411 '</label>'+412 '</div>'+413 '</div>'+414 '</div>'+415 '</div>';416 random_num++;417 //$('.similar-heading span').find('.product_name').text('hi');418 $(this_block).parents('.product-combo-wrap').find('.similar-prd-click-wrap').show();419 $(this_block).parents('.product-combo-wrap').find('.related-products').append(mark_up);420 //alert("similar is "+$(this_block).find('.similar').text());421 //alert(this_block);422 //alert(val.price);423 });424 //$('body').css('opacity','0.5');425 var current = $(window).scrollTop();426 $(window).scroll(function() {427 $(window).scrollTop(current);428 });429 $(this_block).parents('.product-combo').css({'opacity':'0.5', 'pointer-events':'none'});430 //alert(data[0].price);431 },432 error: function(data){433 console.log(data);434 alert('failed');435 }436 });437 //ajax-call-ends438 //$(this_block).parents('.product-combo').css({'opacity':'0.5', 'pointer-events':'none'});439 //$(this_block).parents('.product-combo-wrap').find('.similar-prd-click-wrap').show();440 });441 442 $(document).on('click', '.outwer-product-wrap .select-prod', function(){443 //alert('clicked')444 var product_id = $(this).parents('.combos-outwer').attr('data-pid');445 //alert(product_id);446 var product_image = $(this).parent('.outwer-product-wrap').find('.inner-prd-img img').attr('src');447 //alert(product_image);448 var product_name = $(this).parent('.outwer-product-wrap').find('.product_name').text();449 var qnt = $(this).parent('.outwer-product-wrap').find('.qnt').text();450 var price = $(this).parent('.outwer-product-wrap').find('.price').text();451 //console.log(product_image);452 var tag_clicked = $(this);453 var load_spinner = '<div class="load_spinner"><img src="img/loading_apple.gif"> Updating your choice...</div>';454 $(tag_clicked).parents('.related-products').append(load_spinner);455 //$(this).parents('.product-combo-wrap').attr('data-item');456 //similar-products-wrap457 $(this).parents('.main_view_item').children('.product-combo').find('.similar-products-wrap').find('span').attr('data-pid', product_id);458 $(this).parents('.main_view_item').children('.product-combo').find('.inner-prd-img').find('img').attr('src', product_image);459 $(this).parents('.main_view_item').children('.product-combo').find('.product_name').text(product_name);460 $(this).parents('.main_view_item').children('.product-combo').find('.qnt').text(qnt);461 $(this).parents('.main_view_item').children('.product-combo').find('.item_price').text(price);462 $(this).parents('.main_view_item').children('.product-combo').find('.item_check').prop('checked', true);463 var box_id = $(this).parents('.combo-product-wrap').attr('data-item');464 var box_object = $(this).parents('.combo-product-wrap');465 setTimeout(function(){466 totalValues(box_object, box_id);467 closeModal(tag_clicked);468 }, 2000);469 //alert(tag_clicked);470 });471 $(document).on('click', '.close-similar-prd', function(){472 var tag_clicked = $(this);473 //alert(tag_clicked);474 closeModal(tag_clicked);475 });476 //to close modal477 function closeModal(tag_clicked){478 //$(tag_clicked).parents('.modal-wrap').css('background-color','#ccc')479 $(tag_clicked).parents('.product-combo-wrap').find('.product-combo').css({'opacity':'1', 'pointer-events':'visible'});480 $(tag_clicked).parents('.similar-prd-click-wrap' ).fadeOut();481 $(tag_clicked).parents('.related-products').empty();482 $(window).off('scroll');483 }484// var totalValues = function(box_object, box_id) {485// console.log('data-item '+box_id)486// var sum = 0;487 488 489// $(box_object).find('.item_check:checked').each(function(){490// var val = parseInt($(this).siblings('label').find('.item_price').text());491// sum += val;492// })493// var n = $(box_object).find( ".item_check:checked" ).length;494 495// if($(box_object).find('.item_check').length > 1){496// if(n === 0){497// $(box_object).find('.combo-product-total-wrap').addClass('disabledbutton');498// }else{499// $(box_object).find('.combo-product-total-wrap').removeClass('disabledbutton');500// }501// }else{502// $(box_object).find('.item_check').hide(); //if only one item503// $(box_object).off('click').find('.product-wrap').css('pointer-events','none'); //if only one item504// }505// $(box_object).find( ".total_item" ).text( n + (n === 1 || n === 0 ? " item" : " items") );506// $(box_object).find('.total_amt').text(sum);507 508// };509 510 511// //$( "input[type=checkbox]" ).on( "click", totalValues );512// $('.combo-product-wrap').each(function(){513// let box_id = $(this).attr('data-item');514// let box_object = $(this);515 516// totalValues(box_object, box_id);517// })518// $('.combo-product-wrap').on('click', function(){519// let box_id = $(this).attr('data-item');520// let box_object = $(this);521// totalValues(box_object, box_id);522// })523 // $('.similar-products-wrap span').on('click', function() {524 // $(this).siblings('.similar-arow, .similar-arow-rgt').show();525 // });526 // $('.similar-lft-click-one span').click(function() {527 // $("#Similar_left_1").css("display", "block");528 // $("#Similar_left_2, #Similar_left_3, #Similar_left_4, #Similar_left_5, #Similar_left_6, #Similar_left_7, #Similar_left_8, #Similar_left_10, #Similar_left_11").css("display", "none");529 // $(".similar-arow-2, .similar-arow-3, .similar-arow-4, .similar-arow-5, .similar-arow-6, .similar-arow-7, .similar-arow-8, .similar-arow-9, .similar-arow-10, .similar-arow-11").hide();530 // });531 // $(".close-sim, .close-similar-prd").click(function() {532 // $(".similar-arow, .similar-prd-left").hide();533 // });534 // $('.similar-rgt-click-one span').on('click', function() {535 // $("#Similar_right_1").show();536 // $("#Similar_right_2, #Similar_right_3, #Similar_right_4, #Similar_right_5, #Similar_right_6, #Similar_right_7, #Similar_right_8, #Similar_right_9, #Similar_right_10").hide();537 // $(".similar-arow-2, .similar-arow-3, .similar-arow-4, .similar-arow-5, .similar-arow-6, .similar-arow-7, .similar-arow-8, .similar-arow-9, .similar-arow-10").hide();538 // });539 // $(".close-sim, .close-similar-prd").click(function() {540 // $(".similar-arow-rgt, .similar-prd-right").hide();541 // });542 // $('.similar-single-click-one span').on('click', function() {543 // $("#Similar_single_1").show();544 // $("#Similar_single_2, #Similar_single_3, #Similar_single_4, #Similar_single_5, #Similar_single_6, #Similar_single_7, #Similar_single_8, #Similar_single_9, #Similar_single_10, #Similar_single_11, #Similar_single_12, #Similar_single_13, #Similar_single_14, #Similar_single_15, #Similar_single_16, #Similar_single_17, #Similar_single_18, #Similar_single_19, #Similar_single_20, #Similar_single_21, #Similar_single_22, #Similar_single_23, #Similar_single_24, #Similar_single_25, #Similar_single_26, #Similar_single_27, #Similar_single_28, #Similar_single_29, #Similar_single_30").hide();545 // $(".similar-arow-2, .similar-arow-3, .similar-arow-4, .similar-arow-5, .similar-arow-6, .similar-arow-7, .similar-arow-8, .similar-arow-9, .similar-arow-10, .similar-arow-11, .similar-arow-12, .similar-arow-13, .similar-arow-14, .similar-arow-15, .similar-arow-16, .similar-arow-17, .similar-arow-18, .similar-arow-19, .similar-arow-20, .similar-arow-21, .similar-arow-22, .similar-arow-23, .similar-arow-24, .similar-arow-25, .similar-arow-26, .similar-arow-27, .similar-arow-28, .similar-arow-29, .similar-arow-30").hide();546 // $(".duration-apply").css("display", "none");547 // });548 // $(".close-sim, .close-similar-prd").click(function() {549 // $(".similar-arow, .similar-prd-click-single-wrap").hide();550 // $(".duration-apply").css("display", "block");551 // });552 // $(".similar-lft-click-two span").click(function(){553 // $("#Similar_left_2").show();554 // $("#Similar_left_1, #Similar_left_3, #Similar_left_4, #Similar_left_5, #Similar_left_6, #Similar_left_7, #Similar_left_8, #Similar_left_9, #Similar_left_10").hide();555 // $(".similar-arow-1, .similar-arow-3, .similar-arow-4, .similar-arow-5, .similar-arow-6, .similar-arow-7, .similar-arow-8, .similar-arow-9").hide();556 // }); 557 // $(".similar-lft-click-3 span").click(function(){558 // $("#Similar_left_3").show();559 // $("#Similar_left_1, #Similar_left_2, #Similar_left_4, #Similar_left_5, #Similar_left_6, #Similar_left_7, #Similar_left_8, #Similar_left_9, #Similar_left_10, #Similar_left_11").hide();560 // $(".similar-arow-1, .similar-arow-2, .similar-arow-4, .similar-arow-5, .similar-arow-6, .similar-arow-7, .similar-arow-8, .similar-arow-9, .similar-arow-10, .similar-arow-11").hide();561 // });562 // $(".similar-lft-click-4 span").click(function(){563 // $("#Similar_left_4").show();564 // $("#Similar_left_1, #Similar_left_2, #Similar_left_3, #Similar_left_5, #Similar_left_6, #Similar_left_7, #Similar_left_8, #Similar_left_9, #Similar_left_10, #Similar_left_11").hide();565 // $(".similar-arow-1, .similar-arow-2, .similar-arow-3, .similar-arow-5, .similar-arow-6, .similar-arow-7, .similar-arow-8, .similar-arow-9, .similar-arow-10, .similar-arow-11").hide();566 // });567 // $(".similar-lft-click-5 span").click(function(){568 // $("#Similar_left_5").show();569 // $("#Similar_left_1, #Similar_left_2, #Similar_left_3, #Similar_left_4, #Similar_left_6, #Similar_left_7, #Similar_left_8, #Similar_left_9, #Similar_left_10, #Similar_left_11").hide();570 // $(".similar-arow-1, .similar-arow-2, .similar-arow-3, .similar-arow-4, .similar-arow-6, .similar-arow-7, .similar-arow-8, .similar-arow-9, .similar-arow-10, .similar-arow-11").hide();571 // });572 // $(".similar-lft-click-6 span").click(function(){573 // $("#Similar_left_6").show();574 // $("#Similar_left_1, #Similar_left_2, #Similar_left_3, #Similar_left_4, #Similar_left_5, #Similar_left_7, #Similar_left_8, #Similar_left_9, #Similar_left_10, #Similar_left_11").hide();575 // $(".similar-arow-1, .similar-arow-2, .similar-arow-3, .similar-arow-4, .similar-arow-5, .similar-arow-7, .similar-arow-8, .similar-arow-9, .similar-arow-10, .similar-arow-11").hide();576 // });577 // $(".similar-lft-click-7 span").click(function(){578 // $("#Similar_left_7").show();579 // $("#Similar_left_1, #Similar_left_2, #Similar_left_3, #Similar_left_4, #Similar_left_5, #Similar_left_6, #Similar_left_8, #Similar_left_9, #Similar_left_10, #Similar_left_11").hide();580 // $(".similar-arow-1, .similar-arow-2, .similar-arow-3, .similar-arow-4, .similar-arow-5, .similar-arow-6, .similar-arow-8, .similar-arow-9, .similar-arow-10, .similar-arow-11").hide();581 // });582 // $(".similar-lft-click-8 span").click(function(){583 // $("#Similar_left_8").show();584 // $("#Similar_left_1, #Similar_left_2, #Similar_left_3, #Similar_left_4, #Similar_left_5, #Similar_left_6, #Similar_left_7, #Similar_left_9, #Similar_left_10, #Similar_left_11").hide();585 // $(".similar-arow-1, .similar-arow-2, .similar-arow-3, .similar-arow-4, .similar-arow-5, .similar-arow-6, .similar-arow-7, .similar-arow-9, .similar-arow-10, .similar-arow-11").hide();586 // });587 588 // $(".similar-lft-click-9 span").click(function(){589 // $("#Similar_left_9").show();590 // $("#Similar_left_1, #Similar_left_2, #Similar_left_3, #Similar_left_4, #Similar_left_5, #Similar_left_6, #Similar_left_7, #Similar_left_8, #Similar_left_10, #Similar_left_11").hide();591 // $(".similar-arow-1, .similar-arow-2, .similar-arow-3, .similar-arow-4, .similar-arow-5, .similar-arow-6, .similar-arow-7, .similar-arow-8, .similar-arwo-10, .similar-arow-11").hide();592 // });593 // $(".similar-lft-click-10 span").click(function(){594 // $("#Similar_left_10").show();595 // $("#Similar_left_1, #Similar_left_2, #Similar_left_3, #Similar_left_4, #Similar_left_5, #Similar_left_6, #Similar_left_7, #Similar_left_8, #Similar_left_9, #Similar_left_11").hide();596 // $(".similar-arow-1, .similar-arow-2, .similar-arow-3, .similar-arow-4, .similar-arow-5, .similar-arow-6, .similar-arow-7, .similar-arow-8, .similar-arow-9, .similar-arow-11").hide();597 // });598 // $(".similar-lft-click-11 span").click(function(){599 // $("#Similar_left_11").show();600 // $("#Similar_left_1, #Similar_left_2, #Similar_left_3, #Similar_left_4, #Similar_left_5, #Similar_left_6, #Similar_left_7, #Similar_left_8, #Similar_left_9, #Similar_left_10").hide();601 // $(".similar-arow-1, .similar-arow-2, .similar-arow-3, .similar-arow-4, .similar-arow-5, .similar-arow-6, .similar-arow-7, .similar-arow-8, .similar-arow-9, .similar-arow-10").hide();602 // });603 // $(".similar-rgt-click-2 span").click(function(){604 // $("#Similar_right_2").show();605 // $("#Similar_right_1, #Similar_right_3, #Similar_right_4, #Similar_right_5, #Similar_right_6, #Similar_right_7, #Similar_right_8, #Similar_right_9, #Similar_right_10").hide();606 // $(".similar-arow-1, .similar-arow-3, .similar-arow-4, .similar-arow-5, .similar-arow-6, .similar-arow-7, .similar-arow-8, .similar-arow-9, .similar-arow-10").hide();607 // });608 // $(".similar-rgt-click-3 span").click(function(){609 // $("#Similar_right_3").show();610 // $("#Similar_right_1, #Similar_right_2, #Similar_right_4, #Similar_right_5, #Similar_right_6, #Similar_right_7, #Similar_right_8, #Similar_right_9, #Similar_right_10").hide();611 // $(".similar-arow-1, .similar-arow-2, .similar-arow-4, .similar-arow-5, .similar-arow-6, .similar-arow-7, .similar-arow-8, .similar-arow-9, .similar-arow-10").hide();612 // });613 // $(".similar-rgt-click-4 span").click(function(){614 // $("#Similar_right_4").show();615 // $("#Similar_right_1, #Similar_right_2, #Similar_right_3, #Similar_right_5, #Similar_right_6, #Similar_right_7, #Similar_right_8, #Similar_right_9, #Similar_right_10").hide();616 // $(".similar-arow-1, .similar-arow-2, .similar-arow-3, .similar-arow-5, .similar-arow-6, .similar-arow-7, .similar-arow-8, .similar-arow-9").hide();617 // });618 // $(".similar-rgt-click-5 span").click(function(){619 // $("#Similar_right_5").show();620 // $("#Similar_right_1, #Similar_right_2, #Similar_right_3, #Similar_right_4, #Similar_right_6, #Similar_right_7, #Similar_right_8, #Similar_right_9, #Similar_right_10").hide();621 // $(".similar-arow-1, .similar-arow-2, .similar-arow-3, .similar-arow-4, .similar-arow-6, .similar-arow-7, .similar-arow-8, .similar-arow-9, .similar-arow-10").hide();622 // });623 // $(".similar-rgt-click-6 span").click(function(){624 // $("#Similar_right_6").show();625 // $("#Similar_right_1, #Similar_right_2, #Similar_right_3, #Similar_right_4, #Similar_right_5, #Similar_right_7, #Similar_right_8, #Similar_right_9, #Similar_right_10").hide();626 // $(".similar-arow-1, .similar-arow-2, .similar-arow-3, .similar-arow-4, .similar-arow-5, .similar-arow-7, .similar-arow-8, .similar-arow-9, .similar-arow-10").hide();627 // });628 // $(".similar-rgt-click-7 span").click(function(){629 // $("#Similar_right_7").show();630 // $("#Similar_right_1, #Similar_right_2, #Similar_right_3, #Similar_right_4, #Similar_right_5, #Similar_right_6, #Similar_right_8, #Similar_right_9, #Similar_right_10").hide();631 // $(".similar-arow-1, .similar-arow-2, .similar-arow-3, .similar-arow-4, .similar-arow-5, .similar-arow-6, .similar-arow-8, .similar-arow-9, .similar-arow-10").hide();632 // });633 // $(".similar-rgt-click-8 span").click(function(){634 // $("#Similar_right_8").show();635 // $("#Similar_right_1, #Similar_right_2, #Similar_right_3, #Similar_right_4, #Similar_right_5, #Similar_right_6, #Similar_right_7, #Similar_right_9, #Similar_right_10").hide();636 // $(".similar-arow-1, .similar-arow-2, .similar-arow-3, .similar-arow-4, .similar-arow-5, .similar-arow-6, .similar-arow-7, .similar-arow-9, .similar-arow-10").hide();637 // });638 // $(".similar-rgt-click-9 span").click(function(){639 // $("#Similar_right_9").show();640 // $("#Similar_right_1, #Similar_right_2, #Similar_right_3, #Similar_right_4, #Similar_right_5, #Similar_right_6, #Similar_right_7, #Similar_right_8, #Similar_right_10").hide();641 // $(".similar-arow-1, .similar-arow-2, .similar-arow-3, .similar-arow-4, .similar-arow-5, .similar-arow-6, .similar-arow-7, .similar-arow-8, .similar-arow-10").hide();642 // });643 // $(".similar-rgt-click-10 span").click(function(){644 // $("#Similar_right_10").show();645 // $("#Similar_right_1, #Similar_right_2, #Similar_right_3, #Similar_right_4, #Similar_right_5, #Similar_right_6, #Similar_right_7, #Similar_right_8, #Similar_right_9").hide();646 // $(".similar-arow-1, .similar-arow-2, .similar-arow-3, .similar-arow-4, .similar-arow-5, .similar-arow-6, .similar-arow-7, .similar-arow-8, .similar-arow-9").hide();647 // });648 // $(".similar-single-click-2 span").click(function(){649 // $("#Similar_single_2").show();650 // $("#Similar_single_1, #Similar_single_3, #Similar_single_4, #Similar_single_5, #Similar_single_6, #Similar_single_7, #Similar_single_8, #Similar_single_9, #Similar_single_10, #Similar_single_11, #Similar_single_12, #Similar_single_13, #Similar_single_14, #Similar_single_15, #Similar_single_16, #Similar_single_17, #Similar_single_18, #Similar_single_19, #Similar_single_20, #Similar_single_21, #Similar_single_22, #Similar_single_23, #Similar_single_24, #Similar_single_25, #Similar_single_26, #Similar_single_27, #Similar_single_28, #Similar_single_29, #Similar_single_30").hide();651 // $(".similar-arow-1, .similar-arow-3, .similar-arow-4, .similar-arow-5, .similar-arow-6, .similar-arow-7, .similar-arow-8, .similar-arow-9, .similar-arow-10, .similar-arow-11, .similar-arow-12, .similar-arow-13, .similar-arow-14, .similar-arow-15, .similar-arow-16, .similar-arow-17, .similar-arow-18, .similar-arow-19, .similar-arow-20, .similar-arow-21, .similar-arow-22, .similar-arow-23, .similar-arow-24, .similar-arow-25, .similar-arow-26, .similar-arow-27, .similar-arow-28, .similar-arow-29, .similar-arow-30").hide();652 // $(".duration-apply").css("display", "none");653 // });654 // $(".similar-single-click-3 span").click(function(){655 // $("#Similar_single_3").show();656 // $("#Similar_single_1, #Similar_single_2, #Similar_single_4, #Similar_single_5, #Similar_single_6, #Similar_single_7, #Similar_single_8, #Similar_single_9, #Similar_single_10, #Similar_single_11, #Similar_single_12, #Similar_single_13, #Similar_single_14, #Similar_single_15, #Similar_single_16, #Similar_single_17, #Similar_single_18, #Similar_single_19, #Similar_single_20, #Similar_single_21, #Similar_single_22, #Similar_single_23, #Similar_single_24, #Similar_single_25, #Similar_single_26, #Similar_single_27, #Similar_single_28, #Similar_single_29, #Similar_single_30").hide();657 // $(".similar-arow-1, .similar-arow-2, .similar-arow-4, .similar-arow-5, .similar-arow-6, .similar-arow-7, .similar-arow-8, .similar-arow-9, .similar-arow-10, .similar-arow-11, .similar-arow-12, .similar-arow-13, .similar-arow-14, .similar-arow-15, .similar-arow-16, .similar-arow-17, .similar-arow-18, .similar-arow-19, .similar-arow-20, .similar-arow-21, .similar-arow-22, .similar-arow-23, .similar-arow-24, .similar-arow-25, .similar-arow-26, .similar-arow-27, .similar-arow-28, .similar-arow-29, .similar-arow-30").hide();658 // $(".duration-apply").css("display", "none");659 660 // });661 // $(".similar-single-click-4 span").click(function(){662 // $("#Similar_single_4").show();663 // $("#Similar_single_1, #Similar_single_2, #Similar_single_3, #Similar_single_5, #Similar_single_6, #Similar_single_7, #Similar_single_8, #Similar_single_9, #Similar_single_10, #Similar_single_11, #Similar_single_12, #Similar_single_13, #Similar_single_14, #Similar_single_15, #Similar_single_16, #Similar_single_17, #Similar_single_18, #Similar_single_19, #Similar_single_20, #Similar_single_21, #Similar_single_22, #Similar_single_23, #Similar_single_24, #Similar_single_25, #Similar_single_26, #Similar_single_27, #Similar_single_28, #Similar_single_29, #Similar_single_30").hide();664 // $(".similar-arow-1, .similar-arow-2, .similar-arow-3, .similar-arow-5, .similar-arow-6, .similar-arow-7, .similar-arow-8, .similar-arow-9, .similar-arow-10, .similar-arow-11, .similar-arow-12, .similar-arow-13, .similar-arow-14, .similar-arow-15, .similar-arow-16, .similar-arow-17, .similar-arow-18, .similar-arow-19, .similar-arow-20, .similar-arow-21, .similar-arow-22, .similar-arow-23, .similar-arow-24, .similar-arow-25, .similar-arow-26, .similar-arow-27, .similar-arow-28, .similar-arow-29, .similar-arow-30").hide();665 // $(".duration-apply").css("display", "none");666 667 // }); 668 // $(".similar-single-click-5 span").click(function(){669 // $("#Similar_single_5").show();670 // $("#Similar_single_1, #Similar_single_2, #Similar_single_3, #Similar_single_4, #Similar_single_6, #Similar_single_7, #Similar_single_8, #Similar_single_9, #Similar_single_10, #Similar_single_11, #Similar_single_12, #Similar_single_13, #Similar_single_14, #Similar_single_15, #Similar_single_16, #Similar_single_17, #Similar_single_18, #Similar_single_19, #Similar_single_20, #Similar_single_21, #Similar_single_22, #Similar_single_23, #Similar_single_24, #Similar_single_25, #Similar_single_26, #Similar_single_27, #Similar_single_28, #Similar_single_29, #Similar_single_30").hide();671 // $(".similar-arow-1, .similar-arow-2, .similar-arow-3, .similar-arow-4, .similar-arow-6, .similar-arow-7, .similar-arow-8, .similar-arow-9, .similar-arow-10, .similar-arow-11, .similar-arow-12, .similar-arow-13, .similar-arow-14, .similar-arow-15, .similar-arow-16, .similar-arow-17, .similar-arow-18, .similar-arow-19, .similar-arow-20, .similar-arow-21, .similar-arow-22, .similar-arow-23, .similar-arow-24, .similar-arow-25, .similar-arow-26, .similar-arow-27, .similar-arow-28, .similar-arow-29, .similar-arow-30").hide();672 // $(".duration-apply").css("display", "none");673 674 // });675 // $(".similar-single-click-6 span").click(function(){676 // $("#Similar_single_6").show();677 // $("#Similar_single_1, #Similar_single_2, #Similar_single_3, #Similar_single_4, #Similar_single_5, #Similar_single_7, #Similar_single_8, #Similar_single_9, #Similar_single_10, #Similar_single_11, #Similar_single_12, #Similar_single_13, #Similar_single_14, #Similar_single_15, #Similar_single_16, #Similar_single_17, #Similar_single_18, #Similar_single_19, #Similar_single_20, #Similar_single_21, #Similar_single_22, #Similar_single_23, #Similar_single_24, #Similar_single_25, #Similar_single_26, #Similar_single_27, #Similar_single_28, #Similar_single_29, #Similar_single_30").hide();678 // $(".similar-arow-1, .similar-arow-2, .similar-arow-3, .similar-arow-4, .similar-arow-5, .similar-arow-7, .similar-arow-8, .similar-arow-9, .similar-arow-10, .similar-arow-11, .similar-arow-12, .similar-arow-13, .similar-arow-14, .similar-arow-15, .similar-arow-16, .similar-arow-17, .similar-arow-18, .similar-arow-19, .similar-arow-20, .similar-arow-21, .similar-arow-22, .similar-arow-23, .similar-arow-24, .similar-arow-25, .similar-arow-26, .similar-arow-27, .similar-arow-28, .similar-arow-29, .similar-arow-30").hide();679 // $(".duration-apply").css("display", "none");680 // });681 // $(".similar-single-click-7 span").click(function(){682 // $("#Similar_single_7").show();683 // $("#Similar_single_1, #Similar_single_2, #Similar_single_3, #Similar_single_4, #Similar_single_5, #Similar_single_6, #Similar_single_8, #Similar_single_9, #Similar_single_10, #Similar_single_11, #Similar_single_12, #Similar_single_13, #Similar_single_14, #Similar_single_15, #Similar_single_16, #Similar_single_17, #Similar_single_18, #Similar_single_19, #Similar_single_20, #Similar_single_21, #Similar_single_22, #Similar_single_23, #Similar_single_24, #Similar_single_25, #Similar_single_26, #Similar_single_27, #Similar_single_28, #Similar_single_29, #Similar_single_30").hide();684 // $(".similar-arow-1, .similar-arow-2, .similar-arow-3, .similar-arow-4, .similar-arow-5, .similar-arow-6, .similar-arow-8, .similar-arow-9, .similar-arow-10, .similar-arow-11, .similar-arow-12, .similar-arow-13, .similar-arow-14, .similar-arow-15, .similar-arow-16, .similar-arow-17, .similar-arow-18, .similar-arow-19, .similar-arow-20, .similar-arow-21, .similar-arow-22, .similar-arow-23, .similar-arow-24, .similar-arow-25, .similar-arow-26, .similar-arow-27, .similar-arow-28, .similar-arow-29, .similar-arow-30").hide();685 // $(".duration-apply").css("display", "none");686 687 // });688 // $(".similar-single-click-8 span").click(function(){689 // $("#Similar_single_8").show();690 // $("#Similar_single_1, #Similar_single_2, #Similar_single_3, #Similar_single_4, #Similar_single_5, #Similar_single_6, #Similar_single_7, #Similar_single_9, #Similar_single_10, #Similar_single_11, #Similar_single_12, #Similar_single_13, #Similar_single_14, #Similar_single_15, #Similar_single_16, #Similar_single_17, #Similar_single_18, #Similar_single_19, #Similar_single_20, #Similar_single_21, #Similar_single_22, #Similar_single_23, #Similar_single_24, #Similar_single_25, #Similar_single_26, #Similar_single_27, #Similar_single_28, #Similar_single_29, #Similar_single_30").hide();691 // $(".similar-arow-1, .similar-arow-2, .similar-arow-3, .similar-arow-4, .similar-arow-5, .similar-arow-6, .similar-arow-7, .similar-arow-9, .similar-arow-10, .similar-arow-11, .similar-arow-12, .similar-arow-13, .similar-arow-14, .similar-arow-15, .similar-arow-16, .similar-arow-17, .similar-arow-18, .similar-arow-19, .similar-arow-20, .similar-arow-21, .similar-arow-22, .similar-arow-23, .similar-arow-24, .similar-arow-25, .similar-arow-26, .similar-arow-27, .similar-arow-28, .similar-arow-29, .similar-arow-30").hide();692 // $(".duration-apply").css("display", "none");693 // });694 // $(".similar-single-click-9 span").click(function(){695 // $("#Similar_single_9").show();696 // $("#Similar_single_1, #Similar_single_2, #Similar_single_3, #Similar_single_4, #Similar_single_5, #Similar_single_6, #Similar_single_7, #Similar_single_8, #Similar_single_10, #Similar_single_11, #Similar_single_12, #Similar_single_13, #Similar_single_14, #Similar_single_15, #Similar_single_16, #Similar_single_17, #Similar_single_18, #Similar_single_19, #Similar_single_20, #Similar_single_21, #Similar_single_22, #Similar_single_23, #Similar_single_24, #Similar_single_25, #Similar_single_26, #Similar_single_27, #Similar_single_28, #Similar_single_29, #Similar_single_30").hide();697 // $(".similar-arow-1, .similar-arow-2, .similar-arow-3, .similar-arow-4, .similar-arow-5, .similar-arow-6, .similar-arow-7, .similar-arow-8, .similar-arow-10, .similar-arow-11, .similar-arow-12, .similar-arow-13, .similar-arow-14, .similar-arow-15, .similar-arow-16, .similar-arow-17, .similar-arow-18, .similar-arow-19, .similar-arow-20, .similar-arow-21, .similar-arow-22, .similar-arow-23, .similar-arow-24, .similar-arow-25, .similar-arow-26, .similar-arow-27, .similar-arow-28, .similar-arow-29, .similar-arow-30").hide();698 // $(".duration-apply").css("display", "none");699 // });700 // $(".similar-single-click-10 span").click(function(){701 // $("#Similar_single_10").show();702 // $("#Similar_single_1, #Similar_single_2, #Similar_single_3, #Similar_single_4, #Similar_single_5, #Similar_single_6, #Similar_single_7, #Similar_single_8, #Similar_single_9, #Similar_single_11, #Similar_single_12, #Similar_single_13, #Similar_single_14, #Similar_single_15, #Similar_single_16, #Similar_single_17, #Similar_single_18, #Similar_single_19, #Similar_single_20, #Similar_single_21, #Similar_single_22, #Similar_single_23, #Similar_single_24, #Similar_single_25, #Similar_single_26, #Similar_single_27, #Similar_single_28, #Similar_single_29, #Similar_single_30").hide();703 // $(".similar-arow-1, .similar-arow-2, .similar-arow-3, .similar-arow-4, .similar-arow-5, .similar-arow-6, .similar-arow-7, .similar-arow-8, .similar-arow-9, .similar-arow-11, .similar-arow-12, .similar-arow-13, .similar-arow-14, .similar-arow-15, .similar-arow-16, .similar-arow-17, .similar-arow-18, .similar-arow-19, .similar-arow-20, .similar-arow-21, .similar-arow-22, .similar-arow-23, .similar-arow-24, .similar-arow-25, .similar-arow-26, .similar-arow-27, .similar-arow-28, .similar-arow-29, .similar-arow-30").hide();704 // $(".duration-apply").css("display", "none");705 // });706 // $(".similar-single-click-11 span").click(function(){707 // $("#Similar_single_11").show();708 // $("#Similar_single_1, #Similar_single_2, #Similar_single_3, #Similar_single_4, #Similar_single_5, #Similar_single_6, #Similar_single_7, #Similar_single_8, #Similar_single_9, #Similar_single_10, #Similar_single_12, #Similar_single_13, #Similar_single_14, #Similar_single_15, #Similar_single_16, #Similar_single_17, #Similar_single_18, #Similar_single_19, #Similar_single_20, #Similar_single_21, #Similar_single_22, #Similar_single_23, #Similar_single_24, #Similar_single_25, #Similar_single_26, #Similar_single_27, #Similar_single_28, #Similar_single_29, #Similar_single_30").hide();709 // $(".similar-arow-1, .similar-arow-2, .similar-arow-3, .similar-arow-4, .similar-arow-5, .similar-arow-6, .similar-arow-7, .similar-arow-8, .similar-arow-9, .similar-arow-10, .similar-arow-12, .similar-arow-13, .similar-arow-14, .similar-arow-15, .similar-arow-16, .similar-arow-17, .similar-arow-18, .similar-arow-19, .similar-arow-20, .similar-arow-21, .similar-arow-22, .similar-arow-23, .similar-arow-24, .similar-arow-25, .similar-arow-26, .similar-arow-27, .similar-arow-28, .similar-arow-29, .similar-arow-30").hide();710 // $(".duration-apply").css("display", "none");711 // });712 // $(".similar-single-click-12 span").click(function(){713 // $("#Similar_single_12").show();714 // $("#Similar_single_1, #Similar_single_2, #Similar_single_3, #Similar_single_4, #Similar_single_5, #Similar_single_6, #Similar_single_7, #Similar_single_8, #Similar_single_9, #Similar_single_10, #Similar_single_11, #Similar_single_13, #Similar_single_14, #Similar_single_15, #Similar_single_16, #Similar_single_17, #Similar_single_18, #Similar_single_19, #Similar_single_20, #Similar_single_21, #Similar_single_22, #Similar_single_23, #Similar_single_24, #Similar_single_25, #Similar_single_26, #Similar_single_27, #Similar_single_28, #Similar_single_29, #Similar_single_30").hide();715 // $(".similar-arow-1, .similar-arow-2, .similar-arow-3, .similar-arow-4, .similar-arow-5, .similar-arow-6, .similar-arow-7, .similar-arow-8, .similar-arow-9, .similar-arow-10, .similar-arow-11, .similar-arow-13, .similar-arow-14, .similar-arow-15, .similar-arow-16, .similar-arow-17, .similar-arow-18, .similar-arow-19, .similar-arow-20, .similar-arow-21, .similar-arow-22, .similar-arow-23, .similar-arow-24, .similar-arow-25, .similar-arow-26, .similar-arow-27, .similar-arow-28, .similar-arow-29, .similar-arow-30").hide();716 // $(".duration-apply").css("display", "none");717 // });718 // $(".similar-single-click-13 span").click(function(){719 // $("#Similar_single_13").show();720 // $("#Similar_single_1, #Similar_single_2, #Similar_single_3, #Similar_single_4, #Similar_single_5, #Similar_single_6, #Similar_single_7, #Similar_single_8, #Similar_single_9, #Similar_single_10, #Similar_single_11, #Similar_single_12, #Similar_single_14, #Similar_single_15, #Similar_single_16, #Similar_single_17, #Similar_single_18, #Similar_single_19, #Similar_single_20, #Similar_single_21, #Similar_single_22, #Similar_single_23, #Similar_single_24, #Similar_single_25, #Similar_single_26, #Similar_single_27, #Similar_single_28, #Similar_single_29, #Similar_single_30").hide();721 // $(".similar-arow-1, .similar-arow-2, .similar-arow-3, .similar-arow-4, .similar-arow-5, .similar-arow-6, .similar-arow-7, .similar-arow-8, .similar-arow-9, .similar-arow-10, .similar-arow-11, .similar-arow-12, .similar-arow-14, .similar-arow-15, .similar-arow-16, .similar-arow-17, .similar-arow-18, .similar-arow-19, .similar-arow-20, .similar-arow-21, .similar-arow-22, .similar-arow-23, .similar-arow-24, .similar-arow-25, .similar-arow-26, .similar-arow-27, .similar-arow-28, .similar-arow-29, .similar-arow-30").hide();722 // $(".duration-apply").css("display", "none");723 // });724 // $(".similar-single-click-14 span").click(function(){725 // $("#Similar_single_14").show();726 // $("#Similar_single_1, #Similar_single_2, #Similar_single_3, #Similar_single_4, #Similar_single_5, #Similar_single_6, #Similar_single_7, #Similar_single_8, #Similar_single_9, #Similar_single_10, #Similar_single_11, #Similar_single_12, #Similar_single_13, #Similar_single_15, #Similar_single_16, #Similar_single_17, #Similar_single_18, #Similar_single_19, #Similar_single_20, #Similar_single_21, #Similar_single_22, #Similar_single_23, #Similar_single_24, #Similar_single_25, #Similar_single_26, #Similar_single_27, #Similar_single_28, #Similar_single_29, #Similar_single_30").hide();727 // $(".similar-arow-1, .similar-arow-2, .similar-arow-3, .similar-arow-4, .similar-arow-5, .similar-arow-6, .similar-arow-7, .similar-arow-8, .similar-arow-9, .similar-arow-10, .similar-arow-11, .similar-arow-12, .similar-arow-13, .similar-arow-15, .similar-arow-16, .similar-arow-17, .similar-arow-18, .similar-arow-19, .similar-arow-20, .similar-arow-21, .similar-arow-22, .similar-arow-23, .similar-arow-24, .similar-arow-25, .similar-arow-26, .similar-arow-27, .similar-arow-28, .similar-arow-29, .similar-arow-30").hide();728 // $(".duration-apply").css("display", "none");729 // });730 // $(".similar-single-click-15 span").click(function(){731 // $("#Similar_single_15").show();732 // $("#Similar_single_1, #Similar_single_2, #Similar_single_3, #Similar_single_4, #Similar_single_5, #Similar_single_6, #Similar_single_7, #Similar_single_8, #Similar_single_9, #Similar_single_10, #Similar_single_11, #Similar_single_12, #Similar_single_13, #Similar_single_14, #Similar_single_16, #Similar_single_17, #Similar_single_18, #Similar_single_19, #Similar_single_20, #Similar_single_21, #Similar_single_22, #Similar_single_23, #Similar_single_24, #Similar_single_25, #Similar_single_26, #Similar_single_27, #Similar_single_28, #Similar_single_29, #Similar_single_30").hide();733 // $(".similar-arow-1, .similar-arow-2, .similar-arow-3, .similar-arow-4, .similar-arow-5, .similar-arow-6, .similar-arow-7, .similar-arow-8, .similar-arow-9, .similar-arow-10, .similar-arow-11, .similar-arow-12, .similar-arow-13, .similar-arow-14, .similar-arow-16, .similar-arow-17, .similar-arow-18, .similar-arow-19, .similar-arow-20, .similar-arow-21, .similar-arow-22, .similar-arow-23, .similar-arow-24, .similar-arow-25, .similar-arow-26, .similar-arow-27, .similar-arow-28, .similar-arow-29, .similar-arow-30").hide();734 // $(".duration-apply").css("display", "none");735 // });736 // $(".similar-single-click-16 span").click(function(){737 // $("#Similar_single_16").show();738 // $("#Similar_single_1, #Similar_single_2, #Similar_single_3, #Similar_single_4, #Similar_single_5, #Similar_single_6, #Similar_single_7, #Similar_single_8, #Similar_single_9, #Similar_single_10, #Similar_single_11, #Similar_single_12, #Similar_single_13, #Similar_single_14, #Similar_single_15, #Similar_single_17, #Similar_single_18, #Similar_single_19, #Similar_single_20, #Similar_single_21, #Similar_single_22, #Similar_single_23, #Similar_single_24, #Similar_single_25, #Similar_single_26, #Similar_single_27, , #Similar_single_28, #Similar_single_29, #Similar_single_30").hide();739 // $(".similar-arow-1, .similar-arow-2, .similar-arow-3, .similar-arow-4, .similar-arow-5, .similar-arow-6, .similar-arow-7, .similar-arow-8, .similar-arow-9, .similar-arow-10, .similar-arow-11, .similar-arow-12, .similar-arow-13, .similar-arow-14, .similar-arow-15, .similar-arow-17, .similar-arow-18, .similar-arow-19, .similar-arow-20, .similar-arow-21, .similar-arow-22, .similar-arow-23, .similar-arow-24, .similar-arow-25, .similar-arow-26, .similar-arow-27, .similar-arow-28, .similar-arow-29, .similar-arow-30").hide();740 // $(".duration-apply").css("display", "none");741 // });742 // $(".similar-single-click-17 span").click(function(){743 // $("#Similar_single_17").show();744 // $("#Similar_single_1, #Similar_single_2, #Similar_single_3, #Similar_single_4, #Similar_single_5, #Similar_single_6, #Similar_single_7, #Similar_single_8, #Similar_single_9, #Similar_single_10, #Similar_single_11, #Similar_single_12, #Similar_single_13, #Similar_single_14, #Similar_single_15, #Similar_single_16, #Similar_single_18, #Similar_single_19, #Similar_single_20, #Similar_single_21, #Similar_single_22, #Similar_single_23, #Similar_single_24, #Similar_single_25, #Similar_single_26, #Similar_single_27, #Similar_single_28, #Similar_single_29, #Similar_single_30").hide();745 // $(".similar-arow-1, .similar-arow-2, .similar-arow-3, .similar-arow-4, .similar-arow-5, .similar-arow-6, .similar-arow-7, .similar-arow-8, .similar-arow-9, .similar-arow-10, .similar-arow-11, .similar-arow-12, .similar-arow-13, .similar-arow-14, .similar-arow-15, .similar-arow-16, .similar-arow-18, .similar-arow-19, .similar-arow-20, .similar-arow-21, .similar-arow-22, .similar-arow-23, .similar-arow-24, .similar-arow-25, .similar-arow-26, .similar-arow-27, .similar-arow-28, .similar-arow-29, .similar-arow-30").hide();746 // $(".duration-apply").css("display", "none");747 // });748 // $(".similar-single-click-18 span").click(function(){749 // $("#Similar_single_18").show();750 // $("#Similar_single_1, #Similar_single_2, #Similar_single_3, #Similar_single_4, #Similar_single_5, #Similar_single_6, #Similar_single_7, #Similar_single_8, #Similar_single_9, #Similar_single_10, #Similar_single_11, #Similar_single_12, #Similar_single_13, #Similar_single_14, #Similar_single_15, #Similar_single_16, #Similar_single_17, #Similar_single_19, #Similar_single_20, #Similar_single_21, #Similar_single_22, #Similar_single_23, #Similar_single_24, #Similar_single_25, #Similar_single_26, #Similar_single_27, #Similar_single_28, #Similar_single_29, #Similar_single_30").hide();751 // $(".similar-arow-1, .similar-arow-2, .similar-arow-3, .similar-arow-4, .similar-arow-5, .similar-arow-6, .similar-arow-7, .similar-arow-8, .similar-arow-9, .similar-arow-10, .similar-arow-11, .similar-arow-12, .similar-arow-13, .similar-arow-14, .similar-arow-15, .similar-arow-16, .similar-arow-17, .similar-arow-19, .similar-arow-20, .similar-arow-21, .similar-arow-22, .similar-arow-23, .similar-arow-24, .similar-arow-25, .similar-arow-26, .similar-arow-27, .similar-arow-28, .similar-arow-29, .similar-arow-30").hide();752 // $(".duration-apply").css("display", "none");753 // });754 // $(".similar-single-click-19 span").click(function(){755 // $("#Similar_single_19").show();756 // $("#Similar_single_1, #Similar_single_2, #Similar_single_3, #Similar_single_4, #Similar_single_5, #Similar_single_6, #Similar_single_7, #Similar_single_8, #Similar_single_9, #Similar_single_10, #Similar_single_11, #Similar_single_12, #Similar_single_13, #Similar_single_14, #Similar_single_15, #Similar_single_16, #Similar_single_17, #Similar_single_18, #Similar_single_20, #Similar_single_21, #Similar_single_22, #Similar_single_23, #Similar_single_24, #Similar_single_25, #Similar_single_26, #Similar_single_27, #Similar_single_28, #Similar_single_29, #Similar_single_30").hide();757 // $(".similar-arow-1, .similar-arow-2, .similar-arow-3, .similar-arow-4, .similar-arow-5, .similar-arow-6, .similar-arow-7, .similar-arow-8, .similar-arow-9, .similar-arow-10, .similar-arow-11, .similar-arow-12, .similar-arow-13, .similar-arow-14, .similar-arow-15, .similar-arow-16, .similar-arow-17, .similar-arow-18, .similar-arow-20, .similar-arow-21, .similar-arow-22, .similar-arow-23, .similar-arow-24, .similar-arow-25, .similar-arow-26, .similar-arow-27, .similar-arow-28, .similar-arow-29, .similar-arow-30").hide();758 // $(".duration-apply").css("display", "none");759 // });760 // $(".similar-single-click-20 span").click(function(){761 // $("#Similar_single_20").show();762 // $("#Similar_single_1, #Similar_single_2, #Similar_single_3, #Similar_single_4, #Similar_single_5, #Similar_single_6, #Similar_single_7, #Similar_single_8, #Similar_single_9, #Similar_single_10, #Similar_single_11, #Similar_single_12, #Similar_single_13, #Similar_single_14, #Similar_single_15, #Similar_single_16, #Similar_single_17, #Similar_single_18, #Similar_single_19, #Similar_single_21, #Similar_single_22, #Similar_single_23, #Similar_single_24, #Similar_single_25, #Similar_single_26, #Similar_single_27, #Similar_single_28, #Similar_single_29, #Similar_single_30").hide();763 // $(".similar-arow-1, .similar-arow-2, .similar-arow-3, .similar-arow-4, .similar-arow-5, .similar-arow-6, .similar-arow-7, .similar-arow-8, .similar-arow-9, .similar-arow-10, .similar-arow-11, .similar-arow-12, .similar-arow-13, .similar-arow-14, .similar-arow-15, .similar-arow-16, .similar-arow-17, .similar-arow-18, .similar-arow-19, .similar-arow-21, .similar-arow-22, .similar-arow-23, .similar-arow-24, .similar-arow-25, .similar-arow-26, .similar-arow-27, .similar-arow-28, .similar-arow-29, .similar-arow-30").hide();764 // $(".duration-apply").css("display", "none");765 // });766 // $(".similar-single-click-21 span").click(function(){767 // $("#Similar_single_21").show();768 // $("#Similar_single_1, #Similar_single_2, #Similar_single_3, #Similar_single_4, #Similar_single_5, #Similar_single_6, #Similar_single_7, #Similar_single_8, #Similar_single_9, #Similar_single_10, #Similar_single_11, #Similar_single_12, #Similar_single_13, #Similar_single_14, #Similar_single_15, #Similar_single_16, #Similar_single_17, #Similar_single_18, #Similar_single_19, #Similar_single_20, #Similar_single_22, #Similar_single_23, #Similar_single_24, #Similar_single_25, #Similar_single_26, #Similar_single_27, #Similar_single_28, #Similar_single_29, #Similar_single_30").hide();769 // $(".similar-arow-1, .similar-arow-2, .similar-arow-3, .similar-arow-4, .similar-arow-5, .similar-arow-6, .similar-arow-7, .similar-arow-8, .similar-arow-9, .similar-arow-10, .similar-arow-11, .similar-arow-12, .similar-arow-13, .similar-arow-14, .similar-arow-15, .similar-arow-16, .similar-arow-17, .similar-arow-18, .similar-arow-19, .similar-arow-20, .similar-arow-22, .similar-arow-23, .similar-arow-24, .similar-arow-25, .similar-arow-26, .similar-arow-27, .similar-arow-27, .similar-arow-28, .similar-arow-29, .similar-arow-30").hide();770 // $(".duration-apply").css("display", "none");771 // });772 // $(".similar-single-click-22 span").click(function(){773 // $("#Similar_single_22").show();774 // $("#Similar_single_1, #Similar_single_2, #Similar_single_3, #Similar_single_4, #Similar_single_5, #Similar_single_6, #Similar_single_7, #Similar_single_8, #Similar_single_9, #Similar_single_10, #Similar_single_11, #Similar_single_12, #Similar_single_13, #Similar_single_14, #Similar_single_15, #Similar_single_16, #Similar_single_17, #Similar_single_18, #Similar_single_19, #Similar_single_20, #Similar_single_21, #Similar_single_23, #Similar_single_24, #Similar_single_25, #Similar_single_26, #Similar_single_27, #Similar_single_28, #Similar_single_29, #Similar_single_30").hide();775 // $(".similar-arow-1, .similar-arow-2, .similar-arow-3, .similar-arow-4, .similar-arow-5, .similar-arow-6, .similar-arow-7, .similar-arow-8, .similar-arow-9, .similar-arow-10, .similar-arow-11, .similar-arow-12, .similar-arow-13, .similar-arow-14, .similar-arow-15, .similar-arow-16, .similar-arow-17, .similar-arow-18, .similar-arow-19, .similar-arow-20, .similar-arow-21, .similar-arow-23, .similar-arow-24, .similar-arow-25, .similar-arow-26, .similar-arow-27, .similar-arow-28, .similar-arow-29, .similar-arow-30").hide();776 // $(".duration-apply").css("display", "none");777 // });778 // $(".similar-single-click-23 span").click(function(){779 // $("#Similar_single_23").show();780 // $("#Similar_single_1, #Similar_single_2, #Similar_single_3, #Similar_single_4, #Similar_single_5, #Similar_single_6, #Similar_single_7, #Similar_single_8, #Similar_single_9, #Similar_single_10, #Similar_single_11, #Similar_single_12, #Similar_single_13, #Similar_single_14, #Similar_single_15, #Similar_single_16, #Similar_single_17, #Similar_single_18, #Similar_single_19, #Similar_single_20, #Similar_single_21, #Similar_single_22, #Similar_single_24, #Similar_single_25, #Similar_single_26, #Similar_single_27, #Similar_single_28, #Similar_single_29, #Similar_single_30").hide();781 // $(".similar-arow-1, .similar-arow-2, .similar-arow-3, .similar-arow-4, .similar-arow-5, .similar-arow-6, .similar-arow-7, .similar-arow-8, .similar-arow-9, .similar-arow-10, .similar-arow-11, .similar-arow-12, .similar-arow-13, .similar-arow-14, .similar-arow-15, .similar-arow-16, .similar-arow-17, .similar-arow-18, .similar-arow-19, .similar-arow-20, .similar-arow-21, .similar-arow-22, .similar-arow-24, .similar-arow-25, .similar-arow-26, .similar-arow-27, .similar-arow-28, .similar-arow-29, .similar-arow-30").hide();782 // $(".duration-apply").css("display", "none");783 // });784 // $(".similar-single-click-24 span").click(function(){785 // $("#Similar_single_24").show();786 // $("#Similar_single_1, #Similar_single_2, #Similar_single_3, #Similar_single_4, #Similar_single_5, #Similar_single_6, #Similar_single_7, #Similar_single_8, #Similar_single_9, #Similar_single_10, #Similar_single_11, #Similar_single_12, #Similar_single_13, #Similar_single_14, #Similar_single_15, #Similar_single_16, #Similar_single_17, #Similar_single_18, #Similar_single_19, #Similar_single_20, #Similar_single_21, #Similar_single_22, #Similar_single_23, #Similar_single_25, #Similar_single_26, #Similar_single_27, #Similar_single_28, #Similar_single_29, #Similar_single_30").hide();787 // $(".similar-arow-1, .similar-arow-2, .similar-arow-3, .similar-arow-4, .similar-arow-5, .similar-arow-6, .similar-arow-7, .similar-arow-8, .similar-arow-9, .similar-arow-10, .similar-arow-11, .similar-arow-12, .similar-arow-13, .similar-arow-14, .similar-arow-15, .similar-arow-16, .similar-arow-17, .similar-arow-18, .similar-arow-19, .similar-arow-20, .similar-arow-21, .similar-arow-22, .similar-arow-23, .similar-arow-25, .similar-arow-26, .similar-arow-27, .similar-arow-28, .similar-arow-29, .similar-arow-30").hide();788 // $(".duration-apply").css("display", "none");789 // });790 // $(".similar-single-click-25 span").click(function(){791 // $("#Similar_single_25").show();792 // $("#Similar_single_1, #Similar_single_2, #Similar_single_3, #Similar_single_4, #Similar_single_5, #Similar_single_6, #Similar_single_7, #Similar_single_8, #Similar_single_9, #Similar_single_10, #Similar_single_11, #Similar_single_12, #Similar_single_13, #Similar_single_14, #Similar_single_15, #Similar_single_16, #Similar_single_17, #Similar_single_18, #Similar_single_19, #Similar_single_20, #Similar_single_21, #Similar_single_22, #Similar_single_23, #Similar_single_24, #Similar_single_26, #Similar_single_27, #Similar_single_28, #Similar_single_29, #Similar_single_30").hide();793 // $(".similar-arow-1, .similar-arow-2, .similar-arow-3, .similar-arow-4, .similar-arow-5, .similar-arow-6, .similar-arow-7, .similar-arow-8, .similar-arow-9, .similar-arow-10, .similar-arow-11, .similar-arow-12, .similar-arow-13, .similar-arow-14, .similar-arow-15, .similar-arow-16, .similar-arow-17, .similar-arow-18, .similar-arow-19, .similar-arow-20, .similar-arow-21, .similar-arow-22, .similar-arow-23, .similar-arow-24, .similar-arow-26, .similar-arow-27, .similar-arow-28, .similar-arow-29, .similar-arow-30").hide();794 // $(".duration-apply").css("display", "none");795 // });796 // $(".similar-single-click-26 span").click(function(){797 // $("#Similar_single_26").show();798 // $("#Similar_single_1, #Similar_single_2, #Similar_single_3, #Similar_single_4, #Similar_single_5, #Similar_single_6, #Similar_single_7, #Similar_single_8, #Similar_single_9, #Similar_single_10, #Similar_single_11, #Similar_single_12, #Similar_single_13, #Similar_single_14, #Similar_single_15, #Similar_single_16, #Similar_single_17, #Similar_single_18, #Similar_single_19, #Similar_single_20, #Similar_single_21, #Similar_single_22, #Similar_single_23, #Similar_single_24, #Similar_single_25, #Similar_single_27, #Similar_single_28, #Similar_single_29, #Similar_single_30").hide();799 // $(".similar-arow-1, .similar-arow-2, .similar-arow-3, .similar-arow-4, .similar-arow-5, .similar-arow-6, .similar-arow-7, .similar-arow-8, .similar-arow-9, .similar-arow-10, .similar-arow-11, .similar-arow-12, .similar-arow-13, .similar-arow-14, .similar-arow-15, .similar-arow-16, .similar-arow-17, .similar-arow-18, .similar-arow-19, .similar-arow-20, .similar-arow-21, .similar-arow-22, .similar-arow-23, .similar-arow-24, .similar-arow-25, .similar-arow-27, .similar-arow-28, .similar-arow-29, .similar-arow-30").hide();800 // $(".duration-apply").css("display", "none");801 // });802 // $(".similar-single-click-27 span").click(function(){803 // $("#Similar_single_27").show();804 // $("#Similar_single_1, #Similar_single_2, #Similar_single_3, #Similar_single_4, #Similar_single_5, #Similar_single_6, #Similar_single_7, #Similar_single_8, #Similar_single_9, #Similar_single_10, #Similar_single_11, #Similar_single_12, #Similar_single_13, #Similar_single_14, #Similar_single_15, #Similar_single_16, #Similar_single_17, #Similar_single_18, #Similar_single_19, #Similar_single_20, #Similar_single_21, #Similar_single_22, #Similar_single_23, #Similar_single_24, #Similar_single_25, #Similar_single_26, #Similar_single_28, #Similar_single_29, #Similar_single_30").hide();805 // $(".similar-arow-1, .similar-arow-2, .similar-arow-3, .similar-arow-4, .similar-arow-5, .similar-arow-6, .similar-arow-7, .similar-arow-8, .similar-arow-9, .similar-arow-10, .similar-arow-11, .similar-arow-12, .similar-arow-13, .similar-arow-14, .similar-arow-15, .similar-arow-16, .similar-arow-17, .similar-arow-18, .similar-arow-19, .similar-arow-20, .similar-arow-21, .similar-arow-22, .similar-arow-23, .similar-arow-24, .similar-arow-25, .similar-arow-26, .similar-arow-28, .similar-arow-29, .similar-arow-30").hide();806 // $(".duration-apply").css("display", "none");807 // });808 // $(".similar-single-click-28 span").click(function(){809 // $("#Similar_single_28").show();810 // $("#Similar_single_1, #Similar_single_2, #Similar_single_3, #Similar_single_4, #Similar_single_5, #Similar_single_6, #Similar_single_7, #Similar_single_8, #Similar_single_9, #Similar_single_10, #Similar_single_11, #Similar_single_12, #Similar_single_13, #Similar_single_14, #Similar_single_15, #Similar_single_16, #Similar_single_17, #Similar_single_18, #Similar_single_19, #Similar_single_20, #Similar_single_21, #Similar_single_22, #Similar_single_23, #Similar_single_24, #Similar_single_25, #Similar_single_26, #Similar_single_27, #Similar_single_29, #Similar_single_30").hide();811 // $(".similar-arow-1, .similar-arow-2, .similar-arow-3, .similar-arow-4, .similar-arow-5, .similar-arow-6, .similar-arow-7, .similar-arow-8, .similar-arow-9, .similar-arow-10, .similar-arow-11, .similar-arow-12, .similar-arow-13, .similar-arow-14, .similar-arow-15, .similar-arow-16, .similar-arow-17, .similar-arow-18, .similar-arow-19, .similar-arow-20, .similar-arow-21, .similar-arow-22, .similar-arow-23, .similar-arow-24, .similar-arow-25, .similar-arow-26, .similar-arow-27, .similar-arow-29, .similar-arow-30").hide();812 // $(".duration-apply").css("display", "none");813 // });814 // $(".similar-single-click-29 span").click(function(){815 // $("#Similar_single_29").show();816 // $("#Similar_single_1, #Similar_single_2, #Similar_single_3, #Similar_single_4, #Similar_single_5, #Similar_single_6, #Similar_single_7, #Similar_single_8, #Similar_single_9, #Similar_single_10, #Similar_single_11, #Similar_single_12, #Similar_single_13, #Similar_single_14, #Similar_single_15, #Similar_single_16, #Similar_single_17, #Similar_single_18, #Similar_single_19, #Similar_single_20, #Similar_single_21, #Similar_single_22, #Similar_single_23, #Similar_single_24, #Similar_single_25, #Similar_single_26, #Similar_single_27, #Similar_single_28, #Similar_single_30").hide();817 // $(".similar-arow-1, .similar-arow-2, .similar-arow-3, .similar-arow-4, .similar-arow-5, .similar-arow-6, .similar-arow-7, .similar-arow-8, .similar-arow-9, .similar-arow-10, .similar-arow-11, .similar-arow-12, .similar-arow-13, .similar-arow-14, .similar-arow-15, .similar-arow-16, .similar-arow-17, .similar-arow-18, .similar-arow-19, .similar-arow-20, .similar-arow-21, .similar-arow-22, .similar-arow-23, .similar-arow-24, .similar-arow-25, .similar-arow-26, .similar-arow-27, .similar-arow-28, .similar-arow-30").hide();818 // $(".duration-apply").css("display", "none");819 // });820 // $(".similar-single-click-30 span").click(function(){821 // $("#Similar_single_30").show();822 // $("#Similar_single_1, #Similar_single_2, #Similar_single_3, #Similar_single_4, #Similar_single_5, #Similar_single_6, #Similar_single_7, #Similar_single_8, #Similar_single_9, #Similar_single_10, #Similar_single_11, #Similar_single_12, #Similar_single_13, #Similar_single_14, #Similar_single_15, #Similar_single_16, #Similar_single_17, #Similar_single_18, #Similar_single_19, #Similar_single_20, #Similar_single_21, #Similar_single_22, #Similar_single_23, #Similar_single_24, #Similar_single_25, #Similar_single_26, #Similar_single_27, #Similar_single_28, #Similar_single_29").hide();823 // $(".similar-arow-1, .similar-arow-2, .similar-arow-3, .similar-arow-4, .similar-arow-5, .similar-arow-6, .similar-arow-7, .similar-arow-8, .similar-arow-9, .similar-arow-10, .similar-arow-11, .similar-arow-12, .similar-arow-13, .similar-arow-14, .similar-arow-15, .similar-arow-16, .similar-arow-17, .similar-arow-18, .similar-arow-19, .similar-arow-20, .similar-arow-21, .similar-arow-22, .similar-arow-23, .similar-arow-24, .similar-arow-25, .similar-arow-26, .similar-arow-27, .similar-arow-28, .similar-arow-29").hide();824 // $(".duration-apply").css("display", "none");...
similarListingsGenerator.js
Source:similarListingsGenerator.js
1/* eslint-disable no-console */2const createCsvWriter = require('csv-writer').createObjectCsvWriter;3const records = 500000;4const similarListing = (startIndex, endIndex) => {5 const similarListings = [];6 for (let i = startIndex + 1; i <= endIndex + 1; i += 1) {7 const numberOfSimilarListings = Math.floor(Math.random() * (3 - 2 + 1) + 2) * 4;8 for (let j = 0; j < numberOfSimilarListings; j += 1) {9 const randomListings = Math.floor(Math.random() * (records - 1) + 1);10 const entry = {11 primary_listing_id: i,12 similar_listing_id: randomListings,13 };14 similarListings.push(entry);15 }16 }17 return similarListings;18};19const csvWriter = createCsvWriter({20 path: '/Users/stevekriz/hr/sdc/carousel/database/CSV/similarListings.csv',21 header: ['primary_listing_id', 'similar_listing_id'],22});23async function writeSimilarListings(n) {24 const currentChunk = Math.floor(n / 100);25 console.log('Chunk count: ', currentChunk);26 // eslint-disable-next-line no-plusplus27 for (let i = 0; i < 100; ++i) {28 console.log(`Processing similar listing chunk : ${i + 1}`);29 const similarListingDump = similarListing(currentChunk * i, currentChunk * (i + 1) - 1);30 // eslint-disable-next-line no-await-in-loop31 await csvWriter.writeRecords(similarListingDump);32 }33}34module.exports = {35 writeSimilarListings,...
index.js
Source:index.js
1import './index.css'2const SimilarProductItem = props => {3 const {productDetails} = props4 const {title, brand, imageUrl, rating, price} = productDetails5 return (6 <li className="similar-product-item">7 <img8 src={imageUrl}9 className="similar-product-img"10 alt={`similar product ${title}`}11 />12 <p className="similar-product-title">{title}</p>13 <p className="similar-products-brand">by {brand}</p>14 <div className="similar-product-price-rating-container">15 <p className="similar-product-price">Rs {price}/-</p>16 <div className="similar-product-rating-container">17 <p className="similar-product-rating">{rating}</p>18 <img19 src="https://assets.ccbp.in/frontend/react-js/star-img.png"20 alt="star"21 className="similar-product-star"22 />23 </div>24 </div>25 </li>26 )27}...
Using AI Code Generation
1var myObject = {2 func: function() {3 var self = this;4 console.log("outer func: this.foo = " + this.foo);5 console.log("outer func: self.foo = " + self.foo);6 (function() {7 console.log("inner func: this.foo = " + this.foo);8 console.log("inner func: self.foo = " + self.foo);9 }());10 }11};12myObject.func();13var myObject = {14 func: function() {15 console.log("outer func: this.foo = " + this.foo);16 (() => console.log("inner func: this.foo = " + this.foo))();17 }18};19myObject.func();20var myObject = {21 func: function() {22 var self = this;23 console.log("outer func: this.foo = " + this.foo);24 console.log("outer func: self.foo = " + self.foo);25 (function() {26 console.log("inner func: this.foo = " + this.foo);27 console.log("inner func: self.foo = " + self.foo);28 }.call(self));29 }30};31myObject.func();32var myObject = {33 func: function() {34 var self = this;35 console.log("outer func: this.foo = " + this.foo);36 console.log("outer func: self.foo = " + self.foo);37 (function() {38 console.log("inner func: this.foo = " + this.foo);39 console.log("inner
Using AI Code Generation
1var webdriver = require('selenium-webdriver');2var driver = new webdriver.Builder().withCapabilities(webdriver.Capabilities.chrome()).build();3driver.findElement(webdriver.By.name('q')).sendKeys('webdriver');4driver.findElement(webdriver.By.name('btnG')).click();5driver.wait(function() {6 return driver.getTitle().then(function(title) {7 return title === 'webdriver - Google Search';8 });9}, 1000);10driver.quit();11 alert ( "Hello World" ) ;12var webdriver = require('selenium-webdriver');13var driver = new webdriver.Builder().withCapabilities(webdriver.Capabilities.chrome()).build();14driver.findElement(webdriver.By.name('q')).sendKeys('webdriver');15driver.findElement(webdriver.By.name('btnG')).click();16driver.wait(function() {17 return driver.getTitle().then(function(title) {18 return title === 'webdriver - Google Search';19 });20}, 1000);21driver.quit();22var webdriver = require('selenium-webdriver');23var driver = new webdriver.Builder().withCapabilities(webdriver.Capabilities.chrome()).build();24driver.findElement(webdriver.By.name('q')).sendKeys('webdriver');25driver.findElement(webdriver.By.name('btnG')).click();26driver.wait(function() {27 return driver.getTitle().then(function(title) {28 return title === 'webdriver - Google Search';29 });30}, 1000);31driver.quit();32var webdriver = require('selenium-webdriver');33var driver = new webdriver.Builder().withCapabilities(webdriver.Capabilities.chrome()).build();34driver.findElement(webdriver.By.name('q')).sendKeys('webdriver');35driver.findElement(webdriver.By.name('btnG')).click();36driver.wait(function() {37 return driver.getTitle().then(function(title) {38 return title === 'webdriver - Google Search';39 });40}, 1000);41driver.quit();42var webdriver = require('selenium-webdriver');43var driver = new webdriver.Builder().withCapabilities(webdriver.Capabilities.chrome()).build();44driver.findElement(webdriver.By.name('q')).sendKeys
Using AI Code Generation
1var unexpected = require('unexpected');2var unexpectedSinon = require('unexpected-sinon');3var sinon = require('sinon');4var expect = unexpected.clone().use(unexpectedSinon);5var spy = sinon.spy();6spy('foo');7expect(spy, 'was called with', 'foo');8var sinon = require('sinon');9var expect = require('unexpected').clone().use(require('unexpected-sinon'));10var spy = sinon.spy();11spy('foo');12expect(spy, 'was called with', 'foo');
Using AI Code Generation
1var fs = require('fs');2var esprima = require('esprima');3var estraverse = require('estraverse');4var escodegen = require('escodegen');5var code = fs.readFileSync('test.js', 'utf-8');6var ast = esprima.parse(code);7estraverse.traverse(ast, {8 enter: function (node) {9 if (node.type === 'VariableDeclaration') {10 if (node.declarations.length > 1) {11 var declarations = node.declarations;12 var firstDeclaration = declarations.shift();13 var newVariableDeclaration = {14 };15 this.replace(newVariableDeclaration);16 this.insertAfter({17 });18 }19 }20 }21});22console.log(escodegen.generate(ast));
Using AI Code Generation
1var myModule = require('./myModule');2var myModule2 = require('./myModule2');3console.log(myModule);4console.log(myModule2);5module.exports = {foo: 'bar'};6module.exports = {foo: 'bar'};7I am trying to use the same module in two different files. I am also trying to use the module.exports method to export my module. The problem I am having is that when I require my module in two different files, it is only returning the last module.export that was used. So in my example, it should return {foo: 'bar'} twice, but it is only returning {foo: 'bar'} once. I have tried using the module.exports = {} method and that does not work either. Any help would be appreciated. Thanks!8I am trying to use the same module in two different files. I am also trying to use the module.exports method to export my module. The problem I am having is that when I require my module in two different files, it is only returning the last module.export that was used. So in my example, it should return {foo: 'bar'} twice, but it is only returning {foo: 'bar'} once. I have tried using the module.exports = {} method and that does not work either. Any help would be appreciated. Thanks!9var myModule = require('./myModule');10var myModule2 = require('./myModule2');11console.log(myModule);12console.log(myModule2);13module.exports = {foo: 'bar'};14module.exports = {foo: 'bar'};15I am trying to use the same module in two different files. I am also trying to use the module.exports method to export my module. The problem I am having is that when I require my module in two different files, it is only returning the last module.export that was used. So in my example, it should return {foo: 'bar'} twice, but it is only returning {foo: 'bar'} once. I have tried using the module.exports = {} method and that does not work either. Any help would be appreciated. Thanks!16var myModule = require('./myModule');17var myModule2 = require('./myModule2');18console.log(myModule);
Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Get 100 minutes of automation test minutes FREE!!