   /*
	*	DOM load functions
	*
	*/
	$(document).ready(function(){
		
		// externe links krijgen een _blank target, oftewel openen in nieuw venster/tabblad
		$("a[@rel=external]").each(function(i){ this.target="_blank"; });

		// disable action wanneer op link wordt geklikt
		$("a.disabled").click(function(){ return false; });

		// menu functions
		$("#menu li").find(" > ul.sub").hide();
		
		$("#menu li:has(ul > li.active)").find(" > ul").show();
		
		$("#menu li").mouseover(function(){
				
			$(this).find(" > ul.sub").show();
				
		}).mouseout(function(){
			
			$(this).find(" > ul.sub").hide();
			
		});
		
		// active state van de flash links
		$("a.flash-link").click(function(){
			
			$("a.flash-link").css({color: "#fff", fontWeight: "normal", textDecoration: "none"});
		
			$(this).css({color: "#8f6c57", fontWeight: "bold", textDecoration: "underline"});
		
		});
		
		
	});
	