/************************************************************
 *	@purpose:	initializes all effects and functions		*
 *	@author:	robert.leurs@cooloxygen.com					*
 *	@version:	1.0 - 26.10.2010							*
 ************************************************************/
 

	/**
	 *	@purpose:	initializes the coda slider effect
	 *	@author:	robert.leurs@cooloxygen.com
	 *	@version:	1.0 - 26.10.2010
	 */ 

	// 01. wait for the DOM to be ready
	$().ready(function() {

		// 02. run the effect with -other then default- parameters
		$('#coda-slider-carousel').codaSlider({
			autoSlide: true,
			autoSlideInterval: 8000,
			autoSlideStopWhenClicked: true,
			dynamicArrowLeftText: "&#171;",
			dynamicArrowRightText: "&#187;",
			dynamicTabsPosition: "bottom"       
		});	
	});


	/**
	 *	@purpose:	initializes the fullscreen-background effect
	 *	@author:	robert.leurs@cooloxygen.com
	 *	@version:	1.0 - 26.10.2010
	 */	

	// 01. wait for the DOM to be ready
	$().ready(function() {

		// 02. specify the size of the background image (todo: could be done automatically by some nifty code)
		var FullscreenrOptions = {  width: 2560, height: 1440, bgID: '#bgimg' };
		
		// 03. let's activate the full screen background!
		jQuery.fn.fullscreenr(FullscreenrOptions);   
	});
