$(document).ready(function(){

	$(".btn-slide").click(function(){
		$("#panel").slideToggle("slow");
		$(this).toggleClass("active"); return false;
	});
	
	$(".btn-slide2").click(function(){
		$("#panel2").slideToggle("slow");
		$(this).toggleClass("active");
		if ($(this).is('.active')){
            showForm();
		}
		return false;
	});
	
	$(".btn-slide3").click(function(){
		$("#panel2").slideToggle("slow");
		$(this).toggleClass("active"); 
		if ($(this).is('.active')){
            showForm();
		}
		return false;
	});
	
	 
});



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

// RUN




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 */
}

//-->
