$(document).ready(function(){
	$(".uitgebreidSnelDownUp").click(function(){
		//$("#panelPlan").slideUp();
		//$("#panelContact").slideUp();
		$("#uitgebreidSnel").slideToggle();
		$(this).toggleClass("active"); return false;
	});
	$(".gallImagePark").mouseover(function(){
 		$(this).addClass("imageHoverke");
	});
	$(".gallImagePark").mouseout(function(){
 		//$(this).parent().removeClass("imageHoverke");
 		$(this).removeClass("imageHoverke");
	});
	$(".gallImageParkPIDK").mouseover(function(){
 		$(this).addClass("imageHoverke");
	});
	$(".gallImageParkPIDK").mouseout(function(){
 		//$(this).parent().removeClass("imageHoverke");
 		$(this).removeClass("imageHoverke");
	});
	$(".gallImageParkPIDK2").mouseover(function(){
 		$(this).addClass("imageHoverke");
	});
	$(".gallImageParkPIDK2").mouseout(function(){
 		//$(this).parent().removeClass("imageHoverke");
 		$(this).removeClass("imageHoverke");
	});
	$('div.galTooltip').fadeTo("fast", 0);
	$(".toonOptie").mouseover(function(){
 		$('div.galTooltip', this).removeClass("DN");
 		$('div.galTooltip', this).animate({opacity:1},{duration:"slow", queue:false});
		//$('#gegevensWrapper').animate({ height: $('#beschrijving').css('height') }, "fast");
		//$(".opacify").fadeTo(1, 0.5);
	});
	$(".toonOptie").mouseout(function(){
 		//$(this).parent().removeClass("imageHoverke");
 		//$('div.galTooltip', this).addClass("DN");
 		$('div.galTooltip', this).animate({opacity:0},{duration:"slow", queue:false});
	});
	$('div.galTooltipPIDK').fadeTo("fast", 0);
	$(".toonOptiePIDK").mouseover(function(){
 		//$('div.galTooltip', this).removeClass("DN");
 		$('div.galTooltipPIDK', this).animate({opacity:1},{duration:"slow", queue:false});
		//$('#gegevensWrapper').animate({ height: $('#beschrijving').css('height') }, "fast");
		//$(".opacify").fadeTo(1, 0.5);
	});
	$(".toonOptiePIDK").mouseout(function(){
 		//$(this).parent().removeClass("imageHoverke");
 		//$('div.galTooltip', this).addClass("DN");
 		$('div.galTooltipPIDK', this).animate({opacity:0},{duration:"slow", queue:false});
	});



	$('div.galTooltipPIDK2').fadeTo("fast", 0);
	$(".toonOptiePIDK2").mouseover(function(){
 		//$('div.galTooltip', this).removeClass("DN");
 		$('div.galTooltipPIDK2', this).animate({opacity:1},{duration:"slow", queue:false});
		//$('#gegevensWrapper').animate({ height: $('#beschrijving').css('height') }, "fast");
		//$(".opacify").fadeTo(1, 0.5);
	});
	$(".toonOptiePIDK2").mouseout(function(){
 		//$(this).parent().removeClass("imageHoverke");
 		//$('div.galTooltip', this).addClass("DN");
 		$('div.galTooltipPIDK2', this).animate({opacity:0},{duration:"slow", queue:false});
	});




// colorbox
	//Examples of how to assign the ColorBox event to elements
	$("a[rel='example1']").colorbox();
	$("a[rel='example2']").colorbox({transition:"fade"});
	$("a[rel='example3']").colorbox({transition:"none", width:"75%", height:"75%"});
	$("a[rel='example4']").colorbox({slideshow:true});
	$(".single").colorbox({}, function(){
		alert('Howdy, this is an example callback.');
	});
	$(".colorbox").colorbox();
	$(".youtube").colorbox({iframe:true, width:650, height:550});
	$(".nieuwsbrief").colorbox({width:750, height:450, iframe:true});
	$(".iframeVB").colorbox({width:760, height:670, iframe:true});
	$(".iframeMI").colorbox({width:960, height:570, iframe:true});
	$(".iframeKaart").colorbox({width:660, height:470, iframe:true});
	$(".inline").colorbox({width:"50%", inline:true, href:"#inline_example1"});
	
	//Example of preserving a JavaScript event for inline calls.
	//$("#click").click(function(){ 
		//$('#click').css({"background-color":"#f00", "color":"#fff", "cursor":"inherit"}).text("Open this window again and this message will still be here.");
		//return false;
	//});


});
