/* Verti by Pixelarity pixelarity.com @pixelarity License: pixelarity.com/license */ (function($) { skel.init({ reset: 'full', breakpoints: { 'global': { range: '*', href: 'https://cortinasypersianas.cl/css/style.css' }, 'desktop': { range: '737-', href: 'https://cortinasypersianas.cl/css/style-desktop.css', containers: 1200, grid: { gutters: 40 } }, '1000px': { range: '737-1200', href: 'https://cortinasypersianas.cl/css/style-1000px.css', containers: 960, grid: { gutters: 25 }, viewport: { width: 1080 } }, 'mobile': { range: '-736', href: 'https://cortinasypersianas.cl/css/style-mobile.css', containers: '100%!', grid: { collapse: true, gutters: 20 }, viewport: { scalable: false } } }, plugins: { layers: { config: { mode: 'transform' }, navPanel: { hidden: true, breakpoints: 'mobile', position: 'top-left', side: 'left', animation: 'pushX', width: '80%', height: '100%', clickToHide: true, html: '
', orientation: 'vertical' }, titleBar: { breakpoints: 'mobile', position: 'top-left', side: 'top', height: 44, width: '100%', html: '' } } } }); $(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 = $($('