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");
jQuery(document).ready(function ($) {
	
	$().fancybox({
		selector : '.gallery article a'
	});

    function addPadding(){
    	var hdr = $('.main-header');
		var ht = hdr.height();
		hdr.next().css({'margin-top': ht});
		$(".hamburger-container .positioner").css({'height': ht});
    }
    addPadding();

    $(window).resize(function(){
		addPadding();
    });

	jQuery(window).scroll(function(){
        if ($(window).scrollTop() > 1) {
            jQuery('body').addClass('fixed');
        }
        if ($(window).scrollTop() < 1) {
            jQuery('body').removeClass('fixed');
        }
    });

	if ($(window).scrollTop() > 1) {
		$('header').addClass('fixed');
	}	
	
	if($(window).width > 1024){
		$.each("[data-rellax-speed]", function(i, el){
			  console.log($(el));
			  speed = parseFloat($(el).attr("data-rellax-speed"));
			  $(el).attr("data-rellax-speed", speed * 3);
			  console.log("New speed: "+ speed);
		});
	}
	rellax = new Rellax('.rellax');

});

jQuery(function($) {

	jQuery(".menu-trigger").click(function(){
		$("body").toggleClass("expanded-menu");
		$(".hamburger").toggleClass("is-active");		
		setTimeout(
			function() {
				$("body").toggleClass( "reveal-find" );
			},
			300
		);		
		setTimeout(
			function() {
				$("body").toggleClass( "reveal-menu" );
			},
			300
		);		
	});
	
	$(".mobile-menu-close").click(function(){
		$("body").toggleClass("expanded-menu");
		$(".hamburger").toggleClass("is-active");				
	});	  
	
    waypoints = jQuery('.trigger').waypoint({
      handler: function(direction) {
  		  jQuery(this.element).addClass('reveal');
  	  }, offset: '75%'
  	});
    waypoints = jQuery('.custom-trigger').waypoint({
      handler: function(direction) {
  		  jQuery(this.element).addClass('reveal');
  	  }, offset: '90%'
  	});
    waypoints = jQuery('.content > p').waypoint({
      handler: function(direction) {
  		  jQuery(this.element).addClass('reveal');
  	  }, offset: '90%'
  	});	
    waypoints = jQuery('.content > h2').waypoint({
      handler: function(direction) {
  		  jQuery(this.element).addClass('reveal');
  	  }, offset: '90%'
  	});	
    waypoints = jQuery('.content > h3').waypoint({
      handler: function(direction) {
  		  jQuery(this.element).addClass('reveal');
  	  }, offset: '90%'
  	});	
    waypoints = jQuery('.content > h4').waypoint({
      handler: function(direction) {
  		  jQuery(this.element).addClass('reveal');
  	  }, offset: '90%'
  	});		
    waypoints = jQuery('.low-trigger').waypoint({
      handler: function(direction) {
  		  jQuery(this.element).addClass('reveal');
  	  }, offset: '95%'
  	});	
    waypoints = jQuery('.low-trigger').waypoint({
      handler: function(direction) {
  		  jQuery(this.element).addClass('reveal');
  	  }, offset: '65%'
  	});		
	
});

document.addEventListener("touchstart", function() {},false);

}
/*
     FILE ARCHIVED ON 05:11:21 Mar 15, 2022 AND RETRIEVED FROM THE
     INTERNET ARCHIVE ON 09:23:50 Dec 01, 2025.
     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):
  captures_list: 0.797
  exclusion.robots: 0.025
  exclusion.robots.policy: 0.014
  esindex: 0.01
  cdx.remote: 6.621
  LoadShardBlock: 155.7 (3)
  PetaboxLoader3.resolve: 86.187 (4)
  PetaboxLoader3.datanode: 432.232 (4)
  load_resource: 373.587
*/