	$(document).ready(function() {
		//Default Action
		$(".left_tab_content").hide(); //Hide all content
		$("ul.tabsLeft li:first").addClass("active").show(); //Activate first tab
		$(".left_tab_content:first").show(); //Show first tab content
		
		//On Click Event
		$("ul.tabsLeft li").click(function() {
			$("ul.tabsLeft li").removeClass("active"); //Remove any "active" class
			$(this).addClass("active"); //Add "active" class to selected tab
			$(".left_tab_content").hide(); //Hide all tab content
			var activeTab = $(this).find("a").attr("href"); //Find the rel attribute value to identify the active tab + content
			$(activeTab).fadeIn(); //Fade in the active content
			return false;
		});
	});
	

	
	
	$(function() {
    	$("#carouselOnePhoto").jCarouselLite({
    	    btnNext: "#butNextOne",
    	    btnPrev: "#butPrevOne",
    	    easing: 'easeOutQuad'
    	});
	});

	$(function() {
    	$("#carouselTwoPhoto").jCarouselLite({
    	    btnNext: "#butNextTwo",
    	    btnPrev: "#butPrevTwo",
    	    easing: 'easeOutQuad'
    	});
	});

	
	$(document).ready(function() {
		//Default Action
		$(".right_tab_content").hide(); //Hide all content
		$("ul.tabsRight li:first").addClass("active").show(); //Activate first tab
		$(".right_tab_content:first").show(); //Show first tab content
		
		//On Click Event
		$("ul.tabsRight li").click(function() {
			$("ul.tabsRight li").removeClass("active"); //Remove any "active" class
			$(this).addClass("active"); //Add "active" class to selected tab
			$(".right_tab_content").hide(); //Hide all tab content
			var activeTab = $(this).find("a").attr("href"); //Find the rel attribute value to identify the active tab + content
			$(activeTab).fadeIn(); //Fade in the active content
			return false;
		});
	});	
	
	
	$(document).ready(function() {
		$('#slideshowHome').cycle({ 
			fx: 'fade',
			speed: 500,
			timeout: 8000,
		  next: '#cycleNext', 
		  prev: '#cyclePrev' 
		});
	});
	

	Cufon.DOM.ready(function() {
		Cufon.replace(('.tabsLeft li a'), { hover:true });
		Cufon.replace(('.tabsRight li a'), { hover:true });
		Cufon.replace(('#panelExplore h3'), { hover:true });
		Cufon.replace(('#slideshowHome div h3'), { hover:true, textShadow: '#222 1px 2px', fontFamily: 'avenir lt std' });
		Cufon.replace(('#slideshowHome div p'), { hover:true, textShadow: '#222 1px 1px', fontFamily: 'avenir lt std' });
		Cufon.replace(('.slideshowButLearn'), { hover:true, textShadow: '#222 1px 1px', fontFamily: 'avenir lt std' });
		Cufon.replace(('.slideshowButDonate'), { hover:true, textShadow: '#222 1px 1px', fontFamily: 'avenir lt std' });
		
	});
	
	$(function() {
		$('#carouselOnePhoto a.carouselLink').lightBox();
		//$('#carouselTwoPhoto a.carouselLink').lightBox();
		//$("a[rel^='prettyPhoto']").prettyPhoto();
	});
