/* 
 * Documentatie:
 * 
 * Cufon:              http://cufon.shoqolate.com/
 * InnerFade:          http://medienfreunde.com/lab/innerfade/
 *
 */

$(function(){


	// Cufon: font replacement
	Cufon.replace('#header .slogan, #footer .right');
//	Cufon.replace('#nav li a', { hover: true });


	// InnerFade: Header image rotator
	$('#header .rotator ul').innerfade({
		animationtype: 'fade', // fade or slide
		speed: 500, // animation speed in milliseconds
		timeout: 5000, // time between animations in milliseconds
		type: 'sequence', // sequence, random, or random_start
		containerheight: '133px' // height of the containing element
	});


	// Submenu hover class
	$('#nav li:has(ul)').hover(function(){
		$(this).children('ul').slideToggle(200);
	});


});
