$(document).ready(function() {
	$("#menu a img").mouseover(function(){
		$(this).animate({
	   		left: '10px'
		}, 200, function() {
    		// Animation complete.
		});  
	});

	$("#menu a img").mouseout(function(){
		$(this).animate({
	   		left: '0px'
		}, 200, function() {
    		// Animation complete.
		});  
	});


   $("#more").click(function() {
	 $("#more").hide(); 
	 $(".hidden").fadeIn("fast");
   });

   
   $("#gallery img").mouseover(function() {
	 $(this).fadeTo("fast", "1");
   });
   $("#gallery img").mouseleave(function() {
	 $(this).fadeTo("fast", "0.7");
   });
   
$("a[rel=gal]").fancybox({
	'transitionIn'		: 'fade',
	'transitionOut'		: 'none',
	'titlePosition' 	: 'over',
	'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
		return '<span id="fancybox-title-over">' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
	}
});
   
   
});


$(function(){
  $("#slider").slides({
    play: 4500,
	generatePagination: false, 
	effect: 'fade'  
  });
});
