$(document).ready(function(){	
		$("#slider").easySlider({
			auto: true, 
			continuous: true,
			pause: 4000
		});
		
		$("a[rel='textlink']").colorbox({close:'sluiten'});
		$("a[rel='imagelink']").colorbox({close:'sluiten'});
		$("a[rel='imageweblink']").colorbox({width:"80%", height:"80%", iframe:true});
		$(".step1").colorbox({width:"30%", inline:true, href:"#step1", close:'sluiten'});
		$(".step2").colorbox({width:"30%", inline:true, href:"#step2", close:'sluiten'});
		$(".step3").colorbox({width:"30%", inline:true, href:"#step3", close:'sluiten'});
		$(".cbox").colorbox({width:"30%", iframe:true, close:'sluiten'});

}); 
 
 addEvent(window, 'load', initCorners);
  
  function initCorners() {
	
    var full = {
      tl: { radius: 5 },
      tr: { radius: 5 },
      bl: { radius: 5 },
      br: { radius: 5 },
      antiAlias: true
    }		

    var top = {
      tl: { radius: 5 },
      tr: { radius: 5 },
      bl: { radius: 0 },
      br: { radius: 0 },
      antiAlias: true
    }
	
    var bottom = {
      tl: { radius: 0 },
      tr: { radius: 0 },
      bl: { radius: 5 },
      br: { radius: 5 },
      antiAlias: true
    }
	
	curvyCorners(full, ".fullyrounded");
	curvyCorners(bottom, ".bottomrounded");
	curvyCorners(top, ".toprounded");

}