<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">
$(window).resize(function() {
 $('#menu').width($('.top_nav .container').width());
});
                $(document).ready(function() {

  $('#menu').width($('.top_nav .container').width()); 

  
     
});
               


  $(document).ready(function() {
    /*Menu*/
    
    $(".top_nav").sticky({topSpacing:0});
    $(".breadcrumb_box").sticky({topSpacing:65});
    $("#product-category .center_col .category-list").sticky({topSpacing:102});
        
    
    var menuHeight = $('#menu').height();
   
    //$('.menu-category-sub').height(menuHeight + 0.6);
    $('.category_button').click(function(){
         $('#ajaxsearch_search_results').remove()    
         $('#search').removeClass('ajax_search_open');
         $('.menu-category-sub').height(menuHeight);
         
     /*    $('html, body').animate({
        scrollTop: $(".category_button").offset().top
    }, 2000); */
    
        if($('#menu').hasClass('menuActive')){
          $('#menu').removeClass('menuActive');
          $('body').removeClass('menu_opened');
        }else{
          $('#menu').addClass('menuActive');
          $('body').addClass('menu_opened');
        }
    });
    $('#container').bind('click', function(){
       $('#menu').removeClass('menuActive');
       $('body').removeClass('menu_opened');
    });
    $('.shadow_bg').bind('click', function(){
       $('#menu').removeClass('menuActive');
       $('body').removeClass('menu_opened');
       $('#menu li').removeClass('link-opened');
       $('#menu li a').removeClass('activeLink');
    });
    $('.close_buttom').bind('click', function(){
       $('#menu').removeClass('menuActive');
       $('body').removeClass('menu_opened');
       $('#menu li').removeClass('link-opened');
       $('#menu li a').removeClass('activeLink');
    });

    
    $('#menu a').click(function(e){
        if(detectmob()){
          if($(this).hasClass('have_children')){
          
            if($(this).hasClass('activeLink')){
                
            }else{
               $('#menu a').removeClass('activeLink');
               $(this).addClass('activeLink');
               $(this).parent().addClass('link-opened');
               e.preventDefault();
            }
           
          }
        }
      
    });
    $('#menu .back_buttom').click(function(e){
        $(this).parent().parent().parent().parent().parent().parent().parent().removeClass('link-opened');
        $(this).parent().parent().parent().parent().parent().parent().parent().find('a').removeClass('activeLink'); 
    });
    
  });
</pre></body></html>