(function($) {
	window.wpConfig = {
		menuRightArrow: 'fp-icon-caret-right-layered',
		menuLeftArrow: 'fp-icon-caret-left-layered',
		desktopNavigationArrows: 'fp-icon-chevron-down',
		mobileNavigationArrows: 'fp-icon-chevron-right',
		showOnlyRootLevel: false,
		departmentMenuAddToRoot: false,
		combineRootLevel: false,
		hasSiteBanner: true,
		hasXhrSlider: true,
		menuConfig: {
			subMenuClass: 'sub-menu',
			menuItemClass: 'menu-item',
			menuItemHasChildrenClass: 'menu-item-has-children',
			menuItemSelectedClass: 'menu-item-selected',
			maxLevel: -1
		}
	};

	window.stickyHeader = {
		init: function() {
			$(window).on("scroll", function(){
				if($(window).scrollTop() > 20) $("#header").addClass("shrink");
				else $("#header").removeClass("shrink");
			});
		}
	};

	$(document).ready(function() {
		window.stickyHeader.init();
	});
})(jQuery);