// JavaScript Document
//apply to all image tags that have class=”hoverswap” 
    // wrap as a jQuery plugin and pass jQuery in to our anoymous function
$(function() {  
	// OPACITY OF BUTTON SET TO 50%  
	$(".faded").css("opacity","0.6");  

	// ON MOUSE OVER  
	$(".faded").hover(function () {  

		// SET OPACITY TO 100%  
		$(this).stop().animate({  
		opacity: 1.0  
		}, "slow");  
	},  

	// ON MOUSE OUT  
	function () {  

		// SET OPACITY BACK TO 50%  
		$(this).stop().animate({  
		opacity: 0.6  
		}, "slow");  
	});  
}); 

