Funds stolen to feed gambling habit