rem: var obj = Components.classes[progID].createInstance(); 
add: var obj = Components.classes[contractID].createInstance(); 
context: function newObject(progID, iface){    if (!jsenv.HAS_XPCOM)        return null;    var obj = Components.classes[progID].createInstance();    var rv;    switch (typeof iface)    {        case "string":            rv = obj.QueryInterface(Components.interfaces[iface]);            break;        case "object":            rv = obj.QueryInterface[iface];            break;        default:            rv = null;            break;    }    return rv;    }
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/0257791053c2b38e1dfaf2ee11afae973e82e394/cview-utils.js/buggy/extensions/cview/resources/content/cview-utils.js