function fadeHover(elem){
	$(elem).stop().fadeTo("slow", 0.5); // This should set the opacity to 0% on hover
}

function fadeOut(elem){
	if($(elem).parent().attr('class') != 'current') $(elem).stop().fadeTo("slow", 1.0); // This should set the opacity back to 60% on mouseout
}
		
$(document).ready(function(){
	$(".fade").fadeTo("slow", 1.0); // This sets the opacity of the thumbs to fade down to 60% when the page loads
	$(".fade").hover( 
		function(){fadeHover($(this))}, 
		function(){fadeOut($(this))} 
	);	
});


