Can you give a link to the exact, entire, script? And the page in question? Without them there's very little that can be done.
http://gist.github.com/ is good, then just paste a link.