rem: for each (item in items) { if (item.getAttribute("id") == id) 
add: var i; for (i in items) { if (items[i].getAttribute("id") == id) 
context: function radioGroupIndexOf(radioGroup, id){    var items = radioGroup.getElementsByTagName("radio");    for each (item in items) {        if (item.getAttribute("id") == id)            return i;    }    return -1; // not found}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/4c87e7dbdae0edd93709f21ae98b7b0045d76ed5/applicationUtil.js/buggy/calendar/resources/content/applicationUtil.js