//generic function to add products to the StoreExpress basket
//price delimted by pipe "|" with description
//quantity is sent separately
function
	AddToBasket(oDescCombo,oQtyCombo,link,grind){ 
	var sValue = oDescCombo.options[oDescCombo.selectedIndex].value 
	var vValues =sValue.split("|") 
	var dblPrice = parseFloat(vValues[0]) 
	var sDescription = vValues[1] 
	var sCode = vValues[2] 
	var iQuantity = oQtyCombo.options[oQtyCombo.selectedIndex].value 
	sDescription += 
	' (' + grind + ')'; 
	with (document.forms[0]){ 
	if(ProductCode != "undefined") ProductCode.value=sCode; //not used 
	if(ProductDescription != "undefined") ProductDescription.value=sDescription; 
	if(ProductQuantity != "undefined") ProductQuantity.value=iQuantity; 
	if(ProductOther != "undefined") ProductOther.value=""; // not used 
	if(ProductPrice != "undefined") ProductPrice.value=dblPrice; 
	if(ProductLink != "undefined") ProductLink.value=link; 
	submit();
}
}
