
$(document).ready(function() {
	$("#commentForm").validate();
	
	
	
	
	
		
$(".innenbox").hide();	

$("h2").click(function(){

if ($(this).hasClass("zumachen")){
	$(".innenbox").hide();
        $(this).removeClass("zumachen");
} else {
        $(".innenbox").hide();
        $("h2").removeClass("zumachen");
	$(this).addClass("zumachen");
	$(this).next(".innenbox").slideToggle("slow");
	}
});



	
	
	
	
	
});

$(function() {
	$('.csc-textpic-image div a').lightBox();
});



$(document).ready(function(){



$(".hintergrund_1").addClass("hintergrund");

$('.buttonpic span').click(function () { 
     var wert = $(this).attr("id")-1;
     var wertdata = $(this).attr("id");
     
     var werthintergrund = $(this).attr("id");
     $('.bilderdaten').hide();
     $('#bild_'+wert).show();
     
     $('.buttonpic span').removeClass("hintergrund");
     
     $(".hintergrund_"+wertdata).addClass("hintergrund");
     
     $("a[rel^='prettyPhoto']").prettyPhoto({animationSpeed:'fast',slideshow:10000, theme:'dark_rounded'});
});




$('.bilderdaten').hide();
$('#bild_0').show();



$('#bildbox a').lightBox();
});







