var myDoc = app.activeDocument; var myLanguages = new Array(); for (j=0;j