Theuls,
My code does not look like the code above. I do not have the site live on the net yet. Doing a lot of testing before I go live with the site. I could set up a a little demo of what I am trying to do with it later this week maybe.
Also tell me what mods you have added to your script.
Do you back up your originals before making changes?
I was having a similar problem like your before. Started with the originals again. Read the forums and added mods one at a time. Found a few short cuts along the way too.
This is one of the ways to learn to hack code good is trial an error.
Let me know what changes you have made to the original scripts and I will see where I can help
Larry