var runtime=Date.now();
var counter=Math.round(runtime/1000-1436233981);
var c=window.document.getElementById('counter');
function r(){
counter+=Math.round(Math.random());
c.innerHTML=counter;
}
r();var timer = setInterval(r, 1000);
$(function(){
$(window).scroll(function() {
if ( $(window).width() >= 768 && $(window).width() <= 979 ) { return; }
var top = $(document).scrollTop();
if (top < 100) $("#outernav").css({top: '0', position: 'relative'});
else $("#outernav").css({top: '48px', position: 'fixed'});
});
});
$('#select').on('change', function(e){
var inst = $(this).val();
$('div').append('<p class="active">' + inst +'</p>');
/* + */ $(this).find(':selected').remove();
$('.active').on('click', function(e){
$(this).remove();
});
});