Online Inventory Management