rem: function updateSelection(name, type) 
add: function updateSelection(name, form, type) 
context: function updateSelection(name, type){  /* get selectors */  var list = document.entryform.elements[name + '_atkselector[]'];  /* no selectors?! impossible situation, bail out! */  if (typeof(list) == 'undefined') return;  /* walk through list */  if (typeof(list.length) == 'undefined') list = new Array(list);  for (var i = 0; i < list.length; i++)  {			if      ("all"    == type && !list[i].disabled)	list[i].checked = true;      else if ("none"   == type && !list[i].disabled)	list[i].checked = false;      else if ("invert" == type && !list[i].disabled)	list[i].checked = !list[i].checked;  }}
meta: 1654	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1654/92e3d65e9cce33b674c7c6b911de12198e1bd4a3/formselect.js/buggy/javascript/formselect.js