rem: var item = bucket.childNodes[index]; 
add: var item = bucket.getItemAtIndex(index); 
context: function Attachments2CompFields(compFields){  var bucket = document.getElementById('attachmentBucket');  //First, we need to clear all attachment in the compose fields  compFields.removeAttachments();  for (var index = 0; index < bucket.childNodes.length; index++)  {    var item = bucket.childNodes[index];    var attachment = item.attachment;    if (attachment)      compFields.addAttachment(attachment);  }}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/9ef78e49bd9138720aebeea998c295337b7992ab/MsgComposeCommands.js/buggy/mail/components/compose/content/MsgComposeCommands.js