	
	// Function to allow one JavaScript file to be included by another.
	// Copyright (C) 2006-08 www.cryer.co.uk
	// example: includeJavaScript('sample.js');
	function includeJavaScript(jsFile)
	{
	  document.write('<script type="text/javascript" src="'
		+ jsFile + '"></scr' + 'ipt>'); 
	}
	
	
	// Include Fancybox bestanden
	// Wil je gebruik maken gebruik dan als classe van een plaatje IMG
	includeJavaScript('js/jquery/fancybox/jquery.fancybox-1.3.4.pack.js');
	includeJavaScript('js/jquery/fancybox/jquery.mousewheel-3.0.4.pack.js');
	includeJavaScript('js/jquery/fancybox/jquery.easing-1.3.pack.js');
	
	// Include Cufon bestanden
	includeJavaScript('js/jquery/cufon/cufon-yui.1.19i.js');
	includeJavaScript('js/jquery/cufon/fonts/pristina.font.js');
	
	// Include Innerfade bestanden
	includeJavaScript('js/jquery/innerfade/jquery.innerfade.js');
	
	// Include Nivoslider bestanden
	includeJavaScript('js/jquery/nivoslider/jquery.nivo.slider.pack.js');
	
	// Include Superfish bestanden
	includeJavaScript('js/jquery/superfish/superfish.js');
	includeJavaScript('js/jquery/superfish/hoverIntent.js');
	includeJavaScript('js/jquery/superfish/supersubs.js');
	
	// Include Superfish bestanden
	includeJavaScript('js/jquery/lavalamp/jquery.lavalamp-1.3.5.js');
	
	
	$(document).ready(function() {
	
	/********************************************************************************************************************
	*																													*
	*	OM DELAYS TE VOORKOMEN MOET DEZE REGEL ALS EERSTE WORDEN UITGEVOERD												*
	*																													*
	********************************************************************************************************************/
		
		Cufon.now();
		
		
	/********************************************************************************************************************
	*																													*
	*	Folks lettertype activeren dmv cufon																			*
	*																													*
	********************************************************************************************************************/
	
		Cufon.replace('h1, h2, h3', { fontFamily: 'Pristina' });
		
		
		
		
		
		
		
		// Fancybox variabelen
		$("a.IMG").fancybox({
			'transitionIn'		: 'fade',
			'transitionOut'		: 'fade',
			'speedIn'			: '200', 
			'speedOut'			: '500', 
			'centerOnScroll'	: true,
			'overlayColor'		: '#000',
			'titlePosition'		: 'over',
		});
		
		// Innerfade variabelen
		$('#slideshow').innerfade({
			'animationtype'		: 'fade',
			'speed'				: 'slow',
			'timeout'			: '6000',
			'type'				: 'random_start',
			'containerheight'	: '220px'
		});
		
		// Nivoslider variabelen
		$('#slider').nivoSlider();
		
		// Nivoslider variabelen
		$("ul.lavaLamp").lavaLamp({
			returnHome:false
		});
		
		// Superfish variabelen
		 $(".sf-menu").supersubs({
			delay:       200,                            	// one second delay on mouseout 
            animation:   {opacity:'show', height:'show'},  	// fade-in and slide-down animation 
            speed:       'fast',                          	// faster animation speed 
			autoArrows:    true,        					// if true, arrow mark-up generated automatically = cleaner source code at expense of initialisation performance 
			dropShadows:   false,							// if true there will be a shadow generated
            minWidth:    12,								// minimum width of sub-menus in em units 
            maxWidth:    27,								// maximum width of sub-menus in em units 
            extraWidth:  1									// extra width can ensure lines don't sometimes turn over 
															// due to slight rounding differences and font-family 
        }).superfish();
	
	});
