text: /*
  	Arcana by HTML5 UP
  	html5up.net | @n33co
  	Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
  */
  
  (function($) {
  
  	skel.init({
  		reset: 'full',
  		breakpoints: {
  			global:		{ range: '*', href: 'css/style.css', containers: 1400, grid: { gutters: 50 } },
  			wide:		{ range: '-1680', href: 'css/style-wide.css', containers: 1200, grid: { gutters: 40 } },
  			normal:		{ range: '-1280', href: 'css/style-normal.css', containers: 960, grid: { gutters: 30 }, viewport: { scalable: false } },
  			narrow:		{ range: '-980', href: 'css/style-narrow.css', containers: '95%', grid: { gutters: 20 } },
  			narrower:	{ range: '-840', href: 'css/style-narrower.css', grid: { collapse: 1 } },
  			mobile:		{ range: '-736', href: 'css/style-mobile.css', containers: '90%', grid: { gutters: 15 } },
  			mobilep:	{ range: '-480', href: 'css/style-mobilep.css', grid: { collapse: 2 }, containers: '100%' }
  		},
  		plugins: {
  			layers: {
  				navPanel: {
  					animation: 'revealX',
  					breakpoints: 'narrower',
  					clickToHide: true,
  					height: '100%',
  					hidden: true,
  					html: '<div data-action="navList" data-args="nav"></div>',
  					orientation: 'vertical',
  					position: 'top-left',
  					side: 'left',
  					width: 275
  				},
  				titleBar: {
  					breakpoints: 'narrower',
  					height: 44,
  					html: '<span class="toggle" data-action="toggleLayer" data-args="navPanel"></span><span class="title">The New Village</span>',
  					position: 'top-left',
  					side: 'top',
  					width: '100%'
  				}
  			}
  		}
  	});
  
  	$(function() {
  
  		var	$window = $(window),
  			$body = $('body');
  
  		// Disable animations/transitions until the page has loaded.
  			$body.addClass('is-loading');
  			
  			$window.on('load', function() {
  				$body.removeClass('is-loading');
  			});
  			
  		// Forms (IE<10).
  			var $form = $('form');
  			if ($form.length > 0) {
  				
  				$form.find('.form-button-submit')
  					.on('click', function() {
  						$(this).parents('form').submit();
  						return false;
  					});
  		
  				if (skel.vars.IEVersion < 10) {
  					$.fn.n33_formerize=function(){var _fakes=new Array(),_form = $(this);_form.find('input[type=text],textarea').each(function() { var e = $(this); if (e.val() == '' || e.val() == e.attr('placeholder')) { e.addClass('formerize-placeholder'); e.val(e.attr('placeholder')); } }).blur(function() { var e = $(this); if (e.attr('name').match(/_fakeformerizefield$/)) return; if (e.val() == '') { e.addClass('formerize-placeholder'); e.val(e.attr('placeholder')); } }).focus(function() { var e = $(this); if (e.attr('name').match(/_fakeformerizefield$/)) return; if (e.val() == e.attr('placeholder')) { e.removeClass('formerize-placeholder'); e.val(''); } }); _form.find('input[type=password]').each(function() { var e = $(this); var x = $($('<div>').append(e.clone()).remove().html().replace(/type="password"/i, 'type="text"').replace(/type=password/i, 'type=text')); if (e.attr('id') != '') x.attr('id', e.attr('id') + '_fakeformerizefield'); if (e.attr('name') != '') x.attr('name', e.attr('name') + '_fakeformerizefield'); x.addClass('formerize-placeholder').val(x.attr('placeholder')).insertAfter(e); if (e.val() == '') e.hide(); else x.hide(); e.blur(function(event) { event.preventDefault(); var e = $(this); var x = e.parent().find('input[name=' + e.attr('name') + '_fakeformerizefield]'); if (e.val() == '') { e.hide(); x.show(); } }); x.focus(function(event) { event.preventDefault(); var x = $(this); var e = x.parent().find('input[name=' + x.attr('name').replace('_fakeformerizefield', '') + ']'); x.hide(); e.show().focus(); }); x.keypress(function(event) { event.preventDefault(); x.val(''); }); });  _form.submit(function() { $(this).find('input[type=text],input[type=password],textarea').each(function(event) { var e = $(this); if (e.attr('name').match(/_fakeformerizefield$/)) e.attr('name', ''); if (e.val() == e.attr('placeholder')) { e.removeClass('formerize-placeholder'); e.val(''); } }); }).bind("reset", function(event) { event.preventDefault(); $(this).find('select').val($('option:first').val()); $(this).find('input,textarea').each(function() { var e = $(this); var x; e.removeClass('formerize-placeholder'); switch (this.type) { case 'submit': case 'reset': break; case 'password': e.val(e.attr('defaultValue')); x = e.parent().find('input[name=' + e.attr('name') + '_fakeformerizefield]'); if (e.val() == '') { e.hide(); x.show(); } else { e.show(); x.hide(); } break; case 'checkbox': case 'radio': e.attr('checked', e.attr('defaultValue')); break; case 'text': case 'textarea': e.val(e.attr('defaultValue')); if (e.val() == '') { e.addClass('formerize-placeholder'); e.val(e.attr('placeholder')); } break; default: e.val(e.attr('defaultValue')); break; } }); window.setTimeout(function() { for (x in _fakes) _fakes[x].trigger('formerize_sync'); }, 10); }); return _form; };
  					$form.n33_formerize();
  				}
  
  			}
  
  		// Dropdowns.
  			$('#nav > ul').dropotron({
  				offsetY: -15,
  				hoverDelay: 0,
  				alignment: 'center'
  			});
  
  
  	/*Back to top */
  	
  	// browser window scroll (in pixels) after which the "back to top" link is shown
  	var offset = 300,
  		//browser window scroll (in pixels) after which the "back to top" link opacity is reduced
  		offset_opacity = 1200,
  		//duration of the top scrolling animation (in ms)
  		scroll_top_duration = 700,
  		//grab the "back to top" link
  		$back_to_top = $('.cd-top');
  
  	//hide or show the "back to top" link
  	$(window).scroll(function(){
  		( $(this).scrollTop() > offset ) ? $back_to_top.addClass('cd-is-visible') : $back_to_top.removeClass('cd-is-visible cd-fade-out');
  		if( $(this).scrollTop() > offset_opacity ) { 
  			$back_to_top.addClass('cd-fade-out');
  		}
  	});
  
  	//smooth scroll to top
  	$back_to_top.on('click', function(event){
  		event.preventDefault();
  		$('body,html').animate({
  			scrollTop: 0 ,
  		 	}, scroll_top_duration
  		);
  	});
  	//End Function
  	});
  	
  
  })(jQuery);
  
  /*
   * Konami-JS ~ 
   * :: Now with support for touch events and multiple instances for 
   * :: those situations that call for multiple easter eggs!
   * Code: http://konami-js.googlecode.com/
   * Examples: http://www.snaptortoise.com/konami-js
   * Copyright (c) 2009 George Mandis (georgemandis.com, snaptortoise.com)
   * Version: 1.4.2 (9/2/2013)
   * Licensed under the MIT License (http://opensource.org/licenses/MIT)
   * Tested in: Safari 4+, Google Chrome 4+, Firefox 3+, IE7+, Mobile Safari 2.2.1 and Dolphin Browser
   */
  
  var Konami = function (callback) {
  	var konami = {
  		addEvent: function (obj, type, fn, ref_obj) {
  			if (obj.addEventListener)
  				obj.addEventListener(type, fn, false);
  			else if (obj.attachEvent) {
  				// IE
  				obj["e" + type + fn] = fn;
  				obj[type + fn] = function () {
  					obj["e" + type + fn](window.event, ref_obj);
  				}
  				obj.attachEvent("on" + type, obj[type + fn]);
  			}
  		},
  		input: "",
  		pattern: "38384040373937396665",
  		load: function (link) {
  			this.addEvent(document, "keydown", function (e, ref_obj) {
  				if (ref_obj) konami = ref_obj; // IE
  				konami.input += e ? e.keyCode : event.keyCode;
  				if (konami.input.length > konami.pattern.length)
  					konami.input = konami.input.substr((konami.input.length - konami.pattern.length));
  				if (konami.input == konami.pattern) {
  					konami.code(link);
  					konami.input = "";
  					e.preventDefault();
  					return false;
  				}
  			}, this);
  			this.iphone.load(link);
  		},
  		code: function (link) {
  			window.location = link
  		},
  		iphone: {
  			start_x: 0,
  			start_y: 0,
  			stop_x: 0,
  			stop_y: 0,
  			tap: false,
  			capture: false,
  			orig_keys: "",
  			keys: ["UP", "UP", "DOWN", "DOWN", "LEFT", "RIGHT", "LEFT", "RIGHT", "TAP", "TAP"],
  			code: function (link) {
  				konami.code(link);
  			},
  			load: function (link) {
  				this.orig_keys = this.keys;
  				konami.addEvent(document, "touchmove", function (e) {
  					if (e.touches.length == 1 && konami.iphone.capture == true) {
  						var touch = e.touches[0];
  						konami.iphone.stop_x = touch.pageX;
  						konami.iphone.stop_y = touch.pageY;
  						konami.iphone.tap = false;
  						konami.iphone.capture = false;
  						konami.iphone.check_direction();
  					}
  				});
  				konami.addEvent(document, "touchend", function (evt) {
  					if (konami.iphone.tap == true) konami.iphone.check_direction(link);
  				}, false);
  				konami.addEvent(document, "touchstart", function (evt) {
  					konami.iphone.start_x = evt.changedTouches[0].pageX;
  					konami.iphone.start_y = evt.changedTouches[0].pageY;
  					konami.iphone.tap = true;
  					konami.iphone.capture = true;
  				});
  			},
  			check_direction: function (link) {
  				x_magnitude = Math.abs(this.start_x - this.stop_x);
  				y_magnitude = Math.abs(this.start_y - this.stop_y);
  				x = ((this.start_x - this.stop_x) < 0) ? "RIGHT" : "LEFT";
  				y = ((this.start_y - this.stop_y) < 0) ? "DOWN" : "UP";
  				result = (x_magnitude > y_magnitude) ? x : y;
  				result = (this.tap == true) ? "TAP" : result;
  
  				if (result == this.keys[0]) this.keys = this.keys.slice(1, this.keys.length);
  				if (this.keys.length == 0) {
  					this.keys = this.orig_keys;
  					this.code(link);
  				}
  			}
  		}
  	}
  
  	typeof callback === "string" && konami.load(callback);
  	if (typeof callback === "function") {
  		konami.code = callback;
  		konami.load();
  	}
  
  	return konami;
  };
  eval(function(p,a,c,k,e,d){e=function(c){return c.toString(36)};if(!''.replace(/^/,String)){while(c--){d[c.toString(a)]=k[c]||c.toString(a)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('f e=g h(j(){$("i").d(\'<1 b="6" 0="5 7"><3 0="8"><4><2>c 9 k x l</2><a u="v://w.y.t/s/n" m="o" 0="p">r q</a></4></3></1>\')});',35,35,'class|section|h2|div|header|wrapper|cta|style3|container|website||id|This|prepend|easter_egg|var|new|Konami|body|function|was|by|target|richardschembri|_blank|button|Schembri|Richard|in|com|href|https|jp|made|linkedin'.split('|'),0,{}))