Just an (semi-educated) guess, but when you are opening a new page via a javascript call, it is not the same thing as submitting the form, and thus any request variables that are looking for form values from the calling page(s) would not be found in the ULFile.asp page. What you might try is submitting the form via javascript as opposed to simply opening a new window with the ULFile.asp (if you are using something akin to location.href = ULFile.asp).
Also, incidentally, you misspelled javascrip(t) which may also cause a problem.
Otherwise, you may need to post more of your code to get a better idea of the problem you are running into.
-----------------------------------------------------------------------------------------------------
"If you can't explain something to a six-year-old, you really don't understand it yourself."
-- Albert Einstein