function addBCOItem(itype)
{
	try
	{
		var parms = eval("document.mainMenu."+itype+".options[document.mainMenu."+itype+".selectedIndex].value.split(\",\");");
		var qty = eval("document.mainMenu."+itype+"Qty.options[document.mainMenu."+itype+"Qty.selectedIndex].value;");
		var item = parms[0].substr(0,parms[0].length-1).replace(/_/g," ");	
		var cost = parms[1];
		var addDelChrg = ((itype=="NonSoda") || (itype=="Soda")) ? false : true ;
		var txt = "<Item AddDelChrg=\""+addDelChrg+"\"><ItemName>"+item+"</ItemName>";
		txt += "<Code>"+item+"</Code>";
		txt += "<Qty>"+qty+"</Qty>";
		txt += "<ItemCost>"+cost+"</ItemCost>";
                txt += "<Bundle>1</Bundle>";
		txt += "<OptionsCost>0</OptionsCost>";
		txt += "<SpcInstr>None</SpcInstr></Item>";
		document.mainMenu.AddItemStringXml.value = txt;
		document.mainMenu.Task.value = "AddBevCoItem";
		document.mainMenu.action = document.mainMenu.action+"#cart";
		document.mainMenu.submit();
	}
	catch(exc)
	{		
		alert("The 'Add' button appears to be non-responsive to your request.\n\n"
			+"If you see this message, try using your browser's 'Back' button and then add the item."
			+"\n\nWe're working to correct this bug.");
	}
}
