$(document).ready(function(){
						   
  $('a[href*=#]').click(function() {
	 if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'')
	 && location.hostname == this.hostname) {
	   var $target = $(this.hash);
	   $target = $target.length && $target
	   || $('[name=' + this.hash.slice(1) +']');
	   if ($target.length) {
	  var targetOffset = $target.offset().top;
	  $('html,body')
	  .animate({scrollTop: targetOffset}, 1000);
		return false;
	   }
	 }
  });

	// Gallery
	$("#pikame").PikaChoose({slide_enabled:false});
	
	// sliding divs on the garden page
	$('.sbm_gard').click(function() {
								  
		$(this).toggleClass("sbm_close");
		
		$(this).next().slideToggle('slow');
		return false;
		
	}).next().hide();
	
	// news feed
	$('#nws_wr').cycle({ 
					   
		fx:     'scrollUp', 
		speed:   600, 
		timeout: 7000, 
		next:   '#btn_next', 
		prev:   '#btn_prev', 
		pause:   7
		
	});
	
});