First, this forum is specifically for issues relating to the transition from PHP4 to PHP5.
Second, it couldn't be the script that's at fault because it's finished and done long before anything gets drawn on the user's screen.
Third, if you developed the layout using IE as your primary testing browser, then it's no surprise if things look wonky in anything that has better support for web standards (like CSS - and what's a "<csobj>" or a csheight or a cntrlrow?)
Oh, and in IE I don't see either side border. Anyhow, there are surely better ways of rendering one than what you're using. Something with CSS borders would be ideal (e.g., border-left:10px solid white😉.