// NAVIGATION MENU HOVER EFFECT
$(document).ready(function() {

	$('.menu-parent a:first').click(function(e) {	
		e.preventDefault();
	});

	$('.menu-parent').hover(function(e) {
		$(this).find('.menu-child').stop(true, true).slideDown('fast');
		e.preventDefault();
		
	}, function(e) {
		$(this).find('.menu-child').stop(true, true).slideUp('fast');
		e.preventDefault();
	});

});


// BODY BACKGROUND IMAGE
$(document).ready(function() {

	$('#supersized img.active-bg').show();
	
	$('#bg-nav a').click(function(e) {
		$('#supersized img').removeClass('active-bg').fadeOut('slow');
		e.preventDefault();
	});
	
	$('#bg-nav a:eq(0)').click(function() {
		$('#supersized img:eq(0)').addClass('active-bg').fadeIn('slow');
	});
	
	$('#bg-nav a:eq(1)').click(function() {
		$('#supersized img:eq(1)').addClass('active-bg').fadeIn('slow');
	});
	
	$('#bg-nav a:eq(2)').click(function() {
		$('#supersized img:eq(2)').addClass('active-bg').fadeIn('slow');
	});
	
	$('#bg-nav a:eq(3)').click(function() {
		$('#supersized img:eq(3)').addClass('active-bg').fadeIn('slow');
	});
	
	$('#bg-nav a:eq(4)').click(function() {
		$('#supersized img:eq(4)').addClass('active-bg').fadeIn('slow');
	});

	$('#bg-nav a:eq(5)').click(function() {
		$('#supersized img:eq(5)').addClass('active-bg').fadeIn('slow');
	});
	
});



