$(function(){
	
	//set link opacity at start
	$("#tab-links li > a").fadeTo("fast", 0.5);
	
	//reduce link opacity on slide hover
	$("#slides").hover(
		function() {
			$("#tab-links li > a").stop().fadeTo("fast", 0.25);
		},
		function() {
			$("#tab-links li > a").stop().fadeTo("fast", 0.5);
		}
	);
	
	//increase link opacity on link hover
	$("#tab-links li > a").hover(
		function() {
			$(this).stop().fadeTo("fast", 1);
		},
		function() {
			$(this).stop().fadeTo("fast", 0.5);
		}
	);
	
	//cycle slides
	$("#slides").cycle({ 
	    fx:			"fade",
		speed:		450,
		timeout:	4000,
	    pause:		1 
	});
	
})

