jQuery.noConflict(); var $ = jQuery;
$(function() {
	    
	$("#slideshow img").each(function(){
		$(this).css('z-index','1');
	});
   
    $('#slideshow').cycle({
		fx: 'fade'
	});
	
	$(".btn_x, .btn_s").hover(function(){
		if($(this).find("a").html()==null){
			$(this).find("img").animate({'opacity':'0'},{queue:false},800);
		}else{
			$(this).find("a img").animate({'opacity':'0'},{queue:false},800);		
		}
	},function(){
		if($(this).find("a").html()==null){
			$(this).find("img").animate({'opacity':'1'},{queue:false},800);
		}else{
			$(this).find("a img").animate({'opacity':'1'},{queue:false},800);		
		}
	});

	$("#slideshow").hover(function(){
		$(this).animate({'opacity':'0.5'},{queue:false},800);
	},function(){
		$(this).animate({'opacity':'1'},{queue:false},800);
	});

});


