/*
	Aerial 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', viewport: { scalable: false } },
			'wide': { range: '-1680', href: 'css/style-wide.css' },
			'normal': { range: '-1280', href: 'css/style-normal.css' },
			'mobile': { range: '-736', href: 'css/style-mobile.css' },
			'mobilep': { range: '-480', href: 'css/style-mobilep.css' }
		}
	});

	// Events (JS).

	// Remove "loading" class once the page has fully loaded.
	window.onload = function () {
		document.body.className = '';
	}

	// Prevent scrolling on touch.
	window.ontouchmove = function () {
		return false;
	}

	// Fix scroll position on orientation change.
	window.onorientationchange = function () {
		document.body.scrollTop = 0;
	}
})();