
	jQuery(function( $ ){	
		
		// Add effects to appropriate elements
		$('.secondnav a').addClass('hover-effect');
		$('#menu a').addClass('hover-effect');
		$('#menu a').addClass('glow-effect');
		$('.hover').css('opacity',0);
		$('.glow').css('opacity',0);
		
		
		
		// Setup glow effect
		$('.hover-effect').append('<span class="hover"></span>');
		$('.hover-effect').hover(function() {	
			// Stuff that happens when you hover
			$('.hover', this).stop().animate({
				'opacity': 1
			}, 400, 'easeOutSine')
		},function() {
			// Stuff that happens when you unhover
			$('.hover', this).stop().animate({
				'opacity': 0
			}, 1000, 'easeOutExpo')
		});
		
		// Setup hover effect
		$('.glow-effect').append('<span class="glow"></span>');
		$('.glow-effect').hover(function() {	
			// Stuff that happens when you hover
			$('.glow', this).stop().animate({
				'opacity': 1
			}, 5, 'easeOutSine')
		},function() {
			// Stuff that happens when you unhover
			$('.glow', this).stop().animate({
				'opacity': 0
			}, 1000, 'easeOutExpo')
		});
		
		// Pop-up-Navigation time
		$('.resources-li').hover(function() {
			$('.pop-up-nav').css('display','block');
		},function() {
			$('.pop-up-nav').css('display','none');
		});
		
		$('.hover').animate({'opacity':0},1);
		
	})
