function reversAnimateSiblings (animTarget) {
    $(animTarget).animate({'margin-bottom' : '18px'}, 600, 'swing', function() {
        reversAnimateSiblings( $(this).prev() );
    });
}


$(function() {
    $("h1, h2, p").ieffembedfix();
    if ($("#content-wrapper").text() == 0) {
        var h1size = $('h1').css('font-size');
        $("#nav").hide();
        $('#nav ul li a').animate({'font-size': h1size}, 1500, function() {
            $("#nav").css({'position': 'absolute', 'left' : '60%'}).fadeIn(function() {
                reversAnimateSiblings('#nav ul li:last');
            });
        });
    }
});

