// JavaScript Document
$(document).ready(function(){
	// News accordion start
	$("#news pre:first").addClass("active");
	$("#news p:not(:first)").hide();
	$("#news pre").click(function(){
		$(this).next("p").slideToggle("fast")
		.siblings("p:visible").slideUp("fast");
		$(this).toggleClass("active");
		$(this).siblings("pre").removeClass("active");
	});
	// News accordion end
	// Calendar accordion start
	$("#cal pre:first").addClass("active");
	$("#cal p:not(:first)").hide();
	$("#cal pre").click(function(){
		$(this).next("p").slideToggle("fast")
		.siblings("p:visible").slideUp("fast");
		$(this).toggleClass("active");
		$(this).siblings("pre").removeClass("active");
	});
	// Calendar accordion end
	// Blog accordion start
	$("#bloggen h2:first").addClass("active");
	$("#bloggen ul:not(:first)").hide();
	$("#bloggen h2").click(function(){
		$(this).next("ul").slideToggle("fast")
		.siblings("ul:visible").slideUp("fast");
		$(this).toggleClass("active");
		$(this).siblings("h2").removeClass("active");
	});
	$("#comments h2:first").addClass("active");
	$("#comments ul:not(:first)").hide();
	$("#comments h2").click(function(){
		$(this).next("ol").slideToggle("fast")
		.siblings("ol:visible").slideUp("fast");
		$(this).toggleClass("active");
		$(this).siblings("h2").removeClass("active");
	});
	$("#blogs pre:first").addClass("active");
	$("#blogs p:not(:first)").hide();
	$("#blogs pre").click(function(){
		$(this).next("p").slideToggle("fast")
		.siblings("p:visible").slideUp("fast");
		$(this).toggleClass("active");
		$(this).siblings("pre").removeClass("active");
	});
	// Blog accordion end
	// Coverflow start
	$(".jCarouselLite").jCarouselLite({
        btnNext: ".next",
        btnPrev: ".prev",
		auto: 10000,
        speed: 1000,
		visible: 4,
		scroll: 2
		});
 	// Coverlow end
});

