Vending.setType=function setType(a){