It appears you are using different lookup column values for the two server behaviors. I think line 30 should be the same as line 13. You can just copy and paste to update them.
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.