	$(document).ready(function() {
	
	$("#login_show").toggle(
	  function () {
		$("#login").animate({top: "0px"}, 500 );
		$("#login_show").text("sluit");
	  },
	  function () {
		$("#login").animate({top: "-31px"}, 500 );
		$("#login_show").text("inloggen");
	  });
	
	$("#login_form").submit(function() {
		var pwordval = $("#password").val();
		$.post("backend.php", { password: pwordval }, function(data) {
			$("#status p").html(data);
		});
		return false;
	});
	
	
	
	$("#link0").mouseover (function() {
			$("#nav").stop().animate({ backgroundPosition: '(0px 0px)'}, 500 );
			});
	$("#link1").mouseover (function() {
			$("#nav").stop().animate({ backgroundPosition: '(50px 0px)'}, 500 );
			});
	$("#link2").mouseover (function() {
			$("#nav").stop().animate({ backgroundPosition: '(112px 0px)'}, 500 );
			});
	$("#link3").mouseover (function() {
			$("#nav").stop().animate({ backgroundPosition: '(186px 0px)'}, 500 );
			});
	$("#link4").mouseover (function() {
			$("#nav").stop().animate({ backgroundPosition: '(265px 0px)'}, 500 );
			});
	$("#link5").mouseover (function() {
			$("#nav").stop().animate({ backgroundPosition: '(350px 0px)'}, 500 );
			});
	$("#link6").mouseover (function() {
			$("#nav").stop().animate({ backgroundPosition: '(427px 0px)'}, 500 );
			});
	$("#link7").mouseover (function() {
			$("#nav").stop().animate({ backgroundPosition: '(489px 0px)'}, 500 );
			});
	$("#link8").mouseover (function() {
			$("#nav").stop().animate({ backgroundPosition: '(549px 0px)'}, 500 );
			});
	
	});
	

	// Clearing formfields on focus //
	$("#nameinput, #emailinput, #commentinput, #checkinput, #adresinput").focus(function() {
		if( this.value == this.defaultValue ) {
			this.value = "";
		}
		}).blur(function() {
		if( !this.value.length ) {
			this.value = this.defaultValue;
		}
	});
	/// Clearing formfields on focus ////

	
	
<!-- Font Replacement -->
    //Cufon.replace('h2', { fontFamily: 'Aller' });
    Cufon.replace('h2', { fontFamily: 'Aller Light' });
<!-- Font Replacement -->