function getOptions2(form) {
    if (form.qty1.value == 0) {
        alert("Please select the number of gallons.")
        form.qty1.focus()
        return false
    }
	//  calculate price
	var qty = form.qty1.value
	var price = form.price1.value
	var ship = 18
	var each = 28.00
	if (qty == 1) {
		each = 32
		ship = 12
	} else if (qty == 2) {
		ship = 14
	} else if (qty == 3) {
		ship = 17
	} else if (qty == 4) {
		ship = 20 
	} else if (qty >= 5) {
		ship = 0
	}
    //  some shipping is already included in the cart
    if (ship && qty == 1)
        ship -= 5.95
	//price = (each * qty) + ship
	//  add conditioner stuff to product description
	//var prod = form.product1.value
	var prod = "Gallon Hair Conditioner Base"
	prod = prod + ", " + form.conditioner.value
	//  add additives to price and product name
	var checked = 0
	if (form.conditioner1.checked) {
		checked++
		prod = prod + ", " + form.conditioner1.value
	}
	if (form.conditioner2.checked) {
		checked++
		prod = prod + ", " + form.conditioner2.value
	}
	if (form.conditioner3.checked) {
		checked++
		prod = prod + ", " + form.conditioner3.value
	}
	if (form.conditioner4.checked) {
		checked++
		prod = prod + ", " + form.conditioner4.value
	}
	form.price1.value = (each * qty) + ((5 * checked) * qty) + ship
    //  add quantity ordered to the product name
    if (qty > 1) {
        form.qty1.value = 1
        prod = qty + " " + prod
    }
    form.product1.value = prod
	return true
}
