// JavaScript Document
$(document).ready (function(){
							
  $('#leesmeer').click(function() {
  $('#meertekst1').slideDown('slow');
   $('#leesmeer').hide();
    $('#verberg').show();
});
  
   $('#verberg').click(function() {
  $('#meertekst1').slideUp('slow');
   $('#verberg').hide();
   $('#leesmeer').show();
});
   $(".naarlinks").click(function() {
	//$("#footer").css('height', "220px");
	$("#footer").animate({"height": "206px"}, "slow");
	$("#links").animate({"height": "156px"}, "slow");
	$("#originalfoot").animate({"top": "0px"}, "slow");
	//$("#opvulfoot").animate({"height": "0px"}, "slow");
	$("#sluitknop").fadeIn("fast");
	$("#inhoudcontact").hide("fast");
	$("#inhoudlinks").fadeIn("fast");
	//window.scrollTop(300);
	
});
   $(".naarcontact").click(function() {
	//$("#footer").css('height', "220px");
	$("#footer").animate({"height": "206px"}, "slow");
	$("#links").animate({"height": "156px"}, "slow");
	$("#originalfoot").animate({"top": "0px"}, "slow");
	//$("#opvulfoot").animate({"height": "0px"}, "slow");
	$("#sluitknop").fadeIn("fast");
	$("#inhoudlinks").hide("fast");
	$("#inhoudcontact").fadeIn("fast");
	
	
});
   $("#sluitknop").click(function() {
	//$("#footer").css('height', "220px");
	$("#footer").animate({"height": "106px"}, "slow");
	
	$("#links").animate({"height": "0px"}, "slow");
	$("#originalfoot").animate({"top": "56px"}, "slow")
	//$("#opvulfoot").animate({"height": "56px"}, "slow");
	$("#sluitknop").hide("fast");
	$('#originalfoot').focus();
	$("#inhoudcontact").hide("fast");
	$("#inhoudlinks").hide("fast");
});
  
});