Dear Friends,
Whenever I am trying to ActiveX
i got the browser message
An activeX contro in this page might be unsafe to interact
with other parts of page. do u want to allow this interaction?
it ask for 'yes' or n'no'
i press 'no' then it give me a javascript error
resolved the problem, by changing settings on Internet Explorer , Tools, Internet options, Security, custom level and then by enabling or prompting "Initializing and Script Activex controls not marked as safe".

This can be a security issue. So you anybody can help me to run the script with out changing the security setting in browser.