// JavaScript Document

$(document).ready(function(){

	$("#btn-slide1").click(function(){
		$(".section-text-more1").slideToggle("slow");
		$(this).toggleClass("active"); return false;
	});
	
	$("#btn-slide2").click(function(){
		$(".section-text-more2").slideToggle("slow");
		$(this).toggleClass("active");
		if ($(this).is('.active')){
            showForm();
		}
		return false;
	});
	
});



<!--
// jQuery.noConflict();

// RUN

$(document).ready(function(){	
	
		/* Set the slider to cycle targeting the next button in each banner */
	//jQuery('#bannerSlide').cycle({ 
		//fx: 'scrollHorz',  
		//next:   jQuery('a.next'),
		//after:   onAfter,
		//timeout: 0
	//});


});


function onAfter(curr, next, opts) {
    var index = $(this).parent().children().index(this);
	//var elm = "#" + jQuery('#bannerSlide .parallax').get(index).id;

	//jQuery(elm).jparallax({triggerExposesEdges: true});

	/* May cause a memory leak as these parallaxes are never been destroyed */
}

//-->

