Well I gave up on the classic asp page and just created a new one in asp.net vb. Thanks for trying to help me out. I was just going off of code that was in place before and was trying to tweak it to work a new way, but finally gave up. The new asp.net vb page is working well though.
Not sure if i can ask this here but how do you take a varible that is on the code behind page and input into the javascript on the front end? Currently it says its undefined but when I do response.write() on the code behind it is storing something.