$(document).ready(function () {
							
  if ($("a.ctab")) {
    $("a.ctab").click(function () { 
	  $("#tab1").css('display', 'none'); 
	  $("#tab2").css('display', 'none'); 
	  $("#tab3").css('display', 'none'); 
	  $("#tab4").css('display', 'none'); 
	  $("#tab5").css('display', 'none'); 
	  $("#tab6").css('display', 'none'); 
	  $("#tab7").css('display', 'none'); 
	  $("#tab8").css('display', 'none'); 
	  $("#tab9").css('display', 'none'); 
	  $('div#bkmrk ul li').removeClass('current');
	  $(this).parent().addClass('current');
	  $('#'+$(this).attr('rel')).css('display', 'block'); 
    });
  }
  
  $('.anythingSlider').anythingSlider({
       easing: "easeInOutExpo",        // Anything other than "linear" or "swing" requires the easing plugin
       autoPlay: true,                 // This turns off the entire FUNCTIONALY, not just if it starts running or not.
       delay: 10000,                    // How long between slide transitions in AutoPlay mode
       startStopped: false,            // If autoPlay is on, this can force it to start stopped
       animationTime: 1200,             // How long the slide transition takes
       hashTags: true,                 // Should links change the hashtag in the URL?
       buildNavigation: true,          // If true, builds and list of anchor links to link to each slide
       pauseOnHover: true,             // If true, and autoPlay is enabled, the show will pause on hover
       startText: "Go",             // Start text
	   stopText: "Stop",               // Stop text
	   navigationFormatter: null       // Details at the top of the file on this use (advanced use)
  });
  
  $("#factuuradres").click(function () {
	   $("#factuuradrestable").slideDown("slow");
  });
  
  $(".nofactuuradres").click(function () {
	   $("#factuuradrestable").slideUp("slow");
  });
            
  $("#imagechanger").innerfade({
	speed: 750,
	timeout: 5000
  });


});

function HideContent(d) { 
	if(d.length < 1) { return; } 
    document.getElementById(d).style.display = "none"; 
} 

function ShowContent(d) { 
	if(d.length < 1) { return; } 
    document.getElementById(d).style.display = "block"; 
}
