$(function(){
	$(".mailHere").one( "click", function(){
		$(this).text(["blarry", "@", "bateru",".","com"].join(''));
		return false;
	});
	$("#docInfo").slideUp("slow");
	$("#showDoc").click(function(){
		$("#docInfo").slideToggle();
	});
})
	var quiz4 = [
		{
		"ques":"Vraag 1. Welke zin is waar?<br /><br />In Nederland worden:", "ans":"per week 1 a 2 kinderen met een stofwisselingsziekte geboren", 
		"ansSel":["per jaar 1 a 2 kinderen met een stofwisselingsziekte geboren", "per jaar 10 a 12 kinderen met een stofwisselingsziekte geboren"]
		},
		{
		"ques":"Vraag 2. Welke zin is waar?<br /><br />Een stofwisselingsziekte:", "ans":"veroorzaakt epilepsie, hart en leverfalen", 
		"ansSel":["veroorzaakt haaruitval", "is goed te behandelen"]
		}
	]; 
	var options = { "quizType": "multiplyChoiceOl", "showWrongAns":false };
	$( "#demo4" ).jQuizMe( quiz4, options);
/*ScrollTo*/	
function filterPath(string) {
  return string
    .replace(/^\//,'')
    .replace(/(index|default).[a-zA-Z]{3,4}$/,'')
    .replace(/\/$/,'');
  }
$(function(){  
  var locationPath = filterPath(location.pathname);
  $('a[href*=#]').each(function() {
    var thisPath = filterPath(this.pathname) || locationPath;
    if (  locationPath == thisPath
    && (location.hostname == this.hostname || !this.hostname)
    && this.hash.replace(/#/,'') ) {
      var $target = $(this.hash), target = this.hash;
      if (target) {
        var targetOffset = $target.offset().top;
        $(this).click(function(event) {
          event.preventDefault();
          $('html, body').animate({scrollTop: targetOffset}, 1000, function() {
            location.hash = target;
          });
        });
      }
    }
  });
 });