$(document).ready(function(){
	$(".toggle_container").hide();
	$("h1.trigger").toggle(function(){
		$(this).addClass("active"); 
		}, function () {
		$(this).removeClass("active");
	});
	
	$("h6.trigger").click(function(){
		$(this).next(".toggle_container").slideToggle("normal,");
	});
 
});


$(document).ready(function(){
	$("h5.trigger").click(function(){

      if ($(this).next(".toggle_container").is(":hidden")) {
        $(this).next(".toggle_container").slideDown("slow");
		$(this).addClass("active");
		return false;
      } else {
		 $(this).next(".toggle_container").slideUp("slow");
		 $(this).removeClass("active");
		 return false;
      }
 });
});




$(document).ready(function() {
	$('a[href*=#]').bind("click", function(event) {
		event.preventDefault();
		var ziel = $(this).attr("href");

		$('html,body').animate({
			scrollTop: $(ziel).offset().top
		}, 500 , function (){location.hash = ziel;});
});
return false;
});
function ggg() {
	$("html,body").stop();
	$('a[href*=#]').bind("click", function(event) {
		event.preventDefault();
		var ziel = $(this).attr("href");

		$('html,body').animate({
			scrollTop: $(ziel).offset().top
		}, 500 , ggg ());
});
return false;
}

