function showoptions(formname) {
	var myform = document.getElementById(formname);
	myform.elements["product_options[Grind]"].options.length = 0 	//remove all items from dropdown so we can start from scratch each time
	//if (ddid.selectedIndex==0) {		//alternate ways of getting values; decided to get text since value differs depending on which item; sometimes 10oz can value is 0 and sometimes it is 1
	//if (ddid.value=="0") {
	if (myform.elements["product_options[Size]"].options[myform.elements["product_options[Size]"].selectedIndex].text=="10 oz. Can") {
		myform.elements["product_options[Grind]"].options.add(new Option('Whole Bean', 'Whole Bean'))
	} else {
		myform.elements["product_options[Grind]"].options.add(new Option('Whole Bean', 'Whole Bean'))
		myform.elements["product_options[Grind]"].options.add(new Option('Drip', 'Drip')) 
		myform.elements["product_options[Grind]"].options.add(new Option('French Press', 'French Press')) 
		myform.elements["product_options[Grind]"].options.add(new Option('Espresso', 'Espresso')) 
		myform.elements["product_options[Grind]"].options.add(new Option('Turkish', 'Turkish')) 
		myform.elements["product_options[Grind]"].options.add(new Option('Percolator', 'Percolator')) 
	}
}


//Add item to dropdown
//Obj.options.add(new Option('text', 'value')) 

//Remove item from dropdown
//Obj.remove(index) 
//index being the location of the item in the dropdown list

//Remove all items from dropdown
//Obj.options.length = 0 