Need to combine 2 diff flash embed codes URGENT - past deadline!

Hello everyone! I sure hope someone out there is willing and able to help me out!

I am sure it is an easy fix but I am just too tired to figure it out! ** PLEASE !

** I already had a component loaded into my flash file (FlashNifties Flash Component) which is calling external XML data and using a JS file to detect Flash. After implementing all of that I then added another component from elsewhere (not an actual Flash Component but still interacting with a different external XML AND a JS file. When test locally out of Flash both items work GREAT ! BUT, when I upload I can only get one or the other to work.
I know this is because of the different linkage codes in the html doc, but I don’t know how to combine the 2 necessary bits of html code that results in one document which will operate BOTH dynamic components…
Here is the code from each html file:
1. code for Horizontal Dock Menu: http://pastie.caboo.se/185625
 (original docs purchased from http://flashden.net/item/horizontal-scrolling-dock-icon-menu-with-blurreflection-v22/8056)

  1. FlashNifties Media Gallery: http://pastie.caboo.se/185629
     (originally purchased from http://www.flashnifties.com/media_gallery.php)

I give over 5 stars to both products BTW, but just have to integrate them together on a site for which I am already 2 days past deadline!!!

or would it be better to combine the two different .js files and just call for that one file?? but that may screw up my component since I can’t see if any of the component files has a call hidden somewhere within the component?!

Thanks in advance!!!
SMILES , -W