<!--
    $(function () {
        var img = new Image();
        $(img).load(function () {
            //$(this).css('display', 'none'); // .hide() doesn't work in Safari when the element isn't on the DOM already
            $(this).hide();
            $('#bg').removeClass('loading').append(this);
			$(this).animate({opacity: 1.0}, 300)
            $(this).fadeIn(1800);
        }).error(function () {
            // notify the user that the image could not be loaded
        }).attr('src', 'images/backgrounds/home_page.jpg');
    });
    
    //-->
