>>What is the exact text of JavaScript error?
>
>The error is unknown runtime error.
Not helpful at all :(
Can you try this script on a simple page, not from your application yet?
Also try testing in FireFox with FireBug on.
If it's not broken, fix it until it is.
My Blog