function startHeaderAnimation() {
    $('#header #header-hills #middle').animate({top: '167px'}, 200, function(){
        $('#header #header-hills #back').animate({top: '147px'}, 200, function(){
            $('#header #header-forest #forest-left').animate({top: '118px'}, 400, 'easeOutElastic');
            $('#header #header-forest #forest-right').animate({top: '128px'}, 200, 'easeOutElastic', function(){
                $('#header #header-village #house1').animate({top: '117px'}, 600, 'easeOutElastic');
                $('#header #header-village #house2').animate({top: '101px'}, 400, 'easeOutElastic');
                $('#header #header-village #house3').animate({top: '101px'}, 200, 'easeOutElastic', function(){
                    $('#header #header-village #kerk').animate({top: '19px'}, 400, 'easeOutElastic', function(){
                        $('#header #header-village #house4').animate({top: '88px'}, 600, 'easeOutElastic');
                        $('#header #header-village #house5').animate({top: '95px'}, 200, 'easeOutElastic', function(){
                            $('#header #header-village #feesttent').animate({top: '88px'}, 600, 'easeOutElastic', function(){
                                startBalloons();
                            });
                        });
                    });
                });
            });
        });
    });   
}

function startBalloons() {
    $('#header #header-balloons #balloon-left').css({top: '200px'});
    $('#header #header-balloons #balloon-right').css({top: '200px'});
    $('#header #header-balloons #balloon-left').animate({top: '-100px'}, 6000, 'easeInOutExpo', startBalloons);
    $('#header #header-balloons #balloon-right').animate({top: '-100px'}, 4000, 'easeInOutExpo');
}

function startClouds() {
    $('#header-sky #big').animate({left: '+=50px'}, 2000);
    $('#header-sky #small').animate({right: '+=50px'}, 4000, reverseClouds);
}

function reverseClouds() {
    $('#header-sky #big').animate({left: '-=50px'}, 3000);
    $('#header-sky #small').animate({right: '-=50px'}, 5000, startClouds);
}
