$(document).ready(function() {
	$('h1').show();
	$('h2').show();
	$('h3').show();
	$('h4').show();
	$('.menu li').show();
});
// JavaScript Document voor Diakonos
Cufon.replace('#contactformulier button', {hover:true});	
Cufon.replace('.menu li', {fontFamily: "helv-con-bold"});	
Cufon.replace('#contact_header', {fontFamily: "helv-con-bold"});	
Cufon.replace('h1', {fontFamily: "helv-light", textShadow: "1px 1px 1px #cccccc"});	
Cufon.replace('h2', {fontFamily: "helv-light"});	
Cufon.replace('h3', {fontFamily: "helv-con-bold"});	

// captcha invoerveld
$(document).ready(function () {
	$('.captcha-541 input').focus(function() {
	$(this).val("");
    });
});

$(function() {   	
	var theWindow        = $(window),
	$bg              = $("#header"),
	aspectRatio      = $bg.width() / $bg.height();
			    			    		
function resizeBg() {
	if ( (theWindow.width() / theWindow.height()) < aspectRatio ) {
	$bg
	.removeClass()
	.addClass('bgheight');
	} else {
 	  $bg
		.removeClass()
		.addClass('bgwidth');
	}
}
theWindow.resize(function() {
	resizeBg();
	}).trigger("resize");
});

