$(document).ready(function(){
	//To switch directions up/down and left/right just place a "-" in front of the top/left attribute
	//Full Caption Sliding (Hidden to Visible)
	$('.boxgrid.captionfull').hover(function(){
		$(".cover", this).stop().animate({top:'100px'},{queue:false,duration:200});
	}, function() {
		$(".cover", this).stop().animate({top:'165px'},{queue:false,duration:200});
	});

$('.boxwijn.captionfullwijn').hover(function(){
	$(".coverwijn", this).stop().animate({top:'130px'},{queue:false,duration:200});
}, function() {
	$(".coverwijn", this).stop().animate({top:'195px'},{queue:false,duration:200});
});


$(".tekst:not(:first)").hide();
$(".updater h2:first").addClass("active");
$(".title").click(function(){
	$(this).next(".tekst").slideToggle("slow")
	.siblings(".tekst:visible").slideUp("slow");
	$(this).toggleClass("active");
	$(this).siblings("h2").removeClass("active");
	});

$("#main").corner("round 10px");
$(".content").corner("bevel 10px").parent().css('padding', '5px').corner("bevel 10px");
$(".updater").parent().css('padding', '5px').corner("round 10px");
$(".banner").parent().css('padding', '5px').corner("round 10px");
$(".open").parent().css('padding', '5px').corner("round 10px");
$(".info").corner("tear 10px");
$(".info:not(:first)").hide();
$(".open h2:first").addClass("active");

$(".open h2").click(function(){
	$(this).next(".info").slideToggle("slow")
	.siblings(".info:visible").slideUp("slow");
	$(this).toggleClass("active");
	$(this).siblings("h2").removeClass("active");
	});
$(".updater:first").addClass("active");
$('a.lightbox').lightBox();

$('h6').next('p').css({'color':'#700000' , 'margin-left':'40px'});
$('h6').next('ul').css({'color':'#700000' , 'margin-left':'10px'});
});


