rem: function updateSelectable(name) 
add: function updateSelectable(name, form) 
context: function updateSelectable(name){  /* get selectors */  var list = document.entryform.elements[name + '_atkselector[]'];  /* no selectors?! impossible situation, bail out! */  if (typeof(list) == 'undefined') return;  /* some stuff we need to know */  var index  = document.entryform.elements[name + '_atkaction'].selectedIndex;  var action = document.entryform.elements[name + '_atkaction'][index].value;  /* walk through list */  if (typeof(list.length) == 'undefined') list = new Array(list);  for (var i = 0; i < list.length; i++)  {    /* supported actions */    var actions = eval(name + '["' + list[i].value + '"]');    if (typeof(actions) == 'undefined') actions = new Array();    /* contains action? */    disabled = true;    for (var j = 0; disabled && j < actions.length; j++)      if (actions[j] == action) disabled = false    /* disable */    list[i].disabled = disabled;    if (disabled) list[i].checked = false;  }}
meta: 1654	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1654/92e3d65e9cce33b674c7c6b911de12198e1bd4a3/formselect.js/buggy/javascript/formselect.js