You don't show where detailsbox
is on your page. But surely the problem is that only MSIE will allow you to use a bare name or id to refer to an object.
*PROBABLY* the answer is to rewrite
But if that doesn't work, show what detailsBox *is*.