/*///////////////// slideshow /////////////////////////*/
$(document).ready(function() {
	$("#slideshow").css("overflow", "hidden");
	
	$("ul#slides").cycle({
		fx: 'fade',
		pause: 1,
		prev: '#prev',
		next: '#next'
	});
	
	$("#slideshow").hover(function() {
    	$("ul#nav").fadeIn();
  	},
  		function() {
    	$("ul#nav").fadeOut();
  	});
	
});
/*///////////////// Functions on Page Load /////////////////////////*/
jQuery(document).ready(function () {
	buttonHover();
});
    
/*///////////////// Button Hover /////////////////////////*/
function buttonHover(){

jQuery(".button_style_1").hover(function () {
	jQuery(this).stop().animate({
		opacity: 0.7
	}, 250)
}, function () {
	jQuery(this).stop().animate({
		opacity: 1.0
	}, 250)
})

}

/*///////////////// PHOTO HOVER EFFECT /////////////////////////*/
$(document).ready(function(){
$('.enlarge').css({ opacity: 0 });
$('.enlarge').css({ cursor: 'pointer' });
$('.enlarge').hover(function(){
    $(this).stop().animate({ opacity: 1 }, 500);
    
}, function(){
   $(this).stop().animate({ opacity: 0 }, 300);
 
});
});
/*///////////////// MINI GALLERY PHOTO HOVER EFFECT /////////////////////////*/
$(document).ready(function(){
$('.enlarge2').css({ opacity: 0 });
$('.enlarge2').css({ cursor: 'pointer' });
$('.enlarge2').hover(function(){
    $(this).stop().animate({ opacity: 1 }, 500);
    
}, function(){
   $(this).stop().animate({ opacity: 0 }, 300);
 
});
});
/*///////////////// MEDIUM GALLERY PHOTO HOVER EFFECT /////////////////////////*/
$(document).ready(function(){
$('.enlarge3').css({ opacity: 0 });
$('.enlarge3').css({ cursor: 'pointer' });
$('.enlarge3').hover(function(){
    $(this).stop().animate({ opacity: 1 }, 500);
    
}, function(){
   $(this).stop().animate({ opacity: 0 }, 300);
 
});
});

/*///////////////// Scroll to Top /////////////////////////*/
function scrollTop(){
	jQuery('a.scrollToTop').click(function(){ 
	jQuery('html, body').animate({scrollTop:0}, 'slow');
	return false; 
	});
}


