I did not post all the code for download, though I suppose I could, but I cannot do it right now.
Do you have a link to your test, and/or can you post or attach your code. I'm sure we can help you figure it out.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.