If it is that line, that means that:
Code:
private.element.style [name] = value;
or something about it or the entire function is the real problem, so I would try getting rid of the non-standard space in its syntax, ex:
Code:
private.element.style[name] = value;
If that doesn't get it, another thing to try is to make sure that all arguments fed to this:
Code:
private.setStyle = function (name,value)
are valid style property/value pairs in IE. Other browsers may have an error here but not make a big issue over or halt processing on it, IE can be finicky in this area.
Also make sure (via temporary alerts or whatever inserted into your code) that private means the same thing in IE here as it does in the browsers that this code is working with.
Generally though, and if none of this helps, to be sure of getting an accurate error line number (+- 1) in IE, all scripts must be on the page. Temporarily make all scripts on page scripts, rather than external in order to diagnose this properly.
Edit: Also, both private and public are reserved words, it would be best to use others, like:
myprivate
mypublic
Bookmarks