The Javascript is created in-line.
You are correct it was not generated by any WebAssist product. I don't want to give anyone the wrong idea about the products produced by WebAssist. They are robust and very functional and if their is a issue they are here to support it and do a fine job at that.
I appreciate your response. I do however, seem to have an undefined index (new session variable) in the code which is defined after the Javascript code. So when you first enter the page it creates an error, then after canceling and re-entering the page since the index (session variable) was previously defined the error no longer exists.
Defining the index (session variable) prior to the Javascript codes seems to have solved the problem. Thanks