Using jQuery to load content into a div, bugging out with Active Content flash?

Using jQuery to load content into a div, bugging out with Active Content flash?

So I'm using this code to load content into a div with id "load".
  1. <script type="text/javascript">

        function pageload(hash) {

            if(hash) {

                if($.browser.msie) {
                    // jquery's $.load() function does't work when hash include special characters like aao.
                    hash = encodeURIComponent(hash);
                }
                $("#load").load(hash + ".html");
             
            } else {
                // start page
                $("#load").load("1.html");
            }
        }
        
        $(document).ready(function(){

            $.historyInit(pageload, "jquery_history.html");

            $("#navMenu li").click(function(){

                var hash = this.href;
                hash = hash.replace(/^.*#/, '');

                    $.historyLoad(hash);
                return false;
            });
        });
    </script>






























And for the third content page (3.html) I'm trying to use a Flash/XML based media player -- I've tried a few different things (mind you I'm more of a designer than anything,) but it seems that this Active Content code is breaking the site:

  1. <head>
    <script language="javascript">AC_FL_RunContent = 0;</script>
    <script src="lib/AC_RunActiveContent.js" language="javascript"></script>
    </head>

    <script language="javascript">
        if (AC_FL_RunContent == 0) {
            alert("This page requires AC_RunActiveContent.js.");
        } else {
            AC_FL_RunContent(
                'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
                'width', '680',
                'height', '320',
                'src', 'AudioGallery',
                'quality', 'high',
                'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
                'align', 'middle',
                'play', 'true',
                'loop', 'true',
                'scale', 'showall',
                'wmode', 'window',
                'devicefont', 'false',
                'id', 'AudioGallery',
                'bgcolor', '#000000',
                'name', 'AudioGallery',
                'menu', 'true',
                'allowFullScreen', 'false',
                'allowScriptAccess','sameDomain',
                'movie', 'AudioGallery',
                'salign', ''
                ); //end AC code
        }
    </script>































When I say "break" I mean -- the site loads the player, but in a new window as if 3.html weren't supposed to be loaded into a DIV -- and the URL still reads index.html (as it should.)

Can anyone help?