$(document).ready(function(){ 

		// jQuery Content Swap (Index)
 
		$('a.blueLink').click(function() { 
			$(".blueNull").fadeOut("fast");
			$("#magentaActive").fadeOut("fast");
			$("#magentaCont").fadeOut("fast");
			// In
			$("#blueActive").fadeIn("fast");
			$("#blueCont").fadeIn("fast");
			$(".magentaNull").fadeIn("fast");
		});
		
		$('a.magentaLink').click(function() {
			$(".magentaNull").fadeOut("fast");
			$("#blueActive").fadeOut("fast");
			$("#blueCont").fadeOut("fast");
			// In
			$(".blueNull").fadeIn("fast"); 
			$("#magentaCont").fadeIn("fast");
			$("#magentaActive").fadeIn("fast");
		});

		$('.blueNull').hover(function() {
		  $(this).addClass('blueNullHover');
		}, function() {
		  $(this).removeClass('blueNullHover');
		});

		$('.magentaNull').hover(function() {
		  $(this).addClass('magentaNullHover');
		}, function() {
		  $(this).removeClass('magentaNullHover');
		});
		
		// jQuery Hover (Footer Boxes)
		
		$('.blue').hover(function() {
		  $(this).addClass('blueActive');
		}, function() {
		  $(this).removeClass('blueActive');
		});
		
		$('.pink').hover(function() {
		  $(this).addClass('pinkActive');
		}, function() {
		  $(this).removeClass('pinkActive');
		});
		
		$('.white').hover(function() {
		  $(this).addClass('whiteActive');
		}, function() {
		  $(this).removeClass('whiteActive');
		});

		// jQuery Content Overlay (Terms Pop Over)

		$('a.terms').click(function() {
		  $('#termsbox').show();
		return false;
		});

		$('a.termsClose').click(function() {
		  $('#termsbox').hide();
		return false;
		});

                $('a.surveyClose').click(function() {
		  $('#surveybox').hide();
		return false;
		});

		$('a.popClose').click(function() {
		  $('#popbox').hide();
		return false;
		});

                $('a.popOpen').click(function() {
		  $('#popbox').hide();
                  $('#surveybox').show();
		return false;
		});


});