// jshint ignore: start
jQuery( document ).ready(function() {

	/* Get window sizes */

	var wheight = jQuery(window).height();

	var wwidth = jQuery(window).width();

	jQuery(".header").css({
		"min-height":wheight+"px",
	});

	jQuery("#content").css({
		"min-height":wheight+"px",
	});

	/* Responsive menu */

	jQuery(".openmenuresp").click(function() {
		jQuery("nav").toggleClass("mobilenavopen");
		var text = $(this).text() == 'Close Menu' ? 'Open Menu' : 'Close Menu';
		jQuery(this).text(text);
	});

	/* Limit menu nr of elements */
	var full_width = 0;

	/* Using custom configuration */
	jQuery(".img_gallery").carouFredSel({
		direction: 'up',
		scroll: {
			fx: 'fade',
			duration: 700
		},
		items: {
			visible: 1
		},
		auto: true,
	});
});