Topic: I've tried & tried & tried but can't embed Autoviewe

First, thanks for the best flash photo gallery solutions I've ever used.
Second, thanks to anyone who is able to help with the below problem.

I have managed to integrate the autoviewer-pro files into picasa and I am able to create an autoviewer-pro gallery that goes on its own page/directory.

HOWEVER, I really really want to embed the gallery as can be seen in the artight demo

I have found the embed code in the example files that I downloaded when I bought the pro version and that code can be seen below:

  <script type="text/javascript">
        var fo = new SWFObject&#40;"autoviewer.swf", "autoviewer", "400", "300", "8", "#000000"&#41;;                        
        //Optional Configuration
        fo.addVariable&#40;"langOpenImage", "Open Image in New Window"&#41;;
        fo.addVariable&#40;"langAbout", "About"&#41;;    
        fo.addVariable&#40;"xmlURL", "gallery.xml"&#41;;                    

So that goes in the body, that's fine.
But what about the head? Do I need the following code in the head?

<script type="text/javascript" src="swfobject.js"></script>

Or do I not need that?

And what other files do I upload?
And where do I upload them to?

I just need a step by step guide because just giving me the example embed code is not enough for me, I'm sorry. I'm very nearly there I just need to know exactly which code I should use, exactly which code I should modify, and which files I should upload to where.

THANKS in advance for any tips.