$(function(){
	// hover for main nav (not current)
	//$('#nav li a:not(.current)')
	//	.css( {backgroundColor: "transparent"} )
	//	.mouseover(function(){
	//		$(this).stop().animate({backgroundColor: "#000000"}, 200)
	//	})
	//	.mouseout(function(){
	//		$(this).stop().animate({backgroundColor: "transparent"}, 200)
	//	})
	// hover for sub nav (not current)
	$('#subNav li:not(.current) a')
	 	.css( {backgroundPosition: "-13px center"} )
	 	.mouseover(function(){
	 		$(this).stop().animate({backgroundPosition:"0 center"}, 100)
	 	})
	 	.mouseout(function(){
	 		$(this).stop().animate({backgroundPosition:"-13px center"}, 200)
	 	})
	// hover for homepage actions
	$('#actions a')
		.css( {opcaity: 1} )
		.mouseover(function(){
			$(this).stop().animate({opacity: .80}, 200)
		})
		.mouseout(function(){
			$(this).stop().animate({opacity: 1}, 200)
		})
	// hover for homepage video link
	$('a.vid .play').css( {opacity: 0} );
	$('a.vid .vidImg').css( {opacity: 1} );
	$('a.vid')
		.mouseover(function(){
			$('.vid .vidImg').stop().animate({opacity: .60}, 200);
			$('.vid .play').stop().animate({opacity: 1}, 200);
		})
		.mouseout(function(){
			$('.vid .vidImg').stop().animate({opacity: 1}, 200);
			$('.vid .play').stop().animate({opacity: 0}, 200);
		})
	// hover for footer logos
	$('#logos a')
		.css( {opcaity: .4} )
		.mouseover(function(){
			$(this).stop().animate({opacity: .70}, 200)
		})
		.mouseout(function(){
			$(this).stop().animate({opacity: .4}, 200)
		})
	// hover for arrow buttons
	$('a.arrowButton')
		.css( {paddingLeft: 28, paddingRight: 36 } )
		.mouseover(function(){
			$(this).stop().animate({paddingLeft: 32, paddingRight: 44 }, 200)
		})
		.mouseout(function(){
			$(this).stop().animate({paddingLeft: 28, paddingRight: 36 }, 200)
		})
	// submit contact form {
	$("#sendEmail").click(function() {
		$("#contactForm").submit();
		return false;
	});

});
