function jProg() { 

		// Reserveren Programma-items buttons
		// ----------------------------------------------------------------------------
		//
				
		$(".programma-item").mouseover(function() { 
			$('.nietactief').css("display","none");		
			$(this).children("li").children(".nietactief").css("display","block");						
		});
		$(".programma-item").mouseout(function() { 
			$(this).children("li").children(".nietactief").css("display","none");						
		});
		
		$(".actief").css("display","block");
		
		$("#activiteitmenu-help").click(function(){ 
			 $(this).css("display", "none");
			 $(".actief").css("display","none");
			 $(this).next().removeClass("actief");
			 $(this).next().addClass("nietactief");
		});
		
		$(".act-remove").click(function() { 
			var id = $(this).attr("href");
			id = id.replace(".html", "");
			id = id.replace(siteroot, "");
			remove_programma(id);
			return false;
		});
		$(".act-up").click(function() { 
			var id = $(this).attr("href");
			id = id.replace(".html", "");
			id = id.replace(siteroot, "");
			up_programma(id);
			return false;
		});
		$(".act-down").click(function() { 
			var id = $(this).attr("href");
			id = id.replace(".html", "");
			id = id.replace(siteroot, "");
			down_programma(id);
			return false;
		});		
		
		$("#reserveren-knop").click(function() {
			$("#actinfo1").css("display","none");
			$("#actinfo2").css("display","block");
			$(".overlay").css("display","block");
			$(".overlay2").css("display","block");
			return false;
		 });	
		
		function reserverenknop() { 
			$("#reserveren-knop").slideDown(300);
		} 
	

}		
function cbLoad() { 
	$.fn.colorbox.settings.bgOpacity = "0.9";
	$("a[rel='fotobox']").colorbox({transition:"elastic", contentCurrent:"{current} / {total}"});
}
function jAct() { 
		var reserveringsurl = $("#toevoegen-knop").attr("href");	
		
		$("#toevoegen-knop").click(function() { 
			add_programma($(this).attr("href"));
			backToTop();
			return false;
		});
		
		$(".radio-optie").click(function() { 
			var tmp = reserveringsurl;							 
			tmp = tmp.replace(/.html/i, "-"+$(this).attr("value")+".html");
			$("#toevoegen-knop").attr("href",tmp);
			$("#toevoegen-knop").css("display","block");
		});		
		
}
