ActiveXObject is not defined

I am trying to create a form, with a button on it.When I click the button, I need some JavaScript to run, which accessed an ActiveXObject

I have the following javascript code in my “onClick” settings…

var myObj;

myObj = new ActiveXObject(“Microsoft.XMLDOM”);

When hen I press the button I get…

ActiveXObject is not defined

I have checked my ActiveX securiy settings - these seem OK.

Any ideas what I can’t fire up ActiveX from javascript?

(My code fragement works fine in a IE browser)