	    $(document).ready(function() {
			$(".galeria a").fancybox();
			$("a.foto").fancybox();
			$(".fancybox a").fancybox();
			$("#panorama").fancybox({
				'width'				: '80%',
				'height'			: 370,
			
		        'autoScale'     	: false,
		        'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'type'				: 'iframe'
			});

		});
	   /*
	$(document).ready(function(){
						   $(".images a img").fadeTo("slow", 0.9); // This sets the opacity of the thumbs to fade down to 30% when the page loads
						   $(".images a img").hover(function(){
						   $(this).fadeTo("slow", 0.5); // This should set the opacity to 100% on hover
						   },function(){
						   $(this).fadeTo("slow", 0.9); // This should set the opacity back to 30% on mouseout
						   });
						   });
$(document).ready(function(){
						   $("#text p").fadeTo("slow", 0.9); // This sets the opacity of the thumbs to fade down to 30% when the page loads
						   $("#text p").hover(function(){
						   $(this).fadeTo("slow", 0.5); // This should set the opacity to 100% on hover
						   },function(){
						   $(this).fadeTo("slow", 0.9); // This should set the opacity back to 30% on mouseout
							   	});
						   });
$(document).ready(function(){
	
						   $("#div").fadeTo("slow", 0.9); // This sets the opacity of the thumbs to fade down to 30% when the page loads
						   $("#div").hover(function(){
						   $(this).fadeTo("slow", 0.5); // This should set the opacity to 100% on hover
						   },function(){
						   $(this).fadeTo("slow", 0.9); // This should set the opacity back to 30% on mouseout
							   	});
});
*/

$(document).ready(function(){


	$(".images a img, #text p, #div").hover(function(){
		$(this).animate({
			opacity: 0.5
		}, {
			queue: false,
			duration: 200
		}); 
	},function(){
		$(this).animate({
			opacity: 1
		}, {
			queue: false,
			duration: 200
		}); 
	});
	
	$(".gal-list a, .cat-list a").hover(function(){
		$(this).find('span').animate({
			'opacity': 0.5
		}, {
			queue: false,
			duration: 300
		}); 
	},function(){
		$(this).find('span').animate({
			'opacity': 1
		}, {
			queue: false,
			duration: 300
		}); 
	});
	
	
});

