$(document).ready(function() {	
	$(".infoinside p").hide();
	$(".infoinside a img").attr('src','images/pfeilunten.png');
	$(".infoinside a").click(function() {
		if($(this).next().hasClass("open")) {
			$(this).find("img").attr('src','images/pfeilunten.png');
			$(this).next().slideUp().removeClass("open");
		}else{
			$(this).find("img").attr('src','images/pfeiloben.png');
			$(this).next().slideDown().addClass("open");
		}
	});
	
	//if($(".lightbox a").attr('class')) {
		$('.lightbox a').lightBox({fixedNavigation:true});
	//}
	
	
	$('.kontaktauf').cycle({
		fx: 'scrollUp', // choose your transition type, ex: fade, scrollUp, shuffle, etc...
		timeout: 8000,
		pause: 'true'
	});
});

