How can I get Windows 7 to automatically connect to a VPN and automatically reconnect when necessary?

I want to have Windows 7 automatically launch a VPN connection on startup and then to reconnect automatically in the event the VPN stops working or is disconnected. How can I do this?