I have an inline piece of JS in my Script Form Control which includes a
lot of logic that needs to be applied to each form. This works happily
in FF, but fails in IE6 with the following
error

---snip---
_scratch: An error '[object Error]' was encountered while executing the
script 'function cfuu() { if (DSEHelper.getDebugLevel() > 0) {
field.hide(); } return null; } cfuu();' ('DSEHelper' is null or not an
object)
Unrecoverable error during asynchronous call ('DSEHelper' is null or not
an object)
---snip---

Inline script is

---snip---
document.writeln("<script type=\"text\/javascript\"
src=\"\/IDM\/dse.js\"><\/script>");
document.writeln("<script type=\"text\/javascript\">var DSEHelper = new
UserAppHelper(\"DSEHelper\");<\/script>");
---snip

Any ideas what could be causing this issue?

Thanks in advance!
Adam

--
Identity Concepts
Mobile : +61 419 637 518
email : adam_j_bradley \at\ identityconcepts.com.au
Web : http://www.identityconcepts.com.au