$(document).ready(function(){

var skip = 0;


  if (jQuery.browser.msie) { 
    if(parseInt(jQuery.browser.version) <= 6) { 
     skip =1;
  } }
  
  if(skip!=1) {
	$('#loop').cycle({fx:'fade',timeout:4000,speed:1500});
	$('#aanhetloop').cycle({fx:'fade',timeout:5000,speed:1000});
  }
	$(".rounded").hoverIntent(function(){ $(this).find("div.rollover").slideDown("slow");},function(){ $(this).find("div.rollover").slideUp(); });
	$('.rounded').corner({ tl: { radius: 10 },tr: { radius: 10 },bl: { radius: 10 },br: { radius: 10 }});


	$("a[rel^='prettyPhoto']").prettyPhoto({
				animationSpeed: 'normal', /* fast/slow/normal */
				padding: 40, /* padding for each side of the picture */
				showTitle: true, /* true/false */
				allowresize: true, /* true/false */
				theme: 'light_rounded' /* light_rounded / dark_rounded / light_square / dark_square */
	});


	$(".accordion").accordion({
		header: 'h3.title',
		active: false, 
		alwaysOpen: false,
		collapsible: true,
		autoHeight: false
	});
	
	$('.quicklinks span').click(function() {
		$('.moreinfo').html($(this).find('div').html());
		$('.quicklinks span').removeClass('active');
		$(this).addClass('active');
		return false;	
	});
	
	$('.quicklinks span:first').click();
});
