rem: for (; index < startHourRangeInt; ++index) { 
add: for (var index=0; index<startHourRangeInt; ++index) { 
context: function setEndHourRange(){  // Get the values of the start-time and end-time as ints  var startHourRangeNode = document.getElementById("startHourRange");  var startHourRange = startHourRangeNode.selectedItem.getAttribute("value");  var startHourRangeInt = parseInt(startHourRange);  var endHourRangeNode = document.getElementById("endHourRange");  var endHourRange = endHourRangeNode.selectedItem.getAttribute("value");  var endHourRangeInt = parseInt(endHourRange);  var endHourItemNode = endHourRangeNode.firstChild.firstChild;  var index = 0;  // disable all those end-times before the start-time  for (; index < startHourRangeInt; ++index) {    endHourItemNode.setAttribute("disabled", "true");    endHourItemNode = endHourItemNode.nextSibling;  }  // update the selected value if it's out of the allowed range  if (startHourRangeInt >= endHourRangeInt)    endHourRangeNode.selectedItem = endHourItemNode;  // make sure all the end-times after the start-time are enabled  for (; index < 24; ++index) {    endHourItemNode.removeAttribute("disabled");    endHourItemNode = endHourItemNode.nextSibling;  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/be43de5830df2d59b9770313e6e7fb879ce5628d/bookmarksProperties.js/buggy/browser/components/bookmarks/content/bookmarksProperties.js