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: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/24c38ec4c82d743c520066f62ce666861c92ca6a/applicationUtil.js/buggy/calendar/resources/content/applicationUtil.js