Cufon.replace('a.nav', {hover: true})('h1.maintitle');
 
$(document).ready(function(){
/*	
	$('a.nav').hover(
		function(){
			$width = $(this).width() +10;
			$left  = $(this).position().left -5 - 230;
			if($left < 0){
				$left = 0;
				$width = $width -5;
			}
			$('#slideblock').stop(true).animate({
				left : $left,
				width: $width
			},500);
		}, 
		function(){
			$width = $('a.hoofdNavActive').width() +10;
			$left  = $('a.hoofdNavActive').position().left -5 - 230;
			if($left < 0){
				$left = 0;
				$width = $width -5;
			}
			$('#slideblock').delay(500).stop(true).animate({
				left : $left,
				width: $width
			},500);
		}
	);*/ 
	$('#left h1:eq(0)').addClass('maintitle');
	Cufon.refresh();
	
	$('#slideshow').cycle({timeout: 8000});
	$('#slides ul').cycle({
					timeout: 3000, 
					containerResize:1,
					pager:  '#pagerul', 
					next: '#next',
					prev: '#prev',
			    pagerAnchorBuilder: function(idx, slide) { 
			        return '#pagerul li:eq('+idx+')'; 
			    } 
	});
	
});



$(window).load(function(){
});

$(window).resize(function(){
});


