Code: function setshipping() { var cost1 = new Array("0", "6", "8.75", "12.06", "15.25", "17.94", "18.44", "20.5", "22.5", "24.5", "26.63"); var cost2 = new Array("0", "25.45", "26.75", "30.63", "34.5", "38.38", "42.25", "46.13", "50", "53.88", "56.56"); var ship = document.frmorder.qty.value if(document.frmorder.shipper[0].checked) // Looks at the checkboxs and uses an index value to see if the first (0) or second (1) checkbox is selected ...