I have a problem with insert picture to word document with JavaScript. This is my code:

var MyWordApplication = new ActiveXObject("Word.Application");
var offerdoc = MyWordApplication.Documents.Add();


I've tried a lot of combination, and it doesn't works correct.
IE show error, that is wrong path to file.

Could somebody help me with this problem, and show me, where is my mistake?