function removeItem() {
  var selectBox = document.MakeList.ROSTER;
  var index = selectBox.selectedIndex;
  if (index == -1) {
    alert("You must first select the item to remove.");
  } else {
        document.MakeList.PENDING.value += " drop " + selectBox[index].value + "]";
        selectBox.options[index] = null;
        if (navigator.appName == "Netscape") {
                if (parseInt(navigator.appVersion) <= 4) {
                        history.go(0);
                }
        }
  }
}

function add() {
        var selectBox = document.MakeList.PLAYER_PICK;
        var destinationBox = document.MakeList.ROSTER;
        if (selectBox.selectedIndex >= 0) {
           destinationBox.options[destinationBox.length] = new Option(selectBox[selectBox.selectedIndex].text, selectBox[selectBox.selectedIndex].value);
           document.MakeList.PENDING.value += " add " + selectBox[selectBox.selectedIndex].value + "]";
           selectBox.options[selectBox.selectedIndex] = null;
           if (navigator.appName == "Netscape") {
                if (parseInt(navigator.appVersion) <= 4) {
                        history.go(0);
                }
           }
        }
}

