NOT_FOUND_ERR: DOM Exception 8 - fragment.appendChild( ret[i] )

NOT_FOUND_ERR: DOM Exception 8 - fragment.appendChild( ret[i] )

I have a problem with a script in safari.
firefox and ie work. The script fetches from another page content whats in a div and give it out on the current page.
but in safari nothing is loading. I get the error "NOT_FOUND_ERR: DOM Exception 8: An attempt was made to reference a node in a context where it does not exist." in the row 113 (min) or 4500 (uncompressed) of the jquery 1.4.2.
using jQuery 1.2.6, it goes, but other scripts and function do not work then.
 
how can I fix this problem?

my script to retrieve the data:
  1. $(document).ready(function() {
                              
        var hash = window.location.hash.substr(1);
        var href = $('.blogEntry a.moduleItemReadMore').each(function(){
            var href = $(this).attr('href');
            if(hash==href.substr(0,href.length-0)){
                var toLoad = hash+'.html .blogEntryFullView';
                $('.blogEntryFullView').load(toLoad)
            }                                           
        });

        $('.blogEntry a.moduleItemReadMore').click(function(){
            $('#blog_content').css("z-index", 51);
            $('.lightboxEntry').fadeIn(0).animate({left: "-1px"}, 1000);
            $('.lightboxEntry a.closeButton').fadeIn(0);
            $('#blog_content h2, .k2FeedIcon, .blogEntry').fadeOut(1000);
            var toLoad = $(this).attr('href')+' .blogEntryFullView';
            $('.lightboxEntryContent').fadeOut(0,loadContent);
            window.location.hash = $(this).attr('href').substr(0,$(this).attr('href').length-0);
            function loadContent() {
                $('.lightboxEntryContent').load(toLoad,'',showNewContent())
            }
            function showNewContent() {
                $('.lightboxEntryContent').fadeIn(1000);
            }
            return false;
           
        });
    });



























thanks for help!