JQuery Sliding Panel with embedded MP3 Player

JQuery Sliding Panel with embedded MP3 Player

I'm trying to utilize the sliding panel capabilities (as seen here) in JQuery and I'm running into one issue.  The idea is to house a Javascript/Flash based player within the panel.  When expanded the user can select to play a song with the player.  When collapsed, I want the music to continue playing until user chooses to stop it.  I'm including the header script and the in body panel code as well.  If need be I can attach the entire HTML/CSS/JS files, just let me know.  

HEADER SCRIPT
  1. <script type="text/javascript">
  2. $(document).ready(function()
  3. {
  4.     $(".btn-slide").click(function()
  5.     {        
  6.         if ($("#panel").is(":hidden")) {
  7.        $("#panel").slideDown("slow");
  8.      } else {
  9.        $("#panel").slideUp();
  10.      }        
  11. });
  12. });
  13. </script>
PANEL CODE
  1. <div class="slider">
  2.     <div id="panel"> <!--content goes in this div-->
  3. <script type="text/javascript" src="swfobject.js"></script>
  4. <div id="flashPlayer">
  5. This text will be replaced by the flash music player.
  6. </div>
  7.         <script type="text/javascript">
  8.     var so = new SWFObject("playerMultipleList.swf", "mymovie", "292", "150", "7", "#ffffff"); 
  9.             so.addVariable("overColor","#B40000") 
  10.        so.addVariable("autoPlay","yes")
  11.        so.addVariable("playlistPath","playlist.xml")
  12.        so.write("flashPlayer");
  13. </script>
  14.     </div>
  15. <p class="slide"><a href="#" class="btn-slide"></a></p>
  16. </div>

Thanks...