$(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



$(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 */

}



//-->

