function addcolor(form) {
	buystring=form.elements[0].name
	repstring="foot, "+form.color.value
	form.elements[0].name=buystring.replace('foot',repstring)
	}