text: /*
  	Miniport 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',
  		ignoreOrientation: true,
  		breakpoints: {
  			'global':	{ range: '*', href: 'css/style.css' },
  			'desktop':	{ range: '481-', href: 'css/style-desktop.css', containers: 1200, grid: { gutters: 25 } },
  			'1000px':	{ range: '481-1200', href: 'css/style-1000px.css', containers: 960, grid: { gutters: 25 }, viewportWidth: 1080 },
  			'mobile':	{ range: '-480', href: 'css/style-mobile.css', containers: '100%', grid: { collapse: true, gutters: 10 }, lockViewport: true }
  		}
  	});
  
  	$(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) {
  				
  				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();
  				}
  
  			}
  		
  		// CSS polyfills (IE<9).
  			if (skel.vars.IEVersion < 9)
  				$(':last-child').addClass('last-child');
  
  		// Scrolly.
  			$window.load(function() {
  
  				var x = parseInt($('.wrapper').first().css('padding-top')) - 15;
  				$('#nav a, .scrolly').scrolly(1000, x);
  				
  
  			});
  
  
  			$(".infoBoxHeadline").attr('unselectable','on')
       .css({'-moz-user-select':'-moz-none',
             '-moz-user-select':'none',
             '-o-user-select':'none',
             '-khtml-user-select':'none', /* you could also put this in a class */
             '-webkit-user-select':'none',/* and add the CSS class here instead */
             '-ms-user-select':'none',
             'user-select':'none'
       }).bind('selectstart', function(){ return false; });
  
  			$(".box.style1").on("click", function(event){
  				var all = document.getElementsByClassName("infoBoxParagraph");
  				for (var i=0, max=all.length; i < max; i++) {
  				     // Do something with the element her
  				     console.log(all[i]);
  				     $(all[i]).hide("fast");				}
  
  				if($(this).find($(".infoBoxParagraph")).is(":visible")){
  					$(this).find($(".infoBoxParagraph")).hide("fast");
  					console.log("sdfdsf");
  				}else{
  					$(this).find($(".infoBoxParagraph")).show("fast");
  				}
  				event.preventDefault;
  			});
  
  			$("#outtaHere").on("change", function(event){
  				console.log($("#outtaHere option:selected").text());
  				 var txt = $("#outtaHere option:selected").val();
  				 console.log(txt);
      			$('#testHEY').attr('value', txt);
  
  				// 
  			});  
  
  			
  
  			
  
  
  		
  	});
  
  })(jQuery);