$(document).ready(function(){
	//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});
	$(".meerinfoBOX").colorbox({width:800, height:550, iframe:true});
	$(".nieuwsoverzicht").colorbox({width:800, height:550, iframe:true});
	$(".nieuwsbrief").colorbox({width:750, height:450, iframe:true});
	$(".disclaimerIF").colorbox({width:750, height:450, iframe:true});
	$(".iframe").colorbox({width:660, height:470, 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;
	///});
	//$("#beschrijvingNBProject").addClass("OH");
	//$("#leftMenu a").fadingMenu({nightriderInterval:10000});	
	
	$('#NR-resident').click(function(){
		//var url = $(this).find("a").attr('href'); 
        //window.location = url; 
		window.location = "zoeken.php"; 
	});
	$('#NR-nbp').click(function(){
		window.location = "nieuwbouw.php"; 
	});
	$('#NR-bedrijf').click(function(){
		window.location = "zoekbedrijf.php"; 
	});
	$('#NR-buiten').click(function(){
		window.location = "zoekbuitenland.php"; 
	});
});

