/* 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: '/assets/css/style.css', containers: 1400, grid: { gutters: 50 } }, wide: { range: '-1680', href: '/assets/css/style-wide.css', containers: 1200, grid: { gutters: 40 } }, normal: { range: '-1280', href: '/assets/css/style-normal.css', containers: 960, grid: { gutters: 30 }, viewport: { scalable: false } }, narrow: { range: '-980', href: '/assets/css/style-narrow.css', containers: '95%', grid: { gutters: 20 } }, narrower: { range: '-840', href: '/assets/css/style-narrower.css', grid: { collapse: 1 } }, mobile: { range: '-736', href: '/assets/css/style-mobile.css', containers: '90%', grid: { gutters: 15 } }, mobilep: { range: '-480', href: '/assets/css/style-mobilep.css', grid: { collapse: 2 }, containers: '100%' } }, plugins: { layers: { navPanel: { animation: 'revealX', breakpoints: 'narrower', clickToHide: true, height: '100%', hidden: true, html: '
', orientation: 'vertical', position: 'top-left', side: 'left', width: 275 }, titleBar: { breakpoints: 'narrower', height: 44, html: '', 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 = $($('