// Various hover&opacity states
$(function(){
			$('ul#nav li a').animate({ "opacity": .7 },'slow');
				$('ul#nav li a').hover(function() {
							$(this).stop().animate({ "opacity": 1 },400);
						}, function() {
							$(this).stop().animate({ "opacity": .7 },400);
						});
				
			$('#footer a').animate({ "opacity": .4 },'slow');
				$('#footer a').hover(function() {
							$(this).stop().animate({ "opacity": 1 },400);
						}, function() {
							$(this).stop().animate({ "opacity": .4 },400);
						});

				$('ul#gal li.pic a img').hover(function() {
							$(this).stop().animate({ "opacity": .1 },400);
						}, function() {
							$(this).stop().animate({ "opacity": 1 },400);
						});
				
				$('ul#gal li.setup h1 a').hover(function() {
							$(this).stop().animate({ "opacity": .2 },400);
						}, function() {
							$(this).stop().animate({ "opacity": 1 },400);
						});

});


$(window).load(function() {
	$('ul#photos li a').lightBox();
	$('ul#gal li.pic a').lightBox();
	$('#banner').nivoSlider({
		animSpeed:1500, //Slide transition speed
		pauseTime:6000,
		keyboardNav:true, //Use left & right arrows
		pauseOnHover:true, //Stop animation while hovering
		effect:'sliceDown',
	});
});

