Cufon.replace('.pageTitle h1:visible, h2, h3, #topNav a, .donateBox, .searchBox label, .sitemap a.level1, .sitemap .navRoot, button.search-btn');
	
$(document).ready(function() {
	$('.garden_gallery').addClass('gallery_demo'); // adds new class name to maintain degradability
	$('.gallery-nav').css('display','none'); // hides the nav initially
	
	$('ul.gallery_demo').galleria({
		history   : false, // deactivates the history object for bookmarking, back-button etc.
		clickNext : false, // helper for making the image clickable. Let's not have that in this example.
		insert    : undefined, // the containing selector for our main image. 
							   // If not found or undefined (like here), galleria will create a container 
							   // before the ul with the class .galleria_container (see CSS)
		onImage   : function() { $('.nav').css('display','block'); } // shows the nav when the image is showing
	});

	$('.bnrSelectors, .bnrArrows, .bnrTabs').tabs({ fx: { opacity: 'toggle' } }).tabs('rotate', 5000);
	$('#bd, .logo, #content_block_27, #ft, .hdTop').wrapInner('<div class="dropShadow"></div>');
	if ($('#calendar_iframe').length) { // implies *not* zero
    	$('#calendar_iframe').attr("src","http://www.google.com/calendar/embed?src=ao66dgpe56ig6vhh0bvqip2amg%40group.calendar.google.com&amp;chrome=NAVIGATION&amp;height=588");
  	}
	//Cufon.replace('h2');
	Cufon.now();
	
	/*try {
		curvyCorners.init();
	} catch(err) {
		;
	}*/
	
	$('.showMore').click(function() {
		$(this).next('.hide').toggle('normal');
	});
});

	
