I saw this in a recent post by Mike:

function disableSelects()
  var i, v, a = document.getElementsByTagName('select');
  for (i = 0; i < a.length; ++i) {
    v = a[i].options[a[i].selectedIndex].value;
    if (v != 'Select') {
      a[i].disabled = true;
I'm have 3 select boxes (only these 3 to be affected as others on page need to be unaffected). When one of the selects has a value other than 'none', i want the other 2 selects to be disabled. How would i do this?