for (i=1;i<count; i++) { sAnnot = rootNode.childNodes[3].childNodes[i-1].firstChild.nodeValue; s[i]=sAnnot; trace(s1);..выводит сообщение undefinit }