dancer.js
function(name){
        var obj = -1;
        try{
            obj = new ActiveXObject(name);
        }catch(err){
            obj = {activeXError:true};
        }
        return obj;
    }
function(name){
        var obj = -1;
        try{
            obj = new ActiveXObject(name);
        }catch(err){
            obj = {activeXError:true};
        }
        return obj;
    }
function ( name ) { var obj = - 1 ; try { obj = new ActiveXObject ( name ) ; } catch ( err ) { obj = { activeXError : true } ; } return obj ; }
Try and retrieve an ActiveX object having a specified name.

@param {String} name The ActiveX object name lookup.
@return One of ActiveX object or a simple object having an attribute of activeXError with a value of true.
@type Object
Try and retrieve an ActiveX object having a specified name .