var _____WB$wombat$assign$function_____=function(name){return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name))||self[name];};if(!self.__WB_pmw){self.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{
let window = _____WB$wombat$assign$function_____("window");
let self = _____WB$wombat$assign$function_____("self");
let document = _____WB$wombat$assign$function_____("document");
let location = _____WB$wombat$assign$function_____("location");
let top = _____WB$wombat$assign$function_____("top");
let parent = _____WB$wombat$assign$function_____("parent");
let frames = _____WB$wombat$assign$function_____("frames");
let opens = _____WB$wombat$assign$function_____("opens");
// On Document Load
jQuery(window).load(function () {
//site loader
jQuery('#wraploader').hide();
});
// On Document Ready
jQuery(document).ready(function ($) {
// Full Navigation
//hide and show nav
$("button#sec-menu-toggle").click(function () {
$("div#sec-site-header-menu").slideToggle("1500");
});
// right menu
$('#menu-toggle').click(function () {
$('#site-header-menu').addClass('open').css({
'transform': 'scale(1)'
});
});
// add toggle class to search icon
$(".nav-buttons.col-md-1").click(function () {
$("i.fa.fa-search").toggleClass("fa-close");
});
//hide and show search
$(".nav-buttons").click(function () {
$("#top-search").slideToggle("400");
});
$('#menu-toggle-close').click(function () {
if ($('#site-header-menu').hasClass('open')) {
$('#site-header-menu').removeClass('open').css({
'transform': 'scale(0)'
});
}
});
// tab widget
$(".tabs-menu a").click(function(event) {
event.preventDefault();
$(this).parent().addClass("current");
$(this).parent().siblings().removeClass("current");
var tab = $(this).attr("href");
$(".tab-content").not(tab).css("display", "none");
$(tab).fadeIn(1500);
});
//sticky nav
var mn = $("#masthead");
mns = "main-nav-scrolled";
hdr = $('.header-accessories').height();
$(window).scroll(function () {
if ($(this).scrollTop() > hdr) {
mn.addClass(mns);
} else {
mn.removeClass(mns);
}
});
/**
* sub menu script
*/
$("li.menu-item-has-children > a").each(function () {
$(this).append("");
});
$('li.menu-item-has-children .fa').click(function (e) {
e.preventDefault();
$(this).siblings().toggle();
e.stopPropagation();
})
// hoverdir
jQuery(' #da-thumbs section > li ').each(function () {
$(this).hoverdir();
});
// Search
var openBox = $('#search-bg');
$('.search-holder .button-search').click(function (e) {
e.preventDefault();
openBox.addClass('search-open');
openBox.removeClass('screen-reader-text');
});
$('.button-search-close').click(function (e) {
e.preventDefault();
openBox.removeClass('search-open');
openBox.addClass('screen-reader-text');
});
$('#search-open-submit').click(function () {
$('#search-target').submit();
});
// slick jQuery
jQuery('.carousel-group').slick({
autoplay: true,
autoplaySpeed: 2000,
slidesToShow: 3,
slidesToScroll: 3,
lazyLoad: 'ondemand',
arrows : false,
dots: true,
responsive: [{
breakpoint: 1024,
settings: {
slidesToShow: 3,
slidesToScroll: 3,
infinite: true,
dots: false,
arrows:false,
}
},
{
breakpoint: 768,
settings: {
slidesToShow: 2,
slidesToScroll: 2,
arrows:false,
dots: true
}
},
{
breakpoint: 481,
settings: {
slidesToShow: 1,
slidesToScroll: 1,
arrows:false,
}
}
// You can unslick at a given breakpoint now by adding:
// settings: "unslick"
// instead of a settings object
]
});
// slick jQuery instagram slider
jQuery('.instagram-slider').slick({
autoplay: true,
autoplaySpeed: 1000,
dots: false,
slidesToShow: 5,
slidesToScroll: 1,
lazyLoad: 'ondemand',
responsive: [{
breakpoint: 1024,
settings: {
slidesToShow: 3,
slidesToScroll: 3,
infinite: true,
dots: false
}
},
{
breakpoint: 768,
settings: {
slidesToShow: 2,
slidesToScroll: 2
}
},
{
breakpoint: 481,
settings: {
slidesToShow: 1,
slidesToScroll: 1
}
}
// You can unslick at a given breakpoint now by adding:
// settings: "unslick"
// instead of a settings object
]
});
// back to top animation
$('#gotop').click(function () {
$('body').animate({
scrollTop: '0px'
}, 1000);
});
$('h2.widget-title').html(function () {
return this.innerText.split(' ').map(function (e, i) {
return $('', {
class: 'i' + i,
text: e
});
});
});
// header fix
var fixedBackgroundColor = '#2d2d2d',
fixedBackgroundTransparent = 'transparent',
scrollTopPosition = $('body').scrollTop(),
selectedHeader = $('.wrap-nav'),
containerselectedHeader = $('.wrap-nav .container'),
fixedBackgroundNoSlider = selectedHeader.hasClass('fixed-nav');
var waypoint = new Waypoint({
element: selectedHeader,
offset: '0',
handler: function (direction) {
if ("down" == direction) {
containerselectedHeader.css({
'maxWidth': 'auto',
'paddingLeft': '0',
'paddingRight': '0'
});
selectedHeader.addClass('fixed-nav');
} else {
containerselectedHeader.css({
'maxWidth': 'auto',
});
selectedHeader.removeClass('fixed-nav');
}
}
});
$('#gotop').click(function () {
$('body').animate({
scrollTop: '0px'
}, 1000);
});
$(window).scroll(function () {
var scrollTopPosition = $('body').scrollTop();
if (scrollTopPosition > 240) {
$('#gotop').css({
'bottom': 25
});
} else {
$('#gotop').css({
'bottom': -100
});
}
});
});
}
/*
FILE ARCHIVED ON 08:10:12 Aug 04, 2023 AND RETRIEVED FROM THE
INTERNET ARCHIVE ON 21:09:47 Apr 29, 2026.
JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.
ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
SECTION 108(a)(3)).
*/
/*
playback timings (ms):
capture_cache.get: 2.564
load_resource: 116.575
PetaboxLoader3.datanode: 106.901 (2)
loaddict: 68.37
*/