$(function(){
	
	// Carrousel
	if( $('#header-carrousel').length ){
		$('#header-carrousel').tinycarousel({
			interval: true,
			intervaltime: 6000
		});
	}

	// Luisterlinks roll-over instellen
	$('a.luisterlinks img').mouseover(function(){
		src = $(this).attr('src');
		src = src.replace('_default','_hover');
		$(this).attr('src',src);
		});
	$('a.luisterlinks img').mouseout(function(){
		src = $(this).attr('src');
		src = src.replace('_hover','_default');
		$(this).attr('src',src);
		});
	
	// Menu kleuren en effect weergeven
	colors = new Array();
	colors[0] = '#EF75FC';
	//colors[1] = '#1DA9DC';
	colors[1] = '#ffffff';
	colors[2] = '#BED113';
	standaard_kleur = colors[0];
	$('table.menu a').each(function(){
		rand = Math.floor( Math.random()*3 );
		$(this).css('color',colors[rand]);
		});
	$('table.menu a').mouseover(function(){
		standaard_kleur = $(this).css('color');
		$(this).css('color','#ffffff');
		});
	$('table.menu a').mouseout(function(){
		$(this).css('color',standaard_kleur);
		});
	
});
